Image processing apparatus, image processing method, and image processing program
AssigneeKabushiki Kaisha Toshiba
InventorYoshiyuki Kokojima
Life of this patent
Estimating the term…
Abstract
A image processing apparatus has a first data generation unit which generates triangular data by making straight line contours and curved contours triangles by analyzing the straight line contours and the curved contours with respect to vector format graphic data, a second data generation unit which generates stencil data from the triangular data, and a third data generation unit which generates raster format graphic data with reference to the stencil data.
Claims8
An image processing apparatus, comprising:
- a first data generation unit which generates triangular data by analyzing straight line contours and curved contours with respect to vector format graphic data and making the straight line contours and the curved contours triangles;
- a second data generation unit which generates stencil data from the triangular data;
- a third data generation unit which generates raster format graphic data with reference to the stencil data;
- a first storage unit which stores the vector format graphic data;
- a second storage unit which stores the triangular data generated by the first data generation unit;
- a third storage unit which stores the stencil data generated by the second data generation unit;
- and
- a fourth storage unit which stores the raster format graphic data generated by the third data generation unit, wherein
- the first data generation unit generates at least one polygon by analyzing the straight line contours of the vector format graphic data, and generates a plurality of triangles with respect to each polygon in such a manner that one vertex of a polygon is made to be a common vertex of the plurality of triangles, the common vertex and all other vertices are connected with straight lines, and two vertices coupled to each other become a side of one triangle, and
- the second data generation unit generates the stencil data by bit-inverting pixels at the inside of said plurality of triangles stored in the third storage unit, and by bit-inverting only pixels at the inside of the curved contours triangles to which concave or convex areas of curves belong, where said areas are generated on the basis of the curved contours and stored in the third storage unit.
An image processing method of an image processing device, the method comprising:
- analyzing, by the image processing device, straight line contours and curved contours with respect to vector format graphic data, and generating triangular data by making the straight line contours and the curved contours triangles;
- generating, by the image processing device, stencil data from the triangular data;
- generating, by the image processing device, raster format graphic data with reference to the stencil data;
- storing in a first storage unit the vector format graphic data;
- storing in a second storage unit the generated triangular data;
- storing in a third storage unit the generated stencil data;
- and
- storing in a fourth storage unit the generated raster format graphic data, wherein the generating the triangular data includes generating at least one polygon by analyzing the straight line contours of the vector format graphic data, and generating a plurality of triangles with respect to each polygon in such a manner that one vertex of a polygon is made to be a common vertex of the plurality of triangles, the common vertex and all other vertices are connected with straight lines, and two vertices coupled to each other become a side of one triangle, and
- the generating the stencil data includes generating the stencil data by bit-inverting pixels at the insides of said plurality of triangles stored in the third storage unit, and by bit-inverting only pixels at the inside of the curved contours triangles to which concave or convex areas of curves belong, where said areas are generated on the basis of the curved contours and stored in the third storage unit.
A computer readable storage medium having embedded therein computer executable instructions, wherein the instructions, when executed by a processor, cause the processor to perform a method comprising:
- analyzing straight line contours and curved contours with respect to vector format graphic data, and generating triangular data by making the straight line contours and the curved contours be triangles;
- generating stencil data from the triangular data;
- generating raster format graphic data with reference to the stencil data;
- storing in a first storage unit the vector format graphic data;
- storing in a second storage unit the generated triangular data;
- storing in a third storage unit the generated stencil data;
- and
- storing in a fourth storage unit the generated raster format graphic data, wherein the generating the triangular data includes generating at least one polygon by analyzing the straight line contours of the vector format graphic data, and generating a plurality of triangles with respect to each polygon in such a manner that one vertex of a polygon is made to be a common vertex of the plurality of triangles, the common vertex and all other vertices are connected with straight lines, and two vertices coupled to each other become a side of one triangle, and
- the generating the stencil data includes generating the stencil data by bit-inverting pixels at the insides of said plurality of triangles stored in the third storage unit, and by bit-inverting only pixels at the inside of the curved contours triangles to which concave or convex areas of curves belong, where said areas are generated on the basis of the curved contours and stored in the third storage unit.
Dependencies are inferred from the claim text.