Segmentation and matching of moving vehicles from complex outdoor scenes