IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ShapeFiltering2dImg.h
Go to the documentation of this file.
1 // ShapeFiltering2dImg.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKIPLSHAPEANALYSIS_SHAPEFILTERING2DIMG_H__
16 #define __IPSDKIPLSHAPEANALYSIS_SHAPEFILTERING2DIMG_H__
17 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/ContourExtractionSettings.h>
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace shape {
27 namespace analysis {
28 
29 class ShapeFiltering2dImgLvl1;
30 
33 
40  const std::string& inFilterFormula);
43  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
44  const std::string& inFilterFormula);
47  const std::string& inFilterFormula,
48  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d);
51  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
52  const std::string& inFilterFormula,
53  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d);
54 
57  const std::string& inFilterFormula,
58  const ipsdk::image::ImagePtr& pOutImg);
61  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
62  const std::string& inFilterFormula,
63  const ipsdk::image::ImagePtr& pOutImg);
66  const std::string& inFilterFormula,
67  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d,
68  const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr& pInOptContourExtractionSettings,
69  const ipsdk::imaproc::attr::eLabelReindexingPolicy& inOptLabelReindexingPolicy,
70  const ipsdk::image::ImagePtr& pOutImg);
73  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
74  const std::string& inFilterFormula,
75  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d,
76  const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr& pInOptContourExtractionSettings,
77  const ipsdk::imaproc::attr::eLabelReindexingPolicy& inOptLabelReindexingPolicy,
78  const ipsdk::image::ImagePtr& pOutImg);
80 
83 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
85  const std::string& inFilterFormula);
86 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
88  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
89  const std::string& inFilterFormula);
90 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
92  const std::string& inFilterFormula,
93  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d);
94 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
96  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
97  const std::string& inFilterFormula,
98  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d);
99 
100 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
102  const std::string& inFilterFormula,
103  const ipsdk::image::ImagePtr& pOutImg);
104 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
106  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
107  const std::string& inFilterFormula,
108  const ipsdk::image::ImagePtr& pOutImg);
109 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
111  const std::string& inFilterFormula,
112  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d,
113  const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr& pInOptContourExtractionSettings,
114  const ipsdk::imaproc::attr::eLabelReindexingPolicy& inOptLabelReindexingPolicy,
115  const ipsdk::image::ImagePtr& pOutImg);
116 IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr<ShapeFiltering2dImgLvl1>
118  const ipsdk::image::ImageConstPtr& pInGreyMsrImg,
119  const std::string& inFilterFormula,
120  const ipsdk::shape::analysis::MeasureInfoSetConstPtr& pInOptMeasureInfoSet2d,
121  const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr& pInOptContourExtractionSettings,
122  const ipsdk::imaproc::attr::eLabelReindexingPolicy& inOptLabelReindexingPolicy,
123  const ipsdk::image::ImagePtr& pOutImg);
125 
129 getAsyncProcessorOutput(boost::shared_ptr<ShapeFiltering2dImgLvl1> pProcessor);
131 
134 
135 } // end of namespace analysis
136 } // end of namespace shape
137 } // end of namespace imaproc
138 } // end of namespace ipsdk
139 
140 #endif // __IPSDKIPLSHAPEANALYSIS_SHAPEFILTERING2DIMG_H__
Enumerate allowing to describle used label reindexing policy.
boost::shared_ptr< BaseImage > ImagePtr
IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::MeasureSetPtr getAsyncProcessorOutput(boost::shared_ptr< LabelAnalysis2dLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
Definition of import/export macro for library.
boost::shared_ptr< const ipsdk::imaproc::attr::ContourExtractionSettings > ContourExtractionSettingsConstPtr
shared pointer to const ipsdk::imaproc::attr::ContourExtractionSettings
Definition: ContourExtractionSettings.h:173
IPSDKIPLSHAPEANALYSIS_API ipsdk::image::ImagePtr shapeFiltering2dImg(const ipsdk::image::ImageConstPtr &pInBinLabImg, const std::string &inFilterFormula)
wrapper function for Shape 2d filtering algorithm
eLabelReindexingPolicy
Enumerate describing used label reindexing policy.
Definition: LabelReindexingPolicy.h:31
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLSHAPEANALYSIS_API boost::shared_ptr< ShapeFiltering2dImgLvl1 > shapeFiltering2dImg_async(const ipsdk::image::ImageConstPtr &pInBinLabImg, const std::string &inFilterFormula)
asynchronous wrappers
#define IPSDKIPLSHAPEANALYSIS_API
Import/Export macro for library IPSDKIPLShapeAnalysis.
Definition: IPSDKIPLShapeAnalysisExports.h:25
boost::shared_ptr< const MeasureInfoSet > MeasureInfoSetConstPtr