IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
OtsuThreshold.h
Go to the documentation of this file.
1 // OtsuThreshold.h:
3 // ----------------
4 //
14 
15 #ifndef __IPSDKIPLBINARIZATION_OTSUTHRESHOLD_H__
16 #define __IPSDKIPLBINARIZATION_OTSUTHRESHOLD_H__
17 
19 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/HistogramData.h>
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace bin {
25 
26 class OtsuThresholdLvl1;
27 
30 
39 
47  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
49 
52 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdLvl1>
54 IPSDKIPLBINARIZATION_API boost::shared_ptr<OtsuThresholdLvl1>
56  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
58 
62 getAsyncProcessorOutput(boost::shared_ptr<OtsuThresholdLvl1> pProcessor);
63 
66 
67 } // end of namespace bin
68 } // end of namespace imaproc
69 } // end of namespace ipsdk
70 
71 #endif // __IPSDKIPLBINARIZATION_OTSUTHRESHOLD_H__
IPSDKIPLBINARIZATION_API boost::shared_ptr< OtsuThresholdLvl1 > otsuThreshold_async(const ipsdk::image::ImageConstPtr &pInImg)
asynchronous wrappers
IPSDKIPLBINARIZATION_API ipReal64 otsuThreshold(const ipsdk::image::ImageConstPtr &pInImg)
wrapper function for computing the otsu threshold on one image. In this version of the function...
double ipReal64
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