FindSegment

Locates a pair of Edge within an image region and computes the arc distance between them. FindSegment forms a one-dimensional projection of the image region by summing pixel values in the x-direction of the region. Edge transitions are extracted from the projected image data. The arc segment over which the edge-to-edge distance is computed is derived from the region used to extract the edges.