Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. from skimage import io
  2. from skimage.color import rgb2gray
  3. from skimage.morphology import convex_hull_image
  4.  
  5. original = io.imread('test.png')
  6.  
  7. image = rgb2gray(original)
  8.  
  9. chull = convex_hull_image(image)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement