Module imagingbook.common
Class LogPolarMapping2
java.lang.Object
imagingbook.common.geometry.mappings.nonlinear.LogPolarMapping2
This class implements a 2D log-polar mapping transformation. Improved version (Version 2), maps radius [rmin,rmax] to [0,nr]). See Sec. 21.1.6 (Eq 21.71 - 21.74, Alg. 21.1) 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
ConstructorsConstructorDescriptionLogPolarMapping2(double xc, double yc, int P, int Q, double rmax, double rmin) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionApplies this mapping to a single 2D point.Returns the inverse of this mapping.
-
Constructor Details
-
LogPolarMapping2
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 radiusrmin- minimum radius
-
-
Method Details
-
applyTo
Description copied from interface:Mapping2DApplies this mapping to a single 2D point. -
getInverse
Description copied from interface:InversionReturns the inverse of this mapping.- Specified by:
getInversein interfaceInversion- Returns:
- the inverse mapping
-