![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
corrects an input image for shading More...
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 factor) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API void | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 factor, const ipsdk::image::ImagePtr &pOutImg) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pBlackImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 factor) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API void | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pBlackImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 factor, const ipsdk::image::ImagePtr &pOutImg) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 offset, const ipReal64 factor) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API void | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 offset, const ipReal64 factor, const ipsdk::image::ImagePtr &pOutImg) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pBlackImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 offset, const ipReal64 factor) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
| IPSDKIPLINTENSITYTRANSFORM_API void | ipsdk::imaproc::itrans::shadingCorrectionImg (const image::ImageConstPtr &pInImg, const image::ImageConstPtr &pBlackImg, const image::ImageConstPtr &pWhiteImg, const ipReal64 offset, const ipReal64 factor, const ipsdk::image::ImagePtr &pOutImg) |
| wrapper function for Computes a shading-corrected image given in particular an offset and a factor More... | |
corrects an input image for shading
Corrects an input image for shading that may be introduced during its acquisition.
Given:

and
, whose dimensions and data types are identical to input image dimensions and data typesValues of output image resulting from shading correction are computed as follows:
Here is an example of shading correction applied to a 8-bits grey level image on which an artificial vignetting has been applied:
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::InWhiteImg | [Input] White image. Used by shading correction algorithm | X |
| ipsdk::imaproc::attr::InOptOffset | [Input Optional] Offset. Used for instance by shading correction algorithm | X |
| ipsdk::imaproc::attr::InFactor | [Input] Multiplying factor. Used for instance by 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::matchSizeAndType (_pInImg,_pInWhiteImg)
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | factor | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | factor, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | factor | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | factor, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | offset, | ||
| const ipReal64 | factor | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | offset, | ||
| const ipReal64 | factor, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | offset, | ||
| const ipReal64 | factor | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::shadingCorrectionImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pBlackImg, | ||
| const image::ImageConstPtr & | pWhiteImg, | ||
| const ipReal64 | offset, | ||
| const ipReal64 | factor, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Computes a shading-corrected image given in particular an offset and a factor
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
1.8.14