Cubic B-spline multi-scale edge detection