IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
StandardizeImgLvl1.h
1 // StandardizeImgLvl1.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKIPLINTENSITYTRANSFORM_STANDARDIZEIMGLVL1_H__
16 #define __IPSDKIPLINTENSITYTRANSFORM_STANDARDIZEIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptMaskImg.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutRealImg.h>
26 
27 namespace ipsdk {
28 namespace imaproc {
29 namespace itrans {
30 
33 
34 // declare processor class
35 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLIntensityTransform, StandardizeImg,
36  ipsdk::imaproc::matchSize(_pInImg, _pOutRealImg) &&
37  ipsdk::processor::ifIsSet(_pInOptMaskImg,
38  ipsdk::imaproc::matchSize(_pInImg, _pInOptMaskImg)),
39  (((ipsdk)(imaproc)(attr))(InImg))
40  (((ipsdk)(imaproc)(attr))(InOptMaskImg))
41  (((ipsdk)(imaproc)(attr))(OutRealImg)(ipsdk::imaproc::duplicateInOut)(_pInImg)(ipsdk::image::eImageBufferType::eIBT_Real32)))
42 
43 // methods
44 public:
45 
46 protected:
47 
48 // attributes
49 protected:
50 };
51 
54 
55 } // end of namespace itrans
56 } // end of namespace imaproc
57 } // end of namespace ipsdk
58 
59 #endif // __IPSDKIPLINTENSITYTRANSFORM_STANDARDIZEIMGLVL1_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)
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.