Implementing LSL for Connected Component Labeling/Blob Extraction
问题 I am trying to implement the Light Speed Labeling algorithm from https://www.lri.fr/~lacas/Publications/JRTIP10.pdf. I tried to follow the algorithmic approach described in the paper as closely as possible (pgs 9-12) but the output doesn't make sense after the equivalence stage. Anyone have any idea what the problem is? void segment(const unsigned * Xi, const unsigned& N, unsigned * ERi, unsigned *RLCi, unsigned& ner) { unsigned x1 = 0; unsigned f = 0; unsigned er = 0; for (unsigned j = 0; j