spwhitt/cclabel

Performance

Opened this issue · 2 comments

Hi, how to increase performance? It takes large time as image resolution goes high.

I haven't looked at this code in a long time, but I would guess it would benefit from being implemented in C. Also, I'd bet you could make good use of SIMD operations or implement on the GPU. These are fun ideas but if you just want something to use maybe try scikit-image's implementation:

http://scikit-image.org/docs/stable/api/skimage.measure.html#label

@spwhitt Thanks. I tried to improve the perfomance by cythonisong the code. But it didn't worked well. I will look into other alternatives as you mentioned.