IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
SmartParaboloidShadingCorrection2dImgLvl1.h
1 // SmartParaboloidShadingCorrection2dImgLvl1.h:
3 // --------------------------------
4 //
14 
15 #ifndef __IPSDKIPLINTENSITYTRANSFORM_SMARTPARABOLOIDSHADINGCORRECTION2DIMGLVL1_H__
16 #define __IPSDKIPLINTENSITYTRANSFORM_SMARTPARABOLOIDSHADINGCORRECTION2DIMGLVL1_H__
17 
19 #include <IPSDKIPL/IPSDKIPLIntensityTransform/Processor/SmartParaboloidShadingCorrection2d/SmartParaboloidShadingCorrection2dLvl1.h>
22 
23 // Attributes headers
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InPIParaboloidParams3d.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptOutputRange.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/Optional/InOptBlackImg.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
29 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/OutFactor.h>
30 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/OutOffset.h>
31 
32 namespace ipsdk {
33 namespace imaproc {
34 namespace itrans {
35 
38 
39 // declare processor class
40 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC2, IPSDKIPLIntensityTransform, SmartParaboloidShadingCorrection2dImg,
41  ipsdk::imaproc::matchSize(_pInImg, _pOutImg) &&
42  ipsdk::processor::ifIsSet(_pInOptBlackImg,
43  ipsdk::imaproc::matchSizeAndType(_pInImg, _pInOptBlackImg)) &&
44  ipsdk::imaproc::matchImagePlans(_pInPIParaboloidParams3d, _pInImg, eImagePlansMatchPolicy::eIPMP_ZCT),
45  (((ipsdk)(imaproc)(attr))(InImg))
46  (((ipsdk)(imaproc)(attr))(InOptBlackImg))
47  (((ipsdk)(imaproc)(attr))(InPIParaboloidParams3d))
48  (((ipsdk)(imaproc)(attr))(InOptOutputRange))
49  (((ipsdk)(imaproc)(attr))(OutOffset))
50  (((ipsdk)(imaproc)(attr))(OutFactor))
51  (((ipsdk)(imaproc)(attr))(OutImg)(ipsdk::imaproc::duplicateInOut)(_pInImg)))
52 
53 // methods
54 protected:
55 
56 // attributes
57 protected:
58  boost::shared_ptr<SmartParaboloidShadingCorrection2dLvl1> _pOutRangeComputeProcessor;
59 };
60 
63 
64 } // end of namespace itrans
65 } // end of namespace imaproc
66 } // end of namespace ipsdk
67 
68 #endif // __IPSDKIPLINTENSITYTRANSFORM_SMARTPARABOLOIDSHADINGCORRECTION2DIMGLVL1_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.