IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
NormGaussGrad2dPreProcessorConfig.h
1 // NormGaussGrad2dPreProcessorConfig.h:
3 // ------------------------------------
4 //
15 
16 #ifndef __IPSDKIPLSHAPEANALYSIS_NORMGAUSSGRAD2DPREPROCESSORCONFIG_H__
17 #define __IPSDKIPLSHAPEANALYSIS_NORMGAUSSGRAD2DPREPROCESSORCONFIG_H__
18 
19 // suppression warnings
20 // warning C4251: 'ipsdk::imaproc::shape::analysis::NormGaussGrad2dPreProcessorConfig::_outImageBufferType': class 'ipsdk::image::eImageBufferType' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::shape::analysis::NormGaussGrad2dPreProcessorConfig'
21 #pragma warning (push)
22 #pragma warning (disable : 4251)
23 
25 #include <IPSDKBaseShapeAnalysis/Measure/Info/Config/BaseIntensity2dPreProcessorConfig.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/GaussianCoverage.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace shape {
31 namespace analysis {
32 
35 
37 {
38  // declare serial class
40 
41 public:
47 
48 // methods
49 public:
54  void init(const ipReal32 inStdDevX,
55  const ipReal32 inStdDevY = -1.0f,
56  const attr::GaussianCoverageConstPtr& pInOptGradientGaussianCoverage = attr::GaussianCoverageConstPtr(),
57  const image::eImageBufferType& outImageBufferType = image::eImageBufferType::eIBT_None);
58 
59 protected:
61  bool compareDerived(const BaseIntensityPreProcessorConfig& other) const;
62 
65  BoolResult createProcessorDerived(const image::ImageConstPtr& pInImg,
66  processor::ProcessorPtr& pProcessor);
67 
69  image::ImagePtr extractOutputImageDerived(processor::BaseProcessor& processor);
70 
71 // attributes
72 protected:
79 
82 };
83 
86 
87 } // end of namespace analysis
88 } // end of namespace shape
89 } // end of namespace imaproc
90 } // end of namespace ipsdk
91 
92 #pragma warning (pop)
93 
94 #endif // __IPSDKIPLSHAPEANALYSIS_NORMGAUSSGRAD2DPREPROCESSORCONFIG_H__
image::eImageBufferType _outImageBufferType
output image buffer type
Definition: NormGaussGrad2dPreProcessorConfig.h:81
attr::GaussianCoverageConstPtr _pInOptGradientGaussianCoverage
algorithm parameters
Definition: NormGaussGrad2dPreProcessorConfig.h:77
ipReal32 _inStdDevX
algorithm parameters
Definition: NormGaussGrad2dPreProcessorConfig.h:75
boost::shared_ptr< BaseImage > ImagePtr
Definition of import/export macro for library.
boost::shared_ptr< const ipsdk::imaproc::attr::GaussianCoverage > GaussianCoverageConstPtr
shared pointer to const ipsdk::imaproc::attr::GaussianCoverage
Definition: GaussianCoverage.h:134
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
Configuration object allowing computation of the norm of gaussian gradient as pre processing of shape...
Definition: NormGaussGrad2dPreProcessorConfig.h:36
boost::shared_ptr< const BaseImage > ImageConstPtr
boost::shared_ptr< BaseProcessor > ProcessorPtr
ipReal32 _inStdDevY
algorithm parameters
Definition: NormGaussGrad2dPreProcessorConfig.h:76
#define IPSDKIPLSHAPEANALYSIS_API
Import/Export macro for library IPSDKIPLShapeAnalysis.
Definition: IPSDKIPLShapeAnalysisExports.h:25
float ipReal32