libeblearn
ebl::channels_module< T, Tstate > Class Template Reference

Abstract class for image channels preprocessing. More...

#include <ebl_preprocessing.h>

Inheritance diagram for ebl::channels_module< T, Tstate >:
ebl::module_1_1< T, Tstate > ebl::module ebl::channorm_module< T, Tstate > ebl::rgb_to_y_module< T, Tstate > ebl::rgb_to_yuv_module< T, Tstate > ebl::bgr_to_yp_module< T, Tstate > ebl::bgr_to_ypuv_module< T, Tstate > ebl::rgb_to_hp_module< T, Tstate > ebl::rgb_to_rgbn_module< T, Tstate > ebl::rgb_to_yn_module< T, Tstate > ebl::rgb_to_ynunvn_module< T, Tstate > ebl::rgb_to_ynuv_module< T, Tstate > ebl::rgb_to_ynuvn_module< T, Tstate > ebl::rgb_to_yuvn_module< T, Tstate > ebl::y_to_yp_module< T, Tstate >

List of all members.

Public Member Functions

 channels_module (bool global_norm=true, const char *name="channels")

Protected Member Functions

virtual void resize_output (Tstate &in, Tstate &out, int dim0=-1)

Protected Attributes

bool globnorm
 Normalize globally or not.

Friends

class laplacian_pyramid_module
 Friends.

Detailed Description

template<typename T, class Tstate = bbstate_idx<T>>
class ebl::channels_module< T, Tstate >

Abstract class for image channels preprocessing.


Member Function Documentation

template<typename T , class Tstate >
void ebl::channels_module< T, Tstate >::resize_output ( Tstate &  in,
Tstate &  out,
int  dim0 = -1 
) [protected, virtual]

Resize the output based on input dimensions

Parameters:
dim0An optional size for the first dimension. Set it to 1 when converting from color to greyscale.

Reimplemented in ebl::channorm_module< T, Tstate >.


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