Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class DstArrayT, class SrcArrayT, class KerArrayT, class PixOpT, class RedOpT>
void Impala::Core::Array::Pattern::FuncGenConv2dSepDispatch_V ( DstArrayT *  dst,
SrcArrayT *  src,
KerArrayT *  ker,
PixOpT &  pixOp,
RedOpT &  redOp,
int  vType 
)

Dispatch function for GenConv2dSep : vertical direction only.

Definition at line 1051 of file FuncGenConv2dSep.h.

References ArrayCH(), ArrayCW(), FuncGenConv2dSep_Line_YdirNaiInc(), FuncGenConv2dSep_Line_YdirSim(), and FuncGenConv2dSep_Line_YdirSimInc().

Referenced by PatGenConv2dK1d(), and PatGenConv2dSep().

01053 {
01054     int width = ArrayCW(dst);
01055     if (vType == 0)
01056     {
01057         for (int x=0 ; x<width ; x++)
01058         {
01059             FuncGenConv2dSep_Line_YdirNaiInc(dst, src, ker, pixOp, redOp, x,
01060                                              typename PixOpT::CallCategory());
01061         }
01062     }
01063     else
01064     { // vType == 1 or 2
01065         int height = ArrayCH(dst);
01066         for (int y=0 ; y<height ; y++)
01067         {
01068             if (vType == 1)
01069                 FuncGenConv2dSep_Line_YdirSim(dst, src, ker, pixOp, redOp, y,
01070                                               typename PixOpT::CallCategory());
01071             if (vType == 2)
01072                 FuncGenConv2dSep_Line_YdirSimInc(dst, src, ker, pixOp, redOp, y,
01073                                                  typename PixOpT::CallCategory());
01074         }
01075     }
01076 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:01:10 2010 for ImpalaSrc by  doxygen 1.5.1