Propose a technique for detecting gaps of length ranging between 1 and L pixels in line segments of gradient image. Assume that the background is constant, that all lines have been coded with the same intensity level, and that the lines are 1 pixel thick. Base your technique on 8- neighbor connectivity analysis.