1. A method for detecting planar events from an image using a Hough transform technique comprising the steps of: a. Specifying an upper and a bottom reference curve that border the pattern corresponding to said planar event to delimit a subset of the 3D Hough accumulator array corresponding to the whole borehole image; b. Computing the accumulator matrix for said subset; c. Computing a 1D average trace representing the extrema of the subset of the Hough transform accumulator for each depth; and d. Searching in the 1D average trace the extrema beyond a given threshold, and; e. For each extremum in the 1D average trace, getting the horizontal coordinates of the point of the 3D Hough accumulator corresponding to this extremum at depth Zi, said horizontal coordinates representing a detected pattern.