CUV
0.9.201304091348
|
Enumerations | |
enum | cuv::sep_conv::separable_filter { cuv::sep_conv::SP_GAUSS, cuv::sep_conv::SP_CENTERED_DERIVATIVE, cuv::sep_conv::SP_BOX, cuv::sep_conv::SP_ORIENTATION_AND_MAGNITUDE } |
identifiers for different types of separable filters More... |
Functions | |
template<class DstV , class SrcV , class M > | |
void | cuv::sep_conv::convolve (tensor< DstV, M, row_major > &dst, const tensor< SrcV, M, row_major > &src, const unsigned int &radius, const separable_filter &filt, int axis=2, const float ¶m=0.) |
separable convolution | |
template<int Channels, class DstV , class SrcV , class M > | |
void | cuv::sep_conv::convolve (interleaved_image< Channels, DstV, M > &dst, const interleaved_image< Channels, SrcV, M > &src, const unsigned int &radius, const separable_filter &filt, int axis=2, const float ¶m=0.) |
identifiers for different types of separable filters
SP_GAUSS |
gaussian filter |
SP_CENTERED_DERIVATIVE |
centered derivative (-1,0,1) |
SP_BOX |
box filter |
SP_ORIENTATION_AND_MAGNITUDE |
orientation+magnitude (for HOG, primarily) |
Definition at line 22 of file separable_convolution.hpp.
void cuv::sep_conv::convolve | ( | tensor< DstV, M, row_major > & | dst, |
const tensor< SrcV, M, row_major > & | src, | ||
const unsigned int & | radius, | ||
const separable_filter & | filt, | ||
int | axis = 2 , |
||
const float & | param = 0. |
||
) |
separable convolution
dst | result matrix |
src | source (image) |
radius | filter radius (filter size is 2r+1 for radius r) |
filt | type of separable filter |
axis | the image dimension to apply this filter on |
param | optional filter parameter |