System for representing line drawings by polygonal lines
First Claim
1. A system for representing line drawings by polygonal lines comprising:
- picture element connection data forming means for scanning a binary digital image in a main scanning direction to form sets of picture element connection data, each set having a start point picture element where a background picture element value of the image changes to a drawing picture element value and having an end point picture element where the drawing picture element value changes to the background picture element value, said start point picture element and said end point picture element of each set of picture element connection data lying in one scanning line in the main scanning direction;
picture element block data forming means for detecting relationships between sets of picture element connection data which are adjacent in a direction perpendicular to said main scanning direction and for forming picture element block data from sets of picture element connection data having predetermined relationships;
straight segment determining means for determining from each picture element block data whether or not the picture element block thereof represents a straight segment; and
straight line approximating means for providing straight line approximation data according to both the uppermost element connection data and the lowermost picture element connection data in said picture element block in response to a determination by said straight segment determining means that said picture element block represents a straight segment.
0 Assignments
0 Petitions
Accused Products
Abstract
A system for representing line drawings by polygonal lines. In the system, a binary digital image is scanned in a main scanning direction to form picture element connection data with a first image picture element as a start point picture element which is scanned next to a first background picture element and with a second background picture element as an end point picture element which is scanned next to a second image picture element, and the relationships between the picture element connection data are detected to provide as picture element block data a group of picture element connection data which have predetermined relationships. Further, it is determined from each picture element block data whether or not the picture element block thereof represents a straight segment, and straight line approximation data is provided according to both the uppermost picture element connection data and the lowermost picture element connection data in the picture element block when it is determined that the picture element block represents a straight segment, whereby parts of the drawing to be represented by polygonal lines are detected and processed with high efficiency.
-
Citations
12 Claims
-
1. A system for representing line drawings by polygonal lines comprising:
-
picture element connection data forming means for scanning a binary digital image in a main scanning direction to form sets of picture element connection data, each set having a start point picture element where a background picture element value of the image changes to a drawing picture element value and having an end point picture element where the drawing picture element value changes to the background picture element value, said start point picture element and said end point picture element of each set of picture element connection data lying in one scanning line in the main scanning direction; picture element block data forming means for detecting relationships between sets of picture element connection data which are adjacent in a direction perpendicular to said main scanning direction and for forming picture element block data from sets of picture element connection data having predetermined relationships; straight segment determining means for determining from each picture element block data whether or not the picture element block thereof represents a straight segment; and straight line approximating means for providing straight line approximation data according to both the uppermost element connection data and the lowermost picture element connection data in said picture element block in response to a determination by said straight segment determining means that said picture element block represents a straight segment. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for representing line drawings by polygonal lines comprising:
-
scanning a binary digital image in a main scanning direction to form sets of picture element connection data by detecting a start point picture element where the background picture element value of the image changes to the drawing picture element value and by detecting an end point picture element where the drawing picture element value changes to the background picture element value, said start point picture element and said end point picture element of each set of picture element connection data lying in one scanning line in the main scanning direction; forming picture element block data by detecting relationships between sets of picture element connection data which are adjacent in a direction perpendicular to said main scanning direction and by forming picture element blocks from said sets of picture element connection data having predetermined relationships; determining from each picture element block data whether or not the picture element block represents a straight segment; and providing straight line approximation data according to both the uppermost picture element connection data and the lowermost picture element connection data in said picture element block in response to a determination in said determining step that said picture element block represents a straight segment. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification