IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
InOptHoughLinesGradientImgParams.h
1 // InOptHoughLinesGradientImgParams.h:
3 // ------------------------
4 //
16 
17 #ifndef __IPSDKIPLATTRIBUTES_INOPTHOUGHLINESGRADIENTIMGPARAMS_H__
18 #define __IPSDKIPLATTRIBUTES_INOPTHOUGHLINESGRADIENTIMGPARAMS_H__
19 
22 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/HoughLinesGradientImgParams.h>
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
34  InOptHoughLinesGradientImgParams,
36  (ipsdk::processor::isGreater<HoughLinesGradientImgParams::RhoStep>(attribute, .0) &&
37  ipsdk::processor::isGreaterOrEqual<HoughLinesGradientImgParams::ThetaMin>(attribute, -M_PI) &&
38  ipsdk::processor::isLowerOrEqual<HoughLinesGradientImgParams::ThetaMax>(attribute, M_PI) &&
39  ipsdk::processor::isLowerOrEqual<HoughLinesGradientImgParams::ThetaMin, HoughLinesGradientImgParams::ThetaMax>(attribute) &&
40  ipsdk::processor::isGreaterOrEqual<HoughLinesGradientImgParams::ThetaNbBins>(attribute, 1)),
42 
45 
46 } // end of namespace attr
47 } // end of namespace imaproc
48 } // end of namespace ipsdk
49 
50 #endif // __IPSDKIPLATTRIBUTES_INOPTHOUGHLINESGRADIENTIMGPARAMS_H__
IPSDKIPLATTRIBUTES_API ipsdk::imaproc::attr::HoughLinesGradientImgParamsPtr createDefaultHoughLinesGradientImgParams()
function allowing to create a default HoughLineParams data item
#define IPSDK_DECLARE_INPUT_OPTIONAL_FROM_EXISTING_DATAITEM_ATTRIBUTE(libraryName, className, dataItemClassName, RuleString, defaultValue)
Definition of import/export macro for library.
Parameters for Hough lines image generation algorithm.
Definition: HoughLinesGradientImgParams.h:63