Covex Hull and Bounding Box , how to show the results?

1 回表示 (過去 30 日間)
mustafa alnasser
mustafa alnasser 2013 年 1 月 6 日
Dear All;
how can we show the results of convex hull and bounding box after using the function regionprops. in other words , how can i see it in a figure showing the polygon that enclose the points and bounding box .
Thanks and Best Regards;
Mustafa

回答 (2 件)

Matt J
Matt J 2013 年 1 月 6 日
編集済み: Matt J 2013 年 1 月 6 日
You could use the PATCH command (with FaceColor set to 'none' if you only want the edges displayed, and EdgeColor set to something bright).

Image Analyst
Image Analyst 2013 年 1 月 6 日
You can use plot() to draw the outlines in the overlay. See my BlobsDemo image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

カテゴリ

Help Center および File ExchangeBounding Regions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by