A Contrast Based Algorithm For Synthetic Range Profile Motion Compensation