|
TarzaNN
TarzaNN neural network simulator
|
#include <OutputImage.h>
Public Member Functions | |
| OutputImage (const OutputImage &image) | |
| OutputImage (int w, int h, int id) | |
| OutputImage (char *buf) | |
| ~OutputImage () | |
| void | incUseCount () |
| void | release () |
| bool | isInUse () |
| void | serialize (char *buf) |
| int | getSendSize () |
| void | fromQImage (QImage *image, bool scale, float min, float max, OutputImage **list=NULL, int outputs=0) |
| QImage * | toQImage (QImage *tmpImage, float max_activation, float *minRealPixelValue=NULL, float *maxRealPixelValue=NULL) |
| QImage * | toScaledQImage (QImage *tmpImage, float min, float max) |
| OutputImage * | toResizedImage (int newX, int newY) |
Public Attributes | |
| int | timeStamp |
| int | depth |
| int | fpID |
Output of a feature plane
| OutputImage::OutputImage | ( | const OutputImage & | image | ) |
| OutputImage::OutputImage | ( | int | w, |
| int | h, | ||
| int | id | ||
| ) |
| OutputImage::OutputImage | ( | char * | buf | ) |
Constructor from buffer. Used with void OutputImage::serialize(char* buf).
| OutputImage::~OutputImage | ( | ) |
| void OutputImage::fromQImage | ( | QImage * | image, |
| bool | scale, | ||
| float | min, | ||
| float | max, | ||
| OutputImage ** | list = NULL, |
||
| int | outputs = 0 |
||
| ) |
| int OutputImage::getSendSize | ( | ) |
Size of buffer needed for network communications. For serialize().
Reimplemented from Matrix.
| void OutputImage::incUseCount | ( | ) |
Increment the usage counter
| bool OutputImage::isInUse | ( | ) | [inline] |
Predicate, used to ensure that the output of a feature plane is not deleted while in use
| void OutputImage::release | ( | ) |
Decrement the usage counter
| void OutputImage::serialize | ( | char * | buf | ) |
Serialize the OutputImage into the provided buffer. Used with OutputImage::OutputImage(int w, int h, int d, char* buf)
Reimplemented from Matrix.
| QImage * OutputImage::toQImage | ( | QImage * | tmpImage, |
| float | max_activation, | ||
| float * | minRealPixelValue = NULL, |
||
| float * | maxRealPixelValue = NULL |
||
| ) |
| OutputImage * OutputImage::toResizedImage | ( | int | newX, |
| int | newY | ||
| ) |
Resize using QImage functions
| QImage * OutputImage::toScaledQImage | ( | QImage * | tmpImage, |
| float | min, | ||
| float | max | ||
| ) |
The ID of the feature plane, for communications purposes.
1.7.5.1