IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RoundImgLvl1.h
1 // RoundImgLvl1.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_ROUNDIMGLVL1_H__
16 #define __IPSDKIPLARITHMETIC_ROUNDIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InRealImg.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/ImageBufferType/InConvertImageBufferType.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace arithm {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLArithmetic, RoundImg,
36  ipsdk::imaproc::matchSize(_pInRealImg, _pOutImg) &&
37  ipsdk::imaproc::bufferType(_pOutImg, _pInConvertImageBufferType),
38  (((ipsdk)(imaproc)(attr))(InRealImg))
39  (((ipsdk)(imaproc)(attr))(InConvertImageBufferType))
40  (((ipsdk)(imaproc)(attr))(OutImg)(ipsdk::imaproc::duplicateInOut)(_pInRealImg)(_pInConvertImageBufferType)))
41 
42 // methods
43 protected:
44 
45 // attributes
46 protected:
47 
48 };
49 
52 
53 } // end of namespace arithm
54 } // end of namespace imaproc
55 } // end of namespace ipsdk
56 
57 #endif // __IPSDKIPLARITHMETIC_ROUNDIMGLVL1_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)
Definition of import/export macro for library.