|
TarzaNN
TarzaNN neural network simulator
|
Double Wilson filter. More...
#include <DoubleWFilter.h>
Public Member Functions | |
| DoubleWFilter (int w, int h, float orientation, float delta=0, float size=0, int sign=1) | |
Friends | |
| class | FilterFactory |
Double Wilson filter.
| DoubleWFilter::DoubleWFilter | ( | int | w, |
| int | h, | ||
| float | orientation, | ||
| float | delta = 0, |
||
| float | size = 0, |
||
| int | sign = 1 |
||
| ) |
Constructor. Albert update for DWFilter Formula: W(i,j)=[A*exp(-x^2-sigmaE^2)-B*exp(-x^2/sigmaI^2)]*[exp(-(y-delta)^2/sigmay^2)+exp(-(y+delta)^2/sigmay^2)] where x=i*cos(orientation)-j*sin(orientation) y=i*sin(orientation)+j*cos(orientation)
| w | - width |
| h | - height |
| orientation | - angle |
| delta | - distance between the WFilters that make up the DoubleWFilter (if zero, calcuated automatically) |
| size | - well, size (if zero, calcuated automatically) |
| sign | - +1 - on-center, -1 - off-center |
friend class FilterFactory [friend] |
1.7.5.1