IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelKMeansImg.h
Go to the documentation of this file.
1 // KernelKMeansImg.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KERNELKMEANSIMG_H__
16 #define __IPSDKIPLCLASSIFICATION_KERNELKMEANSIMG_H__
17 
19 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/KernelKMeansParams.h>
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace classif {
25 
26 class KernelKMeansImgLvl1;
27 
30 
35 IPSDKIPLCLASSIFICATION_API KernelKMeansResults
37  const ipUInt32 nbClusters,
38  const ipUInt32 nbSamples);
41  const ipUInt32 nbClusters,
42  const ipUInt32 nbSamples,
43  const ipUInt32 nbAttempts,
44  const attr::KernelKMeansParamsConstPtr& pKernelKMeansParams,
45  const image::ImagePtr& pOutClassImg,
46  const attr::KKMeansCentroidsPtr& pOutKKMeansCentroids);
48 
51 IPSDKIPLCLASSIFICATION_API boost::shared_ptr<KernelKMeansImgLvl1>
53  const ipUInt32 nbClusters,
54  const ipUInt32 nbSamples);
55 IPSDKIPLCLASSIFICATION_API boost::shared_ptr<KernelKMeansImgLvl1>
57  const ipUInt32 nbClusters,
58  const ipUInt32 nbSamples,
59  const ipUInt32 nbAttempts,
60  const attr::KernelKMeansParamsConstPtr& pKernelKMeansParams,
61  const image::ImagePtr& pOutClassImg,
62  const attr::KKMeansCentroidsPtr& pOutKKMeansCentroids);
64 
67 IPSDKIPLCLASSIFICATION_API KernelKMeansResults
68 getAsyncProcessorOutput(boost::shared_ptr<KernelKMeansImgLvl1> pProcessor);
70 
73 
74 } // end of namespace classif
75 } // end of namespace imaproc
76 } // end of namespace ipsdk
77 
78 #endif // __IPSDKIPLCLASSIFICATION_KERNELKMEANSIMG_H__
Predefined types for KernelKMeansImg management.
#define IPSDKIPLCLASSIFICATION_API
Import/Export macro for library IPSDKIPLClassification.
Definition: IPSDKIPLClassificationExports.h:25
boost::shared_ptr< BaseImage > ImagePtr
Definition of import/export macro for library.
boost::shared_ptr< const ipsdk::imaproc::attr::KernelKMeansParams > KernelKMeansParamsConstPtr
shared pointer to const ipsdk::imaproc::attr::KernelKMeansParams
Definition: KernelKMeansParams.h:231
IPSDKIPLCLASSIFICATION_API boost::shared_ptr< KernelKMeansImgLvl1 > kernelKMeansImg_async(const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples)
asynchronous wrappers
boost::shared_ptr< ipsdk::imaproc::attr::KKMeansCentroids > KKMeansCentroidsPtr
shared pointer to ipsdk::imaproc::attr::KKMeansCentroids
Definition: KKMeansCentroids.h:147
boost::shared_ptr< const BaseImage > ImageConstPtr
IPSDKIPLCLASSIFICATION_API KernelKMeansResults kernelKMeansImg(const image::ImageConstPtr &pInImg, const ipUInt32 nbClusters, const ipUInt32 nbSamples)
wrapper function for Kernel KMeans clustering algorithm
IPSDKIPLCLASSIFICATION_API image::ImagePtr getAsyncProcessorOutput(boost::shared_ptr< KernelKMeansAssignImgLvl1 > pProcessor)
function to retrieve the result of an asynchronous processor
uint32_t ipUInt32