A method of determining the orientation of subject data in a
two-dimensional data set includes: determining a center of the subject
data; determining angles from the center to each subject data; generating
a frequency distribution based on the angles; and determining the
orientation of the subject data based on the frequency distribution.