1. A method of detecting an edge of a geological characteristic in a borehole comprising, in respect of an image log of a length of a borehole, carrying out the steps of a gradient-based edge detection method.