IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SubtractImgImgLvl1.h
1 // SubtractImgImgLvl1.h:
3 // ---------------------
4 //
17 
18 #ifndef __IPSDKIPLARITHMETIC_SUBTRACTIMGIMGLVL1_H__
19 #define __IPSDKIPLARITHMETIC_SUBTRACTIMGIMGLVL1_H__
20 
24 
25 // Attributes headers
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg1.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg2.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
29 
30 namespace ipsdk {
31 namespace imaproc {
32 namespace arithm {
33 
36 
37 // declare processor class
38 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLArithmetic, SubtractImgImg,
39  ipsdk::imaproc::matchSize(_pInImg1, _pInImg2),
40  (((ipsdk)(imaproc)(attr))(InImg1))
41  (((ipsdk)(imaproc)(attr))(InImg2))
42  (((ipsdk)(imaproc)(attr))(OutImg)(promoteBinary)(_pInImg1)(_pInImg2)(ipsdk::imaproc::ePromoteBinaryType::ePBT_UpperSigned)))
43 
44 // methods
45 public:
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_SUBTRACTIMGIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
ePBT_UpperSigned
Definition of import/export macro for library.
processor::OutputInitializerPtr promoteBinary(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType1 > &pInputAttribute1, const boost::weak_ptr< InputAttributeType2 > &pInputAttribute2, const ePromoteBinaryType &promoteBinaryType, const bool bAllowReInterpretation=false)