IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
HarrisCorner2dImgLvl1.h
1 // HarrisCorner2dImgLvl1.h:
3 // ------------------------
4 //
14 
15 #ifndef __IPSDKIPLFEATUREDETECTION_HARRISCORNER2DIMGLVL1_H__
16 #define __IPSDKIPLFEATUREDETECTION_HARRISCORNER2DIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/InImg.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InOptGradStdDev.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptGradientGaussianCoverage.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InOptCornerDetectionParams2d.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Working/OutWk1Img.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Working/OutWk2Img.h>
29 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/Working/OutWk3Img.h>
30 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutImg.h>
31 
32 namespace ipsdk {
33 namespace imaproc {
34 namespace fd {
35 
38 
39 // declare processor class
40 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLFeatureDetection, HarrisCorner2dImg,
41  matchSize(_pInImg, _pOutImg) &&
42  matchSizeAndType(_pOutImg, _pOutWk1Img) &&
43  matchSizeAndType(_pOutWk1Img, _pOutWk2Img, _pOutWk3Img),
44  (((ipsdk)(imaproc)(attr))(InImg))
45  (((ipsdk)(imaproc)(attr))(InOptGradStdDev))
46  (((ipsdk)(imaproc)(attr))(InOptGradientGaussianCoverage))
47  (((ipsdk)(imaproc)(attr))(InOptCornerDetectionParams2d))
48  (((ipsdk)(imaproc)(attr))(OutWk1Img)(promoteUnary)(_pInImg)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned))
49  (((ipsdk)(imaproc)(attr))(OutWk2Img)(promoteUnary)(_pInImg)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned))
50  (((ipsdk)(imaproc)(attr))(OutWk3Img)(promoteUnary)(_pInImg)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned))
51  (((ipsdk)(imaproc)(attr))(OutImg)(promoteUnary)(_pInImg)(ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned)))
52 
53 // methods
54 public:
55 
56 protected:
57 
58 // attributes
59 protected:
60 
61 };
62 
65 
66 } // end of namespace fd
67 } // end of namespace imaproc
68 } // end of namespace ipsdk
69 
70 #endif // __IPSDKIPLFEATUREDETECTION_HARRISCORNER2DIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
processor::OutputInitializerPtr promoteUnary(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const ePromoteUnaryType &promoteUnaryType)
ePUT_UpperSigned
Definition of import/export macro for library.
IPSDKIMAGEPROCESSING_API processor::RulePtr matchSizeAndType(const ImageAttributeConstWeakPtr &pAttribute1, const ImageAttributeConstWeakPtr &pAttribute2)
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_DataItem > >::type, typename boost::is_same< boost::mpl::int_< LeafCollType::g_itemType >, boost::mpl::int_< eDataItemType::eDIT_LeafColl > >::type >::type, RulePtr >::type matchSize(const boost::shared_ptr< AttributeType > &pAttribute, const ipUInt32 targetSize)