Patent ID: 8300272
Filing Date: 2012-10-30
Classification: G06T

Abstract:
1. An image generating device for generating an image including a gradation, in which a color changes from a center of the gradation through annular areas, according to an image drawing instruction, comprising: an extraction unit configured to extract elliptical shape parameters specifying the elliptical shape including center coordinates of the elliptical shape and gradation pattern parameters specifying a gradation pattern to be drawn in the elliptical shape and including center coordinates of the gradation from the image drawing instruction, when the image drawing instruction includes an instruction for drawing a gradation in an elliptical shape, the center coordinates of the gradation is different from the center coordinates of the elliptical shape; a transformation matrix generating unit configured to generate a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the elliptical shape parameters extracted by the extraction unit; a transformation unit configured to transform the gradation pattern parameters extracted by the extraction unit using the transformation matrix generated by the transformation matrix generating unit; an area determination unit configured to determine a plurality of annular areas based on the transformed gradation pattern parameters transformed by the transformation unit, each of the annular areas is specified by an inner boundary line and an outer boundary line surrounding the inner boundary line, the inner boundary line is specified by center coordinates and a radius of a first perfect circular shape calculated by the transformed gradation pattern parameters transformed by the transformation unit, the outer boundary line is specified by center coordinates and a radius of a second perfect circular shape calculated by the transformed gradation pattern parameters transformed by the transformation unit, and the center coordinates of the second perfect circular shape are different from the center coordinates of the first perfect circular shape; a drawing unit configured to draw a perfect circular radial gradation by drawing each of the annular areas determined by the area determination unit in one color with one color value; an inverse matrix generating unit configured to generate an inverse matrix of the transformation matrix generated by the transformation matrix generating unit; and an inverse-transformation unit configured to generate an elliptical radial gradation by transforming the perfect circular radial gradation drawn by the drawing unit using the inverse matrix generated by the inverse matrix generating unit.