How to find percentages of red, yellow, orange and green in an image?

2 visualizaciones (últimos 30 días)
I am doing image analysis on a few images of stained slides. I was hoping to find the percentage of the vessel that is red, green, yellow and orange. Any ideas on how to go about this? Thanks in advance for your help. As per a request, here's a link to the kind of picture I am dealing with. It is a picture of one of my stained slides.: http://tinypic.com/r/2mwi995/5 EDIT: for those that are interested, the differentiation of color allows us to determine the thickness of the collagen fibers. Each respective thickness has a different color. Any help would be appreciated
  5 comentarios
Matt Kindig
Matt Kindig el 19 de Jun. de 2013
For a first step, I would take a look at the demos that Image Analyst has posted to File Exchange. That should get you familiar with the basic functions of interest.
Siddharth
Siddharth el 19 de Jun. de 2013
Hey Matt, I uploaded an image to tiny pic as per your suggestion. I have edited the question and I am looking at those links you posted as well. Thank you and if you have any other input or ideas let me know. Thank you again.

Iniciar sesión para comentar.

Respuestas (1)

random09983492
random09983492 el 18 de Jun. de 2013
Hi Siddharth,
I would take a look at the imread function build into Matlab. For an RGB image of size M-by-N, it will import the image as an M-by-N-by-3 Matrix, where red, green, and, and blue are separated into each Z dimension of the imported image.
  1 comentario
Siddharth
Siddharth el 18 de Jun. de 2013
Hey Elliot, Thank you for your response. I have been looking into the function that you mention, I am just having trouble getting started. I'll look into it a bit more, but if you have any other further suggestions please let me know. I posted a picture of the stained slides on the comment thread. Thanks again!

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by