PCL
|
Two-dimensional nearest neighbor interpolation algorithm. More...
#include <NearestNeighborInterpolation.h>
Public Member Functions | |
NearestNeighborInterpolation ()=default | |
NearestNeighborInterpolation (const NearestNeighborInterpolation &)=default | |
double | operator() (double x, double y) const override |
Public Member Functions inherited from pcl::BidimensionalInterpolation< T > | |
BidimensionalInterpolation ()=default | |
BidimensionalInterpolation (const BidimensionalInterpolation &)=default | |
virtual | ~BidimensionalInterpolation () |
const T * | BeingInterpolated () const |
double | BorderFillValue () const |
virtual void | Clear () |
void | DisableBorderFilling (bool disable=true) |
void | EnableBorderFilling (bool enable=true) |
int | Height () const |
virtual void | Initialize (const T *data, int width, int height) |
bool | IsBorderFillingEnabled () const |
void | SetBorderFillValue (double v) |
int | Width () const |
Nearest neighbor interpolation selects the value of the nearest data point from the source 2-D matrix. This interpolation always returns existing data values in the source matrix, since it doesn't consider the values of other neighboring points.
Definition at line 88 of file NearestNeighborInterpolation.h.
|
default |
Constructs a NearestNeighborInterpolation instance.
|
default |
Copy constructor.
|
inlineoverridevirtual |
Returns an interpolated value at {x,y} location.
x,y | Coordinates of the interpolation point (horizontal,vertical). |
Implements pcl::BidimensionalInterpolation< T >.
Definition at line 107 of file NearestNeighborInterpolation.h.