17
23 rd November, 2005 Tomáš Holý IEAP CTU Prague Pixelman – Data Acquisition and Processing Software Package for Medipix2 Tomáš Holý, Jan Jakůbek, Stanislav Pospíšil

IEAP CTU Prague 23 rd November, 2005Tomáš Holý Pixelman – Data Acquisition and Processing Software Package for Medipix2 Tomáš Holý, Jan Jakůbek, Stanislav

Embed Size (px)

Citation preview

23rd November, 2005 Tomáš Holý IEAP CTU Prague

Pixelman – Data Acquisition and Processing Software Package for Medipix2

Tomáš Holý, Jan Jakůbek, Stanislav Pospíšil

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Outline

Medipix2 device

Pixelman architecture

Experimental setup

Examples of micro-tomography

measurements

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Medipix2

256x256 pixels, 55x55 μm2

eachEach pixel contains two discriminators, two 3-bit thresholds adjustments and a 13-bit pseudorandom countervery good spatial resolution and unlimited dynamic range

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

Exclusive access to HW Hardware detection and diagnosticsExports set of basic functions for hardware independent access to MedipixGeneralized access to HW specific data/settingsSingle threadedImplementation in C

Exclusive access to HW Hardware detection and diagnosticsExports set of basic functions for hardware independent access to MedipixGeneralized access to HW specific data/settingsSingle threadedImplementation in C

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

Hardware independent access to “unlimited” number of Medipix2Auto-initialization and per-chip configuration handlingSettings managementMultiple acquisition handling (custom size stream/frame buffer, integral buffer, thread-level buffer synchronization)Event notification through callback function registrationImplemented in C++, limited number of platform dependent calls, no MFC

Hardware independent access to “unlimited” number of Medipix2Auto-initialization and per-chip configuration handlingSettings managementMultiple acquisition handling (custom size stream/frame buffer, integral buffer, thread-level buffer synchronization)Event notification through callback function registrationImplemented in C++, limited number of platform dependent calls, no MFC

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

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 menuProvides communication between pluginsImplemented in C++ Load-time dynamic linking of MpxCtrl.dllRun-time dynamic linking of registered plugins

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 menuProvides communication between pluginsImplemented in C++ Load-time dynamic linking of MpxCtrl.dllRun-time dynamic linking of registered plugins

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

Medipix Manager initializationTray menu buildingForwards all incoming Win messages to Medipix ManagerLoad-time dynamic linking of MpxManager.dllImplemented in C++, MFC

Medipix Manager initializationTray menu buildingForwards all incoming Win messages to Medipix ManagerLoad-time dynamic linking of MpxManager.dllImplemented in C++, MFC

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

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 pluginsEach 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

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 pluginsEach 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

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Acquisition control UI (MpxCtrlUI.dll)

Medipix2 diagnostics and optimization - threshold scans, equalization, DAC calibration (ThsEqualization.dll)

Filters, corrections – flat field correction, bh correction

Other hardware control – stepper motors, source control

Plugins

Pixelman ArchitectureMuros + NI card

Muros HW library (MpxHw.dll)

Control library (MpxCtrl.dll)

Manager (MpxManager.dll)

Medipix Loader (MpxLoader.exe)

USB HW library, … Dummy HW library, …

USB

User application

Remote access server pluginClient system

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Complex measurement

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Experimental setup

Hamamatsu microfocus X-ray tube

Sample stand

Two carousel wheels (121 combinations)

Water cooling system

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Beam hardening correction filter

Suppression of beam hardening effectCorrection by calibration of each pixel response to equivalent absorber thickness

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Beam hardening correction filter

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Micro-tomography measurement

180 projections10s each

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

Termite micro-tomography

360 projections20s each

23rd November, 2005 Tomáš Holý

Insti

tute

of

Exp

eri

men

tal an

d A

pp

lied

Ph

ysic

sC

zech

Tech

nic

al U

niv

ers

ity in

Pra

gu

e

IEAP CTU Prague

3D reconstruction