IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
L2Norm2ImgLvl1.h
1 // L2Norm2ImgLvl1.h:
3 // -----------------
4 //
16 
17 #ifndef __IPSDKIPLARITHMETIC_L2NORM2IMGLVL1_H__
18 #define __IPSDKIPLARITHMETIC_L2NORM2IMGLVL1_H__
19 
23 
24 // Attributes headers
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg1.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg2.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace arithm {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLArithmetic, L2Norm2Img,
38  ipsdk::imaproc::matchSize(_pInImg1, _pInImg2, _pOutImg) &&
39  ipsdk::imaproc::matchBufferType(_pInImg1, _pInImg2),
40  (((ipsdk)(imaproc)(attr))(InImg1))
41  (((ipsdk)(imaproc)(attr))(InImg2))
42  (((ipsdk)(imaproc)(attr))(OutImg)(duplicateInOut)(_pInImg1)(ipsdk::image::eImageBufferType::eIBT_Real32)))
43 
44 // methods
45 protected:
46 
47 // attributes
48 protected:
49 
50 };
51 
54 
55 } // end of namespace arithm
56 } // end of namespace imaproc
57 } // end of namespace ipsdk
58 
59 #endif // __IPSDKIPLARITHMETIC_L2NORM2IMGLVL1_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.