PCL
|
Lanczos pixel interpolation. More...
#include <PixelInterpolation.h>
Public Member Functions | |
LanczosPixelInterpolation (const LanczosPixelInterpolation &)=default | |
LanczosPixelInterpolation (int n=3, float clamp=0.3) | |
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 |
LanczosPixelInterpolation uses the Lanczos interpolation algorithm (LanczosInterpolation) to interpolate pixel values from the nearest 2*n^2 neighbor pixels, where n is the filter order.
Definition at line 782 of file PixelInterpolation.h.
|
inline |
Constructs a LanczosPixelInterpolation object.
n | Filter order (n >= 1). The Lanczos filter interpolates from the nearest (2*n)^2 mapped source pixels for each interpolation point. The default filter order is 3, which means that the interpolation uses a neighborhood of 36 source pixels. |
clamp | Clamping 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 802 of file PixelInterpolation.h.
|
default |
Copy constructor.
|
inlineoverridevirtual |
Returns a descriptive text string for this pixel interpolation.
Implements pcl::PixelInterpolation.
Definition at line 817 of file PixelInterpolation.h.