フィルターのクリア

How can I findout mean,standard deviation and variance using hiatogram of an image

1 回表示 (過去 30 日間)
kranthi kusuma
kranthi kusuma 2013 年 7 月 12 日
I have an image of 256X256. I constructed histogram for that image. Now I want extract parameters(mean, standard deviation and variance) using the histogram. Can anyone help. Thanks in advance
  1 件のコメント
Jan
Jan 2013 年 7 月 12 日
It depends on what "constructed histogram" eactly means. Is this available as diagram, vector, printed on paper or an image file? As far as this detailed is clear, it does not matter if the original data belong to an image or a set of stock prices.

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

回答 (1 件)

Iain
Iain 2013 年 7 月 12 日
Easier to do that straight from the image:
my_image = uint16(randn(128,128)*16383);
std_of_my_image = double(std(my_image(:)));
var_of_my_image = std_of_my_image^2;
mean_of_my_image = mean(my_image(:));

カテゴリ

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