Re: Get border pixels of labelled region
Ok, I responded a bit quickly yesterday, So here's the doc from find_boundaries (you can get that by running `find_boundaries?` in an ipython) Definition:find_boundaries(label_img) Docstring:Return bool array where boundaries between labeled regions are True. So you see that find_boundaries work on a labeled image, so my guess is you first need to threshold your image, and only then find the boundaries. It's not clear from what you say what exactly you want to segment out of the image, but maybe your work flow would include some colorspace conversion (for exemple RGB to HSV), then a thresholding, and then find_boundaries)... Hope this helps, Guillaume Le 03/09/2013 09:02, Payal Gupta a écrit :
. i want to find the boundary of this fig
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. On Tue, Sep 3, 2013 at 12:45 PM, Guillaume Gay < guillaume@mitotic-machine.org> wrote:
Ok, I responded a bit quickly yesterday,
So here's the doc from find_boundaries (you can get that by running `find_boundaries?` in an ipython)
Definition:find_boundaries(**label_img) Docstring:Return bool array where boundaries between labeled regions are True.
So you see that find_boundaries work on a labeled image, so my guess is you first need to threshold your image, and only then find the boundaries.
It's not clear from what you say what exactly you want to segment out of the image, but maybe your work flow would include some colorspace conversion (for exemple RGB to HSV), then a thresholding, and then find_boundaries)...
Hope this helps, Guillaume
Le 03/09/2013 09:02, Payal Gupta a écrit :
. i want to find the boundary of this fig
-- 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<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<scikit-image%2Bunsubscribe@googlegroups.com> . For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> .
participants (2)
-
Guillaume Gay
-
Payal Gupta