IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MeanSmoothing2dImgLvl1.h
1 // MeanSmoothing2dImgLvl1.h:
3 // -------------------------
4 //
13 
14 #ifndef __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL1_H__
15 #define __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL1_H__
16 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InHalfKnlSizeX.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InHalfKnlSizeY.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Gpu/Working/Optional/OutOptWk1RealGpuImg.h>
27 
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace filter {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLFiltering, MeanSmoothing2dImg,
38  ipsdk::imaproc::matchSize(_pInImg, _pOutImg),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(InHalfKnlSizeX))
41  (((ipsdk)(imaproc)(attr))(InHalfKnlSizeY))
42  (((ipsdk)(imaproc)(attr))(OutOptWk1RealGpuImg))
43  (((ipsdk)(imaproc)(attr))(OutImg)(ipsdk::imaproc::duplicateInOut)(_pInImg)))
44 
45 // methods
46 public:
47 
48 protected:
50  ipsdk::core::ExecResult postProcess();
51 // attributes
52 protected:
53 
54  Chrono _chrono;
55 };
56 
59 
60 } // end of namespace filter
61 } // end of namespace imaproc
62 } // end of namespace ipsdk
63 
64 #endif // __IPSDKIPLFILTERING_MEANSMOOTHING2DIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
processor::OutputInitializerPtr duplicateInOut(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const eImageInitializerStoragePolicy &storagePolicy=eImageInitializerStoragePolicy::eIISP_Inherit)
ipsdk::core::ExecResult preProcess()
method called before processing
Definition of import/export macro for library.