Automatic detection of oblique shocks and simple waves in schlieren images of two-dimensional supersonic steady flows