IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoundImgLvl1.h
1 // BoundImgLvl1.h:
3 // ---------------
4 //
14 
15 #ifndef __IPSDKIPLARITHMETIC_BOUNDIMGLVL1_H__
16 #define __IPSDKIPLARITHMETIC_BOUNDIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOutputRange.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, BoundImg,
36  ((ipsdk::imaproc::matchSize(_pInImg, _pOutImg)) &&
37  (matchImageRange<ipsdk::imaproc::attr::Range::Min>(_pOutImg, _pInOutputRange)) &&
38  (matchImageRange<ipsdk::imaproc::attr::Range::Max>(_pOutImg, _pInOutputRange))),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(InOutputRange))
41  (((ipsdk)(imaproc)(attr))(OutImg)(duplicateInOut)(_pInImg)))
42 
43 // methods
44 public:
45 
46 // attributes
47 protected:
48 
49 };
50 
53 
54 } // end of namespace arithm
55 } // end of namespace imaproc
56 } // end of namespace ipsdk
57 
58 #endif // __IPSDKIPLARITHMETIC_BOUNDIMGLVL1_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.