PCL
pcl::Lanczos5LUTInterpolation< T > Class Template Reference

Two dimensional LUT-based 5th-order Lanczos interpolation algorithm. More...

#include <LanczosInterpolation.h>

Inherits pcl::LanczosLUTInterpolationBase< T, m_n >.

Public Member Functions

 Lanczos5LUTInterpolation (const Lanczos5LUTInterpolation &)=default
 
 Lanczos5LUTInterpolation (float clamp=__PCL_LANCZOS_CLAMPING_THRESHOLD)
 
 ~Lanczos5LUTInterpolation () override
 

Detailed Description

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

This class implements 5th-order Lanczos interpolation through precalculated look-up tables. For a description of the Lanczos algorithm and information on its performance and features, refer to the documentation for the LanczosInterpolation class.

LUT-based Lanczos interpolations are about three times faster than the corresponding function evaluation interpolations. Interpolation from the implemented LUTs provides a maximum error of +/- 1/2^16, so this class is fully accurate for 8-bit and 16-bit integer images.

See also
LanczosInterpolation, LanczosLUTInterpolationBase, Lanczos3LUTInterpolation, Lanczos4LUTInterpolation

Definition at line 924 of file LanczosInterpolation.h.

Constructor & Destructor Documentation

◆ Lanczos5LUTInterpolation() [1/2]

template<typename T >
pcl::Lanczos5LUTInterpolation< T >::Lanczos5LUTInterpolation ( float  clamp = __PCL_LANCZOS_CLAMPING_THRESHOLD)
inline

Constructs a Lanczos5LUTInterpolation instance.

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 aggressive deringing effect is achieved. A negative threshold value disables the clamping feature. The default value is 0.3. For more information, refer to the documentation for the SetClampingThreshold( float ) member function.

Definition at line 940 of file LanczosInterpolation.h.

◆ Lanczos5LUTInterpolation() [2/2]

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

Copy constructor.

◆ ~Lanczos5LUTInterpolation()

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

Destroys a Lanczos5LUTInterpolation object.

Definition at line 954 of file LanczosInterpolation.h.


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