Interface Dct1d

All Known Subinterfaces:
Dct1d.Double, Dct1d.Float
All Known Implementing Classes:
Dct1dDirect, Dct1dDirect.Double, Dct1dDirect.Float, Dct1dFast, Dct1dFast.Double, Dct1dFast.Float, Dct1dSlow

public interface Dct1d

Interface specifying all one-dimensional DCT implementations. The definition used is the one adopted by MATLAB (https://www.mathworks.com/help/signal/ref/dct.html), called "DCT-II" on Wikipedia ( https://en.wikipedia.org/wiki/Discrete_cosine_transform). 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/23
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Sub-interface for 1D DCT implementations operating on double data.
    static interface 
    Sub-interface for 1D DCT implementations operating on float data.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the size of this DCT (length of data vectors).
  • Method Details

    • getSize

      int getSize()
      Returns the size of this DCT (length of data vectors).
      Returns:
      the size of this DCT