Is posible to use "DCT" on general matrix data?
Mostra commenti meno recenti
Dear all.
I have some problem to ask you about DCT processing on matrix data.
I can find only dct for image processing only, but no for matrix processing.
for example
I have a matrix like
1 2 3 1
4 5 6 2
7 8 9 3
**** This matrix is not Image matrix.
So, if I want to do DCT on this matrix to reduce from 3X4 to 3X1.
Is it possible to do?
Best.
Risposte (1)
Wayne King
il 13 Feb 2012
You can use dct2() from the Image Processing Toolbox on a matrix.
X = randn(16,16);
Y = dct2(X);
You do not tell us what you are trying to use for the DCT, but I'm guessing from the error message that you are not using a MathWorks' function.
1 Commento
N K
il 14 Feb 2012
Categorie
Scopri di più su Image Transforms in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!