convex-hull-image

convex_hull_image

skimage.morphology.convex_hull_image(image) [source]

Compute the convex hull image of a binary image.

The convex hull is the set of pixels included in the smallest convex polygon that surround all white pixels in the input image.

Parameters:

image : (M, N) array

Binary input image. This array is cast to bool before processing.

Returns:

hull : (M, N) array of bool

Binary image with pixels in convex hull set to True.

References

[R296] http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-notes/
doc_scikit_image
2017-01-12 17:20:34
Comments
Leave a Comment

Please login to continue.