import Image
from skimage import segmentation as seg,io,filter
imge = io.imread("IMG_1.jpg")
thresh = filter.threshold_otsu(imge)
binary = imge> thresh
edge_canny = filter.canny(binary)
bimg =seg.find_boundaries(binary)
print(bimg)
fig, (ax0, ax1) = plt.subplots(ncols=2)
ax0.imshow(bimg,cmap=plt.cm.gray)
On 3 Sep 2013 11:45, "Payal Gupta" <erpayal2010@gmail.com> wrote:
>
> thanks it working but i confused when i use function of skimage library. i want to change rgb image to a graylevel image but inbuilt function rgb2gray not convert gray level image.
> reply.If you want help on this list, please provide code examples of what you are attempting.
Stéfan
--
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/rXRS0KT2PdU/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.