MATLAB Answers

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

조회 수: 2(최근 30일)
user06
user06 12 Jan 2015
답변: Image Analyst 12 Jan 2015
there are 4 blocks , and i want the histogram of these 4 blocks.

  댓글 수: 0

로그인 to comment.

채택된 답변

sachit
sachit 12 Jan 2015
use "imhist" command for every block.

  댓글 수: 1

user06
user06 12 Jan 2015
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.?

로그인 to comment.

추가 답변(1개)

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

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by