obtaining magnitude of histogram plot

1 回表示 (過去 30 日間)
divya r
divya r 2012 年 7 月 25 日
I have plot the histogram of an image using imhist() function. I want to obtain the magnitude of the histogram plot. imhist() returns 2 arguments : counts and x.
img=imread('C:\Users\Divya\Desktop\1_2_1.bmp');
img1=rgb2gray(img);
[counts x]=imhist(img1,20000);
counts and x both are 20000*1 array. It does not provide information about the whole image
Any pointers on how i can obtain this data?

回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by