필터 지우기
필터 지우기

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 CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by