IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
NormalizedCrossCorrelation3dImgLvl1.h
1 // NormalizedCrossCorrelation3dImgLvl1.h:
3 // --------------------------------------
4 //
14 
15 #ifndef __IPSDKIPLFILTERING_NORMALIZEDCROSSCORRELATION3DIMGLVL1_H__
16 #define __IPSDKIPLFILTERING_NORMALIZEDCROSSCORRELATION3DIMGLVL1_H__
17 
21 
22 // Attributes headers
23 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Input/3d/InImg3d.h>
24 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Image/Output/OutRealImg.h>
25 #include <IPSDKIPL/IPSDKIPLAttributes/Attribute/Kernel/InKnlXYZ.h>
26 #include <IPSDKBaseData/Pattern/Kernel/KernelXYZ.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 namespace filter {
31 
34 
35 // declare processor class
36 IPSDK_DECLARE_LVL1_PROCESSOR(ASYNC1, IPSDKIPLFiltering, NormalizedCrossCorrelation3dImg,
37  ipsdk::imaproc::matchSize(_pInImg3d, _pOutRealImg),
38  (((ipsdk)(imaproc)(attr))(InImg3d))
39  (((ipsdk)(imaproc)(attr))(InKnlXYZ))
40  (((ipsdk)(imaproc)(attr))(OutRealImg)(ipsdk::imaproc::duplicateInOut)(_pInImg3d)(ipsdk::image::eImageBufferType::eIBT_Real32)))
41 
42 // methods
43 public:
44 
45 protected:
49 
52  ipsdk::core::ExecResult postProcess();
53 
54 // attributes
55 protected:
57  KernelXYZPtr _pNormalizedKernel;
58 
59 };
60 
63 
64 } // end of namespace filter
65 } // end of namespace imaproc
66 } // end of namespace ipsdk
67 
68 #endif // __IPSDKIPLFILTERING_NORMALIZEDCROSSCORRELATION3DIMGLVL1_H__
#define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, RuleString, attributeSeq)
boost::shared_ptr< KernelXYZ > KernelXYZPtr
processor::OutputInitializerPtr duplicateInOut(const boost::weak_ptr< OutputAttributeType > &pOutputAttribute, const boost::weak_ptr< InputAttributeType > &pInputAttribute, const eImageInitializerStoragePolicy &storagePolicy=eImageInitializerStoragePolicy::eIISP_Inherit)
ipsdk::core::ExecResult preProcess()
method called before processing
Definition of import/export macro for library.