A semi-automated methodology for discontinuity trace detection in digital images of rock mass exposures