how to find the histogram of the each blocks of the gray image that is divided into 4 parts?

 採用された回答

sachit
sachit 2015 年 1 月 12 日

0 投票

use "imhist" command for every block.

1 件のコメント

user06
user06 2015 年 1 月 12 日
ho we can use "imhist" to each block.? i have divided the the image into the blocks then how can i use "imhist"to each block can u plz give an example.?

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2015 年 1 月 12 日
[pixelCounts1, grayLevels1] = imhist(block1);
[pixelCounts2, grayLevels2] = imhist(block2);
[pixelCounts3, grayLevels3] = imhist(block3);
[pixelCounts4, grayLevels4] = imhist(block4);

質問済み:

2015 年 1 月 12 日

回答済み:

2015 年 1 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by