IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OtsuThresholdImg.h
Go to the documentation of this file.
1 // OtsuThresholdImg.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKIPLBINARIZATION_OTSUTHRESHOLDIMG_H__
16 #define __IPSDKIPLBINARIZATION_OTSUTHRESHOLDIMG_H__
17 
20 
21 namespace ipsdk {
22 namespace imaproc {
23 namespace bin {
24 
25 class OtsuThresholdImgLvl1;
26 
29 
36 IPSDKIPLBINARIZATION_API OtsuResult
40  const ipsdk::image::ImagePtr& pOutBinImg);
42 
49 IPSDKIPLBINARIZATION_API OtsuResult
51  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
52 
56  const ipsdk::image::ImagePtr& pOutBinImg);
58 
61 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdImgLvl1>
63 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdImgLvl1>
65  const ipsdk::image::ImagePtr& pOutBinImg);
66 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdImgLvl1>
68  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
69 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdImgLvl1>
72  const ipsdk::image::ImagePtr& pOutBinImg);
74 
77 IPSDKIPLBINARIZATION_API OtsuResult
78 getAsyncProcessorOutput(boost::shared_ptr<OtsuThresholdImgLvl1> pProcessor);
80 
83 
84 } // end of namespace bin
85 } // end of namespace imaproc
86 } // end of namespace ipsdk
87 
88 #endif // __IPSDKIPLBINARIZATION_OTSUTHRESHOLDIMG_H__
boost::shared_ptr< BaseImage > ImagePtr
double ipReal64
IPSDKIPLBINARIZATION_API boost::shared_ptr< OtsuThresholdImgLvl1 > otsuThresholdImg_async(const ipsdk::image::ImageConstPtr &pInImg)
asynchronous wrappers
boost::shared_ptr< ipsdk::imaproc::attr::HistogramData > HistogramDataPtr
shared pointer to ipsdk::imaproc::HistogramData
Definition: HistogramData.h:231
IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AdaptiveThreshold2dImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition of import/export macro for library.
#define IPSDKIPLBINARIZATION_API
Import/Export macro for library IPSDKIPLBinarization.
Definition: IPSDKIPLBinarizationExports.h:25
Predefined types for otsu binarization algorithm.
IPSDKIPLBINARIZATION_API OtsuResult otsuThresholdImg(const ipsdk::image::ImageConstPtr &pInImg)
wrapper function for binarization on one image using Otsu&#39;s method. In this version of the function...