My implementation of MeanShift++ from the paper Extremely Fast Mode-Seeking and a spatial Meanshift akin to OpenCV's pyrMeanShiftFiltering
It is written in Rust with Pyo3 and Rayon for parallel processing. MeanShift++ is fast, the spatial meanshift is far slower in comparison but is useful for image processing, it considers the pixels that are within the search window.
Both are slow compared to GPU based alternatives.
I tested the proessing time:
Mean-Shift-Spatial: 00m:27s.329ms
Mean-Shift++: 00m:06s.257ms
Wouldn't recomend both of them in production though.
Orginal Image


