Module imagingbook.spectral
Package imagingbook.spectral.dct
package imagingbook.spectral.dct
1D and 2D implementations of the Discrete Cosine Transform.
-
ClassDescriptionInterface specifying all one-dimensional DCT implementations.Sub-interface for 1D DCT implementations operating on
double
data.Sub-interface for 1D DCT implementations operating onfloat
data.Calculates the 1D DFT using tabulated cosine values forfloat
ordouble
data (see sub-classesDct1dDirect.Float
andDct1dDirect.Double
, respectively).One-dimensional DCT implementation usingdouble
data.One-dimensional DCT implementation usingfloat
data.This is fast implementation of the DCT, based on the JTransforms package by Piotr Wendykier ( https://github.com/wendykierp/JTransforms).One-dimensional DCT implementation usingdouble
data.One-dimensional DCT implementation usingfloat
data.Calculates the 1D discrete cosine transform (DFT) ondouble
data.Common interface for all 2D DCT implementations.Sub-interface for 2D DCT implementations operating ondouble
data.Sub-interface for 2D DCT implementations operating onfloat
data.Direct (slow) implementation of the 2-dimensional DCT using tabulated cosine values.Two-dimensional DCT implementation usingdouble
data.Two-dimensional DCT implementation usingfloat
data.Fast implementation of the 2-dimensional DCT.Two-dimensional DCT implementation usingdouble
data.Two-dimensional DCT implementation usingfloat
data.