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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 24 Apr. 2017
Calculate the coefficients with dct(). Call histogram() with them.

2 Kommentare

can you explain it with an example?
Img = imread('cameraman.tif');
y = dct(double(Img));
histogram(y)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by