フィルターのクリア

What is the difference between convhull and bwconvhull functions?

1 回表示 (過去 30 日間)
Srinivas Reddy
Srinivas Reddy 2018 年 2 月 15 日
編集済み: Steven Lord 2018 年 2 月 15 日
How can I use the function 'convhull' to get the output as shown in the figure?
I've used the function 'bwconvhull' for getting the output but it ended up as:

採用された回答

Steven Lord
Steven Lord 2018 年 2 月 15 日
編集済み: Steven Lord 2018 年 2 月 15 日
You can't. Your hull isn't convex; a line drawn between the base of the wrist on the right side and the tip of the thumb would go outside your hull.
Perhaps you want to use alphaShape instead to get a shape that more closely follows the outline of the hands in your images? Note that alphaShape works on coordinates, not images, so you'd need to pass in the coordinates of the points in the hands as the input.

その他の回答 (0 件)

カテゴリ

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