IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SeededDistanceMap2dImg.h
Go to the documentation of this file.
1 // SeededDistanceMap2dImg.h:
3 // -------------------------
4 //
14 
15 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_SEEDEDDISTANCEMAP2DIMG_H__
16 #define __IPSDKIPLADVANCEDMORPHOLOGY_SEEDEDDISTANCEMAP2DIMG_H__
17 
20 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Neighborhood/InOptNeighborhood2d.h>
21 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutDistWeight2d.h>
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace advmorpho {
27 
28 class SeededDistanceMap2dImgLvl1;
29 
32 
37 IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData
39  const ipsdk::image::ImageConstPtr& pInBinSeedImg);
40 IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData
42  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
43  const ipReal64 pixelXSize,
44  const ipReal64 pixelYSize,
45  const ipsdk::eNeighborhood2dType& neighborhood2d);
48  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
49  const ipReal64 pixelXSize,
50  const ipReal64 pixelYSize,
51  const ipsdk::eNeighborhood2dType& neighborhood2d,
52  const ipsdk::image::ImagePtr& pOutDistImg);
54 
60 IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData
62  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
63  const ipsdk::ipReal32 maxDistance);
64 IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData
66  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
67  const ipReal64 pixelXSize,
68  const ipReal64 pixelYSize,
69  const ipsdk::eNeighborhood2dType& neighborhood2d,
70  const ipsdk::ipReal32 maxDistance);
73  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
74  const ipReal64 pixelXSize,
75  const ipReal64 pixelYSize,
76  const ipsdk::eNeighborhood2dType& neighborhood2d,
77  const ipsdk::ipReal32 maxDistance,
78  const ipsdk::image::ImagePtr& pOutDistImg);
80 
83 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
85  const ipsdk::image::ImageConstPtr& pInBinSeedImg);
86 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
88  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
89  const ipReal64 pixelXSize,
90  const ipReal64 pixelYSize,
91  const ipsdk::eNeighborhood2dType& neighborhood2d);
92 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
94  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
95  const ipReal64 pixelXSize,
96  const ipReal64 pixelYSize,
97  const ipsdk::eNeighborhood2dType& neighborhood2d,
98  const ipsdk::image::ImagePtr& pOutDistImg);
99 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
101  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
102  const ipsdk::ipReal32 maxDistance);
103 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
105  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
106  const ipReal64 pixelXSize,
107  const ipReal64 pixelYSize,
108  const ipsdk::eNeighborhood2dType& neighborhood2d,
109  const ipsdk::ipReal32 maxDistance);
110 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SeededDistanceMap2dImgLvl1>
112  const ipsdk::image::ImageConstPtr& pInBinSeedImg,
113  const ipReal64 pixelXSize,
114  const ipReal64 pixelYSize,
115  const ipsdk::eNeighborhood2dType& neighborhood2d,
116  const ipsdk::ipReal32 maxDistance,
117  const ipsdk::image::ImagePtr& pOutDistImg);
119 
122 IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData
123 getAsyncProcessorOutput(boost::shared_ptr<SeededDistanceMap2dImgLvl1> pProcessor);
125 
128 
129 } // end of namespace advmorpho
130 } // end of namespace imaproc
131 } // end of namespace ipsdk
132 
133 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_SEEDEDDISTANCEMAP2DIMG_H__
Definition of import/export macro for library.
boost::shared_ptr< ipsdk::imaproc::attr::DistWeight2d > DistWeight2dPtr
shared pointer to ipsdk::imaproc::attr::DistWeight2d
Definition: DistWeight2d.h:149
boost::shared_ptr< BaseImage > ImagePtr
IPSDKIPLADVANCEDMORPHOLOGY_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AdaptiveBinaryWatershed2dImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
double ipReal64
IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr< SeededDistanceMap2dImgLvl1 > seededDistanceMap2dImg_async(const ipsdk::image::ImageConstPtr &pInBinImg, const ipsdk::image::ImageConstPtr &pInBinSeedImg)
asynchronous wrappers
#define IPSDKIPLADVANCEDMORPHOLOGY_API
Import/Export macro for library IPSDKIPLAdvancedMorphology.
Definition: IPSDKIPLAdvancedMorphologyExports.h:25
IPSDKIPLADVANCEDMORPHOLOGY_API DistanceMap2dData seededDistanceMap2dImg(const ipsdk::image::ImageConstPtr &pInBinImg, const ipsdk::image::ImageConstPtr &pInBinSeedImg)
wrapper function for seeded distance map transform of an input binary image according to a seeded ima...
boost::shared_ptr< const BaseImage > ImageConstPtr
eNeighborhood2dType
float ipReal32