Color edge detection using the minimal spanning tree