IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelDensityEstimator3dLvl2.h
1 // KernelDensityEstimator3dLvl2.h:
3 // -------------------------------
4 //
14 
15 #ifndef __IPSDKIPLGLOBALMEASURE_KERNELDENSITYESTIMATOR3DLVL2_H__
16 #define __IPSDKIPLGLOBALMEASURE_KERNELDENSITYESTIMATOR3DLVL2_H__
17 
20 
21 // Attributes headers
22 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/SubImage/Input/3d/InSubImg3d.h>
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Value/InKDENbSamples.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/InKDEBandwidthPolicy.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/DataItem/OutKDEDataSet.h>
26 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/Coords3dColl.h>
27 #include <IPSDKIPL/IPSDKIPLAttributes/DataItem/Doubles.h>
28 
29 namespace ipsdk {
30 namespace imaproc {
31 namespace glbmsr {
32 
35 
36 // declare processor class
37 IPSDK_DECLARE_LVL2_PROCESSOR(ASYNC1, IPSDKIPLGlobalMeasure, KernelDensityEstimator3d,
39  (((ipsdk)(imaproc)(attr))(InSubImg3d))
40  (((ipsdk)(imaproc)(attr))(InKDENbSamples))
41  (((ipsdk)(imaproc)(attr))(InKDEBandwidthPolicy))
42  (((ipsdk)(imaproc)(attr))(OutKDEDataSet)))
43 
44 // methods
45 public:
46 
47 protected:
51 
54  ipsdk::core::ExecResult postProcess();
55 
57  void clearIntermediateData();
58 
59 // attributes
60 protected:
62  attr::Coords3dCollPtr _pCoords3dColl;
63 
65  attr::DoublesPtr _pImgValues;
66 };
67 
70 
71 } // end of namespace glbmsr
72 } // end of namespace imaproc
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKIPLGLOBALMEASURE_KERNELDENSITYESTIMATOR3DLVL2_H__
#define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
IPSDKBASEPROCESSING_API RulePtr none()
ipsdk::core::ExecResult preProcess()
method called before processing
boost::shared_ptr< ipsdk::imaproc::attr::Doubles > DoublesPtr
shared pointer to ipsdk::imaproc::Doubles
Definition: Doubles.h:124
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
boost::shared_ptr< ipsdk::imaproc::attr::Coords3dColl > Coords3dCollPtr
shared pointer to ipsdk::imaproc::attr::Coords3dColl
Definition: Coords3dColl.h:134