IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KapurThreshold.h
Go to the documentation of this file.
1 // KapurThreshold.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKIPLBINARIZATION_KAPURTHRESHOLD_H__
16 #define __IPSDKIPLBINARIZATION_KAPURTHRESHOLD_H__
17 
19 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/HistogramData.h>
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace bin {
25 
26 class KapurThresholdLvl1;
27 
30 
39 
47  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
49 
52 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdLvl1>
54 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdLvl1>
56  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
58 
62 getAsyncProcessorOutput(boost::shared_ptr<KapurThresholdLvl1> pProcessor);
64 
67 
68 } // end of namespace bin
69 } // end of namespace imaproc
70 } // end of namespace ipsdk
71 
72 #endif // __IPSDKIPLBINARIZATION_KAPURTHRESHOLD_H__
IPSDKIPLBINARIZATION_API boost::shared_ptr< KapurThresholdLvl1 > kapurThreshold_async(const ipsdk::image::ImageConstPtr &pInImg)
asynchronous wrappers
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
IPSDKIPLBINARIZATION_API ipReal64 kapurThreshold(const ipsdk::image::ImageConstPtr &pInImg)
wrapper function for Kapur binary threshold on one image. In this version of the function, the histogram of the image is automatically computed, with a bin width of 1.0