IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KMeansAssignResultsTypes.h
Go to the documentation of this file.
1 // KMeansAssignResultsTypes.h:
3 // -----------------------------
4 //
14 
15 #ifndef __IPSDKIPLCLASSIFICATION_KMEANSASSIGNRESULTSTYPES_H__
16 #define __IPSDKIPLCLASSIFICATION_KMEANSASSIGNRESULTSTYPES_H__
17 
18 // suppression warnings
19 // warning C4251: 'ipsdk::imaproc::classif::KMeansAssignResults::_pClassImg' : class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of struct 'ipsdk::imaproc::classif::KMeansAssignResults'
20 #pragma warning (push)
21 #pragma warning (disable : 4251)
22 
25 
26 namespace ipsdk {
27 namespace imaproc {
28 namespace classif {
29 
32 
38 {
41  KMeansAssignResults(const image::ImagePtr& pClassesImg,
42  ipReal64 compactness) :
43  _pClassesImg(pClassesImg),
44  _compactness(compactness) {}
45 
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_KMEANSASSIGNRESULTSTYPES_H__
ipReal64 _compactness
compactness
Definition: KMeansAssignResultsTypes.h:53
#define IPSDKIPLCLASSIFICATION_API
Import/Export macro for library IPSDKIPLClassification.
Definition: IPSDKIPLClassificationExports.h:25
boost::shared_ptr< BaseImage > ImagePtr
double ipReal64
Definition of import/export macro for library.
Definition: KMeansAssignResultsTypes.h:37
image::ImagePtr _pClassesImg
image of classes
Definition: KMeansAssignResultsTypes.h:50