BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a functional block diagram illustrating an image processing apparatus according to an embodiment of the present invention.
FIGS. 2A to 2E illustrate the manner in which a binary image is processed using outline vectors.
FIGS. 3A to 3F are diagrams illustrating a vector process of a line art image according to an embodiment of the present invention.
FIG. 4 is a diagram illustrating components of an image processing apparatus according to an embodiment.
FIG. 5 is a diagram illustrating the structure of a contour-vector-data extractor according to an embodiment.
FIG. 6 is a diagram illustrating a target pixel and pixels adjacent to the target pixel according to an embodiment.
FIGS. 7A to 7D are diagrams illustrating examples of contour points extracted from terminal points and contour-point information attached to the contour points.
FIGS. 8A to 8D are diagrams illustrating examples of contour points detected at portions other than the terminal points and contour-point information attached to the contour points.
FIG. 9 illustrates a table of the contour-point information according to an embodiment.
FIG. 10 is a diagram illustrating an example of an extraction pattern (case 0) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 11 is a diagram illustrating examples of extraction pattern (case 1) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 12 is a diagram illustrating examples of extraction pattern (case 2) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 13 is a diagram illustrating examples of extraction pattern (case 3) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 14 is a diagram illustrating examples of extraction pattern (case 4) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 15 is a diagram illustrating examples of extraction pattern (case 5) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 16 is a diagram illustrating examples of extraction pattern (case 6) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 17 is a diagram illustrating examples of extraction pattern (case 7) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 18 is a diagram illustrating examples of extraction pattern (case 8) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 19 is a diagram illustrating examples of extraction pattern (case 9) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 20 is a diagram illustrating examples of extraction pattern (case 10) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 21 is a diagram illustrating examples of extraction pattern (case 11) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 22 is a diagram illustrating examples of extraction pattern (case 12) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 23 is a diagram illustrating examples of extraction pattern (case 13) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 24 is a diagram illustrating examples of extraction pattern (case 14) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 25 is a diagram illustrating examples of extraction pattern (case 15) of contour points and contour-point information in accordance with the states of the target pixel and the pixels adjacent to the pixel in the contour-vector-data extraction process.
FIG. 26 is a flowchart illustrating the overall operation of a contour vector data extraction process according to an embodiment.
FIG. 27 is a flowchart of a vector sequence extraction process according to an embodiment.
FIG. 28 is a flowchart of a process performed in the vector sequence extraction process according to an embodiment.
FIG. 29 is a diagram illustrating an example of a data format of contour vector sequences and contour-point information according to an embodiment.
FIG. 30 is a flowchart of a process performed by the skeletonized-vector-data generator according to an embodiment.
FIG. 31 is a diagram illustrating an example of a line element, a contour vector data sequence, contour-point information, and a skeletonized vector sequence.
FIGS. 32A and 32B are diagrams illustrating artificial contour points inserted next to the start and end terminal points.
FIG. 33 is a flowchart illustrating a process performed by an artificial-vector-inserted data generator according to an embodiment.
FIG. 34 is a flowchart illustrating a process of generating artificial vectors to be inserted in series from the end terminal point to the start terminal point according to an embodiment.
FIG. 35 is a diagram illustrating the artificial vectors inserted in series from the end terminal point to the start terminal point.
FIG. 36 is a diagram illustrating the artificial vectors inserted in series from the end terminal point to the start terminal point.
FIGS. 37A and 37B are diagrams illustrating examples of data formats of the artificial-vector-inserted data and the smoothed vector data.