IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ClustersCenters.h
1 // ClustersCenters.h:
3 // ------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_CLUSTERSCENTERS_H__
17 #define __IPSDKIPLATTRIBUTES_CLUSTERSCENTERS_H__
18 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/ClusterCenter.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, ClustersCenters,
34  ((NODE_COLL)(Coll)(ipsdk::imaproc::attr::ClusterCenter)))
35 };
36 
39 
42 typedef boost::shared_ptr<ipsdk::imaproc::attr::ClustersCenters> ClustersCentersPtr;
43 
46 typedef boost::shared_ptr<const ipsdk::imaproc::attr::ClustersCenters> ClustersCentersConstPtr;
47 
53 
56  const std::vector<ipReal64>& orgFlattenedCenters,
57  ipUInt64 centersDimension);
59 
60 
63 
64 } // end of namespace attr
65 } // end of namespace imaproc
66 } // end of namespace ipsdk
67 
68 #endif // __IPSDKIPLATTRIBUTES_CLUSTERSCENTERS_H__
boost::shared_ptr< const ipsdk::imaproc::attr::ClustersCenters > ClustersCentersConstPtr
shared pointer to const ipsdk::imaproc::attr::ClustersCenters
Definition: ClustersCenters.h:132
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
uint64_t ipUInt64
boost::shared_ptr< ipsdk::imaproc::attr::ClustersCenters > ClustersCentersPtr
shared pointer to ipsdk::imaproc::attr::ClustersCenters
Definition: ClustersCenters.h:128
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::ClustersCentersPtr createClustersCenters(const std::vector< ipReal64 > &orgFlattenedCenters, ipUInt64 centersDimension)
function allowing to create a ClustersCenters data item
Definition of import/export macro for library.
Center of a cluster (used for k-means algorithm, for instance)
Definition: ClusterCenter.h:52
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25