IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MultiplyScalarImgLvl1.h
1 // MultiplyScalarImgLvl1.h:
3 // ------------------------
4 //
16 
17 #ifndef __IPSDKIPLARITHMETIC_MULTIPLYSCALARIMGLVL1_H__
18 #define __IPSDKIPLARITHMETIC_MULTIPLYSCALARIMGLVL1_H__
19 
23 
24 // Attributes headers
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InArithmeticVal.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace arithm {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLArithmetic, MultiplyScalarImg,
38  ipsdk::imaproc::matchSize(_pInImg, _pOutImg),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(InArithmeticVal))
41  (((ipsdk)(imaproc)(attr))(OutImg)(promoteUnary)(_pInImg)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned)))
42 
43 // methods
44 public:
45 
46 protected:
47 
48 // attributes
49 protected:
50 
51 };
52 
55 
56 } // end of namespace arithm
57 } // end of namespace imaproc
58 } // end of namespace ipsdk
59 
60 #endif // __IPSDKIPLARITHMETIC_MULTIPLYSCALARIMGLVL1_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_UpperSigned
Definition of import/export macro for library.