PCL
pcl::BilinearInterpolation< T > Class Template Reference

Bilinear interpolation algorithm. More...

#include <BilinearInterpolation.h>

+ Inheritance diagram for pcl::BilinearInterpolation< T >:

Public Member Functions

 BilinearInterpolation ()=default
 
 BilinearInterpolation (const BilinearInterpolation &)=default
 
 ~BilinearInterpolation () override
 
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
 

Detailed Description

template<typename T>
class pcl::BilinearInterpolation< T >

The bilinear interpolation algorithm interpolates from the nearest four mapped source data items. It builds and evaluates two linear interpolation polynomials, one for each plane direction.

See also
NearestNeighborInterpolation, BicubicSplineInterpolation, BicubicBSplineInterpolation, BicubicFilterInterpolation,

Definition at line 88 of file BilinearInterpolation.h.

Constructor & Destructor Documentation

◆ BilinearInterpolation() [1/2]

template<typename T >
pcl::BilinearInterpolation< T >::BilinearInterpolation ( )
default

Constructs a BilinearInterpolation instance.

◆ BilinearInterpolation() [2/2]

template<typename T >
pcl::BilinearInterpolation< T >::BilinearInterpolation ( const BilinearInterpolation< T > &  )
default

Copy constructor.

◆ ~BilinearInterpolation()

template<typename T >
pcl::BilinearInterpolation< T >::~BilinearInterpolation ( )
inlineoverride

Virtual destructor.

Definition at line 105 of file BilinearInterpolation.h.

Member Function Documentation

◆ operator()()

template<typename T >
double pcl::BilinearInterpolation< T >::operator() ( double  x,
double  y 
) const
inlineoverridevirtual

Returns an interpolated value at {x,y} location.

Parameters
x,yCoordinates of the interpolation point (horizontal,vertical).

Implements pcl::BidimensionalInterpolation< T >.

Definition at line 114 of file BilinearInterpolation.h.


The documentation for this class was generated from the following file: