PCL
pcl::LogPolarTransform Class Reference

In-place transformation to log-polar coordinates. More...

#include <PolarTransform.h>

+ Inheritance diagram for pcl::LogPolarTransform:

Public Member Functions

 LogPolarTransform (PixelInterpolation &p)
 
 LogPolarTransform (const LogPolarTransform &)=default
 
- Public Member Functions inherited from pcl::PolarTransformBase
 PolarTransformBase (PixelInterpolation &p)
 
 PolarTransformBase (const PolarTransformBase &)=default
 
float FinalRotation () const
 
void GetNewSizes (int &w, int &h) const override
 
float InitialRotation () const
 
void SetFinalRotation (float angle)
 
void SetInitialRotation (float angle)
 
void SetRotationRange (float initialAngle, float finalAngle)
 
- Public Member Functions inherited from pcl::InterpolatingGeometricTransformation
 InterpolatingGeometricTransformation (PixelInterpolation &p)
 
 InterpolatingGeometricTransformation (const InterpolatingGeometricTransformation &)=default
 
 InterpolatingGeometricTransformation (InterpolatingGeometricTransformation &&x)
 
void DisableUnclippedInterpolation (bool disable=true)
 
void EnableUnclippedInterpolation (bool enable=true)
 
const PixelInterpolationInterpolation () const
 
PixelInterpolationInterpolation ()
 
InterpolatingGeometricTransformationoperator= (const InterpolatingGeometricTransformation &)=default
 
InterpolatingGeometricTransformationoperator= (InterpolatingGeometricTransformation &&x)
 
void SetInterpolation (PixelInterpolation &p)
 
bool UsingUnclippedInterpolation () const
 
- Public Member Functions inherited from pcl::GeometricTransformation
 GeometricTransformation ()=default
 
 GeometricTransformation (const GeometricTransformation &)=default
 
virtual ~GeometricTransformation ()
 
- Public Member Functions inherited from pcl::ImageTransformation
 ImageTransformation ()=default
 
 ImageTransformation (const ImageTransformation &)=default
 
virtual ~ImageTransformation ()
 
template<class P >
GenericImage< P > & operator>> (GenericImage< P > &image) const
 
ImageVariantoperator>> (ImageVariant &image) const
 
- Public Member Functions inherited from pcl::ParallelProcess
 ParallelProcess ()=default
 
 ParallelProcess (const ParallelProcess &)=default
 
void DisableParallelProcessing (bool disable=true)
 
void EnableParallelProcessing (bool enable=true, int maxProcessors=0)
 
bool IsParallelProcessingEnabled () const
 
int MaxProcessors () const
 
ParallelProcessoperator= (const ParallelProcess &)=default
 
void SetMaxProcessors (int maxProcessors)
 
void Swap (ParallelProcess &process)
 

Protected Member Functions

void Apply (pcl::Image &) const override
 
void Apply (pcl::DImage &) const override
 
void Apply (pcl::UInt8Image &) const override
 
void Apply (pcl::UInt16Image &) const override
 
void Apply (pcl::UInt32Image &) const override
 
- Protected Member Functions inherited from pcl::ImageTransformation
virtual void Apply (pcl::ComplexImage &image) const
 
virtual void Apply (pcl::DComplexImage &image) const
 

Detailed Description

This class implements a Cartesian to log-polar coordinate transform with the following properties:

  • The origin of polar coordinates is located at the geometric center of the image.
  • Rotation angles are encoded linearly on the vertical axis, growing from bottom to top.
  • Distance to the origin is encoded logarithmically on the horizontal axis, growing from left to right. Natural (base e) logarithms are used.
  • Transform pixels mapped outside the source image (in Cartesian coordinates) are set to zero.
See also
PolarTransform, PolarTransformBase, FFTRegistrationEngine

Definition at line 254 of file PolarTransform.h.

Constructor & Destructor Documentation

◆ LogPolarTransform() [1/2]

pcl::LogPolarTransform::LogPolarTransform ( PixelInterpolation p)
inline

Constructs a LogPolarTransform object using the specified pixel interpolation p. The referenced interpolation object p must remain valid while this LogPolarTransform object exists.

Definition at line 263 of file PolarTransform.h.

References pcl::Apply().

◆ LogPolarTransform() [2/2]

pcl::LogPolarTransform::LogPolarTransform ( const LogPolarTransform )
default

Copy constructor.

Member Function Documentation

◆ Apply() [1/5]

void pcl::LogPolarTransform::Apply ( pcl::Image image) const
overrideprotectedvirtual

Applies this transformation to a 32-bit floating point image.

Reimplemented from pcl::ImageTransformation.

◆ Apply() [2/5]

void pcl::LogPolarTransform::Apply ( pcl::DImage image) const
overrideprotectedvirtual

Applies this transformation to a 64-bit floating point image.

Reimplemented from pcl::ImageTransformation.

◆ Apply() [3/5]

void pcl::LogPolarTransform::Apply ( pcl::UInt8Image image) const
overrideprotectedvirtual

Applies this transformation to an 8-bit unsigned integer image.

Reimplemented from pcl::ImageTransformation.

◆ Apply() [4/5]

void pcl::LogPolarTransform::Apply ( pcl::UInt16Image image) const
overrideprotectedvirtual

Applies this transformation to a 16-bit unsigned integer image.

Reimplemented from pcl::ImageTransformation.

◆ Apply() [5/5]

void pcl::LogPolarTransform::Apply ( pcl::UInt32Image image) const
overrideprotectedvirtual

Applies this transformation to a 32-bit unsigned integer image.

Reimplemented from pcl::ImageTransformation.


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