![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
corrects an input image for shading, using an analytic paraboloid model for the white image, and normalize output image so that it fits an expected dynamic range More...
corrects an input image for shading, using an analytic paraboloid model for the white image, and normalize output image so that it fits an expected dynamic range
Given:

, whose dimensions and data types are identical to input image dimensions and data types,the algorithm computes
and
described in Shading correction (white image represented as a paraboloid), so that output image resulting from shading correction fits in the dynamic range specified by the user.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InOptBlackImg | [Input Optional] Black image, usually obtained by closing all optical ports of the camera, or by turning off all the light sources. Used by shading correction algorithm | X |
| ipsdk::imaproc::attr::InPIParaboloidParams3d | [Input] Plan indexed collection of 3d parameters of paraboloids | X |
| ipsdk::imaproc::attr::InOptOutputRange | [Input Optional] expected output image range | X |
| ipsdk::imaproc::attr::OutOffset | [Output] Offset. Used for instance by smart shading correction algorithm | X |
| ipsdk::imaproc::attr::OutFactor | [Output] Multiplying factor. Used for instance by smart shading correction algorithm | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg) &&
ipsdk::processor::ifIsSet (_pInOptBlackImg,
ipsdk::imaproc::matchSizeAndType (_pInImg,_pInOptBlackImg)) &&
ipsdk::imaproc::matchImagePlans (_pInPIParaboloidParams3d,_pInImg,eImagePlansMatchPolicy::eIPMP_ZCT)
| IPSDKIPLINTENSITYTRANSFORM_API SmartShadingCorrectionResult ipsdk::imaproc::itrans::smartParaboloidShadingCorrection2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::ParaboloidParams3dConstPtr & | pWhiteImgParaboloidModel, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange | ||
| ) |
wrapper function for applies a shading correction to an image, so that output image intensity fits an expected range
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API SmartShadingCorrectionInfo ipsdk::imaproc::itrans::smartParaboloidShadingCorrection2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::ParaboloidParams3dConstPtr & | pWhiteImgParaboloidModel, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for applies a shading correction to an image, so that output image intensity fits an expected range
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API SmartShadingCorrectionResult ipsdk::imaproc::itrans::smartParaboloidShadingCorrection2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const ipsdk::imaproc::attr::ParaboloidParams3dConstPtr & | pWhiteImgParaboloidModel, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange | ||
| ) |
wrapper function for applies a shading correction to an image, so that output image intensity fits an expected range
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API SmartShadingCorrectionInfo ipsdk::imaproc::itrans::smartParaboloidShadingCorrection2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const ipsdk::imaproc::attr::ParaboloidParams3dConstPtr & | pWhiteImgParaboloidModel, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for applies a shading correction to an image, so that output image intensity fits an expected range
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
1.8.14