hi Juan..
image = io.imread("IMG_2.jpg")
i attach a image.
 
thresh = filter.threshold_otsu(image)
binary = image > thresh

 thresholding do b'coz of i want binary image.
 
imag= color.colorconv.rgb2grey(binary)
img = array(imag)

it done b'coz after thresholding image have some rgb component but after do rgb2grey no rgb component so i do this.
 
 

contours = measure.find_contours(imag,0.9,'high')

i want close contour array like in matlab bwboundaries  works. do you know it?
print contours
fig, (ax0, ax1) = plt.subplots(ncols=2)
ax0.imshow(imag ,cmap=plt.cm.gray)
ax0.set_title('Roberts Edge Detection')
ax0.axis('off')
ax1.imshow(edge_canny, cmap=plt.cm.gray)
ax1.set_title('Sobel Edge Detection')
ax1.axis('off')

see the attachment ...
reply me