watershed issue

jip jeanpatrick.pommier at gmail.com
Fri Dec 30 08:39:25 EST 2011


Dear Emmanuelle,

Sorry for the delay.
I have rewritten a clearer script 
<https://docs.google.com/open?id=0B-YDFMbEy1grODU1Y2U0OTgtMzk1MS00MzkxLTliOWItYmMyOTNlOGI3ODRj>I 
hope. 
First, it takes a 12bits image<https://docs.google.com/open?id=0B-YDFMbEy1grNWJlYTkwYzYtMjk0ZS00NGVlLWFjMzktMmU3OWU1ODgwMDhm>(cy3 in the archive), isolates a region andremoves the background<https://docs.google.com/open?id=0B-YDFMbEy1grNDZjOWZjZjAtMGVmMS00ZTM2LTgwYzctMjZkM2JiMjFmYjBh>
.
Regional maxima are found to get markers for watershed.
Three kind of maps are also prepared.
Each map, with the markers image, is submitted to the watershed 
algorithm.Segmentation is performed with watershed as indicated here<http://scikits-image.org/docs/dev/auto_examples/plot_watershed.html#example-plot-watershed-py>, 
as follow:
segmentation=watershed(map,markers,mask)
map:grayscale image
markers:label image
mask:binary image

The skimage and the scipy implementation are tested with the following 
result (see image<https://docs.google.com/open?id=0B-YDFMbEy1grZmExNjU5NTAtMWIyZi00ZTAxLWJjZGUtYmNiY2ZkODdmN2Fh>
).

Thank you for your help.
Best regards

Jean-Patrick Pommier
http://dip4fish.blogspot.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20111230/bc40a508/attachment.html>


More information about the scikit-image mailing list