libeblearn
|
Abstract class for image channels preprocessing. More...
#include <ebl_preprocessing.h>
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. |
Abstract class for image channels preprocessing.
void ebl::channels_module< T, Tstate >::resize_output | ( | Tstate & | in, |
Tstate & | out, | ||
int | dim0 = -1 |
||
) | [protected, virtual] |
Resize the output based on input dimensions
dim0 | An optional size for the first dimension. Set it to 1 when converting from color to greyscale. |
Reimplemented in ebl::channorm_module< T, Tstate >.