Skip to content

raphi-web/mean-shift-plus-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Spatial Mean Shift

Spatial Mean Shift

Mean Shift++

About

A implementation of Meanshift++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published