IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RidgeLine2dImg.h
Go to the documentation of this file.
1 // RidgeLine2dImg.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_RIDGELINE2DIMG_H__
16 #define __IPSDKIPLADVANCEDMORPHOLOGY_RIDGELINE2DIMG_H__
17 
19 #include <IPSDKIPL/IPSDKIPLAdvancedMorphology/Tools/RidgeLineTypes.h>
21 
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace advmorpho {
26 
27 
28 class RidgeLine2dImgLvl1;
29 
32 
39  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
40  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection);
41 
44  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
45  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
46  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection);
47 
50  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
51  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
52  const ipsdk::ipUInt32 nbIter);
53 
56  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
57  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
58  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
59  const ipsdk::ipUInt32 nbIter);
60 
63  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
64  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
65  const ipsdk::image::ImagePtr& pOutShortestPathImg,
66  const ipsdk::image::ImagePtr& pOutDistanceMap,
67  const ipsdk::image::ImagePtr& pOutPathMap);
68 
71  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
72  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
73  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
74  const ipsdk::image::ImagePtr& pOutShortestPathImg,
75  const ipsdk::image::ImagePtr& pOutDistanceMap,
76  const ipsdk::image::ImagePtr& pOutPathMap);
77 
80  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
81  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
82  const ipsdk::ipUInt32 nbIter,
83  const ipsdk::image::ImagePtr& pOutShortestPathImg,
84  const ipsdk::image::ImagePtr& pOutDistanceMap,
85  const ipsdk::image::ImagePtr& pOutPathMap);
86 
89  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
90  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
91  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
92  const ipsdk::ipUInt32 nbIter,
93  const ipsdk::image::ImagePtr& pOutShortestPathImg,
94  const ipsdk::image::ImagePtr& pOutDistanceMap,
95  const ipsdk::image::ImagePtr& pOutPathMap);
96 
99  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
100  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
101  const ipsdk::image::ImagePtr& pOutShortestPathImg,
102  const ipsdk::image::ImagePtr& pOutDistanceMap,
103  const ipsdk::image::ImagePtr& pOutPathMap);
104 
107  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
108  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
109  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
110  const ipsdk::image::ImagePtr& pOutShortestPathImg,
111  const ipsdk::image::ImagePtr& pOutDistanceMap,
112  const ipsdk::image::ImagePtr& pOutPathMap);
113 
116  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
117  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
118  const ipsdk::ipUInt32 nbIter,
119  const ipsdk::image::ImagePtr& pOutShortestPathImg,
120  const ipsdk::image::ImagePtr& pOutDistanceMap,
121  const ipsdk::image::ImagePtr& pOutPathMap);
122 
125  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
126  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
127  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
128  const ipsdk::ipUInt32 nbIter,
129  const ipsdk::image::ImagePtr& pOutShortestPathImg,
130  const ipsdk::image::ImagePtr& pOutDistanceMap,
131  const ipsdk::image::ImagePtr& pOutPathMap);
132 
134 
137 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
139  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
140  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection);
141 
142 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
144  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
145  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
146  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection);
147 
148 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
150  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
151  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
152  const ipsdk::ipUInt32 nbIter);
153 
154 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
156  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
157  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
158  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
159  const ipsdk::ipUInt32 nbIter);
160 
161 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
163  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
164  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
165  const ipsdk::image::ImagePtr& pOutShortestPathImg,
166  const ipsdk::image::ImagePtr& pOutDistanceMap,
167  const ipsdk::image::ImagePtr& pOutPathMap);
168 
169 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
171  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
172  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
173  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
174  const ipsdk::image::ImagePtr& pOutShortestPathImg,
175  const ipsdk::image::ImagePtr& pOutDistanceMap,
176  const ipsdk::image::ImagePtr& pOutPathMap);
177 
178 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
180  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
181  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
182  const ipsdk::ipUInt32 nbIter,
183  const ipsdk::image::ImagePtr& pOutShortestPathImg,
184  const ipsdk::image::ImagePtr& pOutDistanceMap,
185  const ipsdk::image::ImagePtr& pOutPathMap);
186 
187 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<RidgeLine2dImgLvl1>
189  const ipsdk::image::ImageConstPtr& pInOptMaskImg,
190  const ipsdk::imaproc::attr::ePropagationAxis& pInPropagationAxis,
191  const ipsdk::imaproc::attr::ePropagationDirection& pInPropagationDirection,
192  const ipsdk::ipUInt32 nbIter,
193  const ipsdk::image::ImagePtr& pOutShortestPathImg,
194  const ipsdk::image::ImagePtr& pOutDistanceMap,
195  const ipsdk::image::ImagePtr& pOutPathMap);
197 
201 getAsyncProcessorOutput(boost::shared_ptr<RidgeLine2dImgLvl1> pProcessor);
203 
204 
209  const ipsdk::ipUInt64 nbPlan,
210  const ipsdk::ipUInt64 nbChanel,
211  const ipsdk::ipUInt64 nbSequence);
215 
216 } // end of namespace advmorpho
217 } // end of namespace imaproc
218 } // end of namespace ipsdk
219 
220 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_RIDGELINE2DIMG_H__
Definition of import/export macro for library.
ePropagationAxis
Enumerate describing propagation axis type.
Definition: DirectionTypes.h:45
uint64_t ipUInt64
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
boost::shared_ptr< ipsdk::imaproc::attr::Pixels2d > Pixels2dPtr
shared pointer to ipsdk::imaproc::attr::Pixels2d
Definition: Pixels2d.h:128
#define IPSDKIPLADVANCEDMORPHOLOGY_API
Import/Export macro for library IPSDKIPLAdvancedMorphology.
Definition: IPSDKIPLAdvancedMorphologyExports.h:25
IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr< RidgeLine2dImgLvl1 > ridgeLine2dImg_async(const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ePropagationAxis &pInPropagationAxis, const ipsdk::imaproc::attr::ePropagationDirection &pInPropagationDirection)
asynchronous wrappers
IPSDKIPLADVANCEDMORPHOLOGY_API ipsdk::imaproc::attr::PlanIndexedPixels2dPtr ridgeLine2dImg_multiSlice(const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ePropagationAxis &pInPropagationAxis, const ipsdk::imaproc::attr::ePropagationDirection &pInPropagationDirection, const ipsdk::image::ImagePtr &pOutShortestPathImg, const ipsdk::image::ImagePtr &pOutDistanceMap, const ipsdk::image::ImagePtr &pOutPathMap)
wrapper function for Computes the shortest path from one border to its opposite, given distance ponde...
IPSDKIPLADVANCEDMORPHOLOGY_API ipsdk::ipReal64 computeShortestPathLength(const ipsdk::imaproc::attr::PlanIndexedPixels2dPtr &pPIPixels2d, const ipsdk::ipUInt64 nbPlan, const ipsdk::ipUInt64 nbChanel, const ipsdk::ipUInt64 nbSequence)
function to retrieve the result of an asynchronous processor
boost::shared_ptr< ipsdk::imaproc::attr::PlanIndexedPixels2d > PlanIndexedPixels2dPtr
shared pointer to ipsdk::imaproc::attr::PlanIndexedPixels2d
Definition: PlanIndexedPixels2d.h:49
ePropagationDirection
Definition: DirectionTypes.h:59
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLADVANCEDMORPHOLOGY_API ipsdk::imaproc::attr::RidgeLine2dResult ridgeLine2dImg(const ipsdk::image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::ePropagationAxis &pInPropagationAxis, const ipsdk::imaproc::attr::ePropagationDirection &pInPropagationDirection)
wrapper function for Computes the shortest path from one border to its opposite, given distance ponde...
Predefined types for direction management.
Structure containing the results of the ridge line 2d algorithm.
Definition: RidgeLineTypes.h:38
uint32_t ipUInt32