#include <MedianFilter.h>
Inheritance diagram for SphericalFilter:

Public Member Functions | |
| SphericalFilter () | |
| Default constructor. | |
| void | filter (const Dataset &in, Dataset &out) |
| Filters each element with virtual filter function. | |
| int | getNeighborhoodSize () const |
| Get number of neighbors covered by the spherical filter. | |
| void | print () const |
| Print for debugging purposes. | |
| double | getRadius () const |
| Get radius of the spherical filter. | |
| virtual void | setRadius (const double &r)=0 |
| Radius is set depending on grid type. | |
Static Public Member Functions | |
| static double | gaussianFunc (const double &sigma, const double &x, const double &y, const double &z) |
| 3D Gaussian function. | |
| static double | gaussianFunc (const double &sigma, const Vector3i &p) |
| 3D Gaussian function; used by two base classes. | |
Protected Member Functions | |
| virtual double | filter (const Dataset &in, int i)=0 |
| Filtering operation differs depending on filter type and grid type. | |
Protected Attributes | |
| Neighborhood | m_neighborhood |
| Relative locations of samples covered by the filter. | |
| double | m_weights [MAX_NUM] |
| Weights corresponding to the neighbor locations. | |
| double | m_radius |
| Radius of the filter. | |
|
|
Radius of the filter. Computed to be the length of the distance from the center of the filter to the farthest neighbor that the filter covers. |
|
|
Weights corresponding to the neighbor locations. Normalized so the weights sum to 1. |
1.4.4