IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
L1Norm2ImgLvl1.h
1 // L1Norm2ImgLvl1.h:
3 // -----------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_L1NORM2IMGLVL1_H__
16 #define __IPSDKIPLARITHMETIC_L1NORM2IMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg1.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg2.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, L1Norm2Img,
36  ipsdk::imaproc::matchSize(_pInImg1, _pInImg2, _pOutImg) &&
37  ipsdk::imaproc::matchBufferType(_pInImg1, _pInImg2),
38  (((ipsdk)(imaproc)(attr))(InImg1))
39  (((ipsdk)(imaproc)(attr))(InImg2))
40  (((ipsdk)(imaproc)(attr))(OutImg)(promoteUnary)(_pInImg1)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperUnsigned)))
41 
42 // methods
43 public:
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_L1NORM2IMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
processor::OutputInitializerPtr promoteUnary(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const ePromoteUnaryType &promoteUnaryType)
ePUT_UpperUnsigned
Definition of import/export macro for library.