IP Library Granted Patent US 8,907,955
Granted Patent B2
US 8,907,955 · App. 13/125,836 · Granted Dec 9, 2014

Vector image drawing device, vector image drawing method, and recording medium

Inventor: Hiroshi Fujiwara (Osaka, JP)
Assignees: NEC Soft, Ltd.; NEC Solution Innovators, Ltd.
G06T11/40
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,907,955
App. No.
13/125,836
Granted
Dec 9, 2014
Kind
B2
Abstract

A vector image drawing device has the following configuration. A contour generation unit ( 104 ), based on vector data, generates contour data that represents the starting pixels on a scan line in a drawing area where fill-in starts, and the ending pixels where fill-in ends. An outline buffer ( 106 ) stores the number of starting or ending pixels in the contour data for fill-in for each drawn pixel. An error judgment unit ( 2 ), when storing the contour data in the outline buffer ( 106 ), determines in which pixel there is overflow in the outline buffer of contour data. A pixel position transfer unit ( 3 ) adds the numerical value of the overflow portion of a pixel that the error judgment unit ( 2 ) determined to have overflow to the numerical value of contour data that corresponds to a pixel.

Claims (33)

1. A vector image drawing device comprising:

a contour generation unit that, based on vector data, generates contour data that represents starting pixels on a scan line in a drawing area where fill-in starts, and ending pixels where fill-in ends;

an outline buffer that stores the number of starting or ending fill-in points of the contour data for each drawn pixel;

a judgment unit that, when storing the contour data in the outline buffer, determines in which pixel there is overflow in the outline buffer of contour data; and

a setting unit that adds the numerical value of the overflow portion of a pixel that the judgment unit determined to have overflow to the numerical value of contour data that corresponds to a pixel adjacent to the pixel in which overflow occurred,

wherein the contour generation unit comprises a drawing processing unit that:

generates numerical values for data representing the start of fill-in and data representing the end of fill-in such that the signs differ from each other,

sequentially adds contour data stored in the outline buffer for each pixel along a scan line in the drawing area, and

generates drawing data for each pixel that indicates whether or not fill-in is performed.

2. The vector image drawing device according to claim 1 , comprising

the judgment unit that, when the setting unit adds to the numerical value of contour data of the adjacent pixel, recursively determines whether or not overflow occurs in the outline buffer of that pixel according to the added result; and wherein

the setting unit, when the judgment unit determines that the overflow occurs, adds the numerical value of the overflow portion in the contour data to the numerical value of the contour data of a pixel with no overflow that is on the same scan line as the pixel for which overflow was determined to occur and that is closest to that pixel, and sets the result.

3. A vector image drawing method comprising:

a contour generation step of, based on vector data, generating contour data that represents starting pixels on a scan line in a drawing area where fill-in starts, and ending pixels where fill-in ends;

a storage step of storing the number of starting or ending fill-in points of the contour data for each drawn pixel in an outline buffer;

a judgment step of, when storing the contour data in the outline buffer, determining in which pixel there is overflow in the outline buffer of contour data; and

a setting step of adding the numerical value of the overflow portion of a pixel that the judgment step determined to have overflow to the numerical value of contour data that corresponds to a pixel adjacent to the pixel in which overflow occurred,

wherein the contour generation step comprises a drawing processing step of

generating numerical values for data representing the start of fill-in and data representing the end of fill-in such that the signs differ from each other,

sequentially adding contour data stored in the outline buffer for each pixel along a scan line in the drawing area, and

generating drawing data for each pixel that indicates whether or not fill-in is performed.

4. The vector image drawing method according to claim 3 , comprising

The judgment step that, when the setting step adds to the numerical value of contour data of the adjacent pixel, recursively determines whether or not overflow occurs in the outline buffer of that pixel according to the added result; and wherein

in the setting step, when the overflow is determined to occur in the judgment step, the numerical value of the overflow portion in the contour data is added to the numerical value of the contour data of a pixel with no overflow that is on the same scan line as the pixel for which overflow was determined and that is closest to that pixel, and the result is set.

5. A recording medium on which a program is recorded that causes a computer to execute:

a contour generation step of, based on vector data, generating contour data that represents starting pixels on a scan line in a drawing area where fill-in starts, and ending pixels where fill-in ends;

a storage step of storing the number of starting or ending fill-in points of the contour data for each drawn pixel in an outline buffer;

a judgment step of, when storing the contour data in the outline buffer, determining in which pixel there is overflow in the outline buffer of contour data of a pixel; and

a setting step of adding the numerical value of the overflow portion of a pixel that the judgment step determined to have overflow to the numerical value of contour data that corresponds to a pixel adjacent to the pixel in which overflow occurred,

wherein the contour generation step comprises a drawing processing step of

generating numerical values for data representing the start of fill-in and data representing the end of fill-in such that the signs differ from each other,

sequentially adding contour data stored in the outline buffer for each pixel along a scan line in the drawing area, and

generating drawing data for each pixel that indicates whether or not fill-in is performed.

Assignments (2)
MERGER AND CHANGE OF NAME Recorded Jul 10, 2014
From: NEC SYSTEM TECHNOLOGIES, LTD.; NEC SOFT, LTD.
To: NEC SOLUTION INNOVATORS, LTD.
Reel/Frame 033285/0512 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2011
From: FUJIWARA, HIROSHI
To: NEC SYSTEM TECHNOLOGIES, LTD.
Reel/Frame 026185/0930 →
Priority Claims (1)
JP 2008-287185 · Nov 7, 2008 · national
Continuity (1)
Related Publication 20110205232A1 · Aug 25, 2011