[scilab-Users] Finding continuous parts in a mask (ie a binary matrix)
ray joseph
ray at aarden.us
Fri Mar 11 00:04:59 CET 2011
Antoinek
Great feedback! It is wonderful to close the loop.
ray
-----Original Message-----
From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr]
Sent: Wednesday, March 09, 2011 2:12 AM
To: users at lists.scilab.org
Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary
matrix)
Thanks to all of you.
I got it working thanks to Stéphane who mentionned the image processing
toolbox of matlab.
It helped me identify what I was looking for (bwlabel aka a flood fill
algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd
ed., Addison-Wesley, 1998, pp. 11-20).
In the end I used the source of the octave bwlabel package as a base.
Cheers,
Antoine
More information about the users
mailing list