IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RandomForestFeatureList.h
1 // RandomForestFeatureList.h:
3 // --------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_RANDOMFORESTFEATURELIST_H__
17 #define __IPSDKIPLATTRIBUTES_RANDOMFORESTFEATURELIST_H__
18 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/RandomForestFeature.h>
23 
24 namespace ipsdk {
25 namespace imaproc {
26 namespace attr {
27 
33 
34 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, RandomForestFeatureList,
36  ((LEAF)(MaxShift)(ipsdk::ipUInt16))
37  ((LEAF)(NbChannels)(ipsdk::ipUInt16))
38  ((NODE_COLL)(FeatureColl)(ipsdk::imaproc::attr::RandomForestFeature)))
39 
40 // methods
41 public:
42 
43  void setDimension(eRandomForestFeaturesDimension);
44 
45  void setMaxShift(ipsdk::ipUInt16);
46 
47  void setNbChannels(ipsdk::ipUInt16);
48 
49  void addFeature(const RandomForestFeaturePtr pFeature);
50 
51 };
52 
55 
56 } // end of namespace attr
57 } // end of namespace imaproc
58 } // end of namespace ipsdk
59 
60 #endif // __IPSDKIPLATTRIBUTES_RANDOMFORESTFEATURELIST_H__
Describes random forest feature.
Definition: RandomForestFeature.h:61
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
Compute 2D features.
Definition: RandomForestTypes.h:33
eRandomForestFeaturesDimension
Enumerate describing random forest dimension.
Definition: RandomForestTypes.h:31
boost::shared_ptr< ipsdk::imaproc::attr::RandomForestFeature > RandomForestFeaturePtr
shared pointer to ipsdk::imaproc::RandomForestFeature
Definition: RandomForestFeature.h:188
Definition of import/export macro for library.
Predefined types for random forest classification.
uint16_t ipUInt16