# US 2009/0244576 A1 · Image generating device, image generating method and printing device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0244576 A1
- Document ID: US20090244576A1
- Status: Published application
- Kind: A1
- Application number: 12/412,345
- Filed: 2009-03-26
- Published: 2009-10-01
- Earliest claimed: 2008-03-31
- Assignees: Brother Kogyo Kabushiki Kaisha
- Inventors: Sadaaki Miyazaki
- Web page: https://patentgrep.com/patent/US20090244576A1

## CPC

- G06T 11/10: Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77)
- G06T 11/23: using straight lines or curves
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An image generating device comprises an acquisition unit which acquires an image drawing instruction for drawing an elliptical radial gradation from accepted target data, an extraction unit which extracts elliptical shape parameters and gradation pattern parameters from the acquired image drawing instruction, a transformation matrix generating unit which generates a transformation matrix for transforming an elliptical shape specified by the elliptical shape parameters into a perfect circular shape based on the elliptical shape parameters, an inverse matrix calculating unit which calculates an inverse matrix of the transformation matrix, a transformation unit which transforms the gradation pattern parameters using the transformation matrix, a drawing unit which draws a gradation for the perfect circular shape based on the transformed gradation pattern parameters, and a gradation generating unit which generates the elliptical radial gradation by inversely transforming the perfect circular shape (including the gradation drawn by the drawing unit) using the inverse matrix.

## Claims

### Claim 1

An image generating device comprising:
a target data accepting unit that accepts target data including an image drawing instruction for drawing an elliptical radial gradation;
an acquisition unit that acquires the image drawing instruction from the accepted target data;
an extraction unit that extracts elliptical shape parameters specifying an elliptical shape of the elliptical radial gradation and gradation pattern parameters specifying a gradation pattern to be drawn in the elliptical shape from the acquired image drawing instruction;
a transformation matrix generating unit that generates a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the elliptical shape parameters;
an inverse matrix calculating unit that calculates an inverse matrix of the transformation matrix;
a transformation unit that transforms the gradation pattern parameters by use of the transformation matrix;
a drawing unit that draws a gradation for the perfect circular shape, obtained by the transformation of the elliptical shape by the transformation matrix, based on the transformed gradation pattern parameters transformed by the transformation unit; and
a gradation generating unit that generates the elliptical radial gradation by inversely transforming the perfect circular shape, in which the gradation has been drawn by the drawing unit, by use of the inverse matrix.

### Claim 2 (depends on 1)

The image generating device according to claim 1, wherein:
the gradation pattern parameters include positional information on a center of the gradation drawn in the elliptical shape, and
the image generating device further comprises a setting unit that sets a transformed center of the gradation obtained by the transformation by the transformation unit, which is determined by the positional information on the center of the gradation after being transformed by the transformation unit, on a coordinate axis intersecting the center of the perfect circular shape, and
the drawing unit draws the gradation in the perfect circular shape by calculating a center position of each perfect circle, to be drawn with a uniform color, along the coordinate axis.

### Claim 3 (depends on 1)

The image generating device according to claim 1, wherein:
the target data accepting unit is configured to accept target data described according to XML Paper Specification, and
the image generating device further comprises an instruction judgment unit which judges that the acquired image drawing instruction includes an instruction for drawing an elliptical radial gradation if the acquired image drawing instruction includes a RadialGradientBrush element, and
the extraction unit extracts, from the RadialGradientBrush element, center coordinates, a major axis radius and a minor axis radius of the elliptical shape, as the elliptical shape parameters while extracting center coordinates of the gradation as the gradation pattern parameters.

### Claim 4

A printing device comprising an image generating unit that generates an image and a printing unit that prints the image generated by the image generating unit on a print medium, wherein the image generating unit includes:
a target data accepting unit that accepts target data including an image drawing instruction for drawing an elliptical radial gradation;
an acquisition unit that acquires the image drawing instruction from the accepted target data;
an extraction unit that extracts elliptical shape parameters specifying an elliptical shape of the elliptical radial gradation and gradation pattern parameters specifying a gradation pattern to be drawn in the elliptical shape from the acquired image drawing instruction;
a transformation matrix generating unit that generates a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the elliptical shape parameters;
an inverse matrix calculating unit that calculates an inverse matrix of the transformation matrix;
a transformation unit that transforms the gradation pattern parameters by use of the transformation matrix;
a drawing unit that draws a gradation in the perfect circular shape, obtained by the transformation of the elliptical shape by the transformation matrix, based on the transformed gradation pattern parameters transformed by the transformation unit; and
a gradation generating unit that generates the elliptical radial gradation by inversely transforming the perfect circular shape, in which the gradation has been drawn by the drawing unit, by use of the inverse matrix.

### Claim 5 (depends on 4)

The printing device according to claim 4, wherein:
the gradation pattern parameters include positional information on a center of the gradation drawn in the elliptical shape, and
the image generating unit further includes a setting unit that sets a transformed center of the gradation obtained by the transformation by the transformation unit, which is determined by the transformed positional information obtained by the transformation by the transformation unit, on a coordinate axis intersecting a center position of the perfect circular shape, and
the drawing unit draws the gradation in the perfect circular shape by calculating a center position of each perfect circle, to be drawn with a uniform color along the coordinate axis.

### Claim 6 (depends on 4)

The printing device according to claim 4, wherein:
the target data accepting unit is configured to accept target data described according to XML Paper Specification, and
the image generating unit further includes an instruction judgment unit which judges that the acquired image drawing instruction includes an instruction for drawing an elliptical radial gradation if the acquired image drawing instruction includes a RadialGradientBrush element, and
the extraction unit extracts, from the RadialGradientBrush element, center coordinates, a major axis radius and a minor axis radius of the elliptical shape, as the elliptical shape parameters, while extracting center coordinates of the gradation as the gradation pattern parameters.

### Claim 7

An image generating method comprising:
a target data accepting step of accepting target data including an image drawing instruction for drawing an elliptical radial gradation;
an acquisition step of acquiring the image drawing instruction from the accepted target data;
an extraction step of extracting elliptical shape parameters specifying an elliptical shape of the elliptical radial gradation and gradation pattern parameters specifying a gradation pattern to be drawn in the elliptical shape from the acquired image drawing instruction;
a transformation matrix generating step of generating a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the elliptical shape parameters;
an inverse matrix calculating step of calculating an inverse matrix of the transformation matrix;
a transformation step of transforming the gradation pattern parameters by use of the transformation matrix;
a drawing step of drawing a gradation in the perfect circular shape, obtained by the transformation of the elliptical shape by the transformation matrix, based on the transformed gradation pattern parameters; and
a gradation generating step of generating the elliptical radial gradation by inversely transforming the perfect circular shape, in which the gradation has been drawn by the drawing step, by use of the inverse matrix.

### Claim 8 (depends on 7)

The image generating method according to claim 7, wherein:
the gradation pattern parameters include positional information on a center of the gradation drawn in the elliptical shape, and
the image generating method further comprises a setting step of setting a transformed center position of the gradation obtained by the transformation by the transformation step, which is determined by the transformed positional information obtained by the transformation by the transformation step, on a coordinate axis intersecting a center position of the perfect circular shape, and
the drawing step draws the gradation in the perfect circular shape by calculating a center position of each perfect circle, to be drawn with a uniform color along the coordinate axis.

### Claim 9 (depends on 7)

The image generating method according to claim 7, wherein:
the target data accepting step is configured to accept target data described according to XML Paper Specification, and
the image generating method further comprises an instruction judgment step of judging that the acquired image drawing instruction includes an instruction for drawing an elliptical radial gradation if the image drawing instruction acquired by the acquisition step includes a RadialGradientBrush element, and
the extraction step extracts, from the RadialGradientBrush element, center coordinates, a major axis radius and a minor axis radius of the elliptical shape, as the elliptical shape parameters, while extracting center coordinates of the gradation as the gradation pattern parameters.
