CUV  0.9.201304091348
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
cuv::image_pyramid< __matrix_type > Class Template Reference

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_typeget (int depth, int channel)
 Get a view on a channel in the pyramid.
matrix_typeget_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.

Detailed Description

template<class __matrix_type>
class cuv::image_pyramid< __matrix_type >

image pyramid decreasing in size logarithmically.

Definition at line 55 of file image_pyramid.hpp.

Member Function Documentation

template<class __matrix_type>
template<class __arg_matrix_type >
void cuv::image_pyramid< __matrix_type >::build ( const __arg_matrix_type &  src,
const unsigned int  interleaved_channels 
)
inline

build the pyramid given an image.

Parameters
srcpyramid represents scaled versions of this
interleaved_channelscan be either 1 (grayscale) or 4 (RGBA, only RGB is used though).

Definition at line 91 of file image_pyramid.hpp.


The documentation for this class was generated from the following file: