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

조회 수: 3 (최근 30일)
priya
priya 2014년 3월 29일
답변: Image Analyst 2014년 3월 29일
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

답변 (1개)

Image Analyst
Image Analyst 2014년 3월 29일
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