![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Binarize an input image by thresholding, given minimum and maximum input thresholds. More...
Functions | |
| IPSDKIPLBINARIZATION_API image::ImagePtr | ipsdk::imaproc::bin::darkThresholdImg (const image::ImageConstPtr &pInImg, const ipReal64 inMaxThreshold) |
| wrapper function for binary threshold on one image with retrieval of 'dark area' More... | |
| IPSDKIPLBINARIZATION_API image::ImagePtr | ipsdk::imaproc::bin::lightThresholdImg (const image::ImageConstPtr &pInImg, const ipReal64 inMinThreshold) |
| wrapper function for binary threshold on one image with retrieval of 'light area' More... | |
| IPSDKIPLBINARIZATION_API image::ImagePtr | ipsdk::imaproc::bin::thresholdImg (const image::ImageConstPtr &pInImg, const ipReal64 inMinThreshold, const ipReal64 inMaxThreshold) |
| wrapper function for binary threshold on one image More... | |
| IPSDKIPLBINARIZATION_API void | ipsdk::imaproc::bin::thresholdImg (const image::ImageConstPtr &pInImg, const ipReal64 inMinThreshold, const ipReal64 inMaxThreshold, const image::ImagePtr &pOutBinImg) |
| wrapper function for binary threshold on one image More... | |
Binarize an input image by thresholding, given minimum and maximum input thresholds.
On output image values are given by:
(with
and
corresponding to the minimum and maximum output thresholds)
Input and output images must have same size and buffer type.
Here is an example of a binary threshold operation applied to an 8-bits grey levels input image (with
and
):
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InThresholdMax | [Input] maximum for binary threshold image operation | X |
| ipsdk::imaproc::attr::InThresholdMin | [Input] minimum for binary threshold image operation | X |
| ipsdk::imaproc::attr::OutBinImg | [Output] binary image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutBinImg, _pInImg, image::eImageBufferType::eIBT_Binary) |
Global rule description for algorithm :
((ipsdk::imaproc::matchSize (_pInImg,_pOutBinImg)) && (_pInThresholdMin<=_pInThresholdMax) &&
(matchImageRange (_pInImg,_pInThresholdMin)) &&
(matchImageRange (_pInImg,_pInThresholdMax)))
| IPSDKIPLBINARIZATION_API image::ImagePtr ipsdk::imaproc::bin::darkThresholdImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inMaxThreshold | ||
| ) |
wrapper function for binary threshold on one image with retrieval of 'dark area'
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API image::ImagePtr ipsdk::imaproc::bin::lightThresholdImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inMinThreshold | ||
| ) |
wrapper function for binary threshold on one image with retrieval of 'light area'
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API image::ImagePtr ipsdk::imaproc::bin::thresholdImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inMinThreshold, | ||
| const ipReal64 | inMaxThreshold | ||
| ) |
wrapper function for binary threshold on one image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API void ipsdk::imaproc::bin::thresholdImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal64 | inMinThreshold, | ||
| const ipReal64 | inMaxThreshold, | ||
| const image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for binary threshold on one image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14