- All Known Subinterfaces:
Dft2d.Double
,Dft2d.Float
- All Known Implementing Classes:
Dft2dDirect
,Dft2dDirect.Double
,Dft2dDirect.Float
,Dft2dFast
,Dft2dFast.Double
,Dft2dFast.Float
public interface Dft2d
Common interface for all 2D DFT/FFT implementations. Data arrays are indexed
as data[x][y]
, with 0 ≤ x < width and 0 ≤ y < height.
Based on associated one-dimensional DFT/FFT methods (see Dft1d
). See
Ch. 19 of [1] for additional details.
[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).
- Version:
- 2022/10/21
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Sub-interface for 2D DFT implementations operating ondouble
data.static interface
Sub-interface for 2D DFT implementations operating onfloat
data. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the 'height' of the 2D data array (length of dimension 1).Returns the scaling mode of this DFT (seeScalingMode
).int
getWidth()
Returns the 'width' of the 2D data array (length of dimension 0).
-
Method Details
-
getWidth
int getWidth()Returns the 'width' of the 2D data array (length of dimension 0). Data arrays are indexed asdata[x][y]
, with 0 ≤ x < width and 0 ≤ y < height.- Returns:
- the width of the 2D data array
-
getHeight
int getHeight()Returns the 'height' of the 2D data array (length of dimension 1). Data arrays are indexed asdata[x][y]
, with 0 ≤ x < width and 0 ≤ y < height.- Returns:
- the height of the 2D data array
-
getScalingMode
Returns the scaling mode of this DFT (seeScalingMode
).- Returns:
- the scaling mode of this DFT.
-