#include <HxImgFtorGenConv3dK1d.h>
Inheritance diagram for HxImgFtorGenConv3dK1d::
Public Types | |
typedef HxImgFtorGenConvK1dKey | KeyType |
The key type of this class. More... | |
typedef SrcImgSigT::DataPtrType | SrcDataPtrType |
The data pointer type of the source image. More... | |
typedef KerImgSigT::DataPtrType | KerDataPtrType |
The data pointer type of the kernel image. More... | |
Public Methods | |
HxImgFtorGenConv3dK1d () | |
Constructor. More... | |
virtual | ~HxImgFtorGenConv3dK1d () |
Destructor. More... | |
Protected Methods | |
virtual void | doIt (DstDataPtrType dstPtr, SrcDataPtrType srcPtr, KerDataPtrType kerPtr, HxSizes dstSize, HxSizes srcSize, HxSizes kerSize, HxTagList &tags, HxImgFtorDescription *=0) |
Calls convolutionX, convolutionY, or convolutionZ to do the actual work based on the "dimension" tag. More... | |
void | convolutionX (DstDataPtrType dstPtr, SrcDataPtrType srcPtr, KerDataPtrType kerPtr, HxSizes dstSize, HxSizes srcSize, HxSizes kerSize, HxTagList &tags) |
void | convolutionY (DstDataPtrType dstPtr, SrcDataPtrType srcPtr, KerDataPtrType kerPtr, HxSizes dstSize, HxSizes srcSize, HxSizes kerSize, HxTagList &tags) |
void | convolutionZ (DstDataPtrType dstPtr, SrcDataPtrType srcPtr, KerDataPtrType kerPtr, HxSizes dstSize, HxSizes srcSize, HxSizes kerSize, HxTagList &tags) |
|
The key type of this class.
Reimplemented from HxImgFtorI3Cast. |
|
The data pointer type of the source image.
|
|
The data pointer type of the kernel image.
|
|
Constructor.
00032 : HxImgFtorI3Cast<DstImgSigT, SrcImgSigT, KerImgSigT>( 00033 HxImgFtorGenConvK1dKey( 00034 HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00035 HxClassName<KerImgSigT>(), 00036 HxClassName<PixOpT>(), HxClassName<RedOpT>(), 00037 HxClassName<KernelT>())) 00038 { 00039 #ifdef CD_TRACE 00040 HxEnvironment::instance()->outputStream() 00041 << "HxImgFtorGenConv3dK1d::HxImgFtorGenConv3dK1d()" << STD_ENDL; 00042 #endif 00043 } |
|
Destructor.
00049 { 00050 #ifdef CD_TRACE 00051 HxEnvironment::instance()->outputStream() 00052 << "HxImgFtorGenConv3dK1d::~HxImgFtorGenConv3dK1d()" << STD_ENDL; 00053 #endif 00054 } |
|
Calls convolutionX, convolutionY, or convolutionZ to do the actual work based on the "dimension" tag.
00065 { 00066 int dimension = HxGetTag<int>(tags, "dimension"); 00067 00068 switch (dimension) { 00069 case 1 : 00070 convolutionX(dstPtr, srcPtr, kerPtr, dstSize, srcSize, kerSize, tags); 00071 break; 00072 case 2 : 00073 convolutionY(dstPtr, srcPtr, kerPtr, dstSize, srcSize, kerSize, tags); 00074 break; 00075 case 3 : 00076 convolutionZ(dstPtr, srcPtr, kerPtr, dstSize, srcSize, kerSize, tags); 00077 break; 00078 default : 00079 convolutionX(dstPtr, srcPtr, kerPtr, dstSize, srcSize, kerSize, tags); 00080 } 00081 } |