libeblearn
|
#include <ebl_preprocessing.h>
Public Member Functions | |
mschan_module (uint nstates, const char *name="mschan") | |
virtual void | fprop (Tstate &in, mstate< Tstate > &out) |
forward propagation from in to out | |
virtual void | bprop (Tstate &in, mstate< Tstate > &out) |
backward propagation from in to out (empty) | |
virtual void | bbprop (Tstate &in, mstate< Tstate > &out) |
bbackward propagation from in to out (empty) |
This module takes each channel of the input and create an mstate where each state contains a different channel. This is useful for fovea processing, when preprocessing was already performed by outputting each scale in a different channel.
ebl::mschan_module< T, Tstate >::mschan_module | ( | uint | nstates, |
const char * | name = "mschan" |
||
) |
nstates | The number of states to produce, i.e. in how many groups to output the channels. E.g. if input is RGBRGB and nstates = 2 then it will separate the input into 2 states of RGB and RGB. |