Module imagingbook.common
Class LogPolarMapping1
java.lang.Object
imagingbook.common.geometry.mappings.nonlinear.LogPolarMapping1
This class implements a 2D log-polar mapping transformation. Simple version (Version 1), maps radius [0,rmax] to [0,nr]). See Sec. 21.1.6 (Eq. 21.65 - 21.70) of [1] for additional details and examples.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/11/16
-
Constructor Summary
ConstructorsConstructorDescriptionLogPolarMapping1
(double xc, double yc, int P, int Q, double rmax) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionApplies this mapping to a single 2D point.Returns the inverse of this mapping.
-
Constructor Details
-
LogPolarMapping1
Constructor.- Parameters:
xc
- x-coordinate of center point in source imageyc
- y-coordinate of center point in source imageP
- number of radial stepsQ
- number of angular stepsrmax
- maximum radius
-
-
Method Details
-
applyTo
Description copied from interface:Mapping2D
Applies this mapping to a single 2D point. -
getInverse
Description copied from interface:Inversion
Returns the inverse of this mapping.- Specified by:
getInverse
in interfaceInversion
- Returns:
- the inverse mapping
-