JP4969515B2 - Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium - Google Patents

Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium Download PDF

Info

Publication number
JP4969515B2
JP4969515B2 JP2008135887A JP2008135887A JP4969515B2 JP 4969515 B2 JP4969515 B2 JP 4969515B2 JP 2008135887 A JP2008135887 A JP 2008135887A JP 2008135887 A JP2008135887 A JP 2008135887A JP 4969515 B2 JP4969515 B2 JP 4969515B2
Authority
JP
Japan
Prior art keywords
gradation
pixel
outer edge
forming apparatus
image forming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008135887A
Other languages
Japanese (ja)
Other versions
JP2009282855A (en
Inventor
泰司 柳田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008135887A priority Critical patent/JP4969515B2/en
Publication of JP2009282855A publication Critical patent/JP2009282855A/en
Application granted granted Critical
Publication of JP4969515B2 publication Critical patent/JP4969515B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、画像形成装置、グラデーション図形画像描画方法、グラデーション図形画像描画プログラム、及び記録媒体の分野に関する。   The present invention relates to the fields of an image forming apparatus, a gradation graphic image drawing method, a gradation graphic image drawing program, and a recording medium.

図1は、楕円の定義を示す図である。楕円は、楕円の半径(x_radius,y_radius)、楕円の中心点(Center Origin)で表現される。図2は、楕円をベジェ曲線(Bezier Curve)に変換した場合の各制御点を示した図である。楕円をベジェ曲線に変換すると、12個の座標点をもつベジェ曲線に変換することで描画が可能である。なお、楕円だけでなく、円、矩形、三角形などの各図形も同様に定義されることが可能である(例えば、ベクター形式表現などとも言われる)。ユーザ端末からネットワークを介してプリンタに対し図形などを含む印刷データを送信するとき、このような図形の表現方法を利用すると、印刷データを少なくして印刷データを送信することができる。例えば、PDL(Page Description Language:ページ記述言語)では、プリンタに対してコマンド形式で描画を指示できる。印刷データを受信したプリンタは、定義から図形を再現し、印刷のため図形をピクセルデータ化してから印刷媒体などに印刷を行う。   FIG. 1 is a diagram illustrating the definition of an ellipse. An ellipse is represented by the radius of the ellipse (x_radius, y_radius) and the center point (Center Origin) of the ellipse. FIG. 2 is a diagram illustrating control points when an ellipse is converted into a Bezier curve. If an ellipse is converted into a Bezier curve, drawing can be performed by converting it into a Bezier curve having 12 coordinate points. Not only ellipses but also figures such as circles, rectangles, and triangles can be defined in the same way (for example, also referred to as vector format representation). When print data including graphics and the like is transmitted from the user terminal to the printer via the network, the print data can be transmitted by reducing the print data by using such a graphic representation method. For example, in PDL (Page Description Language), drawing can be instructed to the printer in a command format. The printer that has received the print data reproduces the figure from the definition, converts the figure into pixel data for printing, and then prints it on a print medium.

ここで印刷データに含まれる図形が、グラデーション図形であった場合について話を進める。プリンタは、例えば、PDL構文を解析してグラデーション図形が含まれていた場合には、グラデーション図形の描画(形成)を行なう。グラデーション図形の描画方法として、一般に、図形形状を外側から順に少しずつ小さくしながら描画する方法がある。例えば、図3に示される楕円図形では、外側の大きな楕円から小さな楕円へ順番に上書きしていくと、同じ領域に何度も上書き描画されることになる。つまり、内側の小さな楕円の領域は、それまで描画した外側の楕円図形の上に重ねて描画される。しかし、同じ領域を何度も描画するとメモリアクセスのオーバーヘッドが非常に大きくなるという問題があった。   Here, the case where the figure included in the print data is a gradation figure will be described. For example, if the printer analyzes the PDL syntax and a gradation figure is included, the printer draws (forms) the gradation figure. As a drawing method of a gradation figure, there is generally a method of drawing while gradually reducing the figure shape from the outside. For example, in the elliptical figure shown in FIG. 3, when the outer large ellipse is overwritten in order from the small ellipse, it is overwritten and drawn repeatedly in the same area. That is, the inner small ellipse region is drawn on the outer ellipse drawn so far. However, there is a problem that the memory access overhead becomes very large when the same area is drawn many times.

ここで、上書きされる箇所については最終的には見えない箇所であるので実際には描画されなくともよい。したがって、楕円図形が重ならないように複数に分割して描画する方法も知られている。図4は、複数に分割して楕円形状領域を作成して描画する様子を示したものである。楕円(楕円形状領域)401は、グラデーション楕円の最も外側の領域を同心円状(同心相似図形)に切り出したものである。楕円402は、楕円401の内側の同心円状の領域を重ならないように切り出したものである。楕円403は、楕円402の内側の同心円状の領域を重ならないように切り出したもので、それぞれを描画することで領域が重ならないよう描画する。このようにすることで、メモリアクセスを抑えることが可能である。   Here, the portion to be overwritten is a portion that cannot be seen in the end, so it does not have to be actually drawn. Therefore, a method is also known in which ellipse figures are divided into a plurality of parts so that they do not overlap. FIG. 4 shows a state in which an ellipse-shaped area is created by being divided into a plurality of areas and drawn. An ellipse (elliptical shape region) 401 is obtained by cutting out the outermost region of the gradation ellipse into concentric circles (concentric similar figures). An ellipse 402 is obtained by cutting out concentric regions inside the ellipse 401 so as not to overlap. An ellipse 403 is obtained by cutting out concentric regions inside the ellipse 402 so as not to overlap each other, and drawing each region so that the regions do not overlap. By doing so, memory access can be suppressed.

なお、グラデーションとは、濃淡の段階的な推移をいい、ここでいうグラデーション図形は、濃淡が段階的に推移する複数の色調を有して描画される図形である。   Note that gradation refers to a gradation change in gradation, and the gradation figure here is a figure drawn with a plurality of color tones where gradation changes in stages.

特許文献1、2に記載される発明は、グラデーション図形の描画の高速化を図るもので、これらの発明によれば、描画処理装置やプリンタ装置は、グラデーション図形を従来よりも高速に描画することが可能である。
特開2007−81886号公報 特開2003−072152号公報
The inventions described in Patent Documents 1 and 2 are intended to speed up the drawing of gradation figures. According to these inventions, the drawing processing device and the printer device draw gradation figures faster than before. Is possible.
JP 2007-81886 A JP 2003-0721152 A

ところで、上述した描画方法のどちらにおいても、プリンタで印刷するためには描画処理の中で形状領域をピクセルデータに変換する処理が必要となる。この処理は、スキャンラインコンバージョン(Scan line conversion)処理として知られている。一般に、スキャンラインコンバージョン処理は、コンピュータ(CPU)にとっての負荷は重い。   By the way, in either of the drawing methods described above, in order to print with a printer, a process of converting a shape area into pixel data is required in the drawing process. This process is known as a scan line conversion process. In general, scan line conversion processing places a heavy load on a computer (CPU).

図5は、1つの同心円の一部分(楕円形状領域)のピクセル化を示す図である。図5の楕円形状領域は、2つのベジェ曲線(外曲線と内曲線)を求めて、スキャンランコンバージョン処理を実施することでピクセルデータを得る。一般に、スキャンラインコンバージョン処理においては、以下の処理が実施される。
(1)ベジェ曲線を直線に近似する。曲線を小さな直線の集まりにすることで曲線を表現する。
(2) 直線が通る座標を求める。このアルゴリズムは、加算、減算のみで実数計算を含まないアルゴリズム(Digital Differential Analyzer)などを利用する方法がある。
(3)(2)で求めた座標をY座標でソーティング(Y座標が小さい順並び替え)を行う。
(4)内外判定処理、領域の内側と外側の判断処理。Winding法やEven-odd法などがある。
(5)スキャンライン図形をクリッピングする処理。
FIG. 5 is a diagram showing pixelation of a part of one concentric circle (elliptical area). In the elliptical region of FIG. 5, pixel data is obtained by obtaining two Bezier curves (outer curve and inner curve) and performing a scan run conversion process. Generally, in the scan line conversion process, the following process is performed.
(1) A Bezier curve is approximated to a straight line. A curve is expressed by making the curve into a collection of small straight lines.
(2) Find the coordinates through which the straight line passes. As this algorithm, there is a method of using an algorithm (Digital Differential Analyzer) which does not include real number calculation only by addition and subtraction.
(3) The coordinates obtained in (2) are sorted by Y coordinates (rearranged in order of decreasing Y coordinates).
(4) Inside / outside determination processing, determination processing inside and outside the region. There are Winding method and Even-odd method.
(5) Processing for clipping a scan line figure.

ここで、従来技術や特許文献1、2に記載される発明は、グラデーション図形を構成する各同心相似形状を求めるために、毎回スキャンラインコンバージョンを実施する必要があり、処理に時間がかかるという問題があった。例えば、図4に示すような楕円401、402、403といった複数の同心円状の図形を描画するにも、それぞれの同心円状の図形についてスキャンラインコンバージョン処理を実行しピクセルデータを求める必要があった。   Here, the prior art and the inventions described in Patent Documents 1 and 2 have a problem in that it is necessary to perform scanline conversion every time in order to obtain each concentric similarity shape constituting the gradation figure, and processing takes time. was there. For example, in order to draw a plurality of concentric figures such as ellipses 401, 402, and 403 as shown in FIG. 4, it is necessary to perform a scan line conversion process for each concentric figure to obtain pixel data.

そこで本発明では上記のような問題に鑑みて、グラデーション図形を構成する構成要素を効率的に描画して、グラデーション図形画像の描画処理の高速化を図る画像形成装置、グラデーション図形画像描画方法、グラデーション図形画像描画プログラム、及び記録媒体を提供することを目的とする。   Accordingly, in the present invention, in view of the above problems, an image forming apparatus, a gradation figure image drawing method, a gradation, which efficiently draws constituent elements constituting a gradation figure, and accelerates the drawing process of the gradation figure image It is an object to provide a graphic image drawing program and a recording medium.

そこで上記課題を解決するため、本発明に係る画像形成装置は、図形の外縁から中心点に向けて、又は図形の中心点から外縁に向けて、段階的に変化する色調から構成されるグラデーション図形の画像を形成する画像形成装置において、前記グラデーション図形のグラデーション描画幅を算出するグラデーション描画幅算出手段と、前記グラデーション描画幅算出手段により算出された前記グラデーション描画幅分、前記グラデーション図形の外縁線から内側に、前記外縁線に相似する相似形状線を算出する形状線算出手段と、前記外縁線と、前記形状線算出手段により算出された前記相似形状線とに囲まれる領域のみをピクセルデータに変換するピクセル変換手段と、前記ピクセル変換手段により変換された前記領域のピクセルデータに基づいて、前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成するピクセル生成手段と、前記ピクセル変換手段に変換された前記ピクセルデータ及び前記ピクセル生成手段により生成された前記ピクセルデータに対応する色を作成するグラデーション色作成手段とを有することを特徴とする。   Therefore, in order to solve the above-described problem, the image forming apparatus according to the present invention is a gradation figure composed of gradations that change stepwise from the outer edge of the figure toward the center point or from the center point of the figure toward the outer edge. In the image forming apparatus for forming the image, a gradation drawing width calculating means for calculating a gradation drawing width of the gradation figure, and the gradation drawing width calculated by the gradation drawing width calculating means, from an outer edge line of the gradation figure Inside, a shape line calculation means for calculating a similar shape line similar to the outer edge line, and only a region surrounded by the outer edge line and the similar shape line calculated by the shape line calculation means is converted into pixel data. Based on pixel data of the region converted by the pixel conversion means. And pixel generation means for generating inner pixel data from the outer edge line for each gradation drawing width, the pixel data converted by the pixel conversion means, and the pixel data generated by the pixel generation means. And a gradation color creating means for creating a color.

また上記課題を解決するため、前記画像形成装置において、前記形状線算出手段は、前記グラデーション描画幅を前記距離値で除算した値である変倍率に基づいて、前記外縁を縮小変倍し、前記相似形状線を算出することを特徴とする。   In order to solve the above-mentioned problem, in the image forming apparatus, the shape line calculating unit scales the outer edge based on a scaling factor that is a value obtained by dividing the gradation drawing width by the distance value, and A similar shape line is calculated.

また上記課題を解決するため、前記画像形成装置において、前記ピクセル変換手段で変換された前記ピクセルデータは、ランレングス形式に表現されることを特徴とする。   In order to solve the above problem, in the image forming apparatus, the pixel data converted by the pixel conversion unit is expressed in a run-length format.

また上記課題を解決するため、前記画像形成装置において、前記生成手段は、前記ランレングス形式のデータを縮小して前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成することを特徴とする。   In order to solve the above-mentioned problem, in the image forming apparatus, the generation unit reduces the run-length data and generates inner pixel data from the outer edge line for each gradation drawing width. To do.

また上記課題を解決するため、前記画像形成装置において、前記ランレングス形式のy座標のデータは、降順に並び替えられることを特徴とする。   In order to solve the above problem, in the image forming apparatus, the y-coordinate data in the run-length format is rearranged in descending order.

なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、などに適用したものも本発明の態様として有効である。   In addition, what applied the arbitrary combination of the component of this invention, expression, or a component to a method, an apparatus, a system, a computer program, a recording medium, etc. is also effective as an aspect of this invention.

本発明によれば、グラデーション図形を構成する構成要素を効率的に描画して、グラデーション図形画像の描画処理の高速化を図る画像形成装置、グラデーション図形画像描画方法、グラデーション図形画像描画プログラム、及び記録媒体を提供することができる。   According to the present invention, an image forming apparatus, a gradation graphic image drawing method, a gradation graphic image drawing program, and a recording that efficiently draw components constituting the gradation graphic to speed up the drawing processing of the gradation graphic image A medium can be provided.

以下、本発明を実施するための最良の形態を各実施形態において図面を用いて説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings in each embodiment.

(構成)
はじめに、具体的な発明の内容を説明する前に、本発明を実施するにあたってのネットワーク構成について説明する。図6は、本発明による画像形成装置1及びPC(Personal Computer)2がネットワーク3を介して接続されているネットワーク図である。画像形成装置1は、本発明に係る画像形成装置1である。本発明による画像形成装置1は、PC2からネットワーク3を介して送信されたPDLなどで記述された構文を含む印刷データを受けて、当該構文に基づいて(解析して)、画像形成を行い印刷を行なう。この際、描画しプリントすべき印刷データには、グラデーション図形が含まれている。この画像形成装置1についての詳細は後述する。PC2は、ユーザがネットワーク3を介し画像形成装置1を利用して印刷などを行う端末であり、一般的なPCである。ネットワーク3は、有線、無線を含むネットワークである。なお、図6は本発明の一実施形態を説明するにあたっての構成を示したものであり、PCは何台あってもよい。
(Constitution)
First, before describing specific contents of the present invention, a network configuration for carrying out the present invention will be described. FIG. 6 is a network diagram in which an image forming apparatus 1 and a PC (Personal Computer) 2 according to the present invention are connected via a network 3. The image forming apparatus 1 is the image forming apparatus 1 according to the present invention. The image forming apparatus 1 according to the present invention receives print data including syntax described in PDL or the like transmitted from the PC 2 via the network 3, and performs image formation and printing based on (analyze) the syntax. To do. At this time, gradation data is included in the print data to be drawn and printed. Details of the image forming apparatus 1 will be described later. The PC 2 is a terminal on which a user performs printing or the like using the image forming apparatus 1 via the network 3 and is a general PC. The network 3 is a network including wired and wireless. FIG. 6 shows a configuration for explaining an embodiment of the present invention, and there may be any number of PCs.

図7は、本発明による画像形成装置1の一実施形態の主要構成を示すハードウェア構成図である。画像形成装置1は、主要な構成として、画像形成装置1の制御を行なうコントローラ701に含まれるCPU702、ROM(Read Only Memory)703、RAM(Random Access Memory)704、NVRAM(Non-volatile Memory)705、補助記憶装置706、エンジンI/F(インターフェース)707、パネルI/F708、及びネットワークI/F709、並びにプリントエンジン711、パネル装置712を含む構成である。   FIG. 7 is a hardware configuration diagram showing the main configuration of an embodiment of the image forming apparatus 1 according to the present invention. The image forming apparatus 1 mainly includes a CPU 702, a ROM (Read Only Memory) 703, a RAM (Random Access Memory) 704, and an NVRAM (Non-volatile Memory) 705 included in a controller 701 that controls the image forming apparatus 1. , An auxiliary storage device 706, an engine I / F (interface) 707, a panel I / F 708, a network I / F 709, a print engine 711, and a panel device 712.

CPU702は、マイクロプロセッサ及びその周辺回路から構成され、プロジェクト管理サーバ1全体を制御する回路である。また、ROM703は、CPU702で実行される所定の制御プログラム(ソフトウェア部品)を格納するメモリであり、RAM704は、CPU702がROM703に格納された所定の制御プログラム(ソフトウェア部品)を実行して各種の制御を行うときの作業エリア(ワーク領域)として使用するメモリである。VRAM705は、印刷条件の各種設定情報を保存しておく不揮発性メモリである。   The CPU 702 includes a microprocessor and its peripheral circuits, and is a circuit that controls the entire project management server 1. The ROM 703 is a memory that stores a predetermined control program (software component) executed by the CPU 702. The RAM 704 executes various control operations by the CPU 702 executing a predetermined control program (software component) stored in the ROM 703. This is a memory used as a work area (work area) when performing. A VRAM 705 is a non-volatile memory that stores various setting information of printing conditions.

補助記憶装置705は、汎用のOS(Operating System)、各種プログラム、各種情報を格納する装置であり、不揮発性の記憶装置であるHDD(Hard Disk Drive)などが用いられる。なお、上記各種情報は、補助記憶装置705以外にも、CD−ROM(Compact Disk - ROM)やDVD(Digital Versatile Disk)などの記憶媒体やその他のメディアを記憶されてもよく、これらの記憶媒体に格納された各種情報は、記憶媒体読取装置(非図示)などのドライブ装置を介して読み取ることが可能である。よって、必要に応じて記録媒体を記憶媒体読取装置にセットすることで、各種情報が得られる。   The auxiliary storage device 705 is a device that stores a general-purpose OS (Operating System), various programs, and various types of information. For example, an HDD (Hard Disk Drive) that is a nonvolatile storage device is used. In addition to the auxiliary storage device 705, the various types of information may be stored in a storage medium such as a CD-ROM (Compact Disk-ROM) and a DVD (Digital Versatile Disk), and other media. Various kinds of information stored in can be read via a drive device such as a storage medium reader (not shown). Therefore, various information can be obtained by setting the recording medium in the storage medium reading device as necessary.

エンジンI/F707は、プリントエンジン711との印刷指示等を行うインターフェースである。パネルI/F708は、ユーザが各種入力操作を行うためのパネル装置712とのインターフェースである。パネル装置712は、マウス、キーボード、表示装置の表示画面上に重畳するように設けられたタッチパネルスイッチなどを含む。ネットワークI/F709は、ネットワーク3を介してPC2との通信を行うネットワークインターフェースであり、有線ネットワークや無線ネットワークなど含む各種ネットワーク形態に応じた通信をサポートする。   The engine I / F 707 is an interface that issues a print instruction with the print engine 711. The panel I / F 708 is an interface with the panel device 712 for the user to perform various input operations. Panel device 712 includes a mouse, a keyboard, a touch panel switch provided so as to be superimposed on the display screen of the display device, and the like. The network I / F 709 is a network interface that communicates with the PC 2 via the network 3 and supports communication according to various network forms including a wired network and a wireless network.

(機能)
本発明による画像形成装置1は、PC2からネットワーク3(及びネットワークI/F709)を介して送信されたPDLで記述された構文を含む印刷データを受けて、当該構文に基づいて画像形成を行い印刷を行なう。この際、描画しプリントすべき印刷データには、グラデーション図形が含まれている。本発明による画像形成装置1は、本発明に係る画像形成方法によりグラデーション図形を構成する構成要素(ピクセルデータ)を効率的に描画して、グラデーション図形画像の描画処理の高速化を図るものである。具体的には、本発明による画像形成装置1は、グラデーション図形を構成する同心相似形状の図形のピクセル(データ)を求める処理(スキャンラインコンバージョン処理)を一回だけ実行し、そのピクセル(データ)情報を拡大縮小(変倍)して利用することでグラデーション図形全体のピクセル形状(ピクセルデータ)を得る。なお、本実施形態において、図形は、上述した例でも用いた楕円図形を用いて説明する。よって、本実施形態による画像形成装置1は、グラデーション楕円を描画(形成)する処理を行う。以下、詳しく説明する。
(function)
The image forming apparatus 1 according to the present invention receives print data including syntax described in PDL transmitted from the PC 2 via the network 3 (and network I / F 709), forms an image based on the syntax, and performs printing. To do. At this time, gradation data is included in the print data to be drawn and printed. The image forming apparatus 1 according to the present invention efficiently draws components (pixel data) constituting a gradation graphic by the image forming method according to the present invention, thereby speeding up the gradation graphic image drawing process. . Specifically, the image forming apparatus 1 according to the present invention executes a process (scan line conversion process) for obtaining a pixel (data) of a concentric similar figure constituting a gradation figure only once, and the pixel (data). The pixel shape (pixel data) of the entire gradation figure is obtained by enlarging / reducing (scaling) the information. In the present embodiment, the graphic will be described using the elliptical graphic used in the above-described example. Therefore, the image forming apparatus 1 according to the present embodiment performs a process of drawing (forming) a gradation ellipse. This will be described in detail below.

図8は、本発明による画像形成装置1の一実施形態の主要機能を示す機能ブロック図である。画像形成装置1は、本発明に係る主要な機能として、構文解析部801、グラデーション形状作成部802、及びグラデーション色作成部803を有する。   FIG. 8 is a functional block diagram showing main functions of an embodiment of the image forming apparatus 1 according to the present invention. The image forming apparatus 1 includes a syntax analysis unit 801, a gradation shape creation unit 802, and a gradation color creation unit 803 as main functions according to the present invention.

構文解析部801は、印刷データに対してPDLなどの印刷に係る構文の種類ごとに構文解析を行い、印刷に係る情報の抽出を行なう。例えば、文字などのテキストや、イメージ、ベクターグラフィックスなどの描画データや、色、グラデーションパターン、透過設定などの描画設定情報の解析、抽出を行う。なお、PDL(ページ記述言語)は、プリンタに対して描画を指示するためのプログラミング言語の一つである。   The syntax analysis unit 801 performs syntax analysis on print data for each type of syntax related to printing, such as PDL, and extracts information related to printing. For example, it analyzes and extracts text such as characters, drawing data such as images and vector graphics, and drawing setting information such as colors, gradation patterns, and transparency settings. PDL (page description language) is one of programming languages for instructing a printer to perform drawing.

グラデーション形状作成部802は、構文解析部801から描画データや描画設定情報を取得し、グラデーション形状の作成を行なう。グラデーション形状の作成には、上述したスキャンラインコンバージョン処理によるピクセル(データ)化の処理も含まれる。よって、グラデーション形状作成部802により、描画データから、グラデーション形状を構成するピクセル(データ)が作成される。
詳しくは後述する。
The gradation shape creation unit 802 acquires drawing data and drawing setting information from the syntax analysis unit 801 and creates a gradation shape. The creation of the gradation shape includes pixel (data) processing by the scanline conversion processing described above. Therefore, the gradation shape creation unit 802 creates pixels (data) that form the gradation shape from the drawing data.
Details will be described later.

グラデーション色作成部803は、構文解析部801により解析された描画設定情報に基づいて、グラデーション形状作成部802で作成されたグラデーション形状を構成するピクセルデータの色を作成する。   The gradation color creation unit 803 creates the color of the pixel data constituting the gradation shape created by the gradation shape creation unit 802 based on the drawing setting information analyzed by the syntax analysis unit 801.

図9は、グラデーション形状作成部802を詳しく説明する図である。グラデーション形状作成部802は、グラデーション描画幅算出部901、形状線算出部902、ピクセル変換部903、及びピクセル生成部904を有する。   FIG. 9 is a diagram for explaining the gradation shape creation unit 802 in detail. The gradation shape creation unit 802 includes a gradation drawing width calculation unit 901, a shape line calculation unit 902, a pixel conversion unit 903, and a pixel generation unit 904.

グラデーション描画幅算出部901は、複数の色から構成されるグラデーション図形において、1色の色が連続するグラデーション描画幅を算出する。つまり、グラデーション図形は、ある色からある色へ連続的に色を変化させる色彩段階を有するが、グラデーション描画幅算出部801は、ある色が次のある色へ変化するまでの、当該同じ色を持つピクセルの数を算出する。   The gradation drawing width calculation unit 901 calculates a gradation drawing width in which one color is continuous in a gradation graphic composed of a plurality of colors. That is, the gradation figure has a color stage in which the color is continuously changed from a certain color to a certain color, but the gradation drawing width calculation unit 801 uses the same color until the certain color changes to the next certain color. Calculate the number of pixels you have.

形状線算出部902は、図形形状の定義から、グラデーション図形の外縁線である第一の図形形状を決定し、グラデーション描画幅算出部901で算出されたグラデーション描画幅から、前記外縁線に相似する相似形状線である第二の図形形状を算出する。例えば、第一の図形形状は大外(外縁)の楕円形状曲線(楕円を描く曲線)であるとき、第二の楕円形状は、大外の楕円形状の内側の楕円形状曲線であって、色が次の色へ変化する境界ラインでもある楕円形状の曲線である。ここで算出された楕円形状曲線は、例えば、3次ベジェ曲線などで表現される。   The shape line calculation unit 902 determines the first graphic shape that is the outer edge line of the gradation graphic from the definition of the graphic shape, and resembles the outer edge line from the gradation drawing width calculated by the gradation drawing width calculation unit 901. A second figure shape which is a similar shape line is calculated. For example, when the first figure shape is an oval (outer edge) oval shape curve (a curve that draws an ellipse), the second oval shape is an oval shape curve inside the oval oval shape, and the color Is an elliptical curve that is also a boundary line that changes to the next color. The elliptical curve calculated here is expressed by a cubic Bezier curve, for example.

ピクセル変換部903は、第一の図形形状及び第二の図形形状で囲まれて形成される領域をピクセルデータに変換する。即ち、ピクセル変換部903は、上述したいわゆるスキャンラインコンバージョン処理を行う機能部である。   The pixel conversion unit 903 converts a region formed by being surrounded by the first graphic shape and the second graphic shape into pixel data. That is, the pixel conversion unit 903 is a functional unit that performs the above-described scan line conversion process.

ピクセル生成部904は、ピクセル変換部903により変換されたピクセルデータに基づいて、当該図形形状の内側のピクセルデータを作成する。なお、ピクセル変換部903により変換されたピクセルデータを基として、ピクセル生成部904がピクセルデータの変倍(縮小変倍)を繰り返すことにより、グラデーション図形画像(全体)を構成するピクセルデータが作成されることになる。   The pixel generation unit 904 generates pixel data inside the graphic shape based on the pixel data converted by the pixel conversion unit 903. Based on the pixel data converted by the pixel conversion unit 903, the pixel generation unit 904 repeats scaling (reduction scaling) of the pixel data, so that pixel data constituting the gradation graphic image (entire) is created. Will be.

なお、これらの機能は、実際にはCPU702が実行するプログラム(画像形成プログラム)により実現されるものである。   Note that these functions are actually realized by a program (image forming program) executed by the CPU 702.

(グラデーション形状作成処理)
次に、本発明による画像形成装置1が、グラデーション図形画像(全体)を構成するピクセルデータを作成する処理の詳細について説明を行う。図10は、グラデーション形状作成部802による処理を示すフローチャートである。これを参照しつつ説明する。なお、本実施形態において、図形は、上述した例でも用いた楕円図形を用いて説明する。よって、本実施形態による画像形成装置1は、グラデーション楕円を描画(形成)する処理を行う。
(Gradation shape creation process)
Next, details of processing in which the image forming apparatus 1 according to the present invention creates pixel data constituting a gradation graphic image (entire) will be described. FIG. 10 is a flowchart showing processing by the gradation shape creation unit 802. This will be described with reference to this. In the present embodiment, the graphic will be described using the elliptical graphic used in the above-described example. Therefore, the image forming apparatus 1 according to the present embodiment performs a process of drawing (forming) a gradation ellipse.

まず、再び図1を用いて、楕円図形の定義について簡単に説明する。楕円図形の中心座標Center Originは、楕円パターンを開始する座標である。楕円図形の半径は2つの半径で定義される。半径(x_radius,y_radius)である。また、End Originは、楕円パターンを終了する座標である。なお、楕円図形のカラーグラデーションは、開始座標Center Originの色から、終了座標End Originの色まで線形的に変化する。以下、これを踏まえて説明する。   First, using FIG. 1 again, the definition of an elliptical figure will be briefly described. The center coordinate of the elliptical figure Center Origin is a coordinate at which the elliptical pattern starts. The radius of the ellipse figure is defined by two radii. Radius (x_radius, y_radius). End Origin is a coordinate at which the elliptic pattern ends. Note that the color gradation of the ellipse changes linearly from the color at the start coordinate Center Origin to the color at the end coordinate End Origin. This will be described below based on this.

ステップS1001―1003は、グラデーション描画幅算出部901が行なうステップである。ステップS1001で、Center Origin及びEnd Originの座標から2点間の距離を求める。この距離をGrad_widthとする。なお、図形の形状によって、距離が一意でない場合は最大の距離とする。   Steps S1001 to 1003 are steps performed by the gradation drawing width calculation unit 901. In step S1001, the distance between two points is obtained from the coordinates of Center Origin and End Origin. This distance is defined as Grad_width. If the distance is not unique depending on the shape of the figure, the maximum distance is used.

ステップS1002に進み、Center Originにおける色成分と、End Originにおける色成分の各成分ごとに差を求めて、その最大値をカラーの変化幅Color_widthとする。例えば、Center Originの色をRGBカラー(R,G,B)=(255, 100, 80)とし、End Originの色をRGBカラー(R,G,B)=(128, 50, 10)とすると、RGBに各成分毎に差をとると以下にようになる。
ΔR= 255 - 128 = 127
ΔG= 100 - 50 = 50
ΔB= 80 - 10 = 70
各差の最大値は、R成分の差127であるからこの場合、127がColor_widthになる。このように、ステップS1002では、Color_widthの値を求める。
In step S1002, a difference is obtained for each of the color component in Center Origin and the color component in End Origin, and the maximum value is set as a color change width Color_width. For example, if the color of Center Origin is RGB color (R, G, B) = (255, 100, 80) and the color of End Origin is RGB color (R, G, B) = (128, 50, 10) The difference between each component in RGB is as follows.
ΔR = 255-128 = 127
ΔG = 100-50 = 50
ΔB = 80-10 = 70
Since the maximum value of each difference is the R component difference 127, in this case, 127 is Color_width. Thus, in step S1002, the value of Color_width is obtained.

ステップS1003に進み、グラデーション描画幅を求める。グラデーション描画幅は、次のようにして求めることができる。
グラデーション描画幅 = Grad_width / Color_width
グラデーション描画幅は、カラーが変化するときの描画するピクセルと言える。また、この値の逆数は、1ピクセル描画するたびに変化する色の量になる。
In step S1003, a gradation drawing width is obtained. The gradation drawing width can be obtained as follows.
Gradation drawing width = Grad_width / Color_width
The gradation drawing width can be said to be a pixel to be drawn when the color changes. The reciprocal of this value is the amount of color that changes every time one pixel is drawn.

ステップS1011―1012は、形状線算出部902が行なうステップで、グラデーション描画幅から、内側の楕円形状曲線(前記外縁線に相似する相似形状線である第二の図形形状)を算出するものである。なお、この内側の楕円形状曲線は、外側の楕円形状曲線から続いていた色が変化する境界ラインでもある。図11は、2つの楕円形状曲線で囲まれた領域113を示す図である。外側の楕円形状曲線(曲線111)は、楕円図形の定義(楕円半径と中心点座標)から求められた楕円の外縁線である。そして、内側の楕円形状曲線(曲線112)は、以下のようにして求められる。   Steps S1011 to 1012 are steps performed by the shape line calculation unit 902, and calculate an inner oval shape curve (second figure shape which is a similar shape line similar to the outer edge line) from the gradation drawing width. . The inner elliptic curve is also a boundary line that changes from the outer elliptic curve. FIG. 11 is a diagram showing a region 113 surrounded by two elliptical curves. The outer elliptic curve (curve 111) is the outer edge line of the ellipse obtained from the definition of the ellipse figure (ellipse radius and center point coordinates). The inner elliptic curve (curve 112) is obtained as follows.

ステップS1011で、Scale_rateを求める。Scale_rateは、形状の変化の割合で、
Scale_rate = グラデーション描画幅 / Grad_width
によって求められる。
In step S1011, Scale_rate is obtained. Scale_rate is the rate of shape change,
Scale_rate = Gradation width / Grad_width
Sought by.

ステップS1012で、内側の楕円形状曲線(曲線112)の半径を求める。曲線111の半径にScale_rateを乗算することで、曲線112の半径が求まる。
内側の楕円形状曲線(曲線112)の半径X = x_radius * Scale_rate
内側の楕円形状曲線(曲線112)の半径Y = y_radius * Scale_rate
以上、内側の楕円形状曲線(曲線112)を求めることができる。曲線112は、曲線111に対して相似形なので、中心点座標は曲線111の中心点座標と同じである。
In step S1012, the radius of the inner elliptic curve (curve 112) is obtained. The radius of the curve 112 is obtained by multiplying the radius of the curve 111 by Scale_rate.
Radius X = x_radius * Scale_rate of inner elliptic curve (curve 112)
Radius of inner elliptic curve (curve 112) Y = y_radius * Scale_rate
As described above, the inner elliptical curve (curve 112) can be obtained. Since the curve 112 is similar to the curve 111, the center point coordinates are the same as the center point coordinates of the curve 111.

ステップS1021は、ピクセル変換部903が行なうステップである。第一の図形形状及び第二の図形形状で囲まれて形成される領域をピクセルデータに変換する。即ち、曲線111及び曲線112で囲まれる領域113のピクセルデータを求める。ピクセルデータへの変換処理はスキャンラインコンバージョン処理(公知技術)によれば良く、例えば、ピクセルデータへ変換されると、図12のようなランレングス形式のデータに変換される。図12は、「y」は各ピクセルのY座標の値、「sx」は求めた形状ピクセルの開始x座標、「ex」は求めた形状ピクセルの終了座標(描画ピクセルは終了座標含むことに注意)を表す。y=0は、x座標の10から19の間まで描画ピクセルがあることを示す。y=1は、x座標の9から20までの間まで描画ピクセルがあることを示す。y=2は、x座標の8から9まで描画ピクセルあり、かつx座標の20から21まで描画ピクセルあり、があることを示す。図13は、図12のランレングス形式のデータをピクセルデータで表現した図である。領域113をスキャンラインコンバージョンして得られたデータ(例えば、図12のランレングス形式のデータ)は、以降のグラデーション形状の作成に利用されるため保持しておく。   Step S1021 is a step performed by the pixel conversion unit 903. A region formed by being surrounded by the first graphic shape and the second graphic shape is converted into pixel data. That is, the pixel data of the region 113 surrounded by the curve 111 and the curve 112 is obtained. The conversion processing to pixel data may be performed by scanline conversion processing (a known technique). For example, when conversion to pixel data is performed, the data is converted to run-length data as shown in FIG. In FIG. 12, “y” is the Y coordinate value of each pixel, “sx” is the start x coordinate of the obtained shape pixel, “ex” is the end coordinate of the obtained shape pixel (note that the drawing pixel includes the end coordinate) ). y = 0 indicates that there are drawing pixels between 10 and 19 of the x coordinate. y = 1 indicates that there are drawn pixels between 9 and 20 in the x coordinate. y = 2 indicates that there are drawing pixels from 8 to 9 in the x coordinate, and there are drawing pixels from 20 to 21 in the x coordinate. FIG. 13 is a diagram representing the run-length data in FIG. 12 as pixel data. Data obtained by performing the scan line conversion on the area 113 (for example, data in the run length format in FIG. 12) is retained for use in the subsequent creation of gradation shapes.

ステップS1031―1036は、ピクセル生成部904が行なうステップである。ステップS1021で作成された2つの楕円形状曲線(曲線111及び曲線112)に囲まれた領域113に基づいて、内側の次なる領域のピクセル(データ)を求める。図14を用いて説明するならば、領域113−2のピクセル(データ)を求める。また、図4を用いて説明するならば、楕円(形状領域)401に相当する領域のピクセルデータは、ステップS1021において、ピクセル変換部903により得られた。本ステップでは、楕円401に相当する領域のピクセルデータに基づいて、楕円402に相当する領域のピクセルデータを求めるものである。また、楕円402に相当する領域のピクセルデータが得られたならば、同様に繰り返して、楕円403に相当する領域のピクセルデータを得る。以下、内側の次なる領域113_2のピクセル(データ)を求める処理について、図12、13、14を参照しつつ説明する。   Steps S1031-1036 are steps performed by the pixel generation unit 904. Based on the region 113 surrounded by the two elliptical curves (curve 111 and curve 112) created in step S1021, pixels (data) of the next inner region are obtained. If it demonstrates using FIG. 14, the pixel (data) of the area | region 113-2 will be calculated | required. In addition, as described with reference to FIG. 4, pixel data of an area corresponding to an ellipse (shape area) 401 is obtained by the pixel conversion unit 903 in step S1021. In this step, the pixel data of the area corresponding to the ellipse 402 is obtained based on the pixel data of the area corresponding to the ellipse 401. If the pixel data of the area corresponding to the ellipse 402 is obtained, the same process is repeated to obtain the pixel data of the area corresponding to the ellipse 403. Hereinafter, processing for obtaining pixels (data) of the next inner region 113_2 will be described with reference to FIGS.

ステップS1031に進み、領域113_2の開始行を求める。領域113_2の形状の描画が開始される行は、図12(領域113のピクセル位置を示すデータ)において、同じ行に2つのピクセルランデータがあるy行のうちy座標が最小の行からになる。具体的には、図12の例では、y=2が、描画開始ライン(開始y行)になる。   Proceeding to step S1031, the start row of area 113_2 is obtained. In FIG. 12 (data indicating the pixel position of the region 113), the row where the drawing of the shape of the region 113_2 is started is the row having the smallest y coordinate among the y rows having two pixel run data in the same row. . Specifically, in the example of FIG. 12, y = 2 is a drawing start line (start y line).

ステップS1032に進み、ステップS1031で求めた開始行から、グラデーション描画幅行分、つづけて外側のピクセル(領域113)に対して隙間がないようにピクセルを生成する。ピクセルを生成する方法は、以下のとおりである。同じy座標の行には、2つのピクセルランデータがある。図12の例では、y=2のピクセルランデータは「y=2, sx=8, ex=9」と「y=2, sx=20, ex=21」のデータである。それぞれ、左ピクセルランデータ、右ピクセルランデータと呼ぶことにすると、隙間が発生しないようにするには左ピクセルランデータの終点exに1を加算した値が、求める開始点sx_2(=ex+1)になる。同様に、終了点は右ピクセルランデータの開始点sxに1を減算した値が、求める終了点ex_2(=sx-1)になる。この結果、ピクセルランデータ「y=2, sx_2=10, ex_2=19」が得られる。これをグラデーション描画幅行分繰り返す。本実施形態ではさらに、ピクセルランデータ「y=3, sx_2=9, ex_2=20」が得られる。図15は、このようにして、得られたピクセルを示した図である。   Proceeding to step S1032, pixels are generated from the start line obtained in step S1031 so that there is no gap with respect to the gradation drawing width line and subsequently to the outer pixel (area 113). The method for generating the pixels is as follows. There are two pixel run data in the same y-coordinate row. In the example of FIG. 12, pixel run data with y = 2 is data with “y = 2, sx = 8, ex = 9” and “y = 2, sx = 20, ex = 21”. When called the left pixel run data and the right pixel run data, respectively, the value obtained by adding 1 to the end point ex of the left pixel run data is set as the starting point sx_2 (= ex + 1) to prevent the gap from occurring. )become. Similarly, the end point is a value obtained by subtracting 1 from the start point sx of the right pixel run data to obtain the end point ex_2 (= sx-1). As a result, pixel run data “y = 2, sx_2 = 10, ex_2 = 19” is obtained. This is repeated for the gradation drawing width line. In the present embodiment, pixel run data “y = 3, sx_2 = 9, ex_2 = 20” is further obtained. FIG. 15 is a diagram showing the pixels thus obtained.

ステップS1033に進み、領域113_2の終了行を求める。領域113_2の形状の描画が終了される行は、図12(領域113のピクセル位置を示すデータ)において、同じ行に2つのピクセルランデータがあるy行のうちy座標が最大の行からになる。具体的には、図12の例では、y=9が、描画終了ライン(終了y行)になる。   Proceeding to step S1033, the end row of area 113_2 is obtained. In FIG. 12 (data indicating the pixel position of the area 113), the line where the drawing of the shape of the area 113_2 is finished is the line with the largest y coordinate among the y lines having two pixel run data in the same line. . Specifically, in the example of FIG. 12, y = 9 is the drawing end line (end y line).

ステップS1034に進み、ステップS1033で求めた終了行から、グラデーション描画幅行分、つづけて外側のピクセル(領域113)に対して隙間がないようにピクセルを生成する。ピクセルを生成する方法は、以下のとおりである。同じy座標の行には、2つのピクセルランデータがある。図12の例では、y=9のピクセルランデータは「y=9, sx=8, ex=9」と「y=9, sx=20, ex=21」のデータである。それぞれ左ピクセルランデータ、右ピクセルランデータと呼ぶことにすると、隙間が発生しないようにするには左ピクセルランデータの終点exに1を加算した値が、求める開始点sx_2(=ex+1)になる。同様に、終了点は右ピクセルランデータの開始点sxに1を減算した値が、求める終了点ex_2(=sx-1)になる。この結果、ピクセルランデータ「y=9, sx_2=10, ex_2=19」が得られる。これをグラデーション描画幅行分繰り返す。本実施形態ではさらに、ピクセルランデータ「y=8, sx_2=9, ex_2=20」が得られる。図16は、このようにして、得られたピクセルを示した図である。   Proceeding to step S1034, pixels are generated from the end line obtained in step S1033 so that there is no gap with respect to the gradation drawing width line and subsequently to the outer pixel (area 113). The method for generating the pixels is as follows. There are two pixel run data in the same y-coordinate row. In the example of FIG. 12, the pixel run data of y = 9 is data of “y = 9, sx = 8, ex = 9” and “y = 9, sx = 20, ex = 21”. If we call them left pixel run data and right pixel run data, respectively, the value obtained by adding 1 to the end point ex of the left pixel run data is the starting point sx_2 (= ex + 1) to be obtained. become. Similarly, the end point is a value obtained by subtracting 1 from the start point sx of the right pixel run data to obtain the end point ex_2 (= sx-1). As a result, pixel run data “y = 9, sx_2 = 10, ex_2 = 19” is obtained. This is repeated for the gradation drawing width line. In the present embodiment, pixel run data “y = 8, sx_2 = 9, ex_2 = 20” is further obtained. FIG. 16 is a diagram showing the pixels thus obtained.

ステップS1035に進み、未だ求められていない行のピクセルは、1行に2つのピクセルランデータをもつデータとして作成する。領域113_2の形状の左ピクセルランデータの開始点sx_2は、領域113の同じ行の左ピクセルランデータの終点exに1を加算した値が、求める開始点sx_2(=ex+1)になる。図12の例では、y=4の行において、ex=7なので、求める開始点sx_2=ex+1=8となる。   Proceeding to step S1035, pixels in a row not yet obtained are created as data having two pixel run data in one row. For the start point sx_2 of the left pixel run data having the shape of the region 113_2, a value obtained by adding 1 to the end point ex of the left pixel run data of the same row in the region 113 is the start point sx_2 (= ex + 1) to be obtained. In the example of FIG. 12, since ex = 7 in the row of y = 4, the start point sx_2 = ex + 1 = 8 is obtained.

領域113_2の形状の左ピクセルランデータの終点ex_2は、領域113の同じ行の左ピクセルランデータの幅(ex-sx)に開始点sx_2を加算した値となる。図12の例では、y=4の行において、左ピクセルランデータは、「y=4, sx=6, ex=7」なので、求める終点ex_2=(ex-sx)+sx_2=(7-6)+8=9となる。   The end point ex_2 of the left pixel run data having the shape of the region 113_2 is a value obtained by adding the start point sx_2 to the width (ex-sx) of the left pixel run data of the same row in the region 113. In the example of FIG. 12, since the left pixel run data is “y = 4, sx = 6, ex = 7” in the row of y = 4, the end point to be obtained ex_2 = (ex-sx) + sx_2 = (7-6 ) + 8 = 9.

次いで、領域113_2の形状の右ピクセルランデータ(同一行の2つ目のピクセルランデータ)も、領域113の同じ行の右ピクセルランデータから、同様にして求めることができる。   Next, the right pixel run data (second pixel run data in the same row) having the shape of the region 113_2 can be similarly obtained from the right pixel run data in the same row of the region 113.

領域113_2の形状の右ピクセルランデータの終点ex_2は、領域113の同じ行の右ピクセルランデータの開始点sxに1を減算した値が、求める終点ex_2(=ex-1)になる。図12の例では、y=4の行において、sx=22なので、求める終点ex_2=sx-1=21となる。   For the end point ex_2 of the right pixel run data having the shape of the region 113_2, a value obtained by subtracting 1 from the start point sx of the right pixel run data of the same row in the region 113 is the end point ex_2 (= ex-1) to be obtained. In the example of FIG. 12, since sx = 22 in the line y = 4, the obtained end point ex_2 = sx-1 = 21.

領域113−2の形状の右ピクセルランデータの開始点sx_2は、終点ex_2に領域113の同じ行の右ピクセルランデータの幅(ex-sx)を減算した値となる。図12の例では、y=4の行において、右ピクセルランデータは、「y=4, sx=22, ex=23」なので、求める開始点sx_2=ex_2-(ex-sx)=21-(23-22)=20となる。図17は、このようにして、得られたピクセルを示した図である。残りの行についても同様に処理することで、図14に示すピクセルを得る。なお、ステップS1035を終了する条件は、1行に2つのピクセルランデータがなくなったときである。以上、ここまでで領域113_2のすべてのピクセルデータを得ることができた。なお、上述したとおり実際にはランレングス形式のデータもって処理が行われている。図18は、これまでの処理で生成された領域113_2を示すランレングス形式のデータである。なお、図12と図18とを対比すると、大外の図形の内側の図形である程、y行数は減少し、ピクセルランデータの幅(ex-sx)も減少(縮小)しており、全体的には縮小していることが分かる。   The start point sx_2 of the right pixel run data having the shape of the region 113-2 is a value obtained by subtracting the width (ex-sx) of the right pixel run data of the same row in the region 113 from the end point ex_2. In the example of FIG. 12, since the right pixel run data is “y = 4, sx = 22, ex = 23” in the row of y = 4, the start point sx_2 = ex_2- (ex-sx) = 21- ( 23-22) = 20. FIG. 17 is a diagram showing the pixels thus obtained. The remaining rows are processed in the same manner to obtain the pixels shown in FIG. The condition for ending step S1035 is when there are no two pixel run data in one row. As described above, all the pixel data of the region 113_2 have been obtained so far. As described above, the process is actually performed with the run-length data. FIG. 18 shows run-length format data indicating the area 113_2 generated by the above processing. Compared with FIG. 12 and FIG. 18, the number of y rows decreases and the width (ex-sx) of the pixel run data decreases (shrinks) as the figure is inside the large figure. It turns out that it is shrinking as a whole.

ステップS1036に進み、ピクセルを生成していない内側の領域がある場合には、再びステップS1031に進み、上述した処理を繰り返す。最終的に、楕円図形の内側のすべてのピクセルデータを生成して楕円形状の内側をピクセルで埋められる。図19は、最終的に形成された楕円図形の例を示す。図19に示すようなピクセルデータが生成されて、楕円図形はピクセルデータで表現された状態となった。なお、度々ピクセルや座標を用いた図で説明してきたが、上述したとおり実際にはランレングス形式のデータでもって処理が行われている。ピクセルデータをランレングス形式で扱うことによりピクセルの座標情報を容易に取り出すことができるからである。また、よりデータを扱いやすいように、ランレングス形式のデータにおいて、y座標の小さい順に行を並び替えることも行なっている。   Proceeding to step S1036, if there is an inner region where no pixel is generated, the process proceeds again to step S1031, and the above-described processing is repeated. Finally, all pixel data inside the ellipse shape is generated, and the inside of the ellipse shape is filled with pixels. FIG. 19 shows an example of the oval figure finally formed. Pixel data as shown in FIG. 19 is generated, and the elliptical figure is represented by the pixel data. In addition, although it often demonstrated with the figure using a pixel and a coordinate, as above-mentioned, the process is actually performed with the data of run length format. This is because pixel coordinate information can be easily extracted by handling pixel data in a run-length format. In order to make the data easier to handle, in the run-length data, the rows are rearranged in ascending order of the y coordinate.

以上、グラデーション形状作成部802により、楕円図形全体のピクセルデータが生成された。次にグラデーション色作成部803により、ピクセルデータごとに対応する色が作成される(付される)。   As described above, the gradation shape creation unit 802 generates pixel data of the entire elliptical figure. Next, the gradation color creation unit 803 creates (appends) a color corresponding to each pixel data.

(グラデーション色作成処理)
次に、本発明による画像形成装置1が、グラデーション色を作成する処理の詳細について説明を行う。グラデーション色作成部803は、構文解析部801により解析された描画設定情報に基づいて、グラデーション形状作成部802で作成されたグラデーション形状を構成するピクセルデータの色を作成する。上述したグラデーション形状作成部802により、楕円図形全体のピクセルデータが生成されたが、ここではグラデーション色作成部803により、ピクセルデータごとに対応する色が作成される(付される)処理について説明を行う。
(Gradation color creation process)
Next, details of a process in which the image forming apparatus 1 according to the present invention creates gradation colors will be described. The gradation color creation unit 803 creates the color of the pixel data constituting the gradation shape created by the gradation shape creation unit 802 based on the drawing setting information analyzed by the syntax analysis unit 801. The pixel data of the entire ellipse figure has been generated by the above-described gradation shape creation unit 802. Here, the process of creating (attaching) a corresponding color for each pixel data by the gradation color creation unit 803 will be described. Do.

ここではグラデーション描画幅算出部902の説明(ステップS1001−1003)で用いたカラー値を再度用いる。即ち、Center Originの色をRGBカラー(R,G,B)=(255, 100, 80)とし、End Originの色をRGBカラー(R,G,B)=(128, 50, 10)とする。グラデーション描画幅は、Grad_width / Color_width で求められることは上述したが、これは変化幅が最も大きいR成分の同じ間に描画するピクセル数に等しい。   Here, the color values used in the description of the gradation drawing width calculation unit 902 (steps S1001 to 1003) are used again. That is, the color of Center Origin is RGB color (R, G, B) = (255, 100, 80), and the color of End Origin is RGB color (R, G, B) = (128, 50, 10). . As described above, the gradation drawing width is obtained by Grad_width / Color_width, which is equal to the number of pixels to be drawn during the same period of the R component having the largest change width.

ここで、カラー成分ごとに色が変化する描画幅を求めると以下のようになる。Grad_width は、Center Origin及びEnd Originの座標の2点間の距離である。
R成分描画幅 = Grad_width / R 成分の変化量(ΔR)
G成分描画幅 = Grad_width / G 成分の変化量(ΔG)
B成分描画幅 = Grad_width / B 成分の変化量(ΔB)
これを具体的な数値で説明するに、Grad_widthを1000とした場合、
R成分描画幅 = 1000 / (255-128) = 7.874
G成分描画幅 = 1000 / (100 - 50) = 20
B成分描画幅 = 1000 / (80 -10) = 14.28
となる。
Here, the drawing width in which the color changes for each color component is obtained as follows. Grad_width is the distance between two points in the coordinates of Center Origin and End Origin.
R component drawing width = Grad_width / R component change (ΔR)
G component drawing width = Grad_width / G component variation (ΔG)
B component drawing width = Grad_width / B component variation (ΔB)
To explain this with specific numerical values, if Grad_width is 1000,
R component drawing width = 1000 / (255-128) = 7.874
G component drawing width = 1000 / (100-50) = 20
B component drawing width = 1000 / (80 -10) = 14.28
It becomes.

そして、グラデーション描画幅はR成分の描画幅であるから、R成分は各グラデーション領域を描画するたびに1変化する。グラデーションの形状毎に変化する色量(色変化量)は以下で求められる。
Rの色変化量 = グラデーション描画幅 / R成分描画幅 = 7.874/ 7.874 = 1.0
Gの色変化量 = グラデーション描画幅 / G成分描画幅 = 7.874 / 20 = 0.3937
Bの色変化量 = グラデーション描画幅 / B成分描画幅 = 7.874 / 14.28 = 0.551
これは、
R値は、領域毎に1ずつ変化する。
G値は、領域毎に0.3937ずつ変化する。
B値は、領域毎に0.551ずつ変化する。
ことを意味する。この領域とは例えば図19を参照すると、領域113、領域113_2、113_3などに相当する。ここで領域毎のR、G、B値の変化量をそれぞれR_delta、G_delta、B_deltaとしておく。
Since the gradation drawing width is the R component drawing width, the R component changes by 1 each time each gradation region is drawn. The color amount (color change amount) that changes for each gradation shape is obtained as follows.
R color change amount = gradation drawing width / R component drawing width = 7.874 / 7.874 = 1.0
G color change amount = gradation drawing width / G component drawing width = 7.874 / 20 = 0.3937
B color change amount = gradation drawing width / B component drawing width = 7.874 / 14.28 = 0.551
this is,
The R value changes by 1 for each region.
The G value changes by 0.3937 for each region.
The B value changes by 0.551 for each region.
Means that. For example, referring to FIG. 19, this area corresponds to the area 113, the areas 113_2, and 113_3. Here, the amount of change in the R, G, and B values for each region is set as R_delta, G_delta, and B_delta, respectively.

具体的に、外側から内側にグラデーション楕円のグラデーション色を描画(作成)する場合を例に説明する。まず、最も外側の領域(例えば、領域113に相当)のグラデーションの色(R,G,B)は、(128, 50, 10)となる。
No1 = (128, 50, 10)
と表す。
ここで基準となるRGB値をそれぞれCR,CG,CBとすると、
CR = 128
CG = 50
CB = 10
である。
Specifically, a case where the gradation color of the gradation ellipse is drawn (created) from the outside to the inside will be described as an example. First, the gradation color (R, G, B) of the outermost region (for example, corresponding to the region 113) is (128, 50, 10).
No1 = (128, 50, 10)
It expresses.
Here, if the reference RGB values are CR, CG and CB, respectively,
CR = 128
CG = 50
CB = 10
It is.

次の内側の領域(例えば、領域113_2に相当)のグラデーションの色(R,G,B)を求める。
R = CR + R_Delta = 128 + 1 = 129.0
G = CB + G_Delta = 50 + 0.3937
B = CG + B_Delta = 10 + 0.551
小数点以下は切り捨てるものとすると、Round関数を用いて、
R = Round(CR + R_Delta) = Round(128 + 1) = Round(129.0) = 129
G = Round(CB + G_Delta) = Round(50 + 0.3937) = Round(50.3937) = 50
B = Round(CG + B_Delta) = Round(10 + 0.551) = Round(10.551) = 10
よって、次の内側の領域のグラデーションの色(R,G,B)は、
No2 = (129, 50, 10)
となる。
そして、基準となるRGB値CR,CG,CBを更新する。
CR = 129.0
CG = 50.3937
CB = 10.551
なお、基準となるRGB値CR,CG,CBについては、Round関数処理する前の値を用いる。Round関数処理後の値を用いるよりカラー表現精度が高まるからである。
The gradation color (R, G, B) of the next inner area (for example, corresponding to the area 113_2) is obtained.
R = CR + R_Delta = 128 + 1 = 129.0
G = CB + G_Delta = 50 + 0.3937
B = CG + B_Delta = 10 + 0.551
If you round off the decimal point, use the Round function:
R = Round (CR + R_Delta) = Round (128 + 1) = Round (129.0) = 129
G = Round (CB + G_Delta) = Round (50 + 0.3937) = Round (50.3937) = 50
B = Round (CG + B_Delta) = Round (10 + 0.551) = Round (10.551) = 10
Therefore, the gradation color (R, G, B) of the next inner area is
No2 = (129, 50, 10)
It becomes.
Then, the reference RGB values CR, CG, CB are updated.
CR = 129.0
CG = 50.3937
CB = 10.551
For the reference RGB values CR, CG, and CB, values before round function processing are used. This is because the color expression accuracy is higher than the value after the round function processing.

さらに次の内側の領域(例えば、領域113_3に相当)のグラデーションの色(R,G,B)を、同様にして求める。
R = Round(CR + R_Delta) = Round(129 + 1) = Round(130.0) = 130
G = Round(CG + G_Delta) = Round(50.3937 + 0.3937) = Round(50.7874) = 50
B = Round(CB + B_Delta) = Round(10.551 + 0.551) = Round(11.102) = 11
よって、さらに次の内側の領域のグラデーションの色(R,G,B)は、
No3 = (130, 50, 11)
となる。
そして、基準となるRGB値CR,CG,CBを更新する。
CR = 130.0
CG = 50.7874
CB = 11.102
このようにして領域毎のグラデーションの色(R,G,B)を求めることができる。
Further, the gradation color (R, G, B) of the next inner area (for example, corresponding to the area 113_3) is obtained in the same manner.
R = Round (CR + R_Delta) = Round (129 + 1) = Round (130.0) = 130
G = Round (CG + G_Delta) = Round (50.3937 + 0.3937) = Round (50.7874) = 50
B = Round (CB + B_Delta) = Round (10.551 + 0.551) = Round (11.102) = 11
Therefore, the gradation color (R, G, B) of the next inner area is
No3 = (130, 50, 11)
It becomes.
Then, the reference RGB values CR, CG, CB are updated.
CR = 130.0
CG = 50.7874
CB = 11.102
In this way, the gradation color (R, G, B) for each region can be obtained.

以上、グラデーション色作成部803により、楕円図形全体のピクセルデータごとに対応する色が作成された。これで、グラデーション図形(本実施形態ではグラデーション楕円)が完成する。そしてグラデーション図形は、所定の画像補正処理等の後、フレーム(印刷枠)に展開され印刷される。   As described above, the gradation color creation unit 803 creates a corresponding color for each pixel data of the entire elliptical figure. This completes a gradation figure (in this embodiment, a gradation ellipse). The gradation graphic is developed and printed in a frame (print frame) after a predetermined image correction process or the like.

以上、本実施形態に係る画像形成装置1は、グラデーション楕円を構成する同心円状の相似図形のピクセル情報を求める処理を1回だけ実行し、そのピクセル情報を利用することで、複数回のスキャンラインコンバージョンを実行せずにグラデーション図形形状を作成することができる。つまり、従来のように同心円状の相似図形を求めるために、毎回スキャンラインコンバージョン処理を行わなくてはならない場合に比べて高速にグラデーション図形形状作成処理を行うことが可能となる。   As described above, the image forming apparatus 1 according to the present embodiment executes the process for obtaining the pixel information of the concentric similar figure constituting the gradation ellipse only once, and uses the pixel information to perform a plurality of scan lines. A gradation figure shape can be created without performing conversion. That is, in order to obtain a concentric similar figure as in the prior art, the gradation figure shape creation process can be performed at a higher speed than in the case where the scanline conversion process must be performed every time.

本発明によれば、グラデーション図形を構成する構成要素を効率的に描画して、グラデーション図形画像の描画処理の高速化を図る画像形成装置、画像形成方法、画像形成プログラム、及び記録媒体を提供することが可能となる。   According to the present invention, there are provided an image forming apparatus, an image forming method, an image forming program, and a recording medium that efficiently draw components constituting a gradation graphic to speed up the drawing process of the gradation graphic image. It becomes possible.

なお、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。実施形態では、グラデーション楕円について説明を行ったが、これを例えば、グラデーション円に応用することは可能である。楕円形状を表すパラメータである2つの半径(x_radius,y_radius)が等しくなってしまえば円になるからである。同様の技術思想によれば、グラデーション四角形(矩形)やグラデーション三角形などにも応用できる。本発明の技術思想は、グラデーション図形を構成する1色に対応するグラデーション描画幅分だけをピクセルデータ化し、当該ピクセルデータに基づいて、残りの全てピクセルデータを作成して、グラデーション図形の描画処理の高速化を図るものであり、よって、本発明の技術的思想の範囲内で適用可能なグラデーション図形形状であればよい。   Note that the present invention is not limited to such specific embodiments, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims. In the embodiment, the gradation ellipse has been described, but this can be applied to, for example, a gradation circle. This is because if two radii (x_radius, y_radius), which are parameters representing an elliptical shape, are equal, a circle is formed. According to the same technical idea, it can be applied to a gradation rectangle (rectangle), a gradation triangle, and the like. The technical idea of the present invention is that the gradation drawing width corresponding to one color constituting the gradation figure is converted into pixel data, all the remaining pixel data is created based on the pixel data, and the gradation figure drawing process is performed. Therefore, any gradation graphic shape that can be applied within the scope of the technical idea of the present invention may be used.

楕円の定義を示す図である。It is a figure which shows the definition of an ellipse. 楕円をベジェ曲線に変換した場合の各制御点を示した図である。It is the figure which showed each control point at the time of converting an ellipse into a Bezier curve. グラデーション図形の描画を示す図の一例である。It is an example of the figure which shows drawing of a gradation figure. グラデーション図形の描画を示す図の一例である。It is an example of the figure which shows drawing of a gradation figure. 1つの同心円の一部分のピクセル化を示す図である。It is a figure which shows pixelation of the part of one concentric circle. 本発明の実施形態に係るネットワーク図である。1 is a network diagram according to an embodiment of the present invention. 本発明による画像形成装置1の一実施形態の主要構成を示すハードウェア構成図である。1 is a hardware configuration diagram showing a main configuration of an embodiment of an image forming apparatus 1 according to the present invention. 本発明による画像形成装置1の一実施形態の主要機能を示す機能ブロック図である。1 is a functional block diagram showing main functions of an embodiment of an image forming apparatus 1 according to the present invention. グラデーション形状作成部を説明する図である。It is a figure explaining a gradation shape creation part. グラデーション形状作成部による処理を示すフローチャートである。It is a flowchart which shows the process by a gradation shape creation part. 2つの楕円形状曲線で囲まれた領域を示す図である。It is a figure which shows the area | region enclosed by two elliptical curves. ランレングス形式のデータを示す図である。It is a figure which shows the data of a run length format. ランレングス形式のデータをピクセルデータで表現した図である。It is the figure which expressed the data of run length format with pixel data. 内側の領域を説明する図である。It is a figure explaining an inner area | region. ピクセル生成を説明する図である。It is a figure explaining pixel generation. ピクセル生成を説明する図である。It is a figure explaining pixel generation. ピクセル生成を説明する図である。It is a figure explaining pixel generation. ランレングス形式のデータを示す図である。It is a figure which shows the data of a run length format. ピクセル生成を説明する図である。It is a figure explaining pixel generation.

符号の説明Explanation of symbols

1 画像形成装置
2 PC
3 ネットワーク
701 コントローラ
702 CPU
203 ROM
704 RAM
705 NVRAM
706 補助記憶装置
707 エンジンI/F
708 パネルI/F
709 ネットワークI/F
711 プリントエンジン
712 パネル装置
801 構文解析部
802 グラデーション形状作成部
803 グラデーション色作成部
901 グラデーション描画幅算出部
902 形状線算出部
903 ピクセル変換部
904 ピクセル生成部
1 Image forming apparatus 2 PC
3 Network 701 Controller 702 CPU
203 ROM
704 RAM
705 NVRAM
706 Auxiliary storage device 707 Engine I / F
708 Panel I / F
709 Network I / F
711 Print engine 712 Panel device 801 Parsing unit 802 Gradation shape creation unit 803 Gradation color creation unit 901 Gradation drawing width calculation unit 902 Shape line calculation unit 903 Pixel conversion unit 904 Pixel generation unit

Claims (14)

図形の外縁から中心点に向けて、又は図形の中心点から外縁に向けて、段階的に変化する色調から構成されるグラデーション図形の画像を形成する画像形成装置において、
前記グラデーション図形のグラデーション描画幅を算出するグラデーション描画幅算出手段と、
前記グラデーション描画幅算出手段により算出された前記グラデーション描画幅分、前記グラデーション図形の外縁線から内側に、前記外縁線に相似する相似形状線を算出する形状線算出手段と、
前記外縁線と、前記形状線算出手段により算出された前記相似形状線とに囲まれる領域のみをピクセルデータに変換するピクセル変換手段と、
前記ピクセル変換手段により変換された前記領域のピクセルデータに基づいて、前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成するピクセル生成手段と、
前記ピクセル変換手段に変換された前記ピクセルデータ及び前記ピクセル生成手段により生成された前記ピクセルデータに対応する色を作成するグラデーション色作成手段と、
を有することを特徴とする画像形成装置。
In an image forming apparatus for forming an image of a gradation figure composed of gradations that change stepwise from the outer edge of a figure toward the center point or from the center point of the figure toward the outer edge,
A gradation drawing width calculating means for calculating a gradation drawing width of the gradation figure;
Shape line calculation means for calculating a similar shape line similar to the outer edge line, inside the outer edge line of the gradation figure, by the gradation drawing width calculated by the gradation drawing width calculation means;
Pixel conversion means for converting only the region surrounded by the outer edge line and the similar shape line calculated by the shape line calculation means into pixel data;
Pixel generation means for generating inner pixel data from the outer edge line for each gradation drawing width based on the pixel data of the region converted by the pixel conversion means;
A gradation color creating means for creating a color corresponding to the pixel data converted by the pixel converting means and the pixel data generated by the pixel generating means;
An image forming apparatus comprising:
前記グラデーション描画幅算出手段は、前記中心点から前記外縁線までの距離値を、前記中心点における各色成分値と前記外縁線における各色成分値との差分値の中で最大の差分値で、除算して、前記グラデーション描画幅を算出すること、
を特徴とする請求項1に記載の画像形成装置。
The gradation drawing width calculation means divides the distance value from the center point to the outer edge line by the maximum difference value among the difference values between the color component values at the center point and the color component values at the outer edge line. And calculating the gradation drawing width,
The image forming apparatus according to claim 1.
前記形状線算出手段は、前記グラデーション描画幅を前記距離値で除算した値である変倍率に基づいて、前記外縁を縮小変倍し、前記相似形状線を算出すること、
を特徴とする請求項1又は2に記載の画像形成装置。
The shape line calculating means reduces the outer edge based on a scaling factor that is a value obtained by dividing the gradation drawing width by the distance value, and calculates the similar shape line.
The image forming apparatus according to claim 1, wherein:
前記ピクセル変換手段で変換された前記ピクセルデータは、ランレングス形式に表現されること、
を特徴とする請求項1ないし3いずれか一項に記載の画像形成装置。
The pixel data converted by the pixel converting means is expressed in a run-length format;
The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus.
前記生成手段は、前記ランレングス形式のデータを縮小して前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成すること、
を特徴とする請求項1ないし4いずれか一項に記載の画像形成装置。
The generation means reduces the data in the run length format to generate inner pixel data from the outer edge line for each gradation drawing width;
The image forming apparatus according to claim 1, wherein the image forming apparatus is an image forming apparatus.
前記ランレングス形式のy座標のデータは、降順に並び替えられること、
を特徴とする請求項4又は5に記載の画像形成装置。
The run-length y-coordinate data is sorted in descending order;
The image forming apparatus according to claim 4, wherein:
図形の外縁から中心点に向けて、又は図形の中心点から外縁に向けて、段階的に変化する色調から構成されるグラデーション図形の画像を形成する画像形成装置におけるグラデーション図形画像描画方法において、
前記グラデーション図形のグラデーション描画幅を算出するグラデーション描画幅算出手順と、
前記グラデーション描画幅算出手順により算出された前記グラデーション描画幅分、前記グラデーション図形の外縁線から内側に、前記外縁線に相似する相似形状線を算出する形状線算出手順と、
前記外縁線と、前記形状線算出手順により算出された前記相似形状線とに囲まれる領域のみをピクセルデータに変換するピクセル変換手順と、
前記ピクセル変換手順により変換された前記領域のピクセルデータに基づいて、前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成するピクセル生成手順と、
前記ピクセル変換手順に変換された前記ピクセルデータ及び前記ピクセル生成手段により生成された前記ピクセルデータに対応する色を作成するグラデーション色作成手順と、
を有することを特徴とする図形画像描画方法。
In a gradation graphic image drawing method in an image forming apparatus that forms an image of a gradation graphic composed of gradations that change stepwise from the outer edge of a graphic toward the center point or from the central point of the graphic toward the outer edge,
A gradation drawing width calculating procedure for calculating a gradation drawing width of the gradation figure;
A shape line calculation procedure for calculating a similar shape line similar to the outer edge line inside the outer edge line of the gradation figure by the gradation drawing width calculated by the gradation drawing width calculation procedure;
A pixel conversion procedure for converting only a region surrounded by the outer edge line and the similar shape line calculated by the shape line calculation procedure into pixel data;
A pixel generation procedure for generating inner pixel data from the outer edge line for each gradation rendering width based on the pixel data of the region converted by the pixel conversion procedure;
A gradation color creating procedure for creating a color corresponding to the pixel data converted into the pixel converting procedure and the pixel data generated by the pixel generating means;
A graphic image drawing method characterized by comprising:
前記グラデーション描画幅算出手順は、前記中心点から前記外縁線までの距離値を、前記中心点における各色成分値と前記外縁線における各色成分値との差分値の中で最大の差分値で、除算して、前記グラデーション描画幅を算出すること、
を特徴とする請求項7に記載のグラデーション図形画像描画方法。
The gradation drawing width calculation procedure divides the distance value from the center point to the outer edge line by the maximum difference value among the difference values between the color component values at the center point and the color component values at the outer edge line. And calculating the gradation drawing width,
The gradation graphic image drawing method according to claim 7.
前記形状線算出手順は、前記グラデーション描画幅を前記距離値で除算した値である変倍率に基づいて、前記外縁を縮小変倍し、前記相似形状線を算出すること、
を特徴とする請求項7又は8に記載のグラデーション図形画像描画方法。
The shape line calculation procedure is based on a scaling factor that is a value obtained by dividing the gradation drawing width by the distance value, and scales the outer edge to calculate the similar shape line.
The gradation graphic image drawing method according to claim 7 or 8.
前記ピクセル変換手順で変換された前記ピクセルデータは、ランレングス形式に表現されること、
を特徴とする請求項7ないし9いずれか一項に記載のグラデーション図形画像描画方法。
The pixel data converted by the pixel conversion procedure is expressed in a run-length format;
The gradation graphic image drawing method according to claim 7, wherein:
前記生成手順は、前記ランレングス形式のデータを縮小して前記グラデーション描画幅ごとに前記外縁線から内側のピクセルデータを生成すること、
を特徴とする請求項7ないし10いずれか一項に記載のグラデーション図形画像描画方法。
The generation procedure includes reducing the run-length format data to generate inner pixel data from the outer edge line for each gradation drawing width.
The gradation graphic image drawing method according to claim 7, wherein:
前記ランレングス形式のy座標のデータは、降順に並び替えられること、
を特徴とする請求項10又は11に記載のグラデーション図形画像描画方法。
The run-length y-coordinate data is sorted in descending order;
The gradation graphic image drawing method according to claim 10 or 11, characterized in that:
請求項7ないし12いずれか一項に記載のグラデーション図形画像描画方法をコンピュータに実行させるためのグラデーション図形画像描画プログラム。   A gradation graphic image drawing program for causing a computer to execute the gradation graphic image drawing method according to any one of claims 7 to 12. 請求項13に記載のグラデーション図形画像描画プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the gradation graphic image drawing program according to claim 13 is recorded.
JP2008135887A 2008-05-23 2008-05-23 Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium Expired - Fee Related JP4969515B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008135887A JP4969515B2 (en) 2008-05-23 2008-05-23 Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008135887A JP4969515B2 (en) 2008-05-23 2008-05-23 Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium

Publications (2)

Publication Number Publication Date
JP2009282855A JP2009282855A (en) 2009-12-03
JP4969515B2 true JP4969515B2 (en) 2012-07-04

Family

ID=41453227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008135887A Expired - Fee Related JP4969515B2 (en) 2008-05-23 2008-05-23 Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium

Country Status (1)

Country Link
JP (1) JP4969515B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11915389B2 (en) 2021-11-12 2024-02-27 Rockwell Collins, Inc. System and method for recreating image with repeating patterns of graphical image file to reduce storage space
US11954770B2 (en) 2021-11-12 2024-04-09 Rockwell Collins, Inc. System and method for recreating graphical image using character recognition to reduce storage space
US11842429B2 (en) 2021-11-12 2023-12-12 Rockwell Collins, Inc. System and method for machine code subroutine creation and execution with indeterminate addresses
US11748923B2 (en) 2021-11-12 2023-09-05 Rockwell Collins, Inc. System and method for providing more readable font characters in size adjusting avionics charts
US11887222B2 (en) 2021-11-12 2024-01-30 Rockwell Collins, Inc. Conversion of filled areas to run length encoded vectors
US11854110B2 (en) 2021-11-12 2023-12-26 Rockwell Collins, Inc. System and method for determining geographic information of airport terminal chart and converting graphical image file to hardware directives for display unit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793585A (en) * 1993-09-22 1995-04-07 Dainippon Screen Mfg Co Ltd Image shadowing method
JPH08212362A (en) * 1995-02-06 1996-08-20 Hitachi Ltd Character and graphic generation device
JP2002049932A (en) * 2000-08-02 2002-02-15 Taito Corp Method for displaying polygon model shadow
JP4368652B2 (en) * 2003-10-20 2009-11-18 株式会社リコー Printing processing method and apparatus
JP4513888B2 (en) * 2008-03-31 2010-07-28 ブラザー工業株式会社 Image generating apparatus and printing apparatus

Also Published As

Publication number Publication date
JP2009282855A (en) 2009-12-03

Similar Documents

Publication Publication Date Title
JP4969515B2 (en) Image forming apparatus, gradation graphic image drawing method, gradation graphic image drawing program, and recording medium
US9484006B2 (en) Manipulation of textual content data for layered presentation
JP5329971B2 (en) Method for generating font control value, computer-readable recording medium, and system
JP4614389B2 (en) Image forming apparatus, printing apparatus, display apparatus, drawing processing method, and program
JP3976363B2 (en) Automatic graphic pattern placement method and system
JP5590960B2 (en) Image forming apparatus, image forming method, and program
JP6120824B2 (en) Image processing apparatus, image processing method, and program
JP4429212B2 (en) Image description data processing method, apparatus and program
JP3994851B2 (en) Image processing method
JP2011175629A (en) System and method for rendering of printable data
JP4775723B2 (en) Image processing apparatus and image processing program
JP6414475B2 (en) Computer program and control device
JP2007122188A (en) Image forming device, image processing method and program
JP6614857B2 (en) Image processing apparatus, image processing method, and program
JP4630082B2 (en) Image processing apparatus, image forming apparatus, drawing command information generation method, drawing command information generation program, and recording medium recorded with drawing command information generation program
JP5614953B2 (en) Image processing apparatus and image processing method
JP3163577B2 (en) Vector font generation method
JP2010012737A (en) Print control apparatus, printing system, plotting method and program
JP2011186835A (en) Image processing apparatus and image processing program
JP2009073083A (en) Image forming device, image forming method, and image forming program
JP2004312592A (en) Printing processing method, printing processing device, and image output device
JP2019197327A (en) Image processing apparatus, image processing method, and program
JP4630081B2 (en) Image processing apparatus, image forming apparatus, drawing command generation method, drawing command generation program, and recording medium recording drawing command generation program
JP4390723B2 (en) Information embedding device, information extracting device, information embedding method, information extracting method, information embedding program, information extracting program, and recording medium
JP2019192087A (en) Information processing device, program, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101220

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120306

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120403

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150413

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4969515

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees