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

 採用された回答

Walter Roberson
Walter Roberson 2017 年 4 月 24 日

0 投票

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

2 件のコメント

Mohsin Shah
Mohsin Shah 2017 年 4 月 24 日
can you explain it with an example?
Walter Roberson
Walter Roberson 2017 年 4 月 24 日
Img = imread('cameraman.tif');
y = dct(double(Img));
histogram(y)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by