Søren Hauberg wrote: > Hi (good to see you on the lists again) > > Sorry about the late reply; things have been a bit hectic in > real-life... > > lør, 23 01 2010 kl. 00:08 -0600, skrev Muthiah Annamalai: > >> I've been dormant for years now on Octave lists. I just >> thought there might be general interest in this problem of counting >> features in a binary image. I think you can do this in Matlab (TM) >> using bwconncomp(bw, 4) as documented here: >> http://www.mathworks.com/access/helpdesk/help/toolbox/images/f0-8778.html . >> > > This is definitely of interest (it seems to be one of the most common > things people do with binary images). For quite a while, I've had a C++ > implementation of the boundary tracing algorithm for Octave lying > around. Just when I was ready to submit it to the 'image' package, I > realised that Matlab had a function ('bwboundaries') for this, and since > I didn't have the time to make my code compatible and didn't submit it. > Until I read your mail I had completely forgotten about this. > > Anyway, I'm attaching some code for boundary tracing. I think we should > make that code compatible with Matlab, and then implement 'bwconncomp' > as a wrapper. Do you agree with this? > > Søren > Hello Søren, Great to see your prior work on this area. I would like to see these specific binary image connected component codes implemented as well.
I did not study your code, but it seems to be faster than my queue based version at initial glance. I agree we should use it as the starting point and write wrappers around this. Matlab compatibility with imaging toolbox might be a nice feature for people willing to cross over :-). For present keeping the b/w image connected component functions like labeling, connected component identification and boundary detection are an excellent target. Best, -Muthu ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
