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

3 vues (au cours des 30 derniers jours)
priya
priya le 29 Mar 2014
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

Réponses (1)

Image Analyst
Image Analyst le 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