Accelerated Mean Shift for static and streaming environments