IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RandomForest.h
1 // RandomForest.h:
3 // ---------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_RANDOMFOREST_H__
17 #define __IPSDKIPLATTRIBUTES_RANDOMFOREST_H__
18 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/RandomForestTree.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
33 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, RandomForest,
34  ((LEAF)(NbLabels)(ipsdk::ipUInt32))
35  ((NODE_COLL)(Forest)(ipsdk::imaproc::attr::RandomForestTree)))
36 
37 // methods
38 public:
39 
40  void setNbLabels(ipsdk::ipUInt16);
41 
42  void addTree(const RandomForestTreePtr pTree);
43 
44 };
45 
48 
49 } // end of namespace attr
50 } // end of namespace imaproc
51 } // end of namespace ipsdk
52 
53 #endif // __IPSDKIPLATTRIBUTES_RANDOMFOREST_H__
Random forest tree.
Definition: RandomForestTree.h:53
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< ipsdk::imaproc::attr::RandomForestTree > RandomForestTreePtr
shared pointer to ipsdk::imaproc::RandomForestTree
Definition: RandomForestTree.h:130
Definition of import/export macro for library.
uint16_t ipUInt16
uint32_t ipUInt32