#include <HxImgFtorRecGenConv2dK1d.h>
Inheritance diagram for HxImgFtorRecGenConv2dK1d::
Public Types | |
typedef HxImgFtorRecGenConvK1dKey | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorRecGenConv2dK1d () | |
Constructor. More... | |
virtual | ~HxImgFtorRecGenConv2dK1d () |
Destructor. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType imgPtr, Img2DataPtrType kerPtr, HxSizes imgSize, HxSizes kerSize, HxTagList &tags, HxImgFtorDescription *description=0) |
Do it. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI2Cast. |
|
Constructor.
00030 : HxImgFtorI2Cast<ImgSigT, KerImgSigT>( 00031 HxImgFtorRecGenConvK1dKey( 00032 HxClassName<ImgSigT>(), HxClassName<KerImgSigT>(), 00033 HxClassName<PixOpT>(), HxClassName<RedOpT>())) 00034 { 00035 #ifdef CD_TRACE 00036 HxEnvironment::instance()->outputStream() 00037 << "HxImgFtorRecGenConv2dK1d::HxImgFtorRecGenConv2dK1d()" << STD_ENDL; 00038 #endif 00039 } |
|
Destructor.
00045 { 00046 #ifdef CD_TRACE 00047 HxEnvironment::instance()->outputStream() 00048 << "HxImgFtorRecGenConv2dK1d::~HxImgFtorRecGenConv2dK1d()" << STD_ENDL; 00049 #endif 00050 } |
|
Do it.
Reimplemented from HxImgFtorI2Cast.
00059 { 00060 int dimension = HxGetTag(tags, "dimension", 0); 00061 bool buffered = HxGetTag(tags, "buffered", false); 00062 00063 if (buffered && description) 00064 description->setVariation("buffered"); 00065 00066 HxSizes borderSize = HxGetTag(tags, "borderSize", HxSizes(0,0,0)); 00067 /* 00068 HxValue Lvalue = HxGetTag(tags, "LeftBorderValue", HxValue(0)); 00069 HxValue Rvalue = HxGetTag(tags, "RightBorderValue", HxValue(0)); 00070 HxValue Tvalue = HxGetTag(tags, "TopBorderValue", HxValue(0)); 00071 HxValue Bvalue = HxGetTag(tags, "BottomBorderValue", HxValue(0)); 00072 */ 00073 00074 PixOpT pixOp(tags); 00075 RedOpT redOp(tags); 00076 00077 typedef typename KerImgSigT::ArithType ArithType; 00078 ArithType dummy; 00079 ArithType rValue = HxGetTag(tags, "RightBorderValue", HxValue(1)); 00080 ArithType bValue = HxGetTag(tags, "BottomBorderValue", HxValue(1)); 00081 00082 HxFuncRecGenConv2dK1dDispatch(imgPtr, kerPtr, dummy, imgSize, borderSize, 00083 kerSize, pixOp, redOp, dimension, buffered, 00084 rValue, bValue); 00085 00086 } |