A lens smear detection algorithm for a sequence of street view images