how to find the histogram of the each blocks of the gray image that is divided into 4 parts?
1 次查看(过去 30 天)
显示 更早的评论
there are 4 blocks , and i want the histogram of these 4 blocks.
0 个评论
采纳的回答
更多回答(1 个)
Image Analyst
2015-1-12
[pixelCounts1, grayLevels1] = imhist(block1);
[pixelCounts2, grayLevels2] = imhist(block2);
[pixelCounts3, grayLevels3] = imhist(block3);
[pixelCounts4, grayLevels4] = imhist(block4);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!