Get the masks of the region between two lines
3 ビュー (過去 30 日間)
古いコメントを表示
Here is an image where two lines are drawn. I want to generate a binary mask for the region enclosed by the two lines. Is there a specialized function for achiving this purpose?

1 件のコメント
回答 (1 件)
Jyotsna Talluri
2020 年 3 月 30 日
Create a polygonal ROI on the image by specifying the vertices of the ROI using the position property, or you can draw the ROI interactively using draw function. Refer to the below documentation links for creating ROI.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!