class bracer encodes the entire bracing process. Note that contrary to my initial implementation, class bracer is now used exclusively for populating the frame around a core area of data. It has no code to determine which size a brace/frame should have. This is now determined in class bspline, see especially class bspline's methods get_left_brace_size(), get_right_brace_size() and setup_metrics().
More...
|
static void | apply (view_type &a, bc_code bc, int lsz, int rsz, int axis) |
| apply the bracing to the array, performing the required copy/arithmetic operations to the 'frame' around the core. This routine performs the operation along axis 'dim'. This is also the routine to be used for explicitly extrapolating a signal: you place the data into the center of a larger array, and pass in the sizes of the 'empty' space which is to be filled with the extrapolated data. More...
|
|
static void | apply (view_type &a, vigra::TinyVector< bc_code, dimension > bcv, shape_type left_corner, shape_type right_corner) |
| This overload of 'apply' braces along all axes in one go. More...
|
|
template<unsigned int _dimension, typename _value_type>
struct vspline::bracer< _dimension, _value_type >
class bracer encodes the entire bracing process. Note that contrary to my initial implementation, class bracer is now used exclusively for populating the frame around a core area of data. It has no code to determine which size a brace/frame should have. This is now determined in class bspline, see especially class bspline's methods get_left_brace_size(), get_right_brace_size() and setup_metrics().
Definition at line 131 of file brace.h.
template<unsigned int _dimension, typename _value_type >
apply the bracing to the array, performing the required copy/arithmetic operations to the 'frame' around the core. This routine performs the operation along axis 'dim'. This is also the routine to be used for explicitly extrapolating a signal: you place the data into the center of a larger array, and pass in the sizes of the 'empty' space which is to be filled with the extrapolated data.
the bracing is done one-left-one-right, to avoid corner cases as best as posible. This makes it possible to have signals which are shorter than the brace and still produce a correct brace for them.
Definition at line 148 of file brace.h.