PCL
pcl::BicubicFilterPixelInterpolation Class Reference

Pixel interpolation based on Mitchell-Netravali parameterized bicubic filters. More...

#include <PixelInterpolation.h>

+ Inheritance diagram for pcl::BicubicFilterPixelInterpolation:

Public Member Functions

 BicubicFilterPixelInterpolation (BicubicFilterPixelInterpolation &&)=default
 
 BicubicFilterPixelInterpolation (const BicubicFilterPixelInterpolation &x)
 
 BicubicFilterPixelInterpolation (int rh, int rv, const CubicFilter &filter)
 
 ~BicubicFilterPixelInterpolation () override
 
String Description () const override
 
const CubicFilterFilter () const
 
- Public Member Functions inherited from pcl::PixelInterpolation
 PixelInterpolation ()=default
 
 PixelInterpolation (const PixelInterpolation &)=default
 
virtual ~PixelInterpolation ()
 
virtual bool IsThreadSafe () const
 
template<class P , class T >
Interpolator< P > * NewInterpolator (const T *data, int width, int height, bool unclipped=false) const
 

Detailed Description

BicubicFilterPixelInterpolation uses a cubic filter (an instance of CubicFilter or a derived class) to interpolate pixel values in a square pixel matrix of the specified radius.

See also
PixelInterpolation, CubicFilter, BicubicFilterInterpolation, NearestNeighborPixelInterpolation, BilinearPixelInterpolation, BicubicSplinePixelInterpolation, BicubicBSplinePixelInterpolation

Definition at line 667 of file PixelInterpolation.h.

Constructor & Destructor Documentation

◆ BicubicFilterPixelInterpolation() [1/3]

pcl::BicubicFilterPixelInterpolation::BicubicFilterPixelInterpolation ( int  rh,
int  rv,
const CubicFilter filter 
)
inline

Constructs a BicubicFilterPixelInterpolation object.

Parameters
rh,rvHorizontal and vertical interpolation radii, respectively, in pixels. Both radii must be >= 1. Interpolation will take place in a rectangular pixel matrix whose dimensions will be width = 2*rh + 1 and height = 2*rv + 1.
filterReference to a CubicFilter instance that will be used as the interpolation filter.

Definition at line 683 of file PixelInterpolation.h.

References pcl::CubicFilter::Clone().

◆ BicubicFilterPixelInterpolation() [2/3]

pcl::BicubicFilterPixelInterpolation::BicubicFilterPixelInterpolation ( const BicubicFilterPixelInterpolation x)
inline

Copy constructor.

Definition at line 695 of file PixelInterpolation.h.

◆ BicubicFilterPixelInterpolation() [3/3]

pcl::BicubicFilterPixelInterpolation::BicubicFilterPixelInterpolation ( BicubicFilterPixelInterpolation &&  )
default

Move constructor.

◆ ~BicubicFilterPixelInterpolation()

pcl::BicubicFilterPixelInterpolation::~BicubicFilterPixelInterpolation ( )
inlineoverride

Destroys a BicubicFilterPixelInterpolation object.

Definition at line 710 of file PixelInterpolation.h.

Member Function Documentation

◆ Description()

String pcl::BicubicFilterPixelInterpolation::Description ( ) const
inlineoverridevirtual

Returns a descriptive text string for this pixel interpolation.

Implements pcl::PixelInterpolation.

Definition at line 716 of file PixelInterpolation.h.

References pcl::String::AppendFormat().

◆ Filter()

const CubicFilter& pcl::BicubicFilterPixelInterpolation::Filter ( ) const
inline

Returns a reference to the immutable cubic filter being used by this interpolation.

Definition at line 725 of file PixelInterpolation.h.


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