#include <MedianFilter.h>
Public Member Functions | |
| Neighborhood () | |
| Default constructor. | |
| void | print () const |
| Print function for debugging purposes. | |
| int | getSize () const |
| Get the number of neighbors in the neighborhood. | |
| Vector3i & | operator[] (int i) |
| Retrieve or set the ith neighbor. | |
| const Vector3i & | operator[] (int i) const |
| Retrieve the ith neighbor location. | |
| void | setSize (int s) |
| Set the number of neighbors in the neighborhood. | |
| void | addNeighbor (const Vector3i &l) |
| Add a neighbor location. | |
|
|
Set the number of neighbors in the neighborhood. Can be used to clear the neighbors. |
1.4.4