A ridge is a crest-like structure formed by adjacent pixels having intensity signals that are maximum in a neighborhood, said pixels having specific dispositions the ones with respect to the others resulting in specific gradient values with respect to orientations.