PCL
|
Abstract root base class for all pixel interpolation algorithms. More...
#include <PixelInterpolation.h>
Classes | |
class | Interpolator |
Generic two-dimensional pixel interpolator. More... | |
Public Member Functions | |
PixelInterpolation ()=default | |
PixelInterpolation (const PixelInterpolation &)=default | |
virtual | ~PixelInterpolation () |
virtual String | Description () const =0 |
virtual bool | IsThreadSafe () const |
template<class P , class T > | |
Interpolator< P > * | NewInterpolator (const T *data, int width, int height, bool unclipped=false) const |
PixelInterpolation is the abstract base class of all pixel interpolation PCL classes. A pixel interpolation class is able to generate pixel interpolators (instances of PixelInterpolation::Interpolator), which are generic objects providing a common pixel interpolation interface that is independent on a particular interpolation algorithm.
Definition at line 97 of file PixelInterpolation.h.
|
default |
Constructs a PixelInterpolation object.
|
default |
Copy constructor.
|
inlinevirtual |
Virtual destructor.
Definition at line 251 of file PixelInterpolation.h.
|
pure virtual |
Returns a descriptive text string for this pixel interpolation.
Implemented in pcl::Lanczos5LUTPixelInterpolation, pcl::Lanczos4LUTPixelInterpolation, pcl::Lanczos3LUTPixelInterpolation, pcl::LanczosPixelInterpolation, pcl::BicubicFilterPixelInterpolation, pcl::BicubicBSplinePixelInterpolation, pcl::BicubicSplinePixelInterpolation, pcl::BilinearPixelInterpolation, and pcl::NearestNeighborPixelInterpolation.
|
inlinevirtual |
Returns true iff this interpolation can be safely used in multithreaded contexts.
A thread-safe interpolator can be used concurrently by multiple threads without needing to lock access to the interpolated data.
Definition at line 270 of file PixelInterpolation.h.
|
inline |
Creates a new Interpolator object specialized for a pixel sample type P.
data | Two-dimensional matrix of pixel sample values that will be interpolated. |
width | Horizontal dimension (most rapidly varying matrix subscript) of the source data matrix. |
height | Vertical dimension (most slowly varying matrix subscript) of the source data matrix. |
Definition at line 288 of file PixelInterpolation.h.