java.lang.Object
imagingbook.common.geometry.fd.FourierDescriptorUniform
Defines static methods to create Fourier descriptors from uniformly sampled point sequences. 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 a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs.static FourierDescriptor
Creates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs.static FourierDescriptor
Creates a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs.static FourierDescriptor
Creates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs.
-
Method Details
-
from
Creates a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs. The length of the resulting DFT spectrum equals V.length.- Parameters:
V
- a polygon- Returns:
- a new
FourierDescriptorUniform
instance
-
from
Creates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs. The length of the resulting DFT spectrum is 2 * mp + 1, i.e., it must be assured that Mp < (V.length - 1) ÷ 2.- Parameters:
V
- a polygonmp
- number of coefficient pairs- Returns:
- a new
FourierDescriptorUniform
instance
-
from
Creates a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs. The length of the resulting DFT spectrum equals V.length.- Parameters:
V
- a polygon- Returns:
- a new
FourierDescriptorUniform
instance
-
from
Creates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs. The length of the resulting DFT spectrum is 2 * mp + 1, i.e., it must be assured that Mp < (V.length - 1) ÷ 2.- Parameters:
V
- a sequence of uniformly-spaced 2D sample pointsmp
- number of coefficient pairs- Returns:
- a new
FourierDescriptorUniform
instance
-