cclabel icon indicating copy to clipboard operation
cclabel copied to clipboard

Performance

Open vsd-dev opened this issue 7 years ago • 2 comments

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

vsd-dev avatar Aug 20 '18 10:08 vsd-dev

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 avatar Aug 20 '18 16:08 spwhitt

@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.

vsd-dev avatar Aug 28 '18 05:08 vsd-dev