Method of detecting an internal point within a closed area
First Claim
1. A method of determining an internal point within a closed area, the method performed by a data processing system including a bit map memory and comprising the steps of:
- inputting a circumference of the closed area into the bit map memory as circumference bits corresponding to a plurality of successive picture elements; and
calculating coordinates of a bit in said bit map memory that corresponds to an internal point of said closed area on the basis of maximizing and minimizing in the horizontal and vertical axial directions of coordinates of the circumference bits, the calculating step further including the steps of;
determining a rectangle in the bit map memory that circumscribes said closed area;
setting one or more axes in the bit map memory extending parallel to each side of said rectangle; and
calculating the coordinates of the bit corresponding to the internal point within said closed area on a basis of coordinates and conditions of intersections between said axes and said circumference of said closed area.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of determining an internal point within a closed area, which includes the steps of drawing a circumference of a closed area on a bit map memory by bits corresponding to a plurality of successive picture elements, and calculating coordinates of an internal point of the closed area on the basis of maximizing and minimizing in the respective axial directions of coordinates of the picture elements constituting the circumference of the closed area. With the invention, a user only need draw an external form of a free form. It is unnecessary to indicate a start point of a painting out operation. Therefore, the operation of setting an area is simplified and erroneous operation is prevented.
15 Citations
6 Claims
-
1. A method of determining an internal point within a closed area, the method performed by a data processing system including a bit map memory and comprising the steps of:
-
inputting a circumference of the closed area into the bit map memory as circumference bits corresponding to a plurality of successive picture elements; and calculating coordinates of a bit in said bit map memory that corresponds to an internal point of said closed area on the basis of maximizing and minimizing in the horizontal and vertical axial directions of coordinates of the circumference bits, the calculating step further including the steps of; determining a rectangle in the bit map memory that circumscribes said closed area; setting one or more axes in the bit map memory extending parallel to each side of said rectangle; and calculating the coordinates of the bit corresponding to the internal point within said closed area on a basis of coordinates and conditions of intersections between said axes and said circumference of said closed area. - View Dependent Claims (2)
-
-
3. An apparatus for determining an internal point within a closed area, the apparatus comprising:
-
a bit map memory; means for inputting a circumference of the closed area into the bit map memory as circumference bits corresponding to a plurality of successive picture elements; and means for calculating coordinates of a bit corresponding to an internal point of said closed area on the basis of maximizing and minimizing in the horizontal and vertical axial directions coordinates of the circumference bits, said calculating means including; means for determining a rectangle in said bit map memory that circumscribes said circumference bits, means for determining horizontal and vertical axes in the bit map memory that extend parallel to each side of said rectangle, and means for calculating coordinates of a bit corresponding to the internal point on a basis of coordinates and conditions of intersections between said horizontal and vertical axes and said circumference bits. - View Dependent Claims (4)
-
-
5. A method for determining an internal point within a closed area, the method performed by a data processor having a bit map memory and comprising the steps of:
-
inputting circumference bits corresponding to a circumference of the closed area into the bit map memory; determining bits in the bit map memory defining a rectangle that circumscribes said circumference bits; determining a horizontal axis and a vertical axis in the bit map memory that extend parallel to respective sides of the rectangle; and calculating coordinates of a bit corresponding to the internal point on a basis of coordinates and conditions of intersections between said axes and said circumference bits. - View Dependent Claims (6)
-
Specification