how to merge image and lines plotted on that into one image?

1 visualizzazione (ultimi 30 giorni)
i have a image, on that i plotted many lines. i need to segment this image based on the lines drawn on that image.my image is separate and the plots on that is separate.how to merge these two into single image so that i can do segmentation on that

Risposte (1)

Image Analyst
Image Analyst il 29 Mar 2014
If you plotted the lines, then you have their coordinates and you can send those into poly2mask to get binary images that will segment the image. Then use regionprops() to measure things.

Community Treasure Hunt

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

Start Hunting!

Translated by