#include <core/Filter.h>
Inheritance diagram for Filter:

Public Member Functions | |
| virtual void | filter (Vector2 *samples, int num_samples) const =0 |
| virtual void | filter (Vector2 &sample)=0 |
In contrast to simply returning the weight of a given sample based on the filter values, Filters in galileo warp samples to have density proportional to the filter's kernel. This allows us to have all samples equally weighted, with more samples in areas of higher filter importance.
|
||||||||||||
|
Warp the array of samples in place.
Implemented in BoxFilter, CubicSplineFilter, and TentFilter. |
|
|
Warp a single sample in place.
Implemented in BoxFilter, CubicSplineFilter, and TentFilter. |
1.4.3