Module imagingbook.common
Package imagingbook.common.geometry.fd
Class FourierDescriptorTrigonometric
java.lang.Object
imagingbook.common.geometry.fd.FourierDescriptorTrigonometric
Defines static methods to create Fourier descriptors directly from 2D polygons without re-sampling or interpolation. See Ch. 26 of [1] for additional details.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction Using Java, 2nd ed, Springer (2016).
- Version:
- 2022/10/24
-
Method Summary
Modifier and TypeMethodDescriptionstatic FourierDescriptor
Creates aFourierDescriptor
directly from the vertices of a closed polygon (without interpolation).
-
Method Details
-
from
Creates aFourierDescriptor
directly from the vertices of a closed polygon (without interpolation). For a given number (mp) of Fourier coefficient pairs, the resulting number of Fourier coefficients is M = 2 * mp + 1.- Parameters:
V
- sequence of 2D points representing a closed polygonmp
- the number of Fourier coefficient pairs (arbitrary)- Returns:
- a new
FourierDescriptorTrigonometric
instance
-