A system and method for finding edge orientation and magnitude, and
extracting a road path from an image. An image is segmented into at least
a first window and a second window. A first road segment having plural
parameters within the first window is specified. Plural road segments are
identified, each having plural parameters, in the second window. The
orientation of plural line segments in the second window are determined,
and paired, based on their orientation. The line segment orientations are
determined by receiving a plurality of edge orientation estimates,
transforming a portion of them, and aggregating the transformed portion
into an edge orientation estimate. A stochastic process is performed on
the plural parameters of the plural road segments to identify a second
road segment having the maximum correlation with the plural parameters of
the first road segment.