![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
algorithm fitting intensities of a 2d image with a 3d paraboloid More...
algorithm fitting intensities of a 2d image with a 3d paraboloid
Considering a 2d image as a 3d surface, with the pixels intensities as the heights, this algorithm computes the paraboloid that best-fits this 3d surface. The paraboloid is described by the ipsdk::imaproc::attr::ParaboloidParams3d structure, that contains the parameters of its equation:
Here is an example of best-fitting paraboloid calculation on a 8-bits grey level image:
This algorithm can be used to artificially extract a white image from an input one, in order to apply next a shading correction to the input image. See Shading correction (white image represented as a paraboloid)
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InOptMaskImg | [Input Optional] Binary image for masking operation | X |
| ipsdk::imaproc::attr::OutPIParaboloidParams3d | [Output] Plan indexed collection of 3d parameters of paraboloids | ipsdk::imaproc::fromImage (_pOutPIParaboloidParams3d, _pInImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchImagePlans (_pOutPIParaboloidParams3d,_pInImg,eImagePlansMatchPolicy::eIPMP_ZCT) &&
(ipsdk::processor::ifIsSet (
_pInOptMaskImg, (
ipsdk::imaproc::match2dMask (_pInImg,_pInOptMaskImg))))
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::ParaboloidParams3dPtr ipsdk::imaproc::glbmsr::paraboloidImgFit2d | ( | const ipsdk::image::ImageConstPtr & | pInImg | ) |
wrapper function for algorithm fitting intensities of a 2d image with a 3d paraboloid
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::ParaboloidParams3dPtr ipsdk::imaproc::glbmsr::paraboloidImgFit2d | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::image::ImageConstPtr & | pMaskImg | ||
| ) |
wrapper function for algorithm fitting intensities of a 2d image with a 3d paraboloid
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedParaboloidParams3dPtr ipsdk::imaproc::glbmsr::multiSlice_paraboloidImgFit2d | ( | const ipsdk::image::ImageConstPtr & | pInImg | ) |
wrapper function for algorithm fitting intensities of a 2d image with a 3d paraboloid
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedParaboloidParams3dPtr ipsdk::imaproc::glbmsr::multiSlice_paraboloidImgFit2d | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::image::ImageConstPtr & | pMaskImg | ||
| ) |
wrapper function for algorithm fitting intensities of a 2d image with a 3d paraboloid
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14