How to calculate and plot the histogram of DCT coefficients of an image?
5 views (last 30 days)
Show older comments
Mohsin Shah
on 24 Apr 2017
Commented: Walter Roberson
on 24 Apr 2017
How to calculate and plot the histogram of DCT coefficients of an image?
0 Comments
Accepted Answer
Walter Roberson
on 24 Apr 2017
Calculate the coefficients with dct(). Call histogram() with them.
2 Comments
Walter Roberson
on 24 Apr 2017
Img = imread('cameraman.tif');
y = dct(double(Img));
histogram(y)
More Answers (0)
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!