Histogram of ROI of an image

3 visualizaciones (últimos 30 días)
Tabish Raza
Tabish Raza el 1 de En. de 2013
Comentada: Andrew Choo el 1 de Sept. de 2015
Hello , can any one suggest best for , how to find histogram of ROI of an image

Respuestas (2)

Image Analyst
Image Analyst el 1 de En. de 2013
I use imhist(). Is your ROI rectangular, or free form? Let me know if you want a demo.
  4 comentarios
Inara
Inara el 15 de Feb. de 2013
Hi Image Analyst, It works great. Thank you very much! Kind Regards, Inara
Andrew Choo
Andrew Choo el 1 de Sept. de 2015
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.

Iniciar sesión para comentar.


Matt J
Matt J el 1 de En. de 2013
If ROImask is a logical mask for the ROI, you can do
histc(yourImage(ROImask),...)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by