ABFilter Class Reference
Inherits RecFilter.
List of all members.
Public Member Functions |
void | set_spatialOrient (double angle) |
| Used to set the spatial orientation selectivity.
|
void | set_temporalFrequency (double omega) |
| Used to set the location of the filter in the temporal frequency space.
|
void | set_spatialFrequency (double xi) |
| Used to set the location of the filter in the spatial frequency space.
|
void | set_step (double step) |
| Set the temporal step between two computations of filter activity.
|
double | convolve (CImg< double > &image, double centerx, double centery) |
| Performs the spatiotemporal filtering, convolving the input image with an ABFilter entity.
|
void | filter_build () |
| Once the configuration of the filter is done, call this method to internally set up the filter BEFORE using ABFilter::convolve method.
|
Member Function Documentation
double ABFilter::convolve |
( |
CImg< double > & |
image, |
|
|
double |
centerx, |
|
|
double |
centery | |
|
) |
| | |
Performs the spatiotemporal filtering, convolving the input image with an ABFilter entity.
- Parameters:
-
| image | input image to filter in CImg (http://cimg.sourceforge.net ) format |
| centerx | x-position in the image to localize the filter |
| centery | y-position in the image to localize the filter |
- Returns:
- It returns the result of the convolution, as a double
void ABFilter::set_spatialFrequency |
( |
double |
xi |
) |
|
Used to set the location of the filter in the spatial frequency space.
- Parameters:
-
| xi | Location of the filter in the spatial frequency space (in cycles/pixels) |
void ABFilter::set_spatialOrient |
( |
double |
angle |
) |
|
Used to set the spatial orientation selectivity.
- Parameters:
-
| angle | Value of the angle in radians |
This function is used to set the spatial orientation selectivity of the ABFilter instance. This value is associated to the direction of Gabor derivatives conforming the spatial part of the filters.
void ABFilter::set_step |
( |
double |
step |
) |
|
Set the temporal step between two computations of filter activity.
- Parameters:
-
| step | Timestep between two computations of filter activity |
The timestep between two computation of the filter activity is needed for the temporal convolution performed by the RecFilter class. The timestep is normally set in 5msec.
Reimplemented from BaseRecFilter.
void ABFilter::set_temporalFrequency |
( |
double |
omega |
) |
|
Used to set the location of the filter in the temporal frequency space.
- Parameters:
-
| omega | Location of the filter in the temporal frequency space (in cycles/sec) |
The documentation for this class was generated from the following files: