Uses of Class
imagingbook.common.geometry.fd.FourierDescriptor
Packages that use FourierDescriptor
Package
Description
Fourier descriptors for 2D shape representation and matching.
-
Uses of FourierDescriptor in imagingbook.common.geometry.fd
Methods in imagingbook.common.geometry.fd that return FourierDescriptorModifier and TypeMethodDescriptionstatic FourierDescriptorCreates aFourierDescriptordirectly from the vertices of a closed polygon (without interpolation).static FourierDescriptorCreates a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs.static FourierDescriptorCreates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs.static FourierDescriptorCreates a new Fourier descriptor from a uniformly sampled polygon V with the maximum number of Fourier coefficient pairs.static FourierDescriptorCreates a new Fourier descriptor from a uniformly sampled polygon V with Mp coefficient pairs.FourierDescriptor.makeInvariant()Makes this Fourier descriptor invariant to scale, start-point and rotation.FourierDescriptor.makeRotationInvariant()Returns a new rotation invariant Fourier descriptor by applying complex rotation to all coefficients (except coefficient 0).FourierDescriptor.makeScaleInvariant()Returns a new scale invariant Fourier descriptor by normalizing the L2 norm of the sub-vector {G[-mp], ..., G[-1], G[1], ..., G[mp]}.FourierDescriptor.makeStartPointInvariant()Returns a pair of start-point normalized Fourier descriptors.FourierDescriptor.makeTranslationInvariant()Returns a new translation invariant Fourier descriptor by setting coefficient 0 to zero.Methods in imagingbook.common.geometry.fd with parameters of type FourierDescriptorModifier and TypeMethodDescriptiondoubleFourierDescriptor.distanceComplex(FourierDescriptor fd2) Returns a L2-type distance between this and anotherFourierDescriptorinstance comparing the real and imaginary parts of all coefficient pairs.doubleFourierDescriptor.distanceComplex(FourierDescriptor fd2, int p) Returns a L2-type distance between this and anotherFourierDescriptorinstance comparing the real and imaginary parts of a limited range of (low-frequency) coefficient pairs.doubleFourierDescriptor.distanceMagnitude(FourierDescriptor fd2) Returns a L2-type distance between this and anotherFourierDescriptorinstance comparing the magnitudes of all coefficient pairs.doubleFourierDescriptor.distanceMagnitude(FourierDescriptor fd2, int p) Returns a L2-type distance between this and anotherFourierDescriptorinstance comparing the magnitudes of a limited range of (low-frequency) coefficient pairs.Constructors in imagingbook.common.geometry.fd with parameters of type FourierDescriptorModifierConstructorDescriptionConstructor for cloning Fourier descriptors.