PCL
pcl::Lanczos4LUTPixelInterpolation Class Reference

Lanczos 3rd-order LUT-based pixel interpolation. More...

#include <PixelInterpolation.h>

+ Inheritance diagram for pcl::Lanczos4LUTPixelInterpolation:

Public Member Functions

 Lanczos4LUTPixelInterpolation (const Lanczos4LUTPixelInterpolation &)=default
 
 Lanczos4LUTPixelInterpolation (float clamp=0.3F)
 
String Description () const override
 
- 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

Lanczos4LUTPixelInterpolation uses a Lanczos 4th-order LUT-based interpolation algorithm (Lanczos4LUTInterpolation) to interpolate pixel values from the nearest 64 neighbor pixels. LUT-based interpolations are about three times faster than interpolations using function evaluations.

See also
PixelInterpolation, Lanczos4LUTInterpolation, LanczosInterpolation, BicubicBSplinePixelInterpolation, NearestNeighborPixelInterpolation, BilinearPixelInterpolation, BicubicSplinePixelInterpolation, BicubicFilterPixelInterpolation, LanczosPixelInterpolation, Lanczos3LUTPixelInterpolation, Lanczos5LUTPixelInterpolation

Definition at line 965 of file PixelInterpolation.h.

Constructor & Destructor Documentation

◆ Lanczos4LUTPixelInterpolation() [1/2]

pcl::Lanczos4LUTPixelInterpolation::Lanczos4LUTPixelInterpolation ( float  clamp = 0.3F)
inline

Constructs a Lanczos4LUTPixelInterpolation object.

Parameters
clampClamping threshold. Clamping is applied to fix undershoot (aka ringing) artifacts. A value of this parameter within the [0,1] range enables clamping: The lower the clamping threshold, the more aggresive deringing effect is achieved. A negative threshold value disables the interpolation clamping feature. The default value is 0.3.

Definition at line 979 of file PixelInterpolation.h.

◆ Lanczos4LUTPixelInterpolation() [2/2]

pcl::Lanczos4LUTPixelInterpolation::Lanczos4LUTPixelInterpolation ( const Lanczos4LUTPixelInterpolation )
default

Copy constructor.

Member Function Documentation

◆ Description()

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

Returns a descriptive text string for this pixel interpolation.

Implements pcl::PixelInterpolation.

Definition at line 992 of file PixelInterpolation.h.

References pcl::String::AppendFormat().


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