A crack detection and diagnosis methodology for automated pavement condition evaluation