IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
DeepFlowParams.h
1 // DeepFlowParams.h:
3 // -----------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_DEEPFLOWPARAMS_H__
17 #define __IPSDKIPLATTRIBUTES_DEEPFLOWPARAMS_H__
18 
21 
22 namespace ipsdk {
23 namespace imaproc {
24 namespace attr {
25 
31 
32 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, DeepFlowParams,
33  ((LEAF)(NbMaxLayers)(ipsdk::ipUInt32)(100))
34  ((LEAF)(DownscaleFactor)(ipsdk::ipReal32)(0.95f))
35  ((LEAF)(FixedPointIterations)(ipsdk::ipUInt32)(5))
36  ((LEAF)(SorIterations)(ipsdk::ipUInt32)(25))
37  ((LEAF)(Alpha)(ipsdk::ipReal32)(1.f))
38  ((LEAF)(Delta)(ipsdk::ipReal32)(0.5f))
39  ((LEAF)(Gamma)(ipsdk::ipReal32)(5.f))
40  ((LEAF)(Omega)(ipsdk::ipReal32)(1.6f)))
41 };
42 
45 
48 typedef boost::shared_ptr<ipsdk::imaproc::attr::DeepFlowParams> DeepFlowParamsPtr;
49 
52 typedef boost::shared_ptr<const ipsdk::imaproc::attr::DeepFlowParams> DeepFlowParamsConstPtr;
53 
56 
58 createDefaultDeepFlowParams();
60 
62 createDeepFlowParams(const ipUInt32 nbMaxLayers);
63 
65 createDeepFlowParams(const ipUInt32 nbMaxLayers,
66  const ipUInt32 fixedPointIterations, const ipUInt32 sorIterations);
67 
69 createDeepFlowParams(const ipUInt32 nbMaxLayers, const ipReal32 downscaleFactor,
70  const ipUInt32 fixedPointIterations, const ipUInt32 sorIterations,
71  const ipReal32 alpha, const ipReal32 delta, const ipReal32 gamma, const ipReal32 omega);
72 
75 
76 } // end of namespace attr
77 } // end of namespace imaproc
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKIPLATTRIBUTES_DEEPFLOWPARAMS_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
boost::shared_ptr< const ipsdk::imaproc::attr::DeepFlowParams > DeepFlowParamsConstPtr
shared pointer to const ipsdk::imaproc::attr::DeepFlowParams
Definition: DeepFlowParams.h:248
boost::shared_ptr< ipsdk::imaproc::attr::DeepFlowParams > DeepFlowParamsPtr
shared pointer to ipsdk::imaproc::attr::DeepFlowParams
Definition: DeepFlowParams.h:244
Definition of import/export macro for library.
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
float ipReal32
uint32_t ipUInt32