IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ParaboloidShadingCorrection2dImgLvl1.h
1 // ParaboloidShadingCorrection2dImgLvl1.h:
3 // ---------------------------
4 //
15 
16 #ifndef __IPSDKIPLINTENSITYTRANSFORM_PARABOLOIDSHADINGCORRECTION2DIMGLVL1_H__
17 #define __IPSDKIPLINTENSITYTRANSFORM_PARABOLOIDSHADINGCORRECTION2DIMGLVL1_H__
18 
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InPIParaboloidParams3d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptBlackImg.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InFactor.h>
29 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOptOffset.h>
30 
31 namespace ipsdk {
32 namespace imaproc {
33 namespace itrans {
34 
37 
38 // declare processor class
39 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLIntensityTransform, ParaboloidShadingCorrection2dImg,
40  ipsdk::imaproc::matchSize(_pInImg, _pOutImg) &&
41  ipsdk::imaproc::matchImagePlans(_pInPIParaboloidParams3d, _pInImg, eImagePlansMatchPolicy::eIPMP_ZCT) &&
42  ipsdk::processor::ifIsSet(_pInOptBlackImg,
43  ipsdk::imaproc::matchSizeAndType(_pInImg, _pInOptBlackImg)),
44  (((ipsdk)(imaproc)(attr))(InImg))
45  (((ipsdk)(imaproc)(attr))(InOptBlackImg))
46  (((ipsdk)(imaproc)(attr))(InPIParaboloidParams3d))
47  (((ipsdk)(imaproc)(attr))(InOptOffset))
48  (((ipsdk)(imaproc)(attr))(InFactor))
49  (((ipsdk)(imaproc)(attr))(OutImg)(ipsdk::imaproc::duplicateInOut)(_pInImg)))
50 
51 // methods
52 protected:
53 
54 // attributes
55 protected:
56 
57 };
58 
61 
62 } // end of namespace itrans
63 } // end of namespace imaproc
64 } // end of namespace ipsdk
65 
66 #endif // __IPSDKIPLINTENSITYTRANSFORM_PARABOLOIDSHADINGCORRECTION2DIMGLVL1_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.