IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KapurThresholdImg.h
Go to the documentation of this file.
1 // KapurThresholdImg.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLBINARIZATION_KAPURTHRESHOLDIMG_H__
16 #define __IPSDKIPLBINARIZATION_KAPURTHRESHOLDIMG_H__
17 
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace bin {
25 
26 class KapurThresholdImgLvl1;
27 
30 
37 IPSDKIPLBINARIZATION_API KapurResult
41  const ipsdk::image::ImagePtr& pOutBinImg);
43 
50 IPSDKIPLBINARIZATION_API KapurResult
52  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
53 
57  const ipsdk::image::ImagePtr& pOutBinImg);
59 
62 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdImgLvl1>
64 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdImgLvl1>
66  const ipsdk::image::ImagePtr& pOutBinImg);
67 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdImgLvl1>
69  const ipsdk::imaproc::attr::HistogramDataPtr& pHistogram);
70 IPSDKIPLBINARIZATION_API boost::shared_ptr<KapurThresholdImgLvl1>
73  const ipsdk::image::ImagePtr& pOutBinImg);
75 
78 IPSDKIPLBINARIZATION_API KapurResult
79 getAsyncProcessorOutput(boost::shared_ptr<KapurThresholdImgLvl1> pProcessor);
81 
84 
85 } // end of namespace bin
86 } // end of namespace imaproc
87 } // end of namespace ipsdk
88 
89 #endif // __IPSDKIPLBINARIZATION_KAPURTHRESHOLDIMG_H__
IPSDKIPLBINARIZATION_API KapurResult kapurThresholdImg(const ipsdk::image::ImageConstPtr &pInImg)
wrapper function for binarization on one image using Kapur&#39;s method. In this version of the function...
boost::shared_ptr< BaseImage > ImagePtr
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 boost::shared_ptr< KapurThresholdImgLvl1 > kapurThresholdImg_async(const ipsdk::image::ImageConstPtr &pInImg)
asynchronous wrappers