IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelKMeansResultsTypes.h
Go to the documentation of this file.
1 // KernelKMeansResultsTypes.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KERNELKMEANSRESULTSTYPES_H__
16 #define __IPSDKIPLCLASSIFICATION_KERNELKMEANSRESULTSTYPES_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::imaproc::classif::KernelKMeansResults::_pClassesImg' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of struct 'ipsdk::imaproc::classif::KernelKMeansResults'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
25 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/KKMeansCentroids.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace classif {
30 
33 
39 {
42  KernelKMeansResults(const image::ImagePtr& pClassesImg,
43  const attr::KKMeansCentroidsPtr& pClustersCentroids) :
44  _pClassesImg(pClassesImg),
45  _pClustersCentroids(pClustersCentroids) {}
48 
51 
54 };
55 
58 
59 } // end of namespace classif
60 } // end of namespace imaproc
61 } // end of namespace ipsdk
62 
63 #pragma warning (pop)
64 
65 #endif // __IPSDKIPLCLASSIFICATION_KERNELKMEANSRESULTSTYPES_H__
#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< ipsdk::imaproc::attr::KKMeansCentroids > KKMeansCentroidsPtr
shared pointer to ipsdk::imaproc::attr::KKMeansCentroids
Definition: KKMeansCentroids.h:147
image::ImagePtr _pClassesImg
image of classes
Definition: KernelKMeansResultsTypes.h:50
Structure allowing to encaspulate image of classes and coordinates of clusters centroids resulting fr...
Definition: KernelKMeansResultsTypes.h:38
attr::KKMeansCentroidsPtr _pClustersCentroids
coordinates of clusters centroids
Definition: KernelKMeansResultsTypes.h:53