IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
XProjection2dLvl1.h
1 // XProjection2dLvl1.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_XPROJECTION2DLVL1_H__
16 #define __IPSDKIPLGLOBALMEASURE_XPROJECTION2DLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutProjStat.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutProjStat1.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutProjStat2.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InProjStatType.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d.h>
28 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/Doubles.h>
29 
30 namespace ipsdk {
31 namespace imaproc {
32 namespace glbmsr {
33 
36 
37 // declare processor class
38 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, XProjection2d,
40  (((ipsdk)(imaproc)(attr))(InSubImg2d))
41  (((ipsdk)(imaproc)(attr))(InProjStatType))
42  (((ipsdk)(imaproc)(attr))(OutProjStat)(ipsdk::processor::allocate)))
43 
44 // methods
45 public:
48  core::ExecResult postProcess();
49 
51  void clearIntermediateData();
52 
53 protected:
54 
55 // attributes
56 protected:
57  // declaration of dispatch results collection
58  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(OutProjStat, OutProjStatColl);
59  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(attr::OutProjStat1, OutProjStatColl1);
60  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(attr::OutProjStat2, OutProjStatColl2);
61 };
62 
65 
66 } // end of namespace glbmsr
67 } // end of namespace imaproc
68 } // end of namespace ipsdk
69 
70 #endif // __IPSDKIPLGLOBALMEASURE_XPROJECTION2DLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
ProcessingResult< eExecutionResult > ExecResult
processor::OutputInitializerPtr allocate(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute)
Definition of import/export macro for library.
IPSDK_DECLARE_GPU_PROCESSING_ALGORITHM(IPSDKIPLFiltering, Convolution2dImg, ipsdk::imaproc::matchSize(_pInSubGpuImg, _pOutImg),(((ipsdk)(imaproc)(attr))(InSubGpuImg))(((ipsdk)(imaproc)(attr))(InKnlXY))(((ipsdk)(imaproc)(attr))(InNormalize))(((ipsdk)(imaproc)(attr))(InConvolBorder2d))(((ipsdk)(imaproc)(attr))(OutImg))) IPSDKCUDA_DECLARE_ALGORITHM_FUNCTION_SELECTOR((InSubGpuImg)(OutImg)) public void clearIntermediateData()
method called before processing
#define IPSDK_DECLARE_DYNAMIC_RESULT_COLL(AttributeType, CollType)