|
TarzaNN
TarzaNN neural network simulator
|
Convolution mask used in MG feature planes as part of a motion detector. More...
#include <MotionMask.h>
Public Member Functions | |
| MotionMask (int width, int height, float angle) | |
| Constructor: angle is in radians. | |
Convolution mask used in MG feature planes as part of a motion detector.
The MG motion mask that is described in the literature specifies a value of either 1/n or -1/n for each cell in the filter. However, this will produce an accurate mask only for axis-aligned motion. The mask implemented here will create an anti-aliased mask which is makes it more suitable for unaligned motion.
| MotionMask::MotionMask | ( | int | width, |
| int | height, | ||
| float | angle | ||
| ) |
Constructor: angle is in radians.
1.7.5.1