TarzaNN
TarzaNN neural network simulator
|
#include <InputMultipleFeaturePlane.h>
Public Member Functions | |
~InputMultipleFeaturePlane () | |
OutputImage * | getCurrentOutput () |
OutputImage * | getCurrentOutput (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 |
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.
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
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 |
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.
friend class FeaturePlaneFactory [friend] |
Reimplemented from FeaturePlaneAbstract.
float InputMultipleFeaturePlane::input_max [protected] |
float InputMultipleFeaturePlane::input_min [protected] |
bool InputMultipleFeaturePlane::input_scale [protected] |
char* InputMultipleFeaturePlane::mask_filename [protected] |
int InputMultipleFeaturePlane::window [protected] |