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

#include <ebl_preprocessing.h>

Inheritance diagram for ebl::mschan_module< T, Tstate >:
ebl::s2m_module< T, Tstate > ebl::module_1_1< T, Tin, Tout > ebl::module

List of all members.

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)

Detailed Description

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

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.


Constructor & Destructor Documentation

template<typename T , class Tstate >
ebl::mschan_module< T, Tstate >::mschan_module ( uint  nstates,
const char *  name = "mschan" 
)
Parameters:
nstatesThe 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.

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