IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM
First Claim
1. An image processing apparatus adapted to execute image processing which converts a raw image into vector data, the image processing apparatus comprising:
- a segmentation unit adapted to segment the raw image into region images for each attribute;
a cutout unit adapted to cut out region images segmented by the segmentation unit according to attribute from the raw image;
a determination unit adapted to determine at least one representative color configuring the region image cut out by the cutout unit, based on an appearance color of the region image;
an image extraction unit adapted to extract a color image having the representative color determined by the determination unit from the region image;
a contour line extraction unit adapted to extract a contour line of a color image extracted by the image extraction unit;
an edge image extraction unit adapted to extract an edge image within the region image;
a correction unit adapted to correct a contour line extracted by the contour line extraction unit based on an edge image extracted by the edge image extraction unit; and
a generation unit adapted to generate vector data of the region image using contour lines corrected by the correction unit.
1 Assignment
0 Petitions
Accused Products
Abstract
An image processing apparatus, image processing method, and program which enable generation of vector data capable of replicating a clipart region of a raw image as faithfully as possible are provided. To accomplish this, a raw image is segmented into region images according to attributes. From the segmented region images, a region image having a predetermined attribute is cut out from the raw image. At least one representative color which configures the predetermined region image is decided based on an appearance color of the cut out predetermined region image. A color image having the decided representative color is extracted from the predetermined region image. A contour line of the extracted color image is extracted. An edge image within the predetermined region image is extracted. The extracted contour line is corrected based on the extracted edge image. Using the corrected contour line, vector data of the predetermined region image is generated.
88 Citations
13 Claims
-
1. An image processing apparatus adapted to execute image processing which converts a raw image into vector data, the image processing apparatus comprising:
-
a segmentation unit adapted to segment the raw image into region images for each attribute;
a cutout unit adapted to cut out region images segmented by the segmentation unit according to attribute from the raw image;
a determination unit adapted to determine at least one representative color configuring the region image cut out by the cutout unit, based on an appearance color of the region image;
an image extraction unit adapted to extract a color image having the representative color determined by the determination unit from the region image;
a contour line extraction unit adapted to extract a contour line of a color image extracted by the image extraction unit;
an edge image extraction unit adapted to extract an edge image within the region image;
a correction unit adapted to correct a contour line extracted by the contour line extraction unit based on an edge image extracted by the edge image extraction unit; and
a generation unit adapted to generate vector data of the region image using contour lines corrected by the correction unit. - View Dependent Claims (2, 3, 4)
-
-
5. An image processing method for converting a raw image into vector data, the image processing method comprising the steps of:
-
segmenting the raw image into region images for each attribute;
cutting out region images segmented in the segmentation step according to attribute from the raw image;
determining at least one representative color configuring the region image cut out in the cutout step, based on an appearance color of the cut-out region image;
extracting a color image having the representative color determined in the determination step from the region image;
extracting a contour line of a color image extracted in the image extraction step;
extracting an edge image within the region image;
correcting a contour line extracted in the contour line extraction step based on an edge image extracted in the edge image extraction step; and
generating vector data of the region image using contour lines corrected in the correction step.
-
-
6. A computer-readable storage medium storing a computer program for controlling an image processing apparatus executing image processing for converting a raw image into vector data, the program causing a computer to execute the steps of:
-
segmenting the raw image into region images for each attribute;
cutting out region images segmented in the segmentation step according to attribute from the raw image;
determining at least one representative color configuring the region image cut out in the cutout step, based on an appearance color of the cut-out region image;
extracting a color image having the representative color determined in the determination step from the region image;
extracting a contour line of a color image extracted in the image extraction step;
extracting an edge image within the region image;
correcting a contour line extracted in the contour line extraction step based on an edge image extracted in the edge image extraction step; and
generating vector data of the region image using contour lines corrected in the correction step.
-
-
7. An image processing method for inputting a document image including a clipart image to an image processing apparatus to perform vectorization, the image processing method comprising the steps of:
-
region-segmenting the document image and selecting the clipart image;
extracting edge information from the clipart image;
forming an edge cluster based on the edge information;
segmenting a pixel portion of the clipart image other than the edge cluster into a plurality of clusters based on color characteristics;
fusing two or more clusters other than the edge cluster which are similar to each other; and
converting each cluster after region fusion to vector data based on a contour line and an internal color of each cluster. - View Dependent Claims (8, 9, 10, 11)
-
-
12. An image processing apparatus adapted to vectorize a document image including a clipart image, the image processing apparatus comprising:
-
an input unit adapted to input the document image;
a selection unit adapted to region-segment the document image and select the clipart image;
an extraction unit adapted to extract edge information from the clipart image;
an edge cluster formation unit adapted to form an edge cluster based on the edge information;
a segmentation unit adapted to segment a pixel portion of the clipart image other than the edge cluster into a plurality of clusters based on color characteristics;
a region fusion unit adapted to fuse two or more clusters other than the edge cluster which are similar to each other; and
a conversion unit adapted to convert each cluster after region fusion to vector data based on a contour line and an internal color of each cluster.
-
-
13. A computer-readable storage medium storing a computer program for causing a computer, which inputs a document image including a clipart image to perform vectorization, to execute the procedures of:
-
region-segmenting the document image and selecting the clipart image;
extracting edge information from the clipart image;
forming an edge cluster based on the edge information;
segmenting a pixel portion of the clipart image other than the edge cluster into a plurality of clusters based on color characteristics;
fusing two or more clusters other than the edge cluster which are similar to each other; and
converting each cluster after region fusion to vector data based on a contour line and an internal color of each cluster.
-
Specification