PCL
|
Image translation algorithm. More...
#include <Translation.h>
Protected Member Functions | |
void | Apply (pcl::DImage &) const override |
void | Apply (pcl::Image &) const override |
void | Apply (pcl::UInt16Image &) const override |
void | Apply (pcl::UInt32Image &) const override |
void | Apply (pcl::UInt8Image &) const override |
Protected Member Functions inherited from pcl::ImageTransformation | |
virtual void | Apply (pcl::ComplexImage &image) const |
virtual void | Apply (pcl::DComplexImage &image) const |
Additional Inherited Members | |
Static Public Member Functions inherited from pcl::GeometricTransformation | |
template<class P > | |
static void | ApplyGammaExponentCorrection (typename P::sample *samples, size_type length, double gamma, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
template<class P > | |
static void | ApplyInverseGammaExponentCorrection (typename P::sample *samples, size_type length, double gamma, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
template<class P > | |
static void | ApplyInverseSRGBGammaCorrection (typename P::sample *samples, size_type length, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
template<class P > | |
static void | ApplySRGBGammaCorrection (typename P::sample *samples, size_type length, AbstractImage::ThreadData &threadData, int maxProcessors=PCL_MAX_PROCESSORS) |
Definition at line 74 of file Translation.h.
|
inline |
Constructs a Translation object using the specified pixel interpolation p, with translation increments dx and dy in pixels.
The specified pixel interpolation object p must remain valid while this object exists.
Definition at line 86 of file Translation.h.
|
inline |
Constructs a Translation object using the specified pixel interpolation p, with translation increments in pixels given by the components of a point d in the plane.
The specified pixel interpolation object p must remain valid while this object exists.
Definition at line 100 of file Translation.h.
|
default |
Copy constructor.
|
overrideprotectedvirtual |
Applies this transformation to a 64-bit floating point image.
Reimplemented from pcl::ImageTransformation.
|
overrideprotectedvirtual |
Applies this transformation to a 32-bit floating point image.
Reimplemented from pcl::ImageTransformation.
|
overrideprotectedvirtual |
Applies this transformation to a 16-bit unsigned integer image.
Reimplemented from pcl::ImageTransformation.
|
overrideprotectedvirtual |
Applies this transformation to a 32-bit unsigned integer image.
Reimplemented from pcl::ImageTransformation.
|
overrideprotectedvirtual |
Applies this transformation to an 8-bit unsigned integer image.
Reimplemented from pcl::ImageTransformation.
|
inline |
Returns the translation increments in pixels for both axes, as the corresponding components of a point in the plane.
Definition at line 115 of file Translation.h.
|
inline |
Returns the horizontal translation increment in pixels.
Definition at line 123 of file Translation.h.
|
inline |
Returns the vertical translation increment in pixels.
Definition at line 131 of file Translation.h.
|
inline |
Returns the current vector of per-channel filling values for uncovered image regions.
See the documentation for SetFillValues() for more information.
Definition at line 159 of file Translation.h.
|
inlineoverridevirtual |
Predicts transformed image dimensions.
[in,out] | width | Reference to a variable whose value is a horizontal dimension in pixels (width). On output, it will receive the predicted horizontal dimension after the transformation. |
[in,out] | height | Reference to a variable whose value is a vertical dimension in pixels (height). On output, it will receive the predicted vertical dimension after the transformation. |
Implements pcl::GeometricTransformation.
Definition at line 185 of file Translation.h.
|
inline |
Sets the translation increments in pixels as the components of a point d in the plane.
Definition at line 140 of file Translation.h.
|
inline |
Sets the translation increments dx and dy in pixels.
Definition at line 148 of file Translation.h.
|
inline |
Sets a vector of per-channel filling values for uncovered image regions.
Uncovered regions result each time an image is translated. Note that uncovering can be partial for one row or column of pixels, when fractional displacements are applied in the corresponding plane directions.
By default, there are no filling values defined (and hence the returned vector is empty by default). When the Translation instance is executed and a filling value is not defined for a channel of the target image, uncovered regions are filled with the minimum sample value in the native range of the image (usually zero).
Definition at line 178 of file Translation.h.