IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PixelClassificationRFImg.h
Go to the documentation of this file.
1 // PixelClassificationRFImg.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIPLMACHINELEARNING_PIXELCLASSIFICATIONRFIMG_H__
16 #define __IPSDKIPLMACHINELEARNING_PIXELCLASSIFICATIONRFIMG_H__
17 
21 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/RandomForestModel.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace ml {
26 
27 class PixelClassificationRFImgLvl1;
28 
31 
42  const image::ImagePtr& pOutBinLabImg);
46  const ipReal32 inOptMemoryRatio);
50  const ipReal32 inOptMemoryRatio,
51  const image::ImagePtr& pOutBinLabImg);
52 
53 IPSDKIPLMACHINELEARNING_API PixelClassificationRFResult
59  const image::ImagePtr& pOutBinLabImg,
60  const image::ImagePtr& pOutRealImg);
61 IPSDKIPLMACHINELEARNING_API PixelClassificationRFResult
64  const ipReal32 inOptMemoryRatio);
68  const ipReal32 inOptMemoryRatio,
69  const image::ImagePtr& pOutBinLabImg,
70  const image::ImagePtr& pOutRealImg);
72 
75 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
78 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
81  const image::ImagePtr& pOutBinLabImg);
82 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
85  const ipReal32 inOptMemoryRatio);
86 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
89  const ipReal32 inOptMemoryRatio,
90  const image::ImagePtr& pOutBinLabImg);
91 
92 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
95 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
98  const image::ImagePtr& pOutBinLabImg,
99  const image::ImagePtr& pOutRealImg);
100 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
103  const ipReal32 inOptMemoryRatio);
104 IPSDKIPLMACHINELEARNING_API boost::shared_ptr<PixelClassificationRFImgLvl1>
107  const ipReal32 inOptMemoryRatio,
108  const image::ImagePtr& pOutBinLabImg,
109  const image::ImagePtr& pOutRealImg);
111 
115 getAsyncProcessorOutput(boost::shared_ptr<PixelClassificationRFImgLvl1> pProcessor);
117 
120 
121 } // end of namespace ml
122 } // end of namespace imaproc
123 } // end of namespace ipsdk
124 
125 #endif // __IPSDKIPLMACHINELEARNING_PIXELCLASSIFICATIONRFIMG_H__
IPSDKIPLMACHINELEARNING_API image::ImagePtr pixelClassificationRFImg(const image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::RandomForestModelConstPtr &pModel)
wrapper function for Compute Random Forest pixel classification
boost::shared_ptr< const ipsdk::imaproc::attr::RandomForestModel > RandomForestModelConstPtr
shared pointer to const ipsdk::imaproc::RandomForestModel
Definition: RandomForestModel.h:124
boost::shared_ptr< BaseImage > ImagePtr
#define IPSDKIPLMACHINELEARNING_API
Import/Export macro for library IPSDKIPLMachineLearning.
Definition: IPSDKIPLMachineLearningExports.h:25
IPSDKIPLMACHINELEARNING_API PixelClassificationRFResult pixelClassificationRFWithProbabilitiesImg(const image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::RandomForestModelConstPtr &pModel)
wrapper function for Compute Random Forest pixel classification
IPSDKIPLMACHINELEARNING_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< PixelClassificationRFImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
IPSDKIPLMACHINELEARNING_API boost::shared_ptr< PixelClassificationRFImgLvl1 > pixelClassificationRFWithProbabilitiesImg_async(const image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::RandomForestModelConstPtr &pModel)
asynchronous wrappers
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLMACHINELEARNING_API boost::shared_ptr< PixelClassificationRFImgLvl1 > pixelClassificationRFImg_async(const image::ImageConstPtr &pInImg, const ipsdk::imaproc::attr::RandomForestModelConstPtr &pModel)
asynchronous wrappers
Predefined types for PixelClassificationRFImg management.
Definition of import/export macro for library.
float ipReal32