TarzaNN
TarzaNN neural network simulator
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
InputMultipleFeaturePlane Class Reference

#include <InputMultipleFeaturePlane.h>

Inheritance diagram for InputMultipleFeaturePlane:
InputFeaturePlaneAbstract FeaturePlaneAbstract Observer Viewable

List of all members.

Public Member Functions

 ~InputMultipleFeaturePlane ()
OutputImagegetCurrentOutput ()
OutputImagegetCurrentOutput (int index)
OutputImage ** getCurrentOutputs ()
void inhibitReturn ()

Protected Member Functions

 InputMultipleFeaturePlane (Network *net, int l, char *filename, int window, QString *name, bool isWTA, bool visible, bool scale, float min, float max, int occluder_freq, int occluder_width, const char *occulder_file, NotifyStrategyAbstract *notify)

Protected Attributes

char * mask_filename
bool input_scale
float input_min
float input_max
int window

Friends

class FeaturePlaneFactory

Detailed Description

It loads multiple images (PNG, BMP, XBM, XPM, PNM, and possibly JPG, GIF, MNG, based on how QT was compiled - see QImageIO) and offers it as output sequentially.


Constructor & Destructor Documentation

InputMultipleFeaturePlane::~InputMultipleFeaturePlane ( )
InputMultipleFeaturePlane::InputMultipleFeaturePlane ( Network net,
int  l,
char *  filename,
int  window,
QString *  name,
bool  isWTA,
bool  visible,
bool  scale,
float  min,
float  max,
int  occluder_freq,
int  occluder_width,
const char *  occulder_file,
NotifyStrategyAbstract notify 
) [protected]

Load the specified file

Parameters:
net- network that the FP belongs to
filename- first file name to open - file names should have nameXXX.ext format, XXX - sequence number
name- name of the feature plane
visible- should the FP be presented in the UI
scale- to scale or not to scale, this is the question
min- scale currentOutput to the min - max range
max
notify- notification strategy

Member Function Documentation

OutputImage * InputMultipleFeaturePlane::getCurrentOutput ( ) [virtual]

Current output

Reimplemented from FeaturePlaneAbstract.

OutputImage * InputMultipleFeaturePlane::getCurrentOutput ( int  index) [virtual]

Returns the feature plane's latest output, with an index for multi-output FPs. Overloaded in InputControllerAbstract and InputFeaturePlane where we can get RGB independently.

Reimplemented from FeaturePlaneAbstract.

OutputImage ** InputMultipleFeaturePlane::getCurrentOutputs ( )

Array with sequence of outputs

void InputMultipleFeaturePlane::inhibitReturn ( ) [virtual]

Reimplemented from InputFeaturePlaneAbstract.


Friends And Related Function Documentation

friend class FeaturePlaneFactory [friend]

Reimplemented from FeaturePlaneAbstract.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines