필터 지우기
필터 지우기

Histogram of ROI of an image

조회 수: 8 (최근 30일)
Tabish Raza
Tabish Raza 2013년 1월 1일
댓글: Andrew Choo 2015년 9월 1일
Hello , can any one suggest best for , how to find histogram of ROI of an image

답변 (2개)

Image Analyst
Image Analyst 2013년 1월 1일
I use imhist(). Is your ROI rectangular, or free form? Let me know if you want a demo.
  댓글 수: 4
Inara
Inara 2013년 2월 15일
Hi Image Analyst, It works great. Thank you very much! Kind Regards, Inara
Andrew Choo
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
Matt J 2013년 1월 1일
If ROImask is a logical mask for the ROI, you can do
histc(yourImage(ROImask),...)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by