How to calculate and plot the histogram of DCT coefficients of an image?

9 vues (au cours des 30 derniers jours)
How to calculate and plot the histogram of DCT coefficients of an image?

Réponse acceptée

Walter Roberson
Walter Roberson le 24 Avr 2017
Calculate the coefficients with dct(). Call histogram() with them.
  2 commentaires
Mohsin Shah
Mohsin Shah le 24 Avr 2017
can you explain it with an example?
Walter Roberson
Walter Roberson le 24 Avr 2017
Img = imread('cameraman.tif');
y = dct(double(Img));
histogram(y)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by