PCL
|
Base class of polar transforms. More...
#include <PolarTransform.h>
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) |
Protected Member Functions inherited from pcl::ImageTransformation | |
virtual void | Apply (pcl::ComplexImage &image) const |
virtual void | Apply (pcl::DComplexImage &image) const |
virtual void | Apply (pcl::DImage &image) const |
virtual void | Apply (pcl::Image &image) const |
virtual void | Apply (pcl::UInt16Image &image) const |
virtual void | Apply (pcl::UInt32Image &image) const |
virtual void | Apply (pcl::UInt8Image &image) const |
PolarTransformBase implements properties and functionality common to polar transform classes in PCL.
A polar transform remaps pixel values in a two-dimensional image to encode polar coordinates on both image axes. Polar angle measured counter-clockwise with respect to the geometric center of the image is encoded linearly on the vertical (Y) axis. Radial distance to the center is encoded (linearly or not, depending on each particular transform) on the horizontal (X) axis.
Polar transforms have important applications in FFT-based image registration algorithms (e.g. as part of Fourier-Mellin transforms).
Definition at line 86 of file PolarTransform.h.
|
inline |
Constructs a PolarTransformBase object using the specified p pixel interpolation. The referenced interpolation object p must remain valid while this PolarTransformBase object exists.
Definition at line 96 of file PolarTransform.h.
|
default |
Copy constructor.
|
inline |
Returns the final rotation angle in radians. The default final rotation angle is 2*pi (360 degrees).
Definition at line 129 of file PolarTransform.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 161 of file PolarTransform.h.
|
inline |
Returns the initial rotation angle in radians. The default initial rotation angle is zero.
Definition at line 110 of file PolarTransform.h.
|
inline |
Sets the final rotation angle in radians.
Definition at line 137 of file PolarTransform.h.
References pcl::Swap().
|
inline |
Sets the initial rotation angle in radians.
Definition at line 118 of file PolarTransform.h.
References pcl::Swap().
|
inline |
Sets the initial and final rotation angles, initialAngle and finalAngle respectively, in radians. If the specified initial angle is greater than the final angle, both values are swapped.
Definition at line 149 of file PolarTransform.h.
References pcl::Swap().