![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Phase retrieval from Paganin et al. 2004. More...
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal64 mu, const ipReal64 delta, const ipReal64 defocusDistance) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal64 mu, const ipReal64 delta, const ipReal64 defocusDistance, const ipReal64 lambda, const ipReal64 lengthScale, const ipReal64 energy) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const image::ImagePtr &pOutImg) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal64 mu, const ipReal64 delta, const ipReal64 defocusDistance, const image::ImagePtr &pOutImg) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::dicPhaseRetrieval2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal64 mu, const ipReal64 delta, const ipReal64 defocusDistance, const ipReal64 lambda, const ipReal64 lengthScale, const ipReal64 energy, const image::ImagePtr &pOutImg) |
| wrapper function for Phase retrieval from Paganin et al. 2004 More... | |
Phase retrieval from Paganin et al. 2004.
This algorithm is an implementation of Paganin's phase retrieval [1], used for Laplacian microscope imaging.
The calculation can be expressed by using the following formula:
where
and
are respectively the input and the result images at the coordinates
.
is the input image
smoothed by a Gaussian filter with standard deviation InStdDev.
is the Fourier transform operator,
is the coordinates in the frequency domain, in
and
is the Fresnel number, calculated as:.
By default the wavelength
is defined as
and
is the energy, witch equals 13 by default, as suggested in the PyPhase implementation [2].
The other parameters are related to the microscope specifications:
is the absorption coefficient,
is related to the refractive index (which equals
),
is the defocus distance used for the acquisition,
,
is the scale used to define the parameters representing lengths (i.e.
,
and
)[1] Paganin D, Gureyev TE, Mayo SC, Stevenson AW, Nesterets YI, Wilkins SW. X-ray omni microscopy. J Microsc. 2004 Jun
[2] https://gitlab.in2p3.fr/mlanger/pyPhase/-/tree/master
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InStdDev | [Input] standard deviation used for operation along all axis | X |
| ipsdk::imaproc::filter::InDicPhaseRetrievalParams | [Input] Attribute for the set of parameter used for the DIC phase retrieval algorithm | X |
| ipsdk::imaproc::attr::OutWk1RealImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1RealImg, _pInImg, ipsdk::image::eImageBufferType::eIBT_Real32) |
| ipsdk::imaproc::attr::OutWk2RealImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk2RealImg, _pInImg, ipsdk::image::eImageBufferType::eIBT_Real32) |
| ipsdk::imaproc::attr::OutRealImg | [Output] image for processing operation (data contained in image buffer are reals) | ipsdk::imaproc::duplicateInOut (_pOutRealImg, _pInImg, ipsdk::image::eImageBufferType::eIBT_Real32) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutWk1RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutWk2RealImg) &&
ipsdk::imaproc::matchSize (_pInImg,_pOutRealImg)
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal64 | mu, | ||
| const ipReal64 | delta, | ||
| const ipReal64 | defocusDistance | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal64 | mu, | ||
| const ipReal64 | delta, | ||
| const ipReal64 | defocusDistance, | ||
| const ipReal64 | lambda, | ||
| const ipReal64 | lengthScale, | ||
| const ipReal64 | energy | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal64 | mu, | ||
| const ipReal64 | delta, | ||
| const ipReal64 | defocusDistance, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::dicPhaseRetrieval2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal64 | mu, | ||
| const ipReal64 | delta, | ||
| const ipReal64 | defocusDistance, | ||
| const ipReal64 | lambda, | ||
| const ipReal64 | lengthScale, | ||
| const ipReal64 | energy, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Phase retrieval from Paganin et al. 2004
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14