how to overlay segmented area's in color over grayscale image?

7 visualizaciones (últimos 30 días)
Vinny
Vinny el 29 de Mayo de 2014
Comentada: Image Analyst el 29 de Mayo de 2014
Hi , I have a grayscale image for which I need to do some segmentation and find cells. after which I need to show the segmented cells on top of the original image . but I need the perimeter of the cells to be in color and indexed so I can see how many cells I found.
I have done the segmentation and found the perimeters of the cells but how do I show them on top of the original image?
I got confused with the alphadata property and all other options.. thank you

Respuestas (2)

Image Analyst
Image Analyst el 29 de Mayo de 2014
  1 comentario
Image Analyst
Image Analyst el 29 de Mayo de 2014
If you just need the perimeters, use bwboundaries(), and then turn "hold on" and then use plot() to plot the outlines/boundaries/perimeters.

Iniciar sesión para comentar.


Matt J
Matt J el 29 de Mayo de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by