Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from skimage import io
- from skimage.color import rgb2gray
- from skimage.morphology import convex_hull_image
- original = io.imread('test.png')
- image = rgb2gray(original)
- chull = convex_hull_image(image)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement