TarzaNN
TarzaNN neural network simulator
|
#include <MotionVFFilter.h>
Public Member Functions | |
MotionVFFilter (MotionFeaturePlane *mfp, int width, int height, int alpha, int speed, float gain) | |
Constructor. | |
virtual | ~MotionVFFilter () |
float | getOmegaIntensity (float x, float y, int t) |
Calculates the omega function for a given speed and time. | |
float | getAvgOmegaIntensity (float x, float y) |
Calculates the average omega function over the time window. | |
float | getIntensityConstancy (float x, float y) |
Calculates intensity constancy for a given direction and speed. | |
void | feedForwardNeuron (int x, int y) |
Performs the feed-forward stage for a single pixel. | |
void | feedForwardSubsection (int x0, int y0, int x1, int y1) |
Performs the feed-forward stage for a contiguous window of pixels. | |
void | feedForward () |
void | prepImage (OutputImage **c, int offset, int speed) |
Perform pre-computation on a specific image. | |
void | prepImageSequence (OutputImage **c) |
Perform all necessary pre-computation for a specific point in time. |
Initial motion estimator. (alternate algorithm)
MotionVFFilter::MotionVFFilter | ( | MotionFeaturePlane * | mfp, |
int | width, | ||
int | height, | ||
int | alpha, | ||
int | speed, | ||
float | gain | ||
) |
Constructor.
MotionVFFilter::~MotionVFFilter | ( | ) | [virtual] |
void MotionVFFilter::feedForward | ( | ) | [inline] |
void MotionVFFilter::feedForwardNeuron | ( | int | x, |
int | y | ||
) |
Performs the feed-forward stage for a single pixel.
void MotionVFFilter::feedForwardSubsection | ( | int | x0, |
int | y0, | ||
int | x1, | ||
int | y1 | ||
) |
Performs the feed-forward stage for a contiguous window of pixels.
float MotionVFFilter::getAvgOmegaIntensity | ( | float | x, |
float | y | ||
) |
Calculates the average omega function over the time window.
float MotionVFFilter::getIntensityConstancy | ( | float | x, |
float | y | ||
) |
Calculates intensity constancy for a given direction and speed.
float MotionVFFilter::getOmegaIntensity | ( | float | x, |
float | y, | ||
int | t | ||
) |
Calculates the omega function for a given speed and time.
void MotionVFFilter::prepImage | ( | OutputImage ** | c, |
int | offset, | ||
int | speed | ||
) |
Perform pre-computation on a specific image.
void MotionVFFilter::prepImageSequence | ( | OutputImage ** | c | ) |
Perform all necessary pre-computation for a specific point in time.