IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
InOptHessianGaussianCoverage.h
1 // InOptHessianGaussianCoverage.h:
3 // -------------------------------
4 //
15 
16 #ifndef __IPSDKIPLATTRIBUTES_INOPTHESSIANGAUSSIANCOVERAGE_H__
17 #define __IPSDKIPLATTRIBUTES_INOPTHESSIANGAUSSIANCOVERAGE_H__
18 
21 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/GaussianCoverage.h>
22 
23 namespace ipsdk {
24 namespace imaproc {
25 namespace attr {
26 
32 
34  InOptHessianGaussianCoverage,
36  (ipsdk::processor::isGreaterOrEqual<NodeType::GaussianRatio>(attribute, 0.0f) &&
37  ipsdk::processor::isLower<NodeType::GaussianRatio>(attribute, 1.0f)) &&
38  (ipsdk::processor::isGreater<NodeType::GaussianRatio>(attribute, 0.0f) ||
39  ipsdk::processor::isGreater<NodeType::MinHalfKernelSize>(attribute, 0)),
40  createGaussianCoverage(0.997f, 2));
41 
44 
45 } // end of namespace attr
46 } // end of namespace imaproc
47 } // end of namespace ipsdk
48 
49 #endif // __IPSDKIPLATTRIBUTES_INOPTHESSIANGAUSSIANCOVERAGE_H__
Parameter allowing to specify a gaussian distribution coverage for processing.
Definition: GaussianCoverage.h:54
#define IPSDK_DECLARE_INPUT_OPTIONAL_FROM_EXISTING_DATAITEM_ATTRIBUTE(libraryName, className, dataItemClassName, RuleString, defaultValue)
Definition of import/export macro for library.
IPSDKIPLATTRIBUTES_API GaussianCoveragePtr createGaussianCoverage(const ipReal32 gaussianRatio, const ipUInt32 minHalfKernelSize)
function allowing to create a custom GaussianCoverage object