IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SuperVoxels3dImg.h
Go to the documentation of this file.
1 // SuperVoxels3dImg.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKIPLADVANCEDMORPHOLOGY_SUPERVOXELS3DIMG_H__
16 #define __IPSDKIPLADVANCEDMORPHOLOGY_SUPERVOXELS3DIMG_H__
17 
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace advmorpho {
25 
26 class SuperVoxels3dImgLvl1;
27 
30 
37  const ipUInt32 inSuperPixelsParamValue,
38  const ipReal32 inCompactness,
39  const ipUInt32 inNbIter);
40 
43  const ipUInt32 inSuperPixelsParamValue,
44  const ipReal32 inCompactness,
45  const ipUInt32 inNbIter,
46  const ipReal32 inOptSizeRatio,
47  const ipsdk::imaproc::attr::eSuperPixelsType& pInOptSuperPixelsType);
48 
51  const ipUInt32 inSuperPixelsParamValue,
52  const ipReal32 inCompactness,
53  const ipUInt32 inNbIter,
54  const image::ImagePtr& pOutLabelImg);
55 
58  const ipUInt32 inSuperPixelsParamValue,
59  const ipReal32 inCompactness,
60  const ipUInt32 inNbIter,
61  const ipReal32 inOptSizeRatio,
62  const ipsdk::imaproc::attr::eSuperPixelsType& pInOptSuperPixelsType,
63  const image::ImagePtr& pOutLabelImg);
65 
68 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SuperVoxels3dImgLvl1>
70  const ipUInt32 inSuperPixelsParamValue,
71  const ipReal32 inCompactness,
72  const ipUInt32 inNbIter);
73 
74 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SuperVoxels3dImgLvl1>
76  const ipUInt32 inSuperPixelsParamValue,
77  const ipReal32 inCompactness,
78  const ipUInt32 inNbIter,
79  const ipReal32 inOptSizeRatio,
80  const ipsdk::imaproc::attr::eSuperPixelsType& pInOptSuperPixelsType);
81 
82 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SuperVoxels3dImgLvl1>
84  const ipUInt32 inSuperPixelsParamValue,
85  const ipReal32 inCompactness,
86  const ipUInt32 inNbIter,
87  const image::ImagePtr& pOutLabelImg);
88 
89 IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr<SuperVoxels3dImgLvl1>
91  const ipUInt32 inSuperPixelsParamValue,
92  const ipReal32 inCompactness,
93  const ipUInt32 inNbIter,
94  const ipReal32 inOptSizeRatio,
95  const ipsdk::imaproc::attr::eSuperPixelsType& pInOptSuperPixelsType,
96  const image::ImagePtr& pOutLabelImg);
98 
102 getAsyncProcessorOutput(boost::shared_ptr<SuperVoxels3dImgLvl1> pProcessor);
104 
107 
108 } // end of namespace advmorpho
109 } // end of namespace imaproc
110 } // end of namespace ipsdk
111 
112 #endif // __IPSDKIPLADVANCEDMORPHOLOGY_SUPERVOXELS3DIMG_H__
eSuperPixelsType
Enumerate describing super pixels type.
Definition: SuperPixelsTypes.h:31
Definition of import/export macro for library.
boost::shared_ptr< BaseImage > ImagePtr
IPSDKIPLADVANCEDMORPHOLOGY_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< AdaptiveBinaryWatershed2dImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
Predefined types for super pixels management.
#define IPSDKIPLADVANCEDMORPHOLOGY_API
Import/Export macro for library IPSDKIPLAdvancedMorphology.
Definition: IPSDKIPLAdvancedMorphologyExports.h:25
IPSDKIPLADVANCEDMORPHOLOGY_API boost::shared_ptr< SuperVoxels3dImgLvl1 > superVoxels3dImg_async(const image::ImageConstPtr &pInImg, const ipUInt32 inSuperPixelsParamValue, const ipReal32 inCompactness, const ipUInt32 inNbIter)
asynchronous wrappers
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLADVANCEDMORPHOLOGY_API image::ImagePtr superVoxels3dImg(const image::ImageConstPtr &pInImg, const ipUInt32 inSuperPixelsParamValue, const ipReal32 inCompactness, const ipUInt32 inNbIter)
wrapper function for Super voxels algorithm based on SLIC
float ipReal32
uint32_t ipUInt32