180 likes | 652 Views
Pixelman – Data Acquisition and Processing Software Package for Medipix2. Tom áš Holý, Jan Jakůbek, Stanislav Pospíšil. Outline. Medipix2 device Pixelman architecture Experimental setup Examples of micro-tomography measurements. Medipix2. 256x256 pixels, 55x55 μm 2 each
E N D
Pixelman – Data Acquisition and Processing Software Package forMedipix2 Tomáš Holý, Jan Jakůbek, Stanislav Pospíšil Tomáš Holý
Outline • Medipix2 device • Pixelman architecture • Experimental setup • Examples of micro-tomography measurements Tomáš Holý
Medipix2 • 256x256 pixels, 55x55 μm2 each • Each pixel contains two discriminators, two 3-bit thresholds adjustments and a 13-bit pseudorandom counter • very good spatial resolution and unlimited dynamic range Tomáš Holý
Muros + NI card USB Pixelman Architecture USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
USB Muros + NI card Pixelman Architecture • Exclusive access to HW • Hardware detection and diagnostics • Exports set of basic functions for hardware independent access to Medipix • Generalized access to HW specific data/settings • Single threaded • Implementation in C USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
USB Muros + NI card Pixelman Architecture • Hardware independent access to “unlimited” number of Medipix2 • Auto-initialization and per-chip configuration handling • Settings management • Multiple acquisition handling (custom size stream/frame buffer, integral buffer, thread-level buffer synchronization) • Event notification through callback function registration • Implemented in C++, limited number of platform dependent calls, no MFC USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
USB Muros + NI card Pixelman Architecture • Plugin management (plugin registration, initialization, …) • Maintains public register of functions, events, filter chains,… • Provides access to MpxCtrl library, Windows messages (for convenient MFC plugins usage), tray menu • Provides communication between plugins • Implemented in C++ • Load-time dynamic linking of MpxCtrl.dll • Run-time dynamic linking of registered plugins USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
USB Muros + NI card Pixelman Architecture USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins • Medipix Manager initialization • Tray menu building • Forwards all incoming Win messages to Medipix Manager • Load-time dynamic linking of MpxManager.dll • Implemented in C++, MFC Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
USB Muros + NI card Pixelman Architecture • User interface, data visualization, experiment specific plugins (experiment control, data processing) • Access through Manager to the Control library functions or a functions offered by other plugins • Each plugin can add its own functions or call any already registered function. The plugins can also define new events or can be notified when an existing event occurs USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
Muros + NI card USB Pixelman Architecture USB HW library, … Dummy HW library, … Muros HW library (MpxHw.dll) Control library (MpxCtrl.dll) User application Plugins Manager (MpxManager.dll) Acquisition control UI (MpxCtrlUI.dll) Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll) Medipix Loader (MpxLoader.exe) Filters, corrections – flat field correction, bh correction Other hardware control – stepper motors, source control Client system Remote access server plugin Tomáš Holý
Complex measurement Tomáš Holý
Experimental setup Two carousel wheels (121 combinations) Hamamatsu microfocus X-ray tube Water cooling system Sample stand Tomáš Holý
Beam hardening correction filter • Suppression of beam hardening effect • Correction by calibration of each pixel response to equivalent absorber thickness Tomáš Holý
Beam hardening correction filter Tomáš Holý
Micro-tomography measurement • 180 projections • 10s each Tomáš Holý
Termite micro-tomography • 360 projections • 20s each Tomáš Holý
3D reconstruction Tomáš Holý