On the extraction and alignment of image edges.