IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SquareImgLvl1.h
1 // SquareImgLvl1.h:
3 // ----------------
4 //
17 
18 #ifndef __IPSDKIPLARITHMETIC_SQUAREIMGLVL1_H__
19 #define __IPSDKIPLARITHMETIC_SQUAREIMGLVL1_H__
20 
24 
25 // Attributes headers
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.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, SquareImg,
38  ipsdk::imaproc::matchSize(_pInImg, _pOutImg),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(OutImg)(promoteUnary)(_pInImg)(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_SQUAREIMGLVL1_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.