IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HoughLinesImgParams.h
1 // HoughLinesImgParams.h:
3 // -------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_HOUGHLINESIMGPARAMS_H__
17 #define __IPSDKIPLATTRIBUTES_HOUGHLINESIMGPARAMS_H__
18 
20 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/EvenlySpacedRange.h>
22 
23 #include <boost/shared_ptr.hpp>
24 
25 namespace ipsdk {
26 namespace imaproc {
27 namespace attr {
28 
34 
35 IPSDK_DECLARE_NODE_DATA(IPSDKIPLAttributes, HoughLinesImgParams,
36  ((LEAF)(RhoStep)(ipsdk::ipReal64)(1.0))
37  ((LEAF)(ThetaMin)(ipsdk::ipReal64)(.0))
38  ((LEAF)(ThetaMax)(ipsdk::ipReal64)(M_PI))
39  ((LEAF)(ThetaNbBins)(ipsdk::ipUInt32)(180))
40  ((LEAF)(IntensityThreshold)(ipsdk::ipReal32)(.0f)))
41 };
42 
45 
48 typedef boost::shared_ptr<ipsdk::imaproc::attr::HoughLinesImgParams> HoughLinesImgParamsPtr;
49 
52 typedef boost::shared_ptr<const ipsdk::imaproc::attr::HoughLinesImgParams> HoughLinesImgParamsConstPtr;
53 
56 
61 
66  const ipsdk::ipReal64 rhoStep,
68  const ipReal32 intensityThreshold);
69 
72 
73 } // end of namespace attr
74 } // end of namespace imaproc
75 } // end of namespace ipsdk
76 
77 #endif // __IPSDKIPLATTRIBUTES_HOUGHLINESIMGPARAMS_H__
#define IPSDK_DECLARE_NODE_DATA(libraryName, className, childSeq)
double ipReal64
boost::shared_ptr< ipsdk::imaproc::attr::HoughLinesImgParams > HoughLinesImgParamsPtr
shared pointer to ipsdk::imaproc::attr::HoughLinesImgParams
Definition: HoughLinesImgParams.h:190
boost::shared_ptr< const ipsdk::imaproc::attr::HoughLinesImgParams > HoughLinesImgParamsConstPtr
shared pointer to const ipsdk::imaproc::attr::HoughLinesImgParams
Definition: HoughLinesImgParams.h:194
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::HoughLinesImgParamsPtr createHoughLinesImgParams(const ipsdk::ipReal64 rhoStep, const ipsdk::imaproc::attr::EvenlySpacedRange &thetaRange, const ipReal32 intensityThreshold)
function allowing to create a HoughLineParams data item
Definition of import/export macro for library.
Evenly spaced range, made of a minimum, a maximum, and a number of bins.
Definition: EvenlySpacedRange.h:56
#define IPSDKIPLATTRIBUTES_API
Import/Export macro for library IPSDKIPLAttributes.
Definition: IPSDKIPLAttributesExports.h:25
float ipReal32
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::HoughLinesImgParamsPtr createDefaultHoughLinesImgParams()
function allowing to create a default HoughLineParams data item
uint32_t ipUInt32