#include <MatrixOfMatrix.h>
List of all members.
Public Member Functions |
| MatrixOfMatrix (const uint32_t nXSize, const uint32_t nYSize, const uint32_t filterSizeX, const uint32_t filterSizeY, const uint32_t inputSizeX=0, const uint32_t inputSizeY=0) |
| ~MatrixOfMatrix () |
void | setGU (uint32_t iuX, uint32_t iuY, uint32_t guX, uint32_t guY, float value) |
float | getGU (uint32_t iuX, uint32_t iuY, uint32_t guX, uint32_t guY) |
void | set (uint32_t iuX, uint32_t iuY, uint32_t guX, uint32_t guY, float value) |
float | get (uint32_t iuX, uint32_t iuY, uint32_t guX, uint32_t guY) |
uint32_t | getInputWidth () |
uint32_t | getInputHeight () |
uint32_t | getFilterWidth () |
uint32_t | getFilterHeight () |
void | dump () |
void | save (QDataStream *outStream, QProgressDialog *progress, int *index) |
void | read (QDataStream *inStream, QProgressDialog *progress, int *index) |
Static Protected Member Functions |
static void | getMemorySize (int &row, int &total, int width, int height) |
Protected Attributes |
int | filterWidth |
int | filterHeight |
int | inputWidth |
int | inputHeight |
Detailed Description
template<typename T>
class MatrixOfMatrix< T >
Matrix of Matrix of Matrix. Each Matrix object contains the gating units or filters for the particular IU, for a given input
Constructor & Destructor Documentation
template<typename T>
MatrixOfMatrix< T >::MatrixOfMatrix |
( |
const uint32_t |
nXSize, |
|
|
const uint32_t |
nYSize, |
|
|
const uint32_t |
filterSizeX, |
|
|
const uint32_t |
filterSizeY, |
|
|
const uint32_t |
inputSizeX = 0 , |
|
|
const uint32_t |
inputSizeY = 0 |
|
) |
| [inline] |
Destructor. Deletes all the gating unit matrices, and the internal data structures
Member Function Documentation
template<typename T>
float MatrixOfMatrix< T >::get |
( |
uint32_t |
iuX, |
|
|
uint32_t |
iuY, |
|
|
uint32_t |
guX, |
|
|
uint32_t |
guY |
|
) |
| [inline] |
template<typename T>
float MatrixOfMatrix< T >::getGU |
( |
uint32_t |
iuX, |
|
|
uint32_t |
iuY, |
|
|
uint32_t |
guX, |
|
|
uint32_t |
guY |
|
) |
| [inline] |
template<typename T>
static void MatrixOfMatrix< T >::getMemorySize |
( |
int & |
row, |
|
|
int & |
total, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| [inline, static, protected] |
template<typename T>
void MatrixOfMatrix< T >::read |
( |
QDataStream * |
inStream, |
|
|
QProgressDialog * |
progress, |
|
|
int * |
index |
|
) |
| [inline] |
template<typename T>
void MatrixOfMatrix< T >::save |
( |
QDataStream * |
outStream, |
|
|
QProgressDialog * |
progress, |
|
|
int * |
index |
|
) |
| [inline] |
template<typename T>
void MatrixOfMatrix< T >::set |
( |
uint32_t |
iuX, |
|
|
uint32_t |
iuY, |
|
|
uint32_t |
guX, |
|
|
uint32_t |
guY, |
|
|
float |
value |
|
) |
| [inline] |
template<typename T>
void MatrixOfMatrix< T >::setGU |
( |
uint32_t |
iuX, |
|
|
uint32_t |
iuY, |
|
|
uint32_t |
guX, |
|
|
uint32_t |
guY, |
|
|
float |
value |
|
) |
| [inline] |
Set gating unit value.
- Parameters:
-
iuX | - X coord of interpretive unit |
iuY | - Y coord of interpretive unit |
guX | - X coord of gating unit (for the IU) |
guX | - X coord of gating unit (for the IU) |
value | - value |
Member Data Documentation
The documentation for this class was generated from the following file: