Interface Dct1d.Float

All Superinterfaces:
Dct1d
All Known Implementing Classes:
Dct1dDirect.Float, Dct1dFast.Float
Enclosing interface:
Dct1d

public static interface Dct1d.Float extends Dct1d
Sub-interface for 1D DCT implementations operating on float data.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface imagingbook.spectral.dct.Dct1d

    Dct1d.Double, Dct1d.Float
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    checkSize(float[] a)
     
    void
    forward(float[] g)
    Performs an "in-place" 1D DCT forward transformation on the supplied data.
    void
    inverse(float[] G)
    Performs an "in-place" 1D DCT inverse transformation on the supplied spectrum.

    Methods inherited from interface imagingbook.spectral.dct.Dct1d

    getSize
  • Method Details

    • forward

      void forward(float[] g)
      Performs an "in-place" 1D DCT forward transformation on the supplied data. The input signal is replaced by the associated DFT spectrum.
      Parameters:
      g - the signal to be transformed (modified)
    • inverse

      void inverse(float[] G)
      Performs an "in-place" 1D DCT inverse transformation on the supplied spectrum. The input spectrum is replaced by the associated signal.
      Parameters:
      G - the spectrum to be transformed (modified)
    • checkSize

      default void checkSize(float[] a)