摘要 |
PURPOSE: To shape an input figure so that the figure becomes symmetrical about an axis of symmetry by automatically extracting the axis of symmetry from the optional figure that a user draws without paying attention to the axis of symmetry. CONSTITUTION: A symmetry axis candidate calculating means 22 calculates all symmetry axis candidates which possibly become the axis of symmetry on the basis of feature quantities of the input figure. A symmetry decision segment calculating means 23 calculates groups of points on the input figure which are grouped so as to decide the symmetry for the symmetry axis candidates and calculates symmetry decision segments obtained by connecting points of the calculated groups by straight lines. A symmetry axis distance calculating means 24 calculates the distances between the midpoints of the symmetry decision segments and symmetry axis candidates and a symmetry axis angle calculating means 25 calculates the differences of the angles between the symmetry decision segments and symmetry axis candidates from 90 deg.. A symmetry decision means 26 totally judges the distances and angle differences found by the symmetry decision segments as to the symmetry axis candidates to decide the axis of axial symmetry of the input figure. A symmetrizing process means 27 shapes the input figure so that the figure becomes axially symmetrical about the found axis of symmetry. |