JP5112223B2 - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP5112223B2 JP5112223B2 JP2008220192A JP2008220192A JP5112223B2 JP 5112223 B2 JP5112223 B2 JP 5112223B2 JP 2008220192 A JP2008220192 A JP 2008220192A JP 2008220192 A JP2008220192 A JP 2008220192A JP 5112223 B2 JP5112223 B2 JP 5112223B2
- Authority
- JP
- Japan
- Prior art keywords
- gradation
- image
- image processing
- color
- path
- 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
Links
Images
Description
本発明は、テキストやイメージやパス図形で構成されるデータの印刷要求を処理する印刷処理装置などの画像処理装置及び画像処理プログラムに関する。 The present invention relates to an image processing apparatus such as a print processing apparatus that processes a print request for data composed of text, images, and path graphics, and an image processing program.
従来より、例えば、グラデーションフィル図形の描画に関し、グラデーションの生成が指示されると呼び出されるグラデーション生成部により、渡された色の変化方向のベクトル及びその始終点の色情報を用いて、始点と終点を結ぶ直線に垂直でその内部の色値が均一となる複数の隣接する帯状領域を設定し、その帯状領域と走査線との交点を求めて色の変化点とし、走査線毎に、この変化点及び変換点間の色を順次求め、走査線方向のグラデーションパターンを生成することが行われている(例えば特許文献1参照)。 Conventionally, for example, with respect to drawing of a gradation fill figure, the start point and the end point are used by the gradation generation unit that is called when the generation of the gradation is instructed, using the passed color change direction vector and the start and end point color information. A plurality of adjacent band-like areas that are perpendicular to the straight line connecting the lines and in which the color values are uniform are set, and the intersection between the band-like area and the scanning line is obtained as a color change point, and this change is made for each scanning line. A color between a dot and a conversion point is sequentially obtained to generate a gradation pattern in the scanning line direction (see, for example, Patent Document 1).
また、プリンタや複写機、ファクシミリ装置あるいはこれらの複合機等、印刷機能を有する画像形成装置においては、一度、1頁分の印刷ジョブを複数のバンドに分割してから中間コードに変換してメモリ領域に蓄積し、蓄積された中間コードをビットイメージにラスタライズして頁単位で画像印刷することで、メモリ領域を節約する構成が知られている。 Also, in an image forming apparatus having a printing function such as a printer, a copier, a facsimile machine, or a multifunction machine of these, once a print job for one page is divided into a plurality of bands and then converted into an intermediate code and stored in a memory. There is known a configuration that saves a memory area by accumulating in an area, rasterizing the accumulated intermediate code into a bit image, and printing an image in units of pages.
例えば、グラデーションフィル図形の描画に関し、グラデーションを検知したときに、1ラインのピクセル情報を次のラインのピクセルに複製していく手法が提案されている。この手法は、グラフィックスにより描画命令(中間コード)により新規描画をする物を対象とした高速化であり、ピクセルの色を計算してグラディエントなパターンを作成し、複製することでグラデーションを描画するものである(例えば特許文献2参照)。 For example, with respect to drawing of a gradation fill figure, a technique has been proposed in which pixel information of one line is copied to pixels of the next line when gradation is detected. This technique is a high-speed target for objects that are newly drawn by graphics drawing commands (intermediate code), and creates gradient patterns by calculating the color of pixels and drawing gradients by duplicating them. (See, for example, Patent Document 2).
上記特許文献2に記載された画像処理装置では、グラディエントオブジェクトの描画処理において、画像処理オブジェクトが水平方向あるいは垂直方向に何層のグラデーションがあるかを検知し、検知したグラデーションの第一層のみを計算し、第二層以下に第一層をコピーして使用することにより、垂直、水平方向に一定パターンのグラデーションを多層持つオブジェクトの生成時間を短縮して、画像の高速処理を可能としている。
In the image processing apparatus described in
ところで、従来のグラデーション描画の手法では、バンド方向の色の変化が大きい場合には、色が変化するたびにグラデーションパターンの色を変化させる必要があるため、処理速度が低下することがある問題があった。すなわち、バンド方向へのグラデーションパターンへの置き換えにおいて、色の変化する方向とバンドの方向の組み合わせによっては、多数のグラデーションパターンへの置き換えに多数の色が変化する。置き換え処理においてはグラデーションの色が変わる毎にパターンへ置き換えるための色が変化する位置を求める計算が必要であり、処理速度低下の原因となる。 By the way, in the conventional gradation drawing method, when the color change in the band direction is large, it is necessary to change the color of the gradation pattern every time the color changes, so the processing speed may be reduced. there were. That is, in the replacement with the gradation pattern in the band direction, depending on the combination of the direction in which the color changes and the direction of the band, a large number of colors change in the replacement with a large number of gradation patterns. In the replacement process, it is necessary to calculate the position where the color for replacement with the pattern changes every time the gradation color changes, which causes a reduction in processing speed.
そこで、本発明の目的は、上述の如き従来の問題点に鑑み、複雑なグラデーションの色の変化についても処理速度が低下することなく、また、単純なグラデーションは高速に処理することのできる画像処理装置及び画像処理プログラムを提供することにある。 In view of the above-described conventional problems, the object of the present invention is to perform image processing capable of processing a simple gradation at high speed without reducing the processing speed even for a complicated gradation color change. An apparatus and an image processing program are provided.
本発明の更に他の目的、本発明によって得られる具体的な利点は、以下に説明される実施の形態の説明から一層明らかにされる。 Other objects of the present invention and specific advantages obtained by the present invention will become more apparent from the description of embodiments described below.
本発明に係る画像処理装置は、外部装置と通信するための通信手段と、上記通信手段により受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合を閾値との比較結果に基づき判定するグラデーション処理方法判定手段と、指定されたグラデーションのイメージを作成するグラデーションイメージ作成手段と、パスの塗りつぶし処理を行うフィル処理手段と、パスを指定された幅で塗るストローク処理手段を備え、上記グラデーション処理方法判定手段による判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、上記グラデーションイメージ作成手段によりグラデーションのラインイメージを作成して上記フィル処理手段によりパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、上記グラデーション処理方法判定手段による判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には上記ストローク処理手段によりパスを指定された幅で塗ることにより、同じ色の領域をパスで描画することを特徴とする。 The image processing apparatus according to the present invention provides a communication means for communicating with an external apparatus, and a ratio of a color change in a band direction when a request from the external apparatus received by the communication means is a gradation drawing process. A gradation processing method determining means for determining based on a comparison result with a threshold, a gradation image generating means for generating a designated gradation image, a fill processing means for performing a path filling process, and a path with a specified width. comprising a stroke processing means, based on a determination result by the gradation process determining unit, when the rate of change of the color of the band direction is large, the fill process by creating a line image of the gradient by the gradient image creation unit The path is filled by means to create a line image By drawing the pass area, and based on the determination result by the gradation processing method determination means, when the rate of color change in the band direction is small, the path is painted with the specified width by the stroke processing means, It is characterized by drawing an area of the same color with a path.
上記画像処理装置において、例えば、上記グラデーションイメージ作成手段は、指定されたグラデーションの開始位置、終了位置、描画対象の外接矩形領域及びグラデーションで指定された色情報を元にグラデーションのラインイメージを作成するものとすることができる。 In the image processing apparatus, for example, the gradation image creating means creates a gradation line image based on a designated gradation start position and end position, a circumscribed rectangular area to be drawn, and color information designated by gradation. Can be.
また、上記画像処理装置において、例えば、上記グラデーションイメージ作成手段は、描画対象の外接矩形と指定されたグラデーションの開始位置、終了位置が一致していない場合、その領域を含めたラインイメージを作成するものとすることができる。 In the image processing apparatus, for example, the gradation image creating means creates a line image including the region when the circumscribed rectangle to be drawn does not match the designated gradation start position and end position. Can be.
さらに、上記画像処理装置において、例えば、上記グラデーションイメージ作成手段は、グラデーションの開始位置と終了位置が描画対象領域の外接矩形の外側にある場合、外接矩形を描画できる長さのラインイメージを作成するものとすることができる。 Further, in the image processing apparatus, for example, the gradation image creating unit creates a line image having a length that allows drawing of the circumscribed rectangle when the start position and end position of the gradation are outside the circumscribed rectangle of the drawing target area. Can be.
本発明は、外部装置と通信するための通信手段により受信した上記外部装置からの要求に応じて描画を行う画像処理装置に備えられたコンピュータにより実行される画像処理プログラムであって、受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合を閾値との比較結果に基づき判定し、その判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、グラデーションのラインイメージを作成してパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、また、上記判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には、指定された幅で塗ることにより、同じ色の領域をパスで描画する処理を上記画像処理装置に備えられたコンピュータにより実行させることを特徴とする。 The present invention is an image processing program executed by a computer provided in an image processing apparatus that performs drawing in response to a request from the external apparatus received by a communication means for communicating with the external apparatus. When the request from the apparatus is a gradation drawing process, the ratio of the color change in the band direction is determined based on the comparison result with the threshold value, and the ratio of the color change in the band direction is large based on the determination result. In this case, a gradation line image is created, the path is filled, the path area is drawn by the line image, and the color change rate in the band direction is small based on the determination result. Executes the process of drawing the same color area with a pass by painting with the specified width by the computer equipped in the above image processing device And characterized in that.
本発明では、受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合を閾値との比較結果に基づき判定し、その判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、グラデーションのラインイメージを作成してパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、また、上記判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には、指定された幅で塗ることにより、同じ色の領域をパスで描画するので、グラデーションの描画に関して1ラインイメージを作成することで、複雑なグラデーションの色の変化についても処理速度の低下が起きることなく、また、単純なグラデーションについてはフィルにより高速に処理することができる。 In the present invention, when the received request from the external device is a gradation drawing process, the ratio of the color change in the band direction is determined based on the comparison result with the threshold value, and the band direction is determined based on the determination result. If the rate of color change is large, create a line image of the gradation and fill the path, draw the area of the path with the line image, and based on the above judgment result, When the rate of change is small, the same color area is drawn with a path by painting with the specified width. Therefore, by creating a one-line image for gradation drawing, it is possible to change complicated gradation color changes. However, the processing speed does not decrease, and simple gradation can be processed at high speed by filling.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。なお、本発明は以下の例に限定されるものではなく、本発明の要旨を逸脱しない範囲で、任意に変更可能であることは言うまでもない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Needless to say, the present invention is not limited to the following examples, and can be arbitrarily changed without departing from the gist of the present invention.
本発明は、例えば図1に示すようにホストコンピュータ10と画像処理装置20がLANなどのネットワーク15を介して相互に通信可能に接続されてなる印刷システム1における画像処理装置20に適用される。
The present invention is applied to, for example, an
この印刷システム1において、画像処理装置20は、ホストコンピュータ10から供給される印刷データを印刷する機能を備えたプリンタ装置であって、装置全体の制御および各種演算処理を行うコンピュータ(CPU)30、プログラムやデータを格納するためのリードオンリメモリ(ROM)40、作業領域として一時的にプログラムやデータを記憶するためのランダムアクセスメモリ(RAM)50、各種情報の表示および各種指示の入力に使用される操作パネル部60、電子写真式プロセス等の周知の作像プロセスを用いて、各種データを用紙などの記録媒体上に印刷する印刷部70、およびネットワーク15に接続するためのLANカードなどの通信インターフェース80などがバス90を介して相互に接続されている。
In the
画像処理装置20には、その機能的な構成を図2のブロック図に示すように、通信インターフェース80を介してデータを受信するデータ受信部31、データ受信部31により受信したデータの解析を行なうデータ解析部32、データ解析部32からの指示に従って描画データを処理する描画データ処理部33、描画データ処理部33で作成されたディスプレイリストからビデオRAM上にビットマップを作成する描画部34、システムのメモリを管理するメモリ管理部35、システムの共通情報を管理し、システムの制御を行なうシステム制御部36などが、CPU30による処理機能として搭載されており、描画部34により作成されたビットマップに従って印刷部70が実際に記録媒体に印刷を行う。
The functional structure of the
描画データ処理部33は、その構成を図3に示すように、拡大縮小の設定行列や現在有効なスクリーン等の描画に関係する設定情報を管理する描画環境管理部331、イメージデータの処理を行うイメージ処理部332、ベクターデータの処理を行うベクター処理部333、文字データの処理を行なう文字処理部334、クリップ処理を行うクリップ処理部335、各処理部332〜335で処理された情報を元にディスプレイリストを作成するディスプレイリスト作成部336などを有する。
As shown in FIG. 3, the drawing
さらに、ベクター処理部333は、グラデーションの処理を同色の矩形等のベクタオブジェクトのフィルにより行うか、イメージにより描画するかの判定を行うグラデーション処理方法判定部3331、指定されたグラデーションのイメージを作成するグラデーションイメージ作成部3332、パスの塗りつぶし処理を行うフィル処理部3333、パスを指定された幅で塗るストローク処理部3334等を備える。
Further, the
この印刷システム1において、画像処理装置20に備えられたCPU30は、例えばROM40から読み出される画像処理プログラムに従って次のように画像処理を実行する。
In the
すなわち、この画像処理装置20の制御部30は、ホストコンピュータ1から送られてくるデータを通信インターフェース80を介してデータ受信部31により受け取り、受け取ったデータをデータ解析部32により解析する。
That is, the
データ解析部32によりデータを解析して得られる描画命令は、描画データ処理部33により処理され、描画データのうちグラデーションに関するものはベクタ処理部333に渡される。
The drawing command obtained by analyzing the data by the
ベクタ処理部333で処理されたグラデーションは、1ラインのイメージに置き換えられた場合はイメージ処理部332により処理され、ディスプレイリスト作成部336でディスプレイリストが作成される。また、1ラインのイメージに置き換えない場合は、ベクタ処理部333で矩形等の帯状領域のパスとして処理され、ディスプレイリスト作成部336でディスプレイリストが作成される。ディスプレイリスト作成部で336作成されたディスプレイリストは、描画部34に渡され、ビデオRAMにビットマップとして書き込まれる。印刷部70は、そのビットマップを記録媒体へ出力する。
When the gradation processed by the
ここで、グラデーションの方向についての例として、図4の(A),(B),(C)に、横グラデーション101、斜めグラデーション102、縦グラデーション103を示す。この例ではページ全体にグラデーションがかかっている様子を表している。図4の(A)に示す横グラデーション101は、上の方のバンドは黒で描画し、下の方のバンドは白で描画している。図4のバンドの方向とは、グラデーションの描画時に走査する方向を表す。この方向に沿って処理を行なう場合はメモリのアクセス効率が良いため高速な処理が行える。
Here, as an example of the direction of gradation, FIGS. 4A, 4B, and 4C show a
従来の手法では、図4(B)に示す斜めグラデーション102の場合、グラデーションの始点と終点を結ぶ直線に垂直で、同じ色で構成される複数の帯状領域が、それぞれバンドを構成する走査線(バンド方向の1ラインイメージ)一つ一つに対してどのように交差するかを求め、走査線ごとのグラデーションパターンを生成するようにしていた。このような従来の手法では、図4の(A)に示す横グラデーション101のように、バンド方向の色の変化がない、または、少ない場合には走査線と帯状領域が交差する箇所を求めることが少ないため、有効であるが、図4(B)に示す斜めグラデーション102や図4(C)に示す縦グラデーション103ではバンド方向の色の変化が多くなるため多数の交点を求める必要があり、計算コストがかかる。
In the conventional method, in the case of the oblique gradation 102 shown in FIG. 4B, a plurality of strip-like regions that are perpendicular to the straight line connecting the start point and the end point of the gradation and are formed of the same color are each a scanning line ( (One line image in the band direction) How to intersect one by one was determined, and a gradation pattern for each scanning line was generated. In such a conventional method, as in the
この画像処理装置20では、図4の(A)に示す斜めグラデーションや図4(C)に示す縦グラデーションでバンド方向の色の変化が大きい場合に、走査線ごとのグラデーションパターンを作成するのではなく、図5のフローチャートに示すような手順に従ってグラデーションの描画処理を行い、ベクタ処理部333において、グラデーションの方向の1ラインのイメージを作成し、それをグラデーションの方向と垂直な方向に拡大することによりグラデーションの描画を行う。また、このようなイメージにより処理を行うか、同じ色毎の帯状領域の塗りつぶしによる処理を行うかの判定を行う。
In this
すなわち、ベクタ処理部333では、グラデーションの描画命令が入力されると(ステップS1)、まず、グラデーション処理方法判定部3331において、バンド方向の色変化の割合が大きいか否かの判定処理を行う(ステップS2)。ここでは、グラデーション処理方法判定部3331が、対象となる走査線を描画する上で色の変化がある閾値よりも大きいか否かにより判定する。詳細には、グラデーション処理方法判定部3331が、対象となる走査線のイメージデータに対して同じ色のドットが何ドット続いているかを分析して、所定の閾値と比較する。グラデーション処理方法判定部3331は、続けて配列される同じ色のドット数が閾値よりも小さければ、色変化の割合が大きいと判定する。
That is, when a gradation drawing command is input to the vector processing unit 333 (step S1), first, the gradation processing
ここで、グラデーション処理方法判定部3331により走査線のイメージを分析した結果を記録する1例を次の表1に示す。
Here, an example in which the result of analyzing the image of the scanning line by the gradation processing
表1は、走査線に同じ色のドットが続けて配列されているドット数を示している。表1の例では、続けて配列される同じ色のドット数の平均値は7.5となる。閾値が10であれば、続けて配列される同じ色のドット数は閾値よりも小さいので、グラデーション処理方法判定部3331は、対象となる走査線の色変化の割合が大きいと判定する。
Table 1 shows the number of dots in which dots of the same color are continuously arranged on the scanning line. In the example of Table 1, the average number of dots of the same color arranged in succession is 7.5. If the threshold value is 10, the number of dots of the same color arranged in succession is smaller than the threshold value, so the gradation processing
なお、閾値は予め画像処理装置30に設定された数値であり、製造者や装置管理者が適宜設定することができるものである。
The threshold value is a numerical value set in advance in the
ステップS2における判定結果がYES、すなわち、色変化の割合が大きい場合には、グラデーションイメージ作成部3332により、指定されたグラデーションのイメージを作成して(ステップS3)、イメージによりパスの領域を描画する(ステップS4)。グラデーションイメージ作成部3332が行なう描画処理の詳細については、後述する。
If the determination result in step S2 is YES, that is, if the rate of color change is large, the gradation
また、ステップS2における判定結果がNO、すなわち、上記閾値より色変化の割合が小さければ、ストローク処理部3334により、パスを指定された幅で塗る処理を行い、同じ色の領域をパスで描画する(ステップS5)。この場合は、ストローク処理部3334により、グラデーションで色が変化するなかで同じ色が連続する帯状の領域についてのパスを作成し、その色でパスの塗りつぶし処理を行う。これをグラデーションで変化する色ごとに行うことでグラデーション全体を描画する。
If the determination result in step S2 is NO, that is, if the rate of color change is smaller than the threshold value, the
すなわち、この画像処理装置20では、データ受信部31により受信したホストコンピュータ30からの要求がグラデーションの描画処理である場合に(ステップS1)、グラデーション処理方法判定部3331において、バンド方向の色の変化の割合が大きいか否かにより、グラデーションの処理を同色のベクタオブジェクトのフィルにより行うか、イメージにより描画するかの判定を行い(ステップS2)、その判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、グラデーションイメージ作成部3332によりグラデーションのラインイメージを作成して(ステップS3)、パスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し(ステップS4)、また、上記判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には、ストローク処理部3334により、指定された幅で塗ることにより、同じ色の領域をパスで描画する(ステップS5)。
That is, in the
ここで、グラデーションイメージ作成部3332では、指定されたグラデーションの開始位置、終了位置、描画対象の外接矩形領域及びグラデーションで指定された色情報を元にグラデーションのラインイメージを作成する。
The gradation
例えば、図6に示す描画対象の外接矩形領域100にしてグラデーションの描画を行う場合に、図7に示すようなグラデーションのラインイメージ110を作成する。図6において、矢印A,Bは、それぞれグラデーションの開始位置、終了位置を示す。
For example, when gradation is drawn in the circumscribed
また、描画対象の外接矩形100と指定されたグラデーションの開始位置、終了位置が一致していない場合の例を図8に示す。図8の全体が描画対象の外接矩形100’を表す。図8において、A’とB’は、それぞれグラデーションの開始位置と終了位置を表している。この場合、黒色の三角形の領域Cと白色の三角形の領域Dはグラデーションの指定された領域の外側となる。この例では、それぞれ開始位置を黒、終了位置を白で表してある。それ以外にもグラデーションを繰り返す方法などが描画データから指定される。このような場合についても、図9に示すようにその領域C,Dを含めたラインイメージ111を作成することにより描画対象の領域全体をグラデーションで描画することができる。また、グラデーションの開始位置と終了位置が描画対象領域の外接矩形の外側にある場合は外接矩形を描画できる長さのラインイメージを作成すればよい。
FIG. 8 shows an example in which the circumscribed
このようにして、ベクタ処理部333では、ステップS3においてグラデーションイメージ作成部3332により描画対象の外接矩形100についてのラインイメージを作成して、次のステップS5においてイメージによりパスの領域を描画で作成したグラデーションのラインイメージをイメージ処理部332へ渡す。
In this way, in the
また、描画する領域がパスにより指定されている場合はクリップ処理部335によりグラデーションをかける領域に対してクリップ処理を行う。
If the area to be drawn is specified by the path, the
そして、イメージ処理部332では、ベクタ処理部333のグラデーションイメージ作成部3332が作成したラインイメージ110と指定したイメージの位置や向きや拡大方向によりパスで指定された形状を塗り、次のようにして、イメージを描画する。
In the
まず、図10の(A)に示すように、描画する形状200の一点P1を選択する。そしてその点と対応づくラインイメージ110上の位置を計算する。次に図10の(B)に示すように、ラインイメージ110のその点D1の色をコピーする。
First, as shown in FIG. 10A, one point P1 of the
指定した一点P1の描画が行えたら、図10の(C)に示すように次の点P2に処理を移す。そして同じように計算し、図10(D)に示すようにラインイメージ110の対応する点D2の色をコピーする。
If the designated one point P1 can be drawn, the process moves to the next point P2 as shown in FIG. Then, the same calculation is performed, and the color of the corresponding point D2 in the
このようにして、描画したい形状についての全ての点P1,P2,・・・Pnについての色をラインイメージ110上の位置を計算してコピーすることにより、図11に示すように、形状200全体をグラデーションにより描画することができる。
In this way, by calculating the positions on the
上述の如き構成の画像処理装置20では、受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合が大きいか否かにより、グラデーションの処理を同色のベクタオブジェクトのフィルにより行うか、イメージにより描画するかの判定を行い、その判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、グラデーションのラインイメージを作成してパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、また、上記判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には、指定された幅で塗ることにより、同じ色の領域をパスで描画するので、グラデーションの描画に関して1ラインイメージを作成することで、複雑なグラデーションの色の変化についても処理速度の低下が起きることなく、また、単純なグラデーションについてはフィルにより高速に処理することができる。
In the
1 印刷システム、10 ホストコンピュータ、15 ネットワーク、20 画像処理装置、30 CPU、40 ROM、31 データ受信部、32 データ解析部、33 描画データ処理部、34 描画部、35 メモリ管理部、36 システム制御部、50 RAM、60 操作パネル部、70 印刷部、80 通信インターフェース、90 バス、331 描画環境管理部、332イメージ処理部、333 ベクター処理部、334 文字処理部、335 クリップ処理部、336 ディスプレイリスト作成部、3331 グラデーション処理判定部、3332 グラデーションイメージ処理部、3333 フィル処理部、3334 ストローク処理部 1 printing system, 10 host computer, 15 network, 20 image processing device, 30 CPU, 40 ROM, 31 data receiving unit, 32 data analyzing unit, 33 drawing data processing unit, 34 drawing unit, 35 memory management unit, 36 system control Part, 50 RAM, 60 operation panel part, 70 printing part, 80 communication interface, 90 bus, 331 drawing environment management part, 332 image processing part, 333 vector processing part, 334 character processing part, 335 clip processing part, 336 display list Creation unit, 3331 Gradation processing determination unit, 3332 Gradation image processing unit, 3333 Fill processing unit, 3334 Stroke processing unit
Claims (6)
上記通信手段により受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合を閾値との比較結果に基づき判定するグラデーション処理方法判定手段と、
指定されたグラデーションのイメージを作成するグラデーションイメージ作成手段と、
パスの塗りつぶし処理を行うフィル処理手段と、
パスを指定された幅で塗るストローク処理手段を備え、
上記グラデーション処理方法判定手段による判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、上記グラデーションイメージ作成手段によりグラデーションのラインイメージを作成して上記フィル処理手段によりパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、
上記グラデーション処理方法判定手段による判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には上記ストローク処理手段によりパスを指定された幅で塗ることにより、同じ色の領域をパスで描画することを特徴とする画像処理装置。 A communication means for communicating with an external device;
A gradation processing method determination unit that determines a rate of change in color in the band direction based on a comparison result with a threshold when the request from the external device received by the communication unit is a gradation drawing process;
A gradient image creation means for creating a specified gradient image;
Fill processing means for performing path filling processing;
It has stroke processing means to paint the path with specified width,
Based on the determination result by the gradation process determining unit, when the rate of change of the color of the band direction is large, the path through the fill processing means to create a line image of the gradient by the gradient image creation means filling process , Draw the path area with the line image,
Based on the determination result by the gradation processing method determining means, when the rate of color change in the band direction is small, the same color area is drawn with the pass by painting the path with the specified width by the stroke processing means. An image processing apparatus.
受信した外部装置からの要求がグラデーションの描画処理である場合に、バンド方向の色の変化の割合を閾値との比較結果に基づき判定し、
その判定結果に基づいて、バンド方向の色の変化の割合が大きい場合には、グラデーションのラインイメージを作成してパスの塗りつぶし処理を行い、ラインイメージによりパスの領域を描画し、
また、上記判定結果に基づいて、バンド方向の色の変化の割合が小さい場合には、指定された幅で塗ることにより、同じ色の領域をパスで描画する処理を上記画像処理装置に備えられたコンピュータにより実行させることを特徴とする画像処理プログラム。 An image processing program executed by a computer provided in an image processing apparatus that performs drawing in response to a request from the external apparatus received by a communication unit for communicating with an external apparatus,
When the received request from the external device is a gradation drawing process, the rate of color change in the band direction is determined based on the comparison result with the threshold ,
Based on the determination result, if the rate of color change in the band direction is large, create a gradation line image, fill the path, draw the path area with the line image,
In addition, based on the determination result, when the rate of color change in the band direction is small, the image processing apparatus is provided with a process of drawing an area of the same color with a pass by painting with a specified width. An image processing program that is executed by a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008220192A JP5112223B2 (en) | 2008-08-28 | 2008-08-28 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008220192A JP5112223B2 (en) | 2008-08-28 | 2008-08-28 | Image processing apparatus and image processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010056931A JP2010056931A (en) | 2010-03-11 |
JP5112223B2 true JP5112223B2 (en) | 2013-01-09 |
Family
ID=42072369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008220192A Expired - Fee Related JP5112223B2 (en) | 2008-08-28 | 2008-08-28 | Image processing apparatus and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5112223B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7316829B2 (en) | 2019-04-15 | 2023-07-28 | キヤノン株式会社 | Information processing device, information processing method, and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0787302A (en) * | 1993-09-16 | 1995-03-31 | Fuji Xerox Co Ltd | Document processor |
-
2008
- 2008-08-28 JP JP2008220192A patent/JP5112223B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010056931A (en) | 2010-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6029344B2 (en) | Image processing apparatus, image processing method, and program | |
US8149461B2 (en) | Image processing apparatus and method to compensate for displacement of different printing positions in different colors | |
JP2011070337A (en) | Image processing system and image processing program | |
JP3680109B2 (en) | Printing system | |
JP4510847B2 (en) | Image processing apparatus and image processing program | |
US7330196B2 (en) | Apparatus and method for image processing capable of accelerating image overlay process | |
JP6202908B2 (en) | Image processing apparatus, image processing method, and program | |
US10593030B2 (en) | Image forming apparatus capable of changing thickness of character, control method therefor, and storage medium storing control program therefor | |
KR100709364B1 (en) | Method and apparatus for generating pattern image | |
JP5112223B2 (en) | Image processing apparatus and image processing program | |
CN105704347A (en) | Image processing apparatus and image processing method | |
JP2019098580A (en) | Image forming apparatus | |
EP1988490A1 (en) | Selective density enhancement of graphical objects | |
JP2013026865A (en) | Image processing apparatus and image processing method | |
JP2017097463A (en) | Print control system, print control device, and program | |
JP6904717B2 (en) | Image processing equipment, its control method, and programs | |
JP5790000B2 (en) | Printing apparatus and printing method therefor | |
JP2007083556A (en) | Image processor and image processing method | |
US8792133B2 (en) | Rendering data processing apparatus, rendering data processing method, print apparatus, print method, and computer-readable medium | |
JP6145877B2 (en) | Color mode determination apparatus and program | |
JP5720335B2 (en) | Image processing apparatus and image processing program | |
JP3968989B2 (en) | Image processing apparatus, image processing method, and storage medium storing image processing program | |
JP2007081886A (en) | Drawing processing apparatus | |
JPH11138920A (en) | Image processor, data processing method therefor and memory medium storing computer readable program | |
JP5764992B2 (en) | Image processing apparatus, image processing method, and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120321 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120507 |
|
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: 20120911 |
|
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: 20121010 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151019 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5112223 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 |