IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
TopHat2dImg.h
Go to the documentation of this file.
1 // TopHat2dImg.h:
3 // --------------
4 //
14 
15 #ifndef __IPSDKIPLBINARIZATION_TOPHAT2DIMG_H__
16 #define __IPSDKIPLBINARIZATION_TOPHAT2DIMG_H__
17 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace bin {
26 
27 class TopHat2dImgLvl1;
28 
31 
38  const StructuringElementXYInfoConstPtr& pInSEXY,
39  const ipReal64 inTopHatThreshold);
42  const StructuringElementXYInfoConstPtr& pInSEXY,
43  const ipReal64 inTopHatThreshold,
44  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy);
47  const StructuringElementXYInfoConstPtr& pInSEXY,
48  const ipReal64 inTopHatThreshold,
49  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy,
50  const image::ImagePtr& pOutBinImg);
52 
59  const StructuringElementXYInfoConstPtr& pInSEXY,
60  const ipReal64 inTopHatThreshold);
63  const StructuringElementXYInfoConstPtr& pInSEXY,
64  const ipReal64 inTopHatThreshold,
65  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy);
68  const StructuringElementXYInfoConstPtr& pInSEXY,
69  const ipReal64 inTopHatThreshold,
70  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy,
71  const image::ImagePtr& pOutBinImg);
73 
76 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
78  const StructuringElementXYInfoConstPtr& pInSEXY,
79  const ipReal64 inTopHatThreshold);
80 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
82  const StructuringElementXYInfoConstPtr& pInSEXY,
83  const ipReal64 inTopHatThreshold,
84  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy);
85 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
87  const StructuringElementXYInfoConstPtr& pInSEXY,
88  const ipReal64 inTopHatThreshold,
89  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy,
90  const image::ImagePtr& pOutBinImg);
91 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
93  const StructuringElementXYInfoConstPtr& pInSEXY,
94  const ipReal64 inTopHatThreshold);
95 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
97  const StructuringElementXYInfoConstPtr& pInSEXY,
98  const ipReal64 inTopHatThreshold,
99  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy);
100 IPSDKIPLBINARIZATION_API boost::shared_ptr<TopHat2dImgLvl1>
102  const StructuringElementXYInfoConstPtr& pInSEXY,
103  const ipReal64 inTopHatThreshold,
104  const attr::eBorderExtensionPolicy& inOptBorderExtensionPolicy,
105  const image::ImagePtr& pOutBinImg);
107 
111 getAsyncProcessorOutput(boost::shared_ptr<TopHat2dImgLvl1> pProcessor);
113 
116 
117 } // end of namespace bin
118 } // end of namespace imaproc
119 } // end of namespace ipsdk
120 
121 #endif // __IPSDKIPLBINARIZATION_TOPHAT2DIMG_H__
IPSDKIPLBINARIZATION_API boost::shared_ptr< TopHat2dImgLvl1 > lightTopHat2dImg_async(const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const ipReal64 inTopHatThreshold)
asynchronous wrappers
boost::shared_ptr< BaseImage > ImagePtr
double ipReal64
IPSDKIPLBINARIZATION_API boost::shared_ptr< TopHat2dImgLvl1 > darkTopHat2dImg_async(const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const ipReal64 inTopHatThreshold)
asynchronous wrappers
boost::shared_ptr< const StructuringElementXYInfo > StructuringElementXYInfoConstPtr
IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AdaptiveThreshold2dImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
eBorderExtensionPolicy
Enumerate describing border extension policy.
Definition: BorderExtensionPolicy.h:31
IPSDKIPLBINARIZATION_API image::ImagePtr darkTopHat2dImg(const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const ipReal64 inTopHatThreshold)
wrapper function for dark TopHat binary threshold on one 2d image
boost::shared_ptr< const BaseImage > ImageConstPtr
Definition of import/export macro for library.
IPSDKIPLBINARIZATION_API image::ImagePtr lightTopHat2dImg(const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const ipReal64 inTopHatThreshold)
wrapper function for light TopHat binary threshold on one 2d image
#define IPSDKIPLBINARIZATION_API
Import/Export macro for library IPSDKIPLBinarization.
Definition: IPSDKIPLBinarizationExports.h:25
Predefined types for border extension policy management.