claraty::Convolve_Op<> Class Template Reference
#include <convolve_op.h>
Collaboration diagram for claraty::Convolve_Op<>:

Public Types | |
| enum | Conv_Shape_t { CONV_SAME = 0, CONV_VALID, CONV_FULL } |
| enum | Border_Mode_t { CONV_CONSTANT = 0, CONV_REPLICATE, CONV_REFLECT, CONV_WRAP } |
Public Member Functions | |
| template<class TS, class TD> | |
| void | filter (const Image< TS > &src_image, Image< TD > &dest_image) |
| void | set_kernel (Matrix< T > kernel) |
| void | set_border_mode (Border_Mode_t border_mode, double border_constant=0) |
| void | set_border_constant (T border_constant) |
| void | set_conv_shape (Conv_Shape_t conv_tpye) |
| void | set_asymm (bool a) |
| Matrix< T > | get_kernel () |
| Border_Mode_t | get_border_mode () |
| T | get_border_constant () |
| Conv_Shape_t | get_conv_shape () |
Private Attributes | |
| Matrix< T > | _kernel |
| Conv_Shape_t | _conv_shape |
| Border_Mode_t | _border_mode |
| T | _border_constant |
| bool | asymm |
Detailed Description
template<TEMPLATE_ARGS>
class claraty::Convolve_Op<>
Definition at line 74 of file convolve_op.h.
Member Enumeration Documentation
| enum claraty::Convolve_Op::Conv_Shape_t |
The shape or type of convolution being done.
Definition at line 81 of file convolve_op.h.
00081 { 00082 CONV_SAME=0, 00083 CONV_VALID, 00084 CONV_FULL 00085 };
| enum claraty::Convolve_Op::Border_Mode_t |
The border mode used for CONV_SAME and CONV_FULL convolutions.
Definition at line 90 of file convolve_op.h.
00090 { 00091 CONV_CONSTANT=0, 00092 CONV_REPLICATE, 00093 CONV_REFLECT, 00094 CONV_WRAP 00095 };
Constructor & Destructor Documentation
| claraty::Convolve_Op<>::Convolve_Op | ( | Matrix< T > | kernel, | |
| Conv_Shape_t | conv_shape = CONV_SAME, |
|||
| Border_Mode_t | border_mode = CONV_REPLICATE, |
|||
| T | border_constant = 0 | |||
| ) |
| claraty::Convolve_Op<>::Convolve_Op | ( | ) |
| claraty::Convolve_Op<>::Convolve_Op | ( | Matrix< T > | kernel, | |
| Conv_Shape_t | conv_shape = CONV_SAME, |
|||
| Border_Mode_t | border_mode = CONV_REPLICATE, |
|||
| T | border_constant = 0 | |||
| ) |
| claraty::Convolve_Op<>::Convolve_Op | ( | ) |
Member Function Documentation
| void claraty::Convolve_Op<>::filter | ( | const Image< TS > & | src_image, | |
| Image< TD > & | dest_image | |||
| ) |
Reimplemented in claraty::Gradient_Op<>.
| void claraty::Convolve_Op<>::set_kernel | ( | Matrix< T > | kernel | ) |
| void claraty::Convolve_Op<>::set_border_mode | ( | Border_Mode_t | border_mode, | |
| double | border_constant = 0 | |||
| ) |
| void claraty::Convolve_Op<>::set_border_constant | ( | T | border_constant | ) |
| void claraty::Convolve_Op<>::set_conv_shape | ( | Conv_Shape_t | conv_tpye | ) |
| void claraty::Convolve_Op<>::set_asymm | ( | bool | a | ) | [inline] |
| Matrix<T> claraty::Convolve_Op<>::get_kernel | ( | ) |
| Border_Mode_t claraty::Convolve_Op<>::get_border_mode | ( | ) |
| T claraty::Convolve_Op<>::get_border_constant | ( | ) |
| Conv_Shape_t claraty::Convolve_Op<>::get_conv_shape | ( | ) |
Member Data Documentation
Matrix<T> claraty::Convolve_Op<>::_kernel [private] |
Definition at line 130 of file convolve_op.h.
Referenced by claraty::Convolve_Op< TEMPLATE_REFS >::filter(), claraty::Convolve_Op< TEMPLATE_REFS >::get_kernel(), and claraty::Convolve_Op< TEMPLATE_REFS >::set_kernel().
Conv_Shape_t claraty::Convolve_Op<>::_conv_shape [private] |
Definition at line 131 of file convolve_op.h.
Referenced by claraty::Convolve_Op< TEMPLATE_REFS >::filter(), and claraty::Convolve_Op< TEMPLATE_REFS >::set_conv_shape().
Border_Mode_t claraty::Convolve_Op<>::_border_mode [private] |
Definition at line 132 of file convolve_op.h.
Referenced by claraty::Convolve_Op< TEMPLATE_REFS >::filter(), and claraty::Convolve_Op< TEMPLATE_REFS >::set_border_mode().
T claraty::Convolve_Op<>::_border_constant [private] |
Definition at line 133 of file convolve_op.h.
Referenced by claraty::Convolve_Op< TEMPLATE_REFS >::filter(), claraty::Convolve_Op< TEMPLATE_REFS >::set_border_constant(), and claraty::Convolve_Op< TEMPLATE_REFS >::set_border_mode().
bool claraty::Convolve_Op<>::asymm [private] |
Definition at line 135 of file convolve_op.h.
Referenced by claraty::Convolve_Op< TEMPLATE_REFS >::filter(), and claraty::Convolve_Op< TEMPLATE_REFS >::set_asymm().
The documentation for this class was generated from the following file: