MATLAB Answers

0

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

Asked by Mohsin Shah on 24 Apr 2017
Latest activity Commented on by Walter Roberson
on 24 Apr 2017
How to calculate and plot the histogram of DCT coefficients of an image?

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 24 Apr 2017
 Accepted Answer

Calculate the coefficients with dct(). Call histogram() with them.

  2 Comments

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

Sign in to comment.