IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
YProjection2dLvl1.h
1 // YProjection2dLvl1.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_YPROJECTION2DLVL1_H__
16 #define __IPSDKIPLGLOBALMEASURE_YPROJECTION2DLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutProjStat.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Enumerate/InProjStatType.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/2d/InSubImg2d.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/Doubles.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace glbmsr {
31 
34 
35 // declare processor class
36 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, YProjection2d,
38  (((ipsdk)(imaproc)(attr))(InSubImg2d))
39  (((ipsdk)(imaproc)(attr))(InProjStatType))
40  (((ipsdk)(imaproc)(attr))(OutProjStat)(ipsdk::processor::allocate)))
41 
42 // methods
43 public:
46  core::ExecResult postProcess();
47 
49  void clearIntermediateData();
50 
51 protected:
52 
53 // attributes
54 protected:
55  // declaration of dispatch results collection
56  IPSDK_DECLARE_DYNAMIC_RESULT_COLL(OutProjStat, OutProjStatColl);
57 };
58 
61 
62 } // end of namespace glbmsr
63 } // end of namespace imaproc
64 } // end of namespace ipsdk
65 
66 #endif // __IPSDKIPLGLOBALMEASURE_YProjection2DLVL1_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)