Description Usage Arguments Value Author(s) References Examples
DCT2D computes two dimensional discrete cosine transformation. IDCT2D computes two dimensional inverse discrete cosine transformation.
1 2 3 |
imormat |
a grayscale image of class cimg or a numeric matrix |
returnmat |
if returnmat is TRUE, returns numeric matrix. if FALSE, returns a grayscale image of class cimg. |
a grayscale image of class cimg or a numeric matrix
Shota Ochi
Makhoul, J. (1980). A fast cosine transform in one and two dimensions. IEEE Transactions on Acoustics, Speech, and Signal Processing. 28 (1): 27-34.
1 2 3 4 5 |
Loading required package: imager
Loading required package: magrittr
Attaching package: ‘imager’
The following object is masked from ‘package:magrittr’:
add
The following objects are masked from ‘package:stats’:
convolve, spectrum
The following object is masked from ‘package:graphics’:
frame
The following object is masked from ‘package:base’:
save.image
[1] 2.665872e-32
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.