Menu

#77 more efficient single pass algorithm for ccNcompt

None
closed
nobody
None
1
2022-04-14
2013-07-13
ricker
No

ccNcompt currently uses a 2-pass algorithm, but there is a more efficient single pass algorithm described in "A linear-time component-labeling algorithm using contour tracing technique" (2004):
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.95.6330

And here is an implementation in C: http://www.codeproject.com/Tips/407172/Connected-Component-Labeling-and-Vectorization

Discussion

  • Karl Glazebrook

    Karl Glazebrook - 2013-07-16

    That's fine to add a new one pass algorithm but please give it a new function name! (The old one has stood the test of time.)

     
  • Chris Marshall

    Chris Marshall - 2013-08-10

    Ticket moved from /p/pdl/bugs/333/

     
  • Chris Marshall

    Chris Marshall - 2013-10-06

    Lowering the priority but performance improvement contributions are always welcome. Leaving the request ticket open in case someone wishes to follow up further.

     
  • Chris Marshall

    Chris Marshall - 2013-10-06
    • Group: feature_request -->
    • Priority: 5 --> 1
     
  • mohawk

    mohawk - 2022-04-14
     
  • mohawk

    mohawk - 2022-04-14
    • status: open --> closed
     

Log in to post a comment.