Closed ashwani-rathee closed 2 years ago
This is almost done for now, I'll merge this after few more checks and fixes tomorrow
Currently we are merging this to move forward with JPEG2000 task, quantizer are mostly optmized(have spent quite a bit of time on them already), albeit more time could be spent later.
This intends to solve the encoding operation for the gif file in Julia
After first commit, it's no good for us
Quantization, Unique functions are slow, might need to write quantization algorithm that return quantized image and colormap used. or something useful can be found in ImageSegmentation.jl. Makes sense to use staticarrays.
Some improvements in allocations after 2, use of inplace methods and removal of redundant functions helps :
But quantization and unique alone contribute 11 ms to gif_encode.