Histogram of ROI of an image
8 次查看(过去 30 天)
显示 更早的评论
Hello , can any one suggest best for , how to find histogram of ROI of an image
0 个评论
回答(2 个)
Image Analyst
2013-1-1
I use imhist(). Is your ROI rectangular, or free form? Let me know if you want a demo.
4 个评论
Andrew Choo
2015-9-1
Hi Image Analyst. Can I have a linear ROI instead of a freehand one for this code? And also, is there a way to compare the intensity values of 2 similar roi with a histogram at the same time? Thank you! Your code has helped me greatly.
Matt J
2013-1-1
If ROImask is a logical mask for the ROI, you can do
histc(yourImage(ROImask),...)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!