#include <HxImgFtorGenConv2dSep.h>
Inheritance diagram for HxImgFtorGenConv2dSep::
Public Types | |
typedef HxImgFtorGenConv2dSepKey | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorGenConv2dSep () | |
Constructor. More... | |
virtual | ~HxImgFtorGenConv2dSep () |
Destructor. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, Img3DataPtrType ker1Ptr, Img4DataPtrType ker2Ptr, HxSizes dstSize, HxSizes srcSize, HxSizes ker1Size, HxSizes ker2Size, HxTagList &tags, HxImgFtorDescription *description=0) |
Do it. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI4Cast. |
|
Constructor.
00025 : HxImgFtorI4Cast<DstImgSigT, SrcImgSigT, KerImgSigT, KerImgSigT>( 00026 HxImgFtorGenConv2dSepKey( 00027 HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00028 HxClassName<KerImgSigT>(), HxClassName<KerImgSigT>(), 00029 HxClassName<PixOpT>(), HxClassName<RedOpT>(), 00030 HxClassName<KernelT>())) 00031 { 00032 #ifdef CD_TRACE 00033 HxEnvironment::instance()->outputStream() 00034 << "HxImgFtorGenConv2dSep::HxImgFtorGenConv2dSep()" << STD_ENDL; 00035 #endif 00036 } |
|
Destructor.
00043 { 00044 #ifdef CD_TRACE 00045 HxEnvironment::instance()->outputStream() 00046 << "HxImgFtorGenConv2dSep::~HxImgFtorGenConv2dSep()" << STD_ENDL; 00047 #endif 00048 } |
|
Do it. Assertions:
Reimplemented from HxImgFtorI4Cast.
00062 { 00063 int vType = HxGetTag(tags, "vType", 6); 00064 00065 if (description) { 00066 HxString v("vType = "); 00067 v += makeString(vType); 00068 description->setVariation(v); 00069 } 00070 00071 PixOpT pixOp(tags); 00072 RedOpT redOp(tags); 00073 KernelT kernel1(ker1Ptr, ker1Size, tags); 00074 KernelT kernel2(ker2Ptr, ker2Size, tags); 00075 00076 HxFuncGenConv2dSepDispatch(dstPtr, srcPtr, kernel1, kernel2, dstSize, 00077 srcSize, pixOp, redOp, vType); 00078 } |