![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
normalizes the intensity of an image from an optional given input range
to a given output range
More...
normalizes the intensity of an image from an optional given input range
to a given output range
On output image, values are given by:
with
and
respectively the input and output ranges specified by the user.
Here is an example of intensity normalization applied to a 8-bits grey level image with
:
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InOptInputRange | [Input Optional] image intensity range for algorithm | X |
| ipsdk::imaproc::attr::InOutputRange | [Input] output image intensity range for 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 (
_pInOptInputRange, (ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Min>(_pInImg,_pInOptInputRange) && ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Max>(_pInImg,_pInOptInputRange))) && (ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Min>(_pOutImg,_pInOutputRange) && ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Max>(_pOutImg,_pInOutputRange))
| IPSDKIPLINTENSITYTRANSFORM_API ipsdk::image::ImagePtr ipsdk::imaproc::itrans::normalizeImg | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::RangeConstPtr & | pInputRange, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange | ||
| ) |
wrapper function for linear normalization of the intensity of an image
| pInImg | input image to normalize |
| pInputRange | input intensity range |
| pOutputRange | output intensity range, after normalization |
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::normalizeImg | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::RangeConstPtr & | pInputRange, | ||
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for linear normalization of the intensity of an image
| pInImg | input image to normalize |
| pInputRange | input intensity range |
| pOutputRange | output intensity range, after normalization |
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API image::ImagePtr ipsdk::imaproc::itrans::normalizeImg | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange | ||
| ) |
wrapper function for linear normalization of the intensity of an image
| pInImg | input image to normalize |
| pInputRange | input intensity range |
| pOutputRange | output intensity range, after normalization |
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLINTENSITYTRANSFORM_API void ipsdk::imaproc::itrans::normalizeImg | ( | const ipsdk::image::ImageConstPtr & | pInImg, |
| const ipsdk::imaproc::attr::RangeConstPtr & | pOutputRange, | ||
| const ipsdk::image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for linear normalization of the intensity of an image
| pInImg | input image to normalize |
| pInputRange | input intensity range |
| pOutputRange | output intensity range, after normalization |
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14