Techniques to find boundaries in images during image processing. Image boundaries are characterized by chains of pixels with similar values, whose immediate neighbours have sharply different values. Most techniques focus on straight boundaries with a specific orientation, such as horizontal, vertical, or diagonal. See also edge enhancement.