Interface Dct2d

All Known Subinterfaces:
Dct2d.Double, Dct2d.Float
All Known Implementing Classes:
Dct2dDirect, Dct2dDirect.Double, Dct2dDirect.Float, Dct2dFast, Dct2dFast.Double, Dct2dFast.Float

public interface Dct2d

Common interface for all 2D DCT implementations. Based on associated one-dimensional DCT methods (see Dct1d). Data arrays are indexed as data[x][y], with 0 ≤ x < width and 0 ≤ y < height. See Ch. 20 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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Sub-interface for 2D DCT implementations operating on double data.
    static interface 
    Sub-interface for 2D DCT implementations operating on float data.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the 'height' of the 2D data array (length of dimension 1).
    int
    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 as data[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 as data[x][y], with 0 ≤ x < width and 0 ≤ y < height.
      Returns:
      the height of the 2D data array