![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
adjust image dynamic range from a reference using statistics matching More...
adjust image dynamic range from a reference using statistics matching
This algorithm applies a LUT to the input image so that the set of statistical indicators chosen by the user computed on the input image matches with associated indicators in the reference image.
If the user wants to match the minimum and maximum values:
with
and
respectively the minimum and maximum pixel values in input image and
and
respectively the minimum and maximum pixel values in reference image.
If the user wants to match the mean and and the standard deviation:
with
and
respectively the standard deviation and the mean of the pixel values in input image, and
and
respectively the standard deviation and mean of the pixel values in reference image.
Input and output images must have same size.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InOptRefImg | [Input Optional] reference image | X |
| ipsdk::imaproc::attr::InOptRefStatsIndicators | [Input Optional] statistical indicators of reference | X |
| ipsdk::imaproc::attr::InMatchStatsCriterion | [Input] criterion used to adjust image dynamic | 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::If (
ipsdk::processor::isSet (_pInOptRefImg),
(ipsdk::processor::Not (
ipsdk::processor::isSet (_pInOptRefStatsIndicators))),
(ipsdk::processor::isSet (_pInOptRefStatsIndicators)))))
| IPSDKIPLINTENSITYTRANSFORM_API image::ImagePtr ipsdk::imaproc::itrans::matchStatsImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pRefImg, | ||
| const ipsdk::imaproc::attr::eMatchStatsCriterion & | criterion | ||
| ) |
wrapper function for adjust image dynamic range from a reference using statistics matching
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::matchStatsImg | ( | const image::ImageConstPtr & | pInImg, |
| const image::ImageConstPtr & | pRefImg, | ||
| const ipsdk::imaproc::attr::eMatchStatsCriterion & | criterion, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for adjust image dynamic range from a reference using statistics matching
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API image::ImagePtr ipsdk::imaproc::itrans::matchStatsImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::StatsResultConstPtr & | pRefStats, | ||
| const ipsdk::imaproc::attr::eMatchStatsCriterion & | criterion | ||
| ) |
wrapper function for adjust image dynamic range from a reference using statistics matching
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::matchStatsImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::StatsResultConstPtr & | pRefStats, | ||
| const ipsdk::imaproc::attr::eMatchStatsCriterion & | criterion, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for adjust image dynamic range from a reference using statistics matching
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14