blur_ratio function

Measure blur ratio in the time domain