IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
GaussianNoiseMsrLvl1.h
1 // GaussianNoiseMsrLvl1.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_GAUSSIANNOISEMSRLVL1_H__
16 #define __IPSDKIPLGLOBALMEASURE_GAUSSIANNOISEMSRLVL1_H__
17 
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutGaussianNoiseStats.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace glbmsr {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, GaussianNoiseMsr,
37  (((ipsdk)(imaproc)(attr))(InImg))
38  (((ipsdk)(imaproc)(attr))(OutGaussianNoiseStats)(ipsdk::processor::allocate)))
39 
40 // methods
41 public:
42 
43 protected:
46  ipsdk::core::ExecResult postProcess();
47 
49  void clearIntermediateData();
50 
51 // attributes
52 protected:
53  // declaration of dispatch results collection
54  IPSDK_DECLARE_STATIC_RESULT_COLL(OutGaussianNoiseStats, OutGaussianNoiseStatsColl);
55 
56 };
57 
60 
61 } // end of namespace glbmsr
62 } // end of namespace imaproc
63 } // end of namespace ipsdk
64 
65 #endif // __IPSDKIPLGLOBALMEASURE_GAUSSIANNOISEMSRLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
#define IPSDK_DECLARE_STATIC_RESULT_COLL(AttributeType, CollType)
processor::OutputInitializerPtr allocate(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute)
Definition of import/export macro for library.
IPSDK_DECLARE_GPU_PROCESSING_ALGORITHM(IPSDKIPLFiltering, Convolution2dImg, ipsdk::imaproc::matchSize(_pInSubGpuImg, _pOutImg),(((ipsdk)(imaproc)(attr))(InSubGpuImg))(((ipsdk)(imaproc)(attr))(InKnlXY))(((ipsdk)(imaproc)(attr))(InNormalize))(((ipsdk)(imaproc)(attr))(InConvolBorder2d))(((ipsdk)(imaproc)(attr))(OutImg))) IPSDKCUDA_DECLARE_ALGORITHM_FUNCTION_SELECTOR((InSubGpuImg)(OutImg)) public void clearIntermediateData()
method called before processing