CUV
0.9.201304091348
|
image pyramid decreasing in size logarithmically. More...
#include <image_pyramid.hpp>
Public Types | |
typedef __matrix_type | matrix_type |
the type of the contained matrices | |
typedef matrix_type::value_type | value_type |
the type of one value in the matrix | |
typedef matrix_type::memory_layout_type | memory_layout |
the memory layout (assumed to be row_major!) | |
typedef matrix_type::index_type | index_type |
the index_type |
Public Member Functions | |
image_pyramid (int img_h, int img_w, int depth, int dim) | |
construct an image pyramid. | |
matrix_type * | get (int depth, int channel) |
Get a view on a channel in the pyramid. | |
matrix_type * | get_all_channels (int depth) |
int | dim () |
dimension of a single value in the matrix | |
unsigned int | base_h () |
image height at base of matrix | |
unsigned int | base_w () |
image width at base of matrix | |
unsigned int | depth () |
depth of pyramid | |
template<class __arg_matrix_type > | |
void | build (const __arg_matrix_type &src, const unsigned int interleaved_channels) |
build the pyramid given an image. |
image pyramid decreasing in size logarithmically.
Definition at line 55 of file image_pyramid.hpp.
|
inline |
build the pyramid given an image.
src | pyramid represents scaled versions of this |
interleaved_channels | can be either 1 (grayscale) or 4 (RGBA, only RGB is used though). |
Definition at line 91 of file image_pyramid.hpp.