IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RandomImgLvl1.h
1 // RandomImgLvl1.h:
3 // ------------------------
4 //
16 
17 #ifndef __IPSDKIPLUTILITY_RANDOMIMGLVL1_H__
18 #define __IPSDKIPLUTILITY_RANDOMIMGLVL1_H__
19 
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptOutputRange.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace util {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLUtility, RandomImg,
36  ipsdk::processor::ifIsSet(_pInOptOutputRange,
37  (ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Min>(_pOutImg, _pInOptOutputRange) &&
38  ipsdk::imaproc::matchImageRange<ipsdk::imaproc::attr::Range::Max>(_pOutImg, _pInOptOutputRange))),
39  (((ipsdk)(imaproc)(attr))(InOptOutputRange))
40  (((ipsdk)(imaproc)(attr))(OutImg)))
41 
42 // methods
43 public:
47 // attributes
48 protected:
49 
50 };
51 
54 
55 } // end of namespace util
56 } // end of namespace imaproc
57 } // end of namespace ipsdk
58 
59 #endif // __IPSDKIPLUTILITY_RANDOMIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
ipsdk::core::ExecResult preProcess()
method called before processing
boost::enable_if_c< AttributeType::g_bOptional, RulePtr >::type ifIsSet(const boost::shared_ptr< AttributeType > &pAttribute, const RulePtr &pRuleTrue)
Definition of import/export macro for library.