how to find the histogram of the each blocks of the gray image that is divided into 4 parts?
Show older comments
there are 4 blocks , and i want the histogram of these 4 blocks.
Accepted Answer
More Answers (1)
Image Analyst
on 12 Jan 2015
[pixelCounts1, grayLevels1] = imhist(block1);
[pixelCounts2, grayLevels2] = imhist(block2);
[pixelCounts3, grayLevels3] = imhist(block3);
[pixelCounts4, grayLevels4] = imhist(block4);
Categories
Find more on Neighborhood and Block Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!