JP2002244643A - Image processor - Google Patents

Image processor

Info

Publication number
JP2002244643A
JP2002244643A JP2001038069A JP2001038069A JP2002244643A JP 2002244643 A JP2002244643 A JP 2002244643A JP 2001038069 A JP2001038069 A JP 2001038069A JP 2001038069 A JP2001038069 A JP 2001038069A JP 2002244643 A JP2002244643 A JP 2002244643A
Authority
JP
Japan
Prior art keywords
list
edge
unit
edge list
image
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.)
Pending
Application number
JP2001038069A
Other languages
Japanese (ja)
Inventor
Takashi Nagao
隆 長尾
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2001038069A priority Critical patent/JP2002244643A/en
Publication of JP2002244643A publication Critical patent/JP2002244643A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely transfer data in timing to the output of an output device even when complicated plotting process is included. SOLUTION: This image processor is equipped with a 1st plotting time prediction part 6 which performs prediction from a display list format, an edge list generation part 7 which generates an edge list from the display list, a 2nd plotting time prediction part 9 which performs prediction from the edge list format, an edge list conversion part 10 which converts the edge list into a format of a shorter plotting time, and a plotting part 12 which performs plotting in the format obtained by converting the display list and edge list.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタやディス
プレイ装置などへの印刷出力または表示出力を目的とし
て、入力される図形やアウトラインデータで表現された
文字、画像などの描画を行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for drawing characters and images represented by input figures and outline data for the purpose of print output or display output to a printer or a display device. .

【0002】[0002]

【従来の技術】図形やアウトラインデータで表現された
文字を扱うエディタ、CAD/CAMシステムなどで
は、それをプリンタやディスプレイ装置に出力するため
に、図形の描画処理が行われる。このような描画は、例
えば図9に示すようなブロックを使って処理が進められ
る。
2. Description of the Related Art In an editor, a CAD / CAM system, or the like that handles a character represented by a figure or outline data, a drawing process is performed to output the figure to a printer or a display device. The processing of such drawing is advanced using, for example, blocks as shown in FIG.

【0003】図9において、まず、ユーザ指示や外部か
らの入力により図形や文字、画像の描画命令が入力され
ると、命令解釈部1により入力された描画命令が解釈さ
れ、ベクターデータ生成部2に入力される。ベクターデ
ータ生成部2は、文字の場合にはフォント管理部3に要
求して文字のアウトラインを表現するベクターデータを
取得する。ストローク(線)図形の場合は、太さや接続
部分の形状をもとに例えば図10に示すような輪郭のベ
クターデータに変換される。
In FIG. 9, first, when a drawing command of a figure, character, or image is input by a user's instruction or an external input, the drawing command input is interpreted by a command interpreting unit 1 and a vector data generating unit 2 is interpreted. Is input to In the case of a character, the vector data generation unit 2 requests the font management unit 3 to acquire vector data representing the outline of the character. In the case of a stroke (line) figure, it is converted into vector data having a contour as shown in FIG. 10, for example, based on the thickness and the shape of the connection portion.

【0004】このように変換された文字、ストローク図
形とフィル(塗りつぶし)図形は、ディスプレイリスト
生成部4に入力される。なお、画像は1画素毎に異なる
色で塗りつぶすフィル図形として取り扱われる。
[0004] The characters, stroke figures, and fill (fill) figures converted in this way are input to the display list generation unit 4. It should be noted that the image is treated as a fill graphic that is filled with a different color for each pixel.

【0005】ディスプレイリスト生成部4では、まずベ
ジェ、スプラインなどで表現された曲線部分を微小直線
で近似し、図11に示すような多角形のベクターデータ
に変換する。
[0005] The display list generation unit 4 first approximates a curve portion represented by a Bezier, a spline, or the like with a minute straight line, and converts it into polygonal vector data as shown in FIG.

【0006】次に図12に示すようなディスプレイリス
ト形式の表現に変換する。ディスプレイリストは、多角
形を構成するベクターに関するデータの一例として、D
ir:方向フラグ(上向きの場合は+1、下向きの場合
は−1)、Xs:ベクター開始点のX座標、Ye:ベク
ター終了点のY座標、Dx:Y座標の+1増加に対する
Xの変化量(傾き)、の4つの要素データを持つ。多角
形からディスプレイリストへの変換については、さらに
後段で詳述する。
Next, the data is converted into a display list format as shown in FIG. The display list includes D as an example of data related to the vectors constituting the polygon.
ir: direction flag (+1 for upward, -1 for downward), Xs: X coordinate of vector start point, Ye: Y coordinate of vector end point, Dx: X change amount with +1 increase of Y coordinate ( Slope)). The conversion from the polygon to the display list will be described later in detail.

【0007】このようにして生成されたディスプレイリ
ストデータは、描画処理部12に入力される。描画処理
部12では、入力されたディスプレイリストの各辺と出
力デバイスの各スキャンラインとの交点座標をDDA
(Digital Differential Ana
lyzer)などの手法で計算し、各スキャンライン毎
にX座標値でソートして塗りつぶしの開始点/終了点の
対応を求め、その区間に対応した、スキャンラインに平
行な線分(以下、これをエッジと称する。)をメモリ部
13上に描画する。このようにして描画されたメモリデ
ータをプリンタやディスプレイ装置などの出力デバイス
14に転送することで、印刷や表示が行われる。
[0007] The display list data thus generated is input to the drawing processing unit 12. The drawing processing unit 12 calculates the coordinates of the intersection of each side of the input display list and each scan line of the output device with a DDA.
(Digital Differential Ana
lyzer), and sorts the X-coordinate values for each scan line to determine the correspondence between the start point and the end point of the fill. A line segment parallel to the scan line corresponding to the section (hereinafter, this Is called an edge) on the memory unit 13. The memory data drawn in this manner is transferred to an output device 14 such as a printer or a display device, so that printing or display is performed.

【0008】このような図形処理処理において、描画処
理部12の動作は、各辺毎のDDAやソート、メモリ描
画などを含んでいるため重い処理となり、特にグラデー
ションなど重なりを含む複雑な図形を描画する際には、
メモリ部13上の同じ領域に何度も上書きが発生し、全
体の処理速度を落とす大きな要因となる。
In such graphic processing, the operation of the drawing processing unit 12 is heavy because it involves DDA, sorting, and memory drawing for each side, and in particular, draws complicated figures including overlaps such as gradation. When you do
Overwriting occurs in the same area on the memory unit 13 many times, which is a major factor in reducing the overall processing speed.

【0009】さらに、近年のプリンタ装置のように、描
画命令を多角形やディスプレイリスト、エッジリストな
どのレベルで蓄積することでページメモリを削減し、プ
リンタの印字速度に合わせてリアルタイムに画像形成を
行いながら出力する場合には、重なりの多い複雑な部分
で画像形成が間に合わずに絵抜けが生じる可能性があ
る。
Further, unlike a recent printer, a page memory is reduced by storing drawing commands at a level such as a polygon, a display list, and an edge list, and image formation is performed in real time in accordance with the printing speed of the printer. In the case of outputting while performing, there is a possibility that image formation may not be completed in a complicated portion having many overlaps and picture omission may occur.

【0010】従来このような問題を解決する試みとし
て、描画要素から重なりを除去することで処理の高速化
やリアルタイム描画を行う手法が提案されている。この
ような考え方を用いた従来技術としては、特開平8−2
79050号公報や特開平9−62851号公報、特開
平9−171563号公報、特開平9−281953号
公報や、特開2000−149036号公報などがあ
る。
Conventionally, as an attempt to solve such a problem, there has been proposed a method of performing high-speed processing or real-time drawing by removing overlaps from drawing elements. As a conventional technique using such a concept, Japanese Patent Application Laid-Open No. Hei 8-2
JP-A-79050, JP-A-9-62851, JP-A-9-171563, JP-A-9-281953, and JP-A-2000-149036.

【0011】[0011]

【発明が解決しようとする課題】特開平8−27905
0号公報や特開平9−62851号公報は、描画要素を
エッジリストの形式で蓄積し、同じスキャンラインに対
する描画を行うエッジ情報を比較して重なりがある場合
にこれを除去するものである。しかし、エッジリストで
の描画要素の蓄積は、近年のプリンタ装置のように解像
度が高くなると蓄積すべきデータ量が膨大となり、メモ
リコストが増大するなどの欠点がある。
Problems to be Solved by the Invention
Japanese Patent Publication No. 0 and Japanese Patent Application Laid-Open No. Hei 9-62851 are directed to accumulating drawing elements in the form of an edge list, and comparing edge information for drawing on the same scan line and removing any overlap. However, the accumulation of drawing elements in the edge list has disadvantages such as an increase in resolution, as in recent printers, in which the amount of data to be accumulated becomes enormous and the memory cost increases.

【0012】特開平9−171563号公報や特開平9
−281953号公報は、描画要素を多角形データの形
式で蓄積し、2つの多角形について重なり判定を行い、
重なりがある場合にこれを除去するものである。しか
し、多角形レベルで重なり除去を行うためには、多角形
が単純な凸型になっている必要があり、凹型や辺の交差
を含む多角形についてはこれを分割して凸型にするなど
の前処理が必要である。また、重なり判定/オーバーレ
イグラフなどで対象を絞ってはいるものの、基本的に2
つの多角形間の重なり除去を行う方式なので、N個の処
理対象の重なりを完全に除去するためにはN!回の処理
が必要となる。
[0012] Japanese Patent Application Laid-Open No. 9-171563 and
Japanese Patent Application Laid-Open No. -281953 accumulates drawing elements in the form of polygon data, performs overlap determination on two polygons,
If there is an overlap, this is removed. However, in order to perform overlap removal at the polygon level, it is necessary that the polygon has a simple convex shape. For polygons including concave shapes and intersections of sides, this is divided into convex shapes. Pre-processing is required. Although the target is narrowed down by overlap judgment / overlay graph, etc.
Since the overlap between two polygons is removed, N! Times of processing is required.

【0013】特開2000−149036号公報におい
ては、ディスプレイリスト形式で表現された描画要素か
らその描画処理に必要な処理時間を予測し、間に合わな
いと判断された場合には、ディスプレイリスト形式のま
まで、かつN個の処理対象に対してN回の処理で実行可
能な、描画要素間の重なりを除去する方式を提案した。
In Japanese Patent Application Laid-Open No. 2000-149036, the processing time required for the drawing processing is predicted from drawing elements expressed in the display list format, and if it is determined that the processing time cannot be reached, the display list format is used. And a method for removing overlap between drawing elements, which can be executed in N times for N processing targets.

【0014】しかしながら、特開2000−14903
6号公報に記載した方式では、ディスプレイリストの外
接矩形情報を元に処理時間の予測を行っているため、描
画命令の記述方式などによっては予測誤差が大きくなる
場合があり、その際には安全を見積もって実際は間に合
うものにまで不要な重なり除去処理を行ってしまうとい
う問題がある。
However, Japanese Patent Application Laid-Open No. 2000-14903
In the method described in Japanese Patent Application Laid-Open No. 6 (1994), since the processing time is predicted based on the circumscribed rectangle information of the display list, the prediction error may increase depending on the description method of the drawing command and the like. And there is a problem that unnecessary overlap removal processing is performed even for an object that is actually in time.

【0015】また、特開平8−279050号広報や特
開2000−149036号公報は、重なり除去を行っ
た結果として、プリンタの印字速度に必ず間に合うよう
画像形成できるようになることを前提にしているが、米
国マイクロソフト社の描画記述命令であるGDI(Gr
aphic Device Interface)や米
国ヒューレットパッカード社のページ記述言語であるP
CL(PrinterControl Languag
e)などのように、ROP(RasterOPerat
ion)と呼ばれる下地と描画要素との論理演算を含む
描画を必要とするものでは、下になる部分を除去できな
いケースがあるため、重なり除去処理を行っても間に合
わない可能性があるという問題がある。
Further, Japanese Patent Application Laid-Open No. Hei 8-279050 and Japanese Patent Application Laid-Open No. 2000-149036 are based on the premise that as a result of performing the overlap removal, it is possible to form an image without fail in time for the printing speed of the printer. Is GDI (Gr.
aphic Device Interface) and Hewlett-Packard's page description language P
CL (Printer Control Language)
e) ROP (RasterOperat)
In the case of drawing that requires a logical operation between a base and a drawing element, which is called “ion), there is a case where the underlying portion cannot be removed. is there.

【0016】本発明は以上のような従来技術の問題点を
考慮してなされたものであり、ディスプレイリスト形式
からの描画時間予測手段と、ディスプレイリストからエ
ッジリストを生成するエッジリスト生成手段と、エッジ
リスト形式からの描画時間予測手段と、エッジリストを
より描画時間の少ない形式に変換するエッジリスト変換
手段と、ディスプレイリスト及びエッジリストを変換し
た形式を描画処理する描画処理手段とを持ち、不要な処
理を減らすとともにROPが含まれる場合にも確実に間
に合うことを保証し、またエッジリストと比較して高解
像度の場合でも少ないメモリ量での蓄積/転送が可能
な、高速の画像処理装置を実現することを目的とする。
The present invention has been made in consideration of the above-mentioned problems of the prior art, and includes a drawing time predicting means from a display list format, an edge list generating means for generating an edge list from a display list, There is no drawing time estimating means from the edge list format, an edge list converting means for converting the edge list into a format having a shorter drawing time, and a drawing processing means for performing a drawing process on the display list and the converted edge list. A high-speed image processing apparatus that can reduce the amount of processing required, guarantee that ROPs are included in time, and can store / transfer with a small amount of memory even in the case of high resolution compared to the edge list. It is intended to be realized.

【0017】[0017]

【課題を解決するための手段】本発明は、上記の目的を
達成するために成された画像処理装置に関するものであ
る。すなわち、本発明は、図形の描画処理を行う画像処
理装置において、図形の描画要素やクリップ要素を記述
するベクター情報を多角形近似した直線ベクターの集合
に変換し、該直線ベクター集合に含まれる各直線をその
開始スキャンライン座標値でソートして方向,傾き,長
さ情報を付加したディスプレイリストを描画要素に対応
して生成するディスプレイリスト生成手段と、生成され
たディスプレイリストを蓄積するディスプレイリスト蓄
積手段と、蓄積されたディスプレイリストから描画処理
時間を推定する第1の描画時間推定手段と、ディスプレ
イリスト中の各直線と出力スキャンラインとの交点を計
算して、描画要素毎に各スキャンライン上の描画開始位
置と描画長の組で構成されたエッジのリストを生成する
エッジリスト生成手段と、生成されたエッジリストを蓄
積するエッジリスト蓄積手段と、蓄積されたエッジリス
トから描画処理時間を推定する第2の描画時間推定手段
と、エッジリストをより描画時間が少ない形式に変換す
るエッジリスト変換手段と、前記エッジリスト変換手段
により変換されたデータを蓄積する変換データ蓄積手段
と、前記ディスプレイリスト、前記エッジリストおよび
前記エッジリスト変換手段により変換された描画要素を
処理して画像を生成する画像描画手段とを有するもので
ある。
SUMMARY OF THE INVENTION The present invention relates to an image processing apparatus for achieving the above object. That is, the present invention converts, in an image processing apparatus that performs a drawing process of a graphic, vector information describing a drawing element or a clip element of the graphic into a set of linear vectors approximated by a polygon, and includes Display list generating means for sorting a straight line according to its start scan line coordinate value and generating a display list to which direction, inclination, and length information are added in accordance with a drawing element, and a display list storage for storing the generated display list Means, first drawing time estimating means for estimating the drawing processing time from the accumulated display list, and calculating the intersection of each straight line in the display list with the output scan line, and calculating the intersection of each scanning element for each drawing element. List generating means for generating a list of edges composed of a pair of a drawing start position and a drawing length Edge list accumulating means for accumulating the generated edge list, second drawing time estimating means for estimating the drawing processing time from the stored edge list, and edge list for converting the edge list into a format having a shorter drawing time. A conversion unit, a conversion data storage unit for storing data converted by the edge list conversion unit, and an image generated by processing the display list, the edge list, and the drawing element converted by the edge list conversion unit. Image drawing means.

【0018】さらに、本発明の画像処理装置において、
前記エッジリスト変換手段は、描画要素間の重なりによ
り描画結果に影響を与えないエッジまたはその一部を除
去するものである。
Further, in the image processing apparatus of the present invention,
The edge list conversion means removes an edge or a part thereof which does not affect the drawing result due to the overlap between the drawing elements.

【0019】さらに、本発明の画像処理装置において、
前記エッジリスト変換手段は、エッジリストで表現され
た描画要素に描画処理を行って画像に変換するものであ
る。
Further, in the image processing apparatus of the present invention,
The edge list converting means performs a drawing process on a drawing element represented by an edge list to convert the drawing element into an image.

【0020】さらに、本発明の画像処理装置において、
前記第1の描画時間推定手段は、少なくともディスプレ
イリストで表現された描画要素の外接矩形の画素数を用
いて推定処理を行い、前記第2の描画時間推定手段は、
少なくともエッジリストで表現された描画要素の描画画
素数を用いて推定処理を行うものである。
Further, in the image processing apparatus of the present invention,
The first drawing time estimation means performs an estimation process using at least the number of pixels of a circumscribed rectangle of a drawing element represented by a display list, and the second drawing time estimation means includes:
The estimation process is performed by using at least the number of pixels of the drawing element represented by the edge list.

【0021】さらに、本発明の画像処理装置において、
前記第1の描画時間推定手段により推定した描画時間が
第1の閾値以下である場合には前記画像描画手段にディ
スプレイリストを入力して処理し、それ以外の場合には
前記エッジリスト生成手段によりディスプレイリストを
エッジリストに変換し、前記第2の描画時間推定手段に
より推定した描画時間が第2の閾値以下である場合には
前記画像描画手段にエッジリストを入力して処理し、そ
れ以外の場合には前記エッジリスト変換手段によりエッ
ジリストを変換した結果を前記画像描画手段に入力して
処理するものである。
Further, in the image processing apparatus of the present invention,
If the drawing time estimated by the first drawing time estimating means is equal to or less than a first threshold, a display list is input to the image drawing means for processing, otherwise, the display list is processed by the edge list generating means. The display list is converted into an edge list, and when the drawing time estimated by the second drawing time estimating means is less than or equal to a second threshold, the edge list is input to the image drawing means for processing. In this case, the result of converting the edge list by the edge list converting means is input to the image drawing means for processing.

【0022】さらに、本発明の画像処理装置において、
前記ディスプレイリスト生成手段、前記ディスプレイリ
スト蓄積手段、第1の描画時間推定手段、エッジリスト
生成手段、エッジリスト蓄積手段、第2の描画時間推定
手段、エッジリスト変換手段、変換データ蓄積手段、画
像描画手段での各処理は、形成される画像全体を分割し
た部分領域毎に独立に行われるものである。
Further, in the image processing apparatus of the present invention,
The display list generating unit, the display list storing unit, the first drawing time estimating unit, the edge list generating unit, the edge list storing unit, the second drawing time estimating unit, the edge list converting unit, the converted data storing unit, and the image drawing Each processing by the means is independently performed for each partial region obtained by dividing the entire image to be formed.

【0023】さらに、本発明の画像処理装置において、
ディスプレイリスト生成手段、ディスプレイリスト蓄積
手段、第1の描画時間推定手段、エッジリスト生成手
段、エッジリスト蓄積手段、第2の描画時間推定手段、
ならびにエッジリスト変換手段はプログラムにより記述
されたソフトウェアで構成され、画像描画手段はハード
ウェアで構成されるものである。
Further, in the image processing apparatus of the present invention,
Display list generating means, display list storing means, first drawing time estimating means, edge list generating means, edge list storing means, second drawing time estimating means,
Further, the edge list conversion means is constituted by software described by a program, and the image drawing means is constituted by hardware.

【0024】このような本発明では、第1の描画時間推
定手段によってディスプレイリストの段階での描画処理
時間を推定し、この推定した描画処理時間で出力に間に
合うと判断した場合には、ディスプレイリストを画像描
画手段へ転送する。また、推定した描画処理時間で出力
に間に合わない場合には、エッジリストを生成して第2
の描画時間予測手段によって正確な描画処理時間を推定
し、ここで間に合うと判断した場合にはエッジリストを
画像描画手段へ転送する。また、第2の描画時間予測手
段で推定した描画処理時間では間に合わない場合には、
エッジリストより描画時間が少ない形式にデータを変換
して画像描画手段へ転送する。これにより、複雑な描画
処理であっても出力に間に合うようデータを転送できる
ようになる。
In the present invention, the first drawing time estimating means estimates the drawing processing time at the stage of the display list, and if it is determined that the estimated drawing processing time is sufficient for the output, the display list is estimated. Is transferred to the image drawing means. If the output cannot be completed in the estimated drawing processing time, an edge list is generated and the second list is generated.
The accurate drawing processing time is estimated by the drawing time estimating means, and if it is determined that the time is enough, the edge list is transferred to the image drawing means. Also, if the drawing processing time estimated by the second drawing time prediction means is not enough,
The data is converted into a format having a shorter drawing time than the edge list and transferred to the image drawing means. As a result, data can be transferred in time for output even in a complicated drawing process.

【0025】[0025]

【発明の実施の形態】以下、図面に基づき本発明に係わ
る画像処理装置の実施の形態について説明する。図1
は、本発明の画像処理装置における実施形態を示すブロ
ック図である。同図において、画像処理装置は、命令解
釈部1と、ベクターデータ生成部2と、フォント管理部
3と、ディスプレイリスト生成部4と、ディスプレイリ
スト格納部5と、第1の描画時間予測部6と、エッジリ
スト生成部7と、エッジリスト格納部8と、第2の描画
時間予測部9と、エッジリスト変換部10と、変換デー
タ格納部11と、描画処理部12と、メモリ部13と、
出力デバイス14とを含んで構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an image processing apparatus according to the present invention will be described below with reference to the drawings. Figure 1
1 is a block diagram illustrating an embodiment of an image processing apparatus according to the present invention. In the figure, the image processing apparatus includes an instruction interpreting unit 1, a vector data generating unit 2, a font managing unit 3, a display list generating unit 4, a display list storing unit 5, a first drawing time predicting unit 6, An edge list generating unit 7, an edge list storing unit 8, a second drawing time predicting unit 9, an edge list converting unit 10, a converted data storing unit 11, a drawing processing unit 12, a memory unit 13, ,
And an output device 14.

【0026】以下、本実施形態の各構成要素の概要およ
び動作について説明する。すなわち、命令解釈部1は、
入力された図形または文字の描画命令を解釈し、次のベ
クターデータ生成部2が理解できる形式に変換するもの
である。PostScript(米国アドビ・システム
ズ社商標)やPCLなどのページ記述言語では、これら
はの描画命令は文字列やバイナリ列として与えられるの
で、そのような場合には命令解釈部1はトークンを切り
出し、字句解釈などを行って内部の描画命令に変換す
る。
The outline and operation of each component of this embodiment will be described below. That is, the command interpreter 1
It interprets the input drawing command of a figure or character and converts it into a format that the next vector data generation unit 2 can understand. In a page description language such as PostScript (trademark of Adobe Systems, Inc.) or PCL, these drawing instructions are given as a character string or a binary string. In such a case, the instruction interpreting unit 1 cuts out a token, It interprets and converts it into an internal drawing command.

【0027】ベクターデータ生成部2は、命令解釈部1
からの入力を受けて、ベクターデータを生成する。入力
がフィル(塗りつぶし)図形の場合は、命令解釈部1か
ら図形の輪郭を表現するベクターと、偶奇規則/非零規
則などの塗りつぶし規則と、曲線を直線近似する場合の
精度を指示するフラットネス(flatness)値
や、描画色などが与えられるので、その情報をそのまま
出力する。
The vector data generating unit 2 includes an instruction interpreting unit 1
, And generates vector data. If the input is a fill (filled) figure, the instruction interpreting unit 1 indicates a vector representing the outline of the figure, a fill rule such as an even-odd rule / non-zero rule, and a flatness indicating the precision when a curve is linearly approximated. (Flatness) value, drawing color, and the like are given, and the information is output as it is.

【0028】入力がストローク(線)図形の場合には、
線を表現するベクターと、線幅/線種/終端形状/接続
形状などの線属性と、曲線を直線近似する場合の精度を
指示するフラットネス値や、描画色などが与えられるの
で、このうちのベクターと線属性の情報を使って、図1
0に示すような輪郭ベクターを生成し、残りの情報とと
もに出力する。
When the input is a stroke (line) graphic,
A vector expressing a line, line attributes such as line width / line type / termination shape / connection shape, a flatness value indicating the accuracy when a curve is approximated by a straight line, a drawing color, and the like are given. Figure 1 using the vector and line attribute information
A contour vector as shown in FIG. 0 is generated and output together with the remaining information.

【0029】入力が文字の場合には、文字コードと、フ
ォントIDと、描画位置や描画色などの情報が与えられ
るので、このうちの文字コードとフォントID、描画位
置の情報をフォント管理部3に送って文字の輪郭ベクタ
ーを取得し、残りの情報とともに出力する。
When the input is a character, a character code, a font ID, and information such as a drawing position and a drawing color are given. To obtain the outline vector of the character and output it together with the remaining information.

【0030】フォント管理部3は、各種フォントに対す
るアウトラインベクターデータを記憶するとともに、与
えられた文字コードとフォントIDによって、その文字
に対するアウトラインベクターデータを提供する。
The font management unit 3 stores outline vector data for various fonts, and provides outline vector data for the character in accordance with a given character code and font ID.

【0031】上記の処理により、入力された図形/文字
は全て、輪郭を表現するベクターデータと描画色(画像
の場合はその画像データ)、フラットネス値、塗りつぶ
し規則の情報に変換される。
By the above-mentioned processing, all the input figures / characters are converted into vector data representing contours, drawing colors (image data in the case of images), flatness values, and information on filling rules.

【0032】ディスプレイリスト生成部4は、これらの
入力されたベクターデータ中に曲線が含まれている場合
には、まずその曲線部分を、誤差がフラットネス値で指
定された精度以下となるように、微小な直線ベクターで
近似する処理を行う。
When a curve is included in the input vector data, the display list generating unit 4 first sets the curve portion so that the error is equal to or less than the precision specified by the flatness value. , A process of approximating with a minute linear vector is performed.

【0033】例えば曲線のベクターには、図2に示す4
つの制御点で表現されるベジエ曲線が使われる。この場
合直線ベクター化の処理は、図2に示す通りベジエ曲線
を再帰的に分割し、高さ(距離d)がフラットネス値
(flat)より小さくなった時点で分割を終了する。
そして分割された各ベジエ曲線の始点と終点を順番に結
ぶことにより、直線ベクター化が完了する。
For example, in the case of a curved vector, 4 shown in FIG.
A Bezier curve represented by two control points is used. In this case, the linear vectorization process recursively divides the Bezier curve as shown in FIG. 2, and ends the division when the height (distance d) becomes smaller than the flatness value (flat).
Then, by connecting the start point and the end point of each of the divided Bezier curves in order, the linear vectorization is completed.

【0034】このように直線近似されたベクターデータ
を基にして、ディスプレイリスト生成部4は、次にこれ
をディスプレイリスト形式の表現に変換する。ここでデ
ィスプレイリストとは、例えば図12に示したようなも
のである。入力された多角形ベクターは、始めに各頂点
のY座標が整数になるように変換される。
Based on the vector data linearly approximated in this manner, the display list generating unit 4 converts the vector data into a display list format expression. Here, the display list is, for example, as shown in FIG. The input polygon vector is first converted so that the Y coordinate of each vertex is an integer.

【0035】具体的には、各辺についてY座標の小さい
方の頂点は切上げし、大きい方の頂点は切捨てし、各辺
の傾きが変わらないように整数化誤差をX座標値で補正
する。このようにしてY座標値を整数化した後、同じ開
始Y座標を持つ辺が集められてリストで接続される。
Specifically, for each side, the vertex with the smaller Y coordinate is rounded up, the vertex with the larger Y coordinate is rounded down, and the integer error is corrected with the X coordinate value so that the inclination of each side does not change. After converting the Y coordinate values into integers in this way, sides having the same start Y coordinate are collected and connected in a list.

【0036】リストの各要素には、その辺の方向が上向
きか下向きかを+1/−1で表す方向フラグDirと、
開始点YsにおけるX座標値Xsと、終了点のY座標値
Yeと、Y座標値の+1増加に対するX座標値の変化量
で表した辺の傾きDxとが格納される。なお、水平に近
い辺など、どのスキャンラインも横切らないものについ
ては、ディスプレイリストの要素に登録されない。
Each element of the list has a direction flag Dir indicating whether the direction of the side is upward or downward by + 1 / -1;
The X coordinate value Xs at the start point Ys, the Y coordinate value Ye at the end point, and the slope Dx of the side represented by the amount of change in the X coordinate value with respect to the +1 increase of the Y coordinate value are stored. Note that those that do not cross any scan lines, such as sides that are nearly horizontal, are not registered as elements in the display list.

【0037】このようにして生成されたディスプレイリ
ストは、図3に図示するように、ページを所定の幅で分
割した部分領域(以下、バンドと称す)毎に分割され、
各バンド毎にディスプレイリスト格納部5に蓄積され
る。
As shown in FIG. 3, the display list generated as described above is divided into partial areas (hereinafter, referred to as bands) obtained by dividing a page by a predetermined width.
The data is stored in the display list storage unit 5 for each band.

【0038】バンド分割するのは、ダブルバッファ方式
により描画/出力することで、メモリ部13の容量を2
バンド分に低減するためである。描画対象である1ペー
ジを、例えば図3に示すような帯状の部分領域(以下で
は、この部分領域をバンドと称する)に分割し、各描画
命令について、その情報を描画要素が描画されるバンド
毎に保持/管理し、描画処理部12により次のバンドを
描画処理するのと平行して、メモリ部13中に既に描画
された画像データをプリンタの印字速度に合わせて出力
することにより、メモリ部13はページ全体を描画可能
なメモリ容量を必要とせず、最小2バンド分で構成可能
となる。
The band is divided by drawing / outputting by the double buffer method, so that the capacity of the memory unit 13 is reduced to two.
This is for reducing the number of bands. One page to be drawn is divided into, for example, a band-shaped partial region as shown in FIG. 3 (hereinafter, this partial region is referred to as a band), and for each drawing command, information is drawn on a band in which a drawing element is drawn. The image data already drawn in the memory unit 13 is output in accordance with the printing speed of the printer in parallel with the drawing processing of the next band by the drawing processing unit 12. The unit 13 does not require a memory capacity capable of drawing the entire page, and can be configured with a minimum of two bands.

【0039】第1の描画時間予測部6は、ディスプレイ
リスト格納部5に蓄積されたバンド毎のディスプレイリ
ストを読み出し、ディスプレイリスト情報からそのバン
ドを描画処理部12で描画処理する際の処理時間を推定
し、予め定められた第1の閾値と比較する。ディスプレ
イリストからの描画時間予測については、後段で詳述す
る。
The first drawing time prediction unit 6 reads out the display list for each band stored in the display list storage unit 5 and calculates the processing time for drawing the band by the drawing processing unit 12 from the display list information. It is estimated and compared with a predetermined first threshold value. The drawing time prediction from the display list will be described later in detail.

【0040】第1の描画時間予測部6による予測描画時
間が第1の閾値以下の場合には、当該バンドについては
特別な処理は行わずに、ディスプレイリスト格納部5に
蓄積されたディスプレイリストを描画処理部12に転送
するよう設定する。それ以外の場合には、当該バンドの
ディスプレイリストは、エッジリスト生成部7によりエ
ッジリストに変換され、エッジリスト格納部8に格納さ
れる。
When the predicted drawing time by the first drawing time prediction unit 6 is equal to or less than the first threshold value, no special processing is performed on the band, and the display list stored in the display list storage unit 5 is deleted. It is set to transfer to the drawing processing unit 12. In other cases, the display list of the band is converted into an edge list by the edge list generation unit 7 and stored in the edge list storage unit 8.

【0041】ここでエッジリストとは、例えば図4に示
したようなものである。入力されたディスプレイリスト
は、DDAなどの手法により各スキャンラインとの交点
座標を求められる。求められた交点座標は、スキャンラ
イン毎に座標値の昇順にソートされ、塗りつぶし規則
(偶奇規則、非零規則)に応じて異なる方法で開始点/
終了点の対応を決定され、この対応点間が1つのエッジ
となり、例えば開始点Xsとエッジの長さLenの組で
表現される。同じスキャンライン上に描画されるエッジ
は集められてリストで接続され、入力されたディスプレ
イリストを変換したエッジ全体の集合がエッジリストと
なる。
Here, the edge list is, for example, as shown in FIG. In the input display list, the coordinates of the intersection with each scan line are obtained by a method such as DDA. The obtained intersection coordinates are sorted in ascending order of the coordinate values for each scan line, and the starting point / point is determined in different ways according to the filling rule (even-odd rule, non-zero rule).
The correspondence between the end points is determined, and a space between the corresponding points becomes one edge, and is represented by, for example, a set of a start point Xs and an edge length Len. Edges drawn on the same scan line are collected and connected in a list, and a set of all edges obtained by converting the input display list becomes an edge list.

【0042】第2の描画時間予測部9は、エッジリスト
格納部8に蓄積されたバンド毎のエッジリストを読み出
し、エッジリスト情報からそのバンドを描画処理部12
で描画処理する際の処理時間を推定し、予め定められた
第2の閾値と比較する。エッジリストからの描画時間予
測については、後段で詳述する。
The second drawing time predicting section 9 reads out the edge list for each band stored in the edge list storage section 8 and draws that band from the edge list information.
The processing time for performing the drawing processing is estimated and compared with a predetermined second threshold value. The drawing time prediction from the edge list will be described later in detail.

【0043】第2の描画時間予測部9による予測描画時
間が第2の閾値以下の場合には、エッジリスト格納部8
に格納された当該バンドのエッジリストは消去され、デ
ィスプレイリスト格納部5に格納された当該バンドのデ
ィスプレイリストを描画処理部12に転送するように設
定する。それ以外の場合には、当該バンドのエッジリス
トは、エッジリスト変換部10により描画時間が少なく
なるように変換された後、変換データ格納部11に格納
され、描画処理部12に転送されるよう設定される。エ
ッジリスト変換部10での変換処理については、後段で
詳述する。
If the predicted drawing time by the second drawing time prediction unit 9 is equal to or less than the second threshold, the edge list storage unit 8
, The edge list of the band stored in the display list storage unit 5 is deleted, and the display list of the band stored in the display list storage unit 5 is set to be transferred to the drawing processing unit 12. In other cases, the edge list of the band is converted by the edge list conversion unit 10 so as to reduce the drawing time, then stored in the conversion data storage unit 11, and transferred to the drawing processing unit 12. Is set. The conversion process in the edge list conversion unit 10 will be described later in detail.

【0044】ページを構成する全てのバンドについて、
上記の処理が終了すると、それぞれのバンドの設定に従
って、ディスプレイリスト格納部5または変換データ格
納部11からバンドの描画順に描画処理部12に対して
データが転送される。
For all the bands constituting the page,
When the above processing is completed, data is transferred from the display list storage unit 5 or the conversion data storage unit 11 to the drawing processing unit 12 in the drawing order of the bands according to the setting of each band.

【0045】描画処理部12は、転送されたバンド毎の
ディスプレイリスト形式、またはエッジリストから変換
された形式の描画要素を順次処理し、メモリ部13中の
バンドに対応するメモリ領域に当該バンドの画像データ
を描画する。描画処理部12での処理については、後段
で詳述する。
The drawing processing unit 12 sequentially processes drawing elements in the display list format for each band transferred or the format converted from the edge list, and stores the drawing elements in a memory area corresponding to the band in the memory unit 13. Draw image data. The processing in the drawing processing unit 12 will be described later in detail.

【0046】メモリ部13にバンド内の全ての描画要素
が描画されると、その結果は出力デバイス14に出力さ
れ、プリンタまたはディスプレイ等において印刷または
表示される。この処理を、ページを構成する全てのバン
ドが終了するまで順次行う。
When all the drawing elements in the band are drawn in the memory unit 13, the result is output to the output device 14 and printed or displayed on a printer or a display. This process is sequentially performed until all bands constituting the page are completed.

【0047】このような画像処理装置により、第1の描
画時間予測部6によってディスプレイリストの段階での
描画処理時間を推定し、この推定した描画処理時間が閾
値以下の場合には出力に間に合うと判断して、ディスプ
レイリストを描画処理部12へ転送する。
With such an image processing apparatus, the first drawing time predicting section 6 estimates the drawing processing time at the stage of the display list. If the estimated drawing processing time is equal to or less than the threshold, it is determined that the output can be completed. Upon determination, the display list is transferred to the drawing processing unit 12.

【0048】また、推定した描画処理時間が閾値を超え
る場合には出力に間に合わない可能性があると判断し、
エッジリスト生成部7でエッジリストを生成して第2の
描画時間予測部9によって正確な描画処理時間を推定す
る。ここで推定した描画処理時間が閾値以下である場合
には出力に間に合うと判断し、ディスプレイリストを画
像描画手段へ転送する。
If the estimated drawing processing time exceeds the threshold, it is determined that there is a possibility that the output may not be completed in time.
The edge list generation unit 7 generates an edge list, and the second drawing time prediction unit 9 estimates an accurate drawing processing time. If the estimated rendering processing time is equal to or less than the threshold, it is determined that output is in time, and the display list is transferred to the image rendering means.

【0049】また、第2の描画時間予測部9で推定した
描画処理時間が閾値を超えている場合には出力に間に合
わない可能性があり、エッジリスト変換部10でエッジ
リストをより描画時間の少ない形式に変換して描画処理
部12へ転送する。これにより、複雑な描画処理であっ
ても出力に間に合うようデータを転送できるようにな
る。
If the drawing processing time estimated by the second drawing time prediction section 9 exceeds the threshold value, there is a possibility that the output may not be enough for the output. The data is converted into a smaller format and transferred to the drawing processor 12. As a result, data can be transferred in time for output even in a complicated drawing process.

【0050】以上、本発明の画像処理装置の概要につい
て記述した。なお、これまでの説明は描画要素のみにつ
いて行ったが、もし描画要素の描画範囲を制限するクリ
ップ領域を表わすクリップ要素が付加されている場合に
は、クリップ要素についても同様に処理を行う。クリッ
プ要素が存在する場合の処理については特開2000−
149036号公報に詳しいので、以下では、説明を簡
単にするために描画要素のみで説明を行う。
The outline of the image processing apparatus of the present invention has been described above. Although the description so far has been made only with respect to the drawing element, if a clip element indicating a clip area for limiting the drawing range of the drawing element is added, the same processing is performed for the clip element. The processing when a clip element exists is described in JP-A-2000-
Since it is described in detail in Japanese Patent No. 149036, only the drawing elements will be described below to simplify the description.

【0051】また、ここでは説明を分かりやすくするた
めに、上記の各部がハードウェア・ブロックとして存在
するように記述したが、本発明はそれに限定されるもの
ではない。
In addition, here, for the sake of simplicity of description, the above-described units are described as existing as hardware blocks, but the present invention is not limited thereto.

【0052】むしろ、描画処理部12、メモリ部13、
出力デバイス14以外の各部をハードウェアで構成する
ことは設計が複雑かつコストの高いものとなるため、ソ
フトウェア・モジュールとして構成した方がよい。
Rather, the drawing processing unit 12, the memory unit 13,
Since the components other than the output device 14 are configured by hardware, the design becomes complicated and costly. Therefore, it is preferable that the components are configured as software modules.

【0053】その場合、ディスプレイリスト格納部5、
エッジリスト格納部8、変換データ格納部11はソフト
ウェア・モジュールが動作するコンピュータ・システム
のCPU(Central Processing U
nit:中央演算処理装置)に接続されたメモリを共用
しても良い。
In that case, the display list storage unit 5,
The edge list storage unit 8 and the conversion data storage unit 11 are provided with a CPU (Central Processing Unit) of a computer system on which the software module operates.
(nit: central processing unit) may be shared.

【0054】次に、この画像処理装置の主要部の詳細に
ついて説明する。図5は、第1の描画時間予測部6の構
成の一例を表わしたブロック図である。同図において、
第1の予測処理部60は、入力されたディスプレイリス
トを基に描画処理部12での処理時間を予測する。
Next, the details of the main part of the image processing apparatus will be described. FIG. 5 is a block diagram illustrating an example of a configuration of the first drawing time prediction unit 6. In the figure,
The first prediction processing unit 60 predicts the processing time in the drawing processing unit 12 based on the input display list.

【0055】第1の判定処理部61は、第1の予測処理
部60での予測処理の結果を集積/補正して予め定めら
れた閾値とを比較し、その大小関係を判定して出力す
る。第1のパラメータ記憶部62は、第1の予測処理部
60や第1の判定処理部61で必要となる処理パラメー
タを記憶する。
The first determination processing section 61 accumulates / corrects the result of the prediction processing in the first prediction processing section 60, compares the result with a predetermined threshold value, determines the magnitude relationship, and outputs the result. . The first parameter storage unit 62 stores processing parameters required by the first prediction processing unit 60 and the first determination processing unit 61.

【0056】前述のように、ディスプレイリスト格納部
5には、1ページ分の描画要素のディスプレイリスト
が、バンド毎に分割されて格納されている。ここまでの
処理が終了した後に、第1の描画時間予測部6はディス
プレイリストを読み出し、バンド毎の描画時間の予測値
を計算して予め定められた閾値と比較し、その結果を出
力する。
As described above, the display list storage unit 5 stores a display list of drawing elements for one page, divided for each band. After the above processing is completed, the first drawing time prediction unit 6 reads the display list, calculates a predicted value of the drawing time for each band, compares it with a predetermined threshold value, and outputs the result.

【0057】バンド描画時間の予測値が閾値よりも大き
い場合は、当該バンドの各描画要素は、エッジリスト生
成部7によりディスプレイリスト形式からエッジリスト
形式に変換される。
When the predicted value of the band drawing time is larger than the threshold value, each drawing element of the band is converted from the display list format to the edge list format by the edge list generation unit 7.

【0058】第1の予測処理部60にディスプレイリス
トが入力されると、第1の予測処理部60は、少なくと
もそのディスプレイリストにより描画される図形の外接
矩形の画素数を求め、第1のパラメータ記憶部62に記
憶された係数を読み出し、その係数と外接矩形の画素数
などを引数とする予め定められた式により描画時間を予
測する。
When the display list is input to the first prediction processing unit 60, the first prediction processing unit 60 obtains at least the number of pixels of a circumscribed rectangle of the figure drawn by the display list, and The coefficient stored in the storage unit 62 is read out, and the drawing time is predicted by a predetermined formula using the coefficient and the number of pixels of the circumscribed rectangle as arguments.

【0059】描画処理をハードウェアで実行する場合、
通常はメモリ部13への書き込みが処理のボトルネック
となる。メモリへの書き込みは描画面積に比例し、また
もしスキャンライン毎の書き込みでのメモリアクセスモ
ード切換えなどのオーバーヘッドがある場合などには、
描画領域の高さも描画時間に影響を与える。例えばこの
ような場合には、下式(1)のような計算により描画時
間を予測する。
When the drawing process is executed by hardware,
Normally, writing to the memory unit 13 becomes a bottleneck in processing. Writing to the memory is proportional to the drawing area, and if there is an overhead such as memory access mode switching for writing for each scan line,
The height of the drawing area also affects the drawing time. For example, in such a case, the drawing time is predicted by calculation as in the following equation (1).

【0060】 (予測描画時間)=a×(外接矩形の画素数)+b×(描画領域の高さ)+c …(1)(Estimated drawing time) = a × (number of pixels of circumscribed rectangle) + b × (height of drawing area) + c (1)

【0061】係数a,b,cは、予め統計的な手法などで
求められたもので、第1のパラメータ記憶部62から第
1の予測処理部60に供給される。
The coefficients a, b, and c are obtained in advance by a statistical method or the like, and are supplied from the first parameter storage unit 62 to the first prediction processing unit 60.

【0062】なお、上記(1)式は文字/図形を固定色
で描画する場合を示しているが、画像を描画する場合に
は一画素毎に異なる色値を読み出して描画する必要があ
るため、係数a,b,cは違う値となる。また、もし描画
処理部12が描画と画像の読み出しでバスを共用するよ
うな構成である場合には、画像の読み出しでバス帯域が
消費されて描画時間にも影響を与えるため、画像のデー
タ量なども予測式の要素に入れる必要がある。
The above equation (1) shows a case where a character / figure is drawn in a fixed color. However, when drawing an image, it is necessary to read and draw different color values for each pixel. , Coefficients a, b, and c have different values. If the drawing processing unit 12 is configured to share a bus for drawing and image reading, the bus band is consumed for image reading and the drawing time is affected. And so on must be included in the prediction formula.

【0063】第1の予測処理部60は、このようにして
求めた描画要素毎の予測描画時間を、第1の判定処理部
61に送る。第1の判定処理部61では、バンド中の描
画要素について、予測描画時間を積算し、さらに描画処
理部12の構成に応じた補正を行って、最終的なバンド
描画時間の予測値を求める。
The first prediction processing unit 60 sends the predicted drawing time for each drawing element thus obtained to the first determination processing unit 61. The first determination processing unit 61 adds up the predicted drawing time for the drawing elements in the band, performs correction according to the configuration of the drawing processing unit 12, and obtains the final predicted value of the band drawing time.

【0064】ここで描画処理部12の構成に応じた補正
とは、例えば描画処理部12がハードウェアで構成され
ており、メモリ部13がDRAM(Dynamic R
andom Access Memory)などで構成
されている場合には、メモリリフレッシュのために消費
されるバス帯域の影響や、メモリ部13から出力デバイ
ス14への画像データ出力のために消費されるバス帯域
の影響などを加味するためのものである。
Here, the correction according to the configuration of the drawing processing unit 12 means, for example, that the drawing processing unit 12 is configured by hardware and the memory unit 13 is a DRAM (Dynamic R).
In the case of a configuration using an Random Access Memory, the effect of a bus band consumed for memory refresh or an influence of a bus band consumed for outputting image data from the memory unit 13 to the output device 14. It is for taking into account.

【0065】このようにして求められた最終的な予測描
画時間は、第1のパラメータ記憶部62に予め記憶され
ていた閾値と比較され、大小関係を判定され、その結果
が出力される。なお、ここで用いられる閾値は、予め統
計的な方法などで求められる予測誤差を考慮して決定さ
れるものであり、例えば1バンドあたりの描画時間の上
限が100ミリ秒であり、誤差が±30ミリ秒程度ある
場合には、閾値として60〜70ミリ秒などの値を設定
する。
The final predicted drawing time obtained in this way is compared with a threshold value stored in advance in the first parameter storage section 62 to determine the magnitude relationship, and the result is output. The threshold used here is determined in consideration of a prediction error obtained in advance by a statistical method or the like. For example, the upper limit of the drawing time per band is 100 milliseconds, and the error is ± If there is about 30 milliseconds, a value such as 60 to 70 milliseconds is set as the threshold.

【0066】次に、第2の描画時間予測部9の動作につ
いて説明する。図6は、第2の描画時間予測部9の構成
の一例を表わしたブロック図である。同図において、第
2の予測処理部90は、入力されたエッジリストを基に
描画処理部12での処理時間を予測する。
Next, the operation of the second drawing time prediction section 9 will be described. FIG. 6 is a block diagram illustrating an example of the configuration of the second drawing time prediction section 9. In the figure, the second prediction processing unit 90 predicts the processing time in the drawing processing unit 12 based on the input edge list.

【0067】第2の判定処理部91は、第2の予測処理
部90での予測処理の結果を集積/補正して予め定めら
れた閾値とを比較し、その大小関係を判定して出力す
る。第2のパラメータ記憶部92は、第2の予測処理部
90や第2の判定処理部91で必要となる処理パラメー
タを記憶する。
The second determination processing section 91 accumulates / corrects the result of the prediction processing in the second prediction processing section 90, compares the result with a predetermined threshold value, determines the magnitude relationship, and outputs the result. . The second parameter storage unit 92 stores processing parameters required by the second prediction processing unit 90 and the second determination processing unit 91.

【0068】前述のように、エッジリスト格納部8に
は、第1の描画時間予測部6で予測描画時間が予め定め
た閾値よりも大きいと判定されたバンドの描画要素のエ
ッジリストが格納されている。
As described above, the edge list storage section 8 stores the edge list of the drawing elements of the bands for which the first drawing time predicting section 6 has determined that the predicted drawing time is larger than the predetermined threshold. ing.

【0069】ここまでの処理が終了した後に、第2の描
画時間予測部9はエッジリストを読み出し、当該バンド
の描画時間の予測値を計算して予め定められた閾値と比
較し、その結果を出力する。バンド描画時間の予測値が
閾値よりも大きい場合は、当該バンドの各描画要素は、
エッジリスト変換部10により変換される。
After the above processing is completed, the second drawing time prediction section 9 reads the edge list, calculates the predicted value of the drawing time of the band, compares it with a predetermined threshold value, and compares the result with the threshold value. Output. If the predicted value of the band drawing time is larger than the threshold, each drawing element of the band is
The conversion is performed by the edge list conversion unit 10.

【0070】第2の予測処理部90にエッジリストが入
力されると、第2の予測処理部90は、少なくともその
エッジリストにより描画される図形の画素数を求め、第
2のパラメータ記憶部92に記憶された係数を読み出
し、その係数と描画画素数などを引数とする予め定めら
れた式により描画時間を予測する。
When the edge list is input to the second prediction processing section 90, the second prediction processing section 90 obtains at least the number of pixels of the figure to be drawn based on the edge list, and the second parameter storage section 92 Is read out, and the drawing time is predicted by a predetermined formula using the coefficient and the number of drawing pixels as arguments.

【0071】ディスプレイリストとは異なり、エッジリ
ストからは図4に示したLenの値を積算するだけで正
確な描画画素数を求めることができる。そのため、下式
(2)により、第1の描画時間予測部6での予測描画時
間よりもはるかに予測誤差の少ない値を得ることができ
る。
Unlike the display list, the accurate drawing pixel number can be obtained from the edge list only by integrating the values of Len shown in FIG. Therefore, a value with a much smaller prediction error than the predicted drawing time in the first drawing time prediction unit 6 can be obtained by the following equation (2).

【0072】 (予測描画時間)=d×(描画画素数)+e×(描画領域の高さ)+f …(2)(Estimated drawing time) = d × (number of drawing pixels) + e × (height of drawing area) + f (2)

【0073】係数d,e,fは、係数a,b,cと同じく予
め統計的な手法などで求められたもので、第2のパラメ
ータ記憶部92から第2の予測処理部90に供給され
る。
The coefficients d, e, and f are obtained in advance by a statistical method or the like, similarly to the coefficients a, b, and c, and are supplied from the second parameter storage unit 92 to the second prediction processing unit 90. You.

【0074】なお、第1の描画時間予測部6と同じく、
画像を描画する場合には係数d,e,fは違う値となる。
また、もし描画処理部12が描画と画像の読み出しでバ
スを共用するような構成である場合には、画像のデータ
量なども予測式の要素に入れる必要があるのも同様であ
る。
Note that, like the first drawing time prediction section 6,
When drawing an image, the coefficients d, e, and f have different values.
If the drawing processing unit 12 is configured to share a bus for drawing and image reading, it is necessary to include the data amount of the image in the elements of the prediction formula.

【0075】第2の予測処理部90は、このようにして
求めた描画要素毎の予測描画時間を、第2の判定処理部
91に送る。第2の判定処理部91では、バンド中の描
画要素について、予測描画時間を積算し、さらに描画処
理部12の構成に応じた補正を行って、最終的なバンド
描画時間の予測値を求める。
The second prediction processing section 90 sends the predicted drawing time for each drawing element thus obtained to the second determination processing section 91. The second determination processing unit 91 calculates the final predicted value of the band drawing time by accumulating the predicted drawing time for the drawing elements in the band and performing correction according to the configuration of the drawing processing unit 12.

【0076】このようにして求められた最終的な予測描
画時間は、第2のパラメータ記憶部92に予め記憶され
ていた閾値と比較され、大小関係を判定され、その結果
が出力される。
The final predicted drawing time obtained in this way is compared with a threshold value stored in advance in the second parameter storage section 92 to determine the magnitude relationship, and the result is output.

【0077】なお、ここで用いられる閾値は、予測誤差
が少ない分、第1の描画時間予測部で使われるものより
厳しいものになる。例えば1バンドあたりの描画時間の
上限が100ミリ秒であり、誤差が±5ミリ秒程度ある
場合には、閾値として90〜95ミリ秒などの値を設定
する。
The threshold value used here is stricter than that used in the first drawing time prediction section, because the prediction error is small. For example, if the upper limit of the drawing time per band is 100 milliseconds and the error is about ± 5 milliseconds, a value such as 90 to 95 milliseconds is set as the threshold.

【0078】次に、エッジリスト変換部10の動作につ
いて説明する。図7は、エッジリスト変換部10の動作
を説明する図である。同図に示すように、エッジリスト
変換部10は、第2の描画時間予測部9で予測描画時間
が予め定められた閾値よりも大きいと判定されたバンド
の描画要素について、エッジリストの重なり除去を行
う。
Next, the operation of the edge list conversion unit 10 will be described. FIG. 7 is a diagram illustrating the operation of the edge list conversion unit 10. As shown in the figure, the edge list conversion unit 10 removes the overlap of the edge list for the drawing element of the band for which the predicted drawing time is determined by the second drawing time prediction unit 9 to be larger than the predetermined threshold. I do.

【0079】具体的には、描画要素を下に描画されるも
のから順に取り出し、その描画要素に含まれるエッジ毎
に、より上に描画される描画要素に含まれるエッジとの
重なり関係をチェックし、もし重なりがある場合には、
その部分を除去する。
More specifically, the drawing elements are taken out in order from the one drawn below, and for each edge included in the drawing element, the overlapping relationship with the edge included in the drawing element drawn higher is checked. , If there is overlap,
Remove that part.

【0080】例えば、図7の(a)に示したように、重
なりが無い場合には何も変更しない。図7の(b)に示
したように一部重なっている場合には、下の描画要素の
エッジをから、重なっている部分を除去する。
For example, as shown in FIG. 7A, if there is no overlap, nothing is changed. As shown in FIG. 7B, when the portions overlap, the overlapping portion is removed from the edge of the lower drawing element.

【0081】図7の(c)に示したように、上の描画要
素のエッジが下の描画要素のエッジに含まれている場合
には、下のエッジは、上のエッジに覆われていない部分
からなる2つのエッジに分割される。図7の(d)に示
したように、上の描画要素のエッジが下の描画要素のエ
ッジを覆っている場合には、下のエッジは削除される。
As shown in FIG. 7C, when the edge of the upper drawing element is included in the edge of the lower drawing element, the lower edge is not covered by the upper edge. It is divided into two edges consisting of parts. As shown in FIG. 7D, when the edge of the upper drawing element covers the edge of the lower drawing element, the lower edge is deleted.

【0082】このような処理を、最も上に描画される描
画要素を除く全ての描画要素に対して行い、その結果生
成された新たなエッジリストを、変換データ格納部11
に格納する。
Such processing is performed on all drawing elements except the drawing element to be drawn on the top, and the resulting new edge list is stored in the conversion data storage unit 11.
To be stored.

【0083】描画処理部12での処理時間は描画画素数
に依存するので、変換後の重なりを持たないエッジリス
トは、処理前と比較して高速に描画処理が可能となる。
特に、描画処理部12での描画が間に合わないバンド
は、グラデーションなどにより膨大な重なりがある場合
がほとんどなので、この処理により大幅に描画処理時間
が短縮され、出力デバイス14の印字速度に間に合う描
画が可能となる。
Since the processing time in the drawing processing unit 12 depends on the number of pixels to be drawn, a non-overlapping edge list after conversion can be drawn faster than before processing.
In particular, bands that cannot be drawn by the drawing processing unit 12 often have enormous overlap due to gradation or the like, so that this processing greatly reduces the drawing processing time, and enables the drawing to be performed in time for the printing speed of the output device 14. It becomes possible.

【0084】次に、描画処理部12の動作について説明
する。図8は、描画処理部12の構成の一例を表わした
ブロック図である。同図において、形状処理回路120
は、ディスプレイリスト格納部5から入力されたディス
プレイリストまたは変換データ格納部11から入力され
たエッジリストを処理し、描画するエッジ情報を描画回
路123に出力する。
Next, the operation of the drawing processing unit 12 will be described. FIG. 8 is a block diagram illustrating an example of a configuration of the drawing processing unit 12. In the figure, the shape processing circuit 120
Processes the display list input from the display list storage unit 5 or the edge list input from the conversion data storage unit 11, and outputs edge information to be drawn to the drawing circuit 123.

【0085】色値発生回路121は、描画回路123が
メモリ部13に描画するための色値データを供給する。
例えば色値情報がRGB各8ビットで与えられ、出力デ
バイス14がCMYK各1ビット入力のプリンタである
場合には、色値発生回路121は、RGBからCMYK
への色空間変換を行い、次にスクリーン処理によりCM
YK各1ビットのデータを生成し、形状処理回路120
が描画回路123に出力したエッジに相当する部分の色
値を、描画回路123に対して供給する。
The color value generation circuit 121 supplies color value data for the drawing circuit 123 to draw in the memory unit 13.
For example, when the color value information is given by 8 bits each of RGB and the output device 14 is a printer of CMYK 1 bit input, the color value generating circuit 121 converts the RGB into CMYK.
Color space conversion, and then screen processing CM
YK 1-bit data is generated, and the shape processing circuit 120
Supplies the color value of the portion corresponding to the edge output to the drawing circuit 123 to the drawing circuit 123.

【0086】画像処理回路122は、描画要素が画像に
よるフィル図形である場合に、当該画像データを処理し
て描画回路123がメモリ部13に描画するための色値
データを供給する。画像処理回路122も、色値発生回
路と同様に、画像データが出力デバイス14と異なる色
空間や異なるビット数、さらに異なる解像度で与えられ
た場合にはこれを変換する処理を行って、形状処理回路
120が描画回路123に出力したエッジに相当する部
分の色値を、描画回路123に対して供給する。
The image processing circuit 122 processes the image data and supplies the color value data for the drawing circuit 123 to draw in the memory unit 13 when the drawing element is a filled figure by an image. Similarly to the color value generation circuit, the image processing circuit 122 performs a process of converting image data when given in a different color space, a different number of bits, and a different resolution from the output device 14, and performs shape processing. The circuit 120 supplies the drawing circuit 123 with the color values corresponding to the edges output to the drawing circuit 123.

【0087】描画回路123は、形状処理回路120か
ら入力されたエッジ情報からメモリ部13上の対応する
アドレスを計算し、色値発生回路121または画像処理
回路122から供給された色値データを当該アドレスに
書き込む。
The drawing circuit 123 calculates a corresponding address in the memory unit 13 from the edge information input from the shape processing circuit 120 and converts the color value data supplied from the color value generation circuit 121 or the image processing circuit 122 into the corresponding address. Write to address.

【0088】この処理を、処理対象バンドに含まれる全
ての描画要素に対して行うと、メモリ部13上に当該バ
ンドのバンド画像が描画される。これを出力デバイス1
4に送ることで、当該バンドが表示または印刷される。
When this process is performed on all drawing elements included in the processing target band, a band image of the band is drawn on the memory unit 13. This is output device 1
4, the band is displayed or printed.

【0089】なお、ここでは描画処理部12への入力
は、バンド毎にディスプレイリスト格納部5または変換
データ格納部11から順次入力されるように記述した
が、描画処理部12よりも前をソフトウェアモジュール
で構成し、描画処理部以降をハードウェアで構成し、そ
の間をネットワークなどの帯域の狭い経路で接続したネ
ットワークプリンタなどの場合には、ネットワーク転送
がボトルネックとなって印字に間に合わない場合も考え
られる。このような場合には、描画処理部12内部に一
時記憶回路を設け、1ページ分のデータが送られて一時
記憶回路に格納された後に描画処理を開始するなどの構
成を取る必要がある。
Although the input to the drawing processing unit 12 has been described so as to be sequentially input from the display list storage unit 5 or the conversion data storage unit 11 for each band, software before the drawing processing unit 12 is used. In the case of a network printer that is composed of modules, the drawing processing unit and subsequent parts are composed of hardware, and the network is connected by a narrow path such as a network, the network transfer may become a bottleneck and it may not be possible to print. Conceivable. In such a case, it is necessary to adopt a configuration in which a temporary storage circuit is provided inside the drawing processing unit 12, and drawing processing is started after data for one page is sent and stored in the temporary storage circuit.

【0090】次に、本発明の他の実施形態について説明
する。この実施形態を説明するブロック図は前記実施形
態と同じ図1を使用し、エッジリスト変換部10、変換
データ格納部12、及び描画処理部12以外の各ブロッ
クの動作は前記発明と同じなので、説明を省略する。
Next, another embodiment of the present invention will be described. The block diagram for explaining this embodiment uses the same FIG. 1 as the above embodiment, and the operation of each block other than the edge list conversion unit 10, the conversion data storage unit 12, and the drawing processing unit 12 is the same as that of the above invention, Description is omitted.

【0091】先の実施形態では、エッジリスト変換部1
0ではエッジリストの重なり除去処理を行ったが、前述
のようにROP処理が入る場合には、ROPコードによ
っては下に描画される要素を除去できず、描画処理が間
に合うことを確実に保証することができない。
In the above embodiment, the edge list conversion unit 1
In the case of 0, the edge list overlap removal processing is performed. However, when the ROP processing is performed as described above, the element drawn below cannot be removed depending on the ROP code, and it is ensured that the drawing processing can be performed in time. I can't.

【0092】そこで本実施形態のエッジリスト変換部1
0では、変換データ格納部11にバンドサイズの画像を
描画可能なメモリ領域を確保し、エッジリスト格納部9
に格納された処理対象バンドのエッジリストを順次読み
出して、描画処理部12で行うのと等価な画像を生成す
る描画処理を行って変換データ格納部11に書き込むこ
とにより、バンド画像を生成する。
Therefore, the edge list conversion unit 1 of this embodiment
0, a memory area capable of drawing a band-size image is secured in the conversion data storage unit 11, and the edge list storage unit 9
The band list is generated by sequentially reading the edge list of the processing target band stored in the conversion processing unit 12, performing a drawing process of generating an image equivalent to that performed by the drawing processing unit 12, and writing the image in the conversion data storage unit 11.

【0093】例えば、出力デバイス14がCMYK(C
yan、Magenta、Yellow、blacK)
各1ビット入力のプリンタである場合、描画処理部12
と同じスクリーン処理を使ったCMYK各1ビットの画
像が生成される。
For example, if the output device 14 is CMYK (C
yan, Magenta, Yellow, blackK)
If the printer is a one-bit input printer, the drawing processing unit 12
1-bit images of CMYK are generated using the same screen processing as in the first embodiment.

【0094】当該バンドの転送の際には、変換データ格
納部11から描画処理部12に対して、このバンド画像
を出力する。描画処理部12は、変換データ格納部11
から入力されたバンド画像をそのままメモリ部13に書
き出して、当該バンドの描画処理を終了させる。
At the time of transferring the band, the band image is output from the converted data storage unit 11 to the drawing processing unit 12. The drawing processing unit 12 includes a conversion data storage unit 11
Then, the band image input from is written to the memory unit 13 as it is, and the drawing process of the band is ended.

【0095】このように、描画処理が間に合わないバン
ドについては、エッジリスト変換部10により予め描画
処理を行っておくことにより、ROP処理を含んだバン
ドに対しても確実に出力デバイス14へのデータ供給を
間に合わせることが可能となる。
As described above, by performing the drawing process in advance for the band for which the drawing process cannot be completed in time by the edge list conversion unit 10, the data to the output device 14 can be reliably transmitted to the band including the ROP process. Supply can be made in time.

【0096】なお、ここでは第2の描画時間予測部9の
予測結果が、前記第2の閾値よりも大きい全てのバンド
に対して、エッジリスト変換部10でバンド画像を生成
するように説明を行ったが、バンドに含まれる描画要素
のROPコードをチェックして、もしも下地を必要とす
るROPコードが全く含まれていない場合や、下地を必
要とするROPコードを持つ描画要素の面積が小さい場
合には、先の実施例で述べた重なり除去を行うようにし
ても良い。
Here, the description will be made such that the edge list conversion unit 10 generates a band image for all the bands in which the prediction result of the second drawing time prediction unit 9 is larger than the second threshold value. Performed, but check the ROP code of the drawing element included in the band, and if the ROP code that requires the base is not included at all, or the area of the drawing element that has the ROP code that requires the base is small In such a case, the overlap removal described in the previous embodiment may be performed.

【0097】また、バンド画像のデータ量を減らして描
画処理部12への転送時間を短くするために、エッジリ
スト変換部10では、バンド画像を生成後に圧縮処理を
行って圧縮バンド画像を作成し、描画処理部12では図
8に示した画像処理回路122内部に伸長回路を構成し
て入力された圧縮バンド画像を伸長してメモリ部13に
書き込むようにしても良い。
In order to reduce the data amount of the band image and shorten the transfer time to the drawing processing unit 12, the edge list conversion unit 10 generates a compressed band image by performing a compression process after generating the band image. Alternatively, the drawing processing unit 12 may configure a decompression circuit in the image processing circuit 122 shown in FIG. 8 to decompress the input compressed band image and write it to the memory unit 13.

【0098】また、もしも多値画像用圧縮/伸長が可能
であり、かつ圧縮によりデータ量が1/n以下になる場
合には、出力デバイス14がCMYK各1ビット入力の
プリンタであっても、スクリーン処理を行わずにnビッ
ト(通常はn=8)の多値のまま圧縮し、描画処理部1
2の側で伸長とスクリーン処理を行うように構成しても
良い。
If multi-valued image compression / expansion is possible and the data amount is reduced to 1 / n or less by compression, even if the output device 14 is a CMYK 1-bit input printer, Without performing screen processing, compression is performed with n bits (normally n = 8) of multi-valued, and the drawing processing unit 1
2 may be configured to perform decompression and screen processing.

【0099】[0099]

【発明の効果】以上説明したように本発明では、ディス
プレイリスト形式で表現された描画要素の情報から描画
処理時間を正確に予測するのが困難な場合にも、重なり
除去などの不要な処理を極力少なくすることが可能であ
るとともに、ROP処理が含まれる場合にもプリンタの
印字速度に間に合うよう確実にデータを供給することを
保証し、またエッジリストと比較して高解像度の場合で
も少ないメモリ量での蓄積/転送が可能な、高速の画像
処理装置を実現することができる。
As described above, according to the present invention, even when it is difficult to accurately predict the drawing processing time from the information of the drawing elements represented in the display list format, unnecessary processing such as overlap removal is performed. As much as possible, it ensures that data is supplied in time for the printing speed of the printer even when ROP processing is included, and also has less memory even at high resolution compared to the edge list. It is possible to realize a high-speed image processing device capable of storing / transferring in a small amount.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本実施形態の画像処理装置を示すブロック図
である。
FIG. 1 is a block diagram illustrating an image processing apparatus according to an embodiment.

【図2】 ベジエ曲線の再帰的な分割を説明する図であ
る。
FIG. 2 is a diagram illustrating recursive division of a Bezier curve.

【図3】 バンド分割方式を説明する図である。FIG. 3 is a diagram illustrating a band division method.

【図4】 エッジリストを説明する図である。FIG. 4 is a diagram illustrating an edge list.

【図5】 本実施形態の画像処理装置における第1の描
画時間予測部の一例を示すブロック図である。
FIG. 5 is a block diagram illustrating an example of a first drawing time prediction unit in the image processing apparatus according to the present embodiment.

【図6】 本実施形態の画像処理装置における第2の描
画時間予測部の一例を示すブロック図である。
FIG. 6 is a block diagram illustrating an example of a second drawing time prediction unit in the image processing apparatus according to the present embodiment.

【図7】 エッジの重なり除去を説明する図である。FIG. 7 is a diagram illustrating edge overlap removal.

【図8】 本実施形態の画像処理装置における描画処理
部の一例を示すブロック図である。
FIG. 8 is a block diagram illustrating an example of a drawing processing unit in the image processing apparatus according to the present embodiment.

【図9】 既存の画像処理装置の一例を示すブロック図
である。
FIG. 9 is a block diagram illustrating an example of an existing image processing apparatus.

【図10】 線図形の塗りつぶし図形への変換を説明す
る図である。
FIG. 10 is a diagram illustrating conversion of a line graphic into a filled graphic.

【図11】 曲線の微小直線での近似を説明する図であ
る。
FIG. 11 is a diagram illustrating approximation of a curve with a minute straight line.

【図12】 ディスプレイリストを説明する図である。FIG. 12 is a diagram illustrating a display list.

【符号の説明】[Explanation of symbols]

1…命令解釈部、2…ベクターデータ生成部、3…フォ
ント管理部、4…ディスプレイリスト生成部、5…ディ
スプレイリスト格納部、6…第1の描画時間予測部、7
…エッジリスト生成部、8…エッジリスト格納部、9…
第2の描画時間予測部、10…エッジリスト変換部、1
1…変換データ格納部、12…描画処理部、13…メモ
リ部、14…出力デバイス、60…第1の予測処理部、
61…第1の判定処理部、62…第1のパラメータ記憶
部、90…第2の予測処理部、91…第2の判定処理
部、92…第2のパラメータ記憶部、120…形状処理
回路、121…色値発生回路、122…画像処理回路、
123…描画回路
DESCRIPTION OF SYMBOLS 1 ... Instruction interpretation part, 2 ... Vector data generation part, 3 ... Font management part, 4 ... Display list generation part, 5 ... Display list storage part, 6 ... First drawing time prediction part, 7
... Edge list generation unit, 8 ... Edge list storage unit, 9 ...
Second drawing time prediction unit, 10... Edge list conversion unit, 1
DESCRIPTION OF SYMBOLS 1 ... Conversion data storage part, 12 ... Drawing processing part, 13 ... Memory part, 14 ... Output device, 60 ... First prediction processing part,
61: first determination processing unit, 62: first parameter storage unit, 90: second prediction processing unit, 91: second determination processing unit, 92: second parameter storage unit, 120: shape processing circuit 121, a color value generation circuit, 122, an image processing circuit,
123 ... Drawing circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 図形の描画処理を行う画像処理装置にお
いて、 図形の描画要素やクリップ要素を記述するベクター情報
を多角形近似した直線ベクターの集合に変換し、該直線
ベクターの集合に含まれる各直線をその開始スキャンラ
イン座標値でソートして方向,傾き,長さ情報を付加し
たディスプレイリストを描画要素に対応して生成するデ
ィスプレイリスト生成手段と、 前記ディスプレイリスト生成手段で生成されたディスプ
レイリストを蓄積するディスプレイリスト蓄積手段と、 前記ディスプレイリスト蓄積手段に蓄積されたディスプ
レイリストから描画処理時間を推定する第1の描画時間
推定手段と、 ディスプレイリスト中の各直線と出力スキャンラインと
の交点を計算して、描画要素毎に各スキャンライン上の
描画開始位置と描画長の組で構成されたエッジのリスト
を生成するエッジリスト生成手段と、 前記エッジリスト生成手段で生成されたエッジリストを
蓄積するエッジリスト蓄積手段と、 前記エッジリスト蓄積手段に蓄積されたエッジリストか
ら描画処理時間を推定する第2の描画時間推定手段と、 エッジリストをより描画時間が少ない形式に変換するエ
ッジリスト変換手段と、 前記エッジリスト変換手段により変換されたデータを蓄
積する変換データ蓄積手段と、 前記第1の描画時間予測手段および前記第2の描画時間
予測手段で予測した描画処理時間に基づき、前記ディス
プレイリスト、前記エッジリストおよび前記エッジリス
ト変換手段により変換された描画要素を処理して画像を
生成する画像描画手段とを有することを特徴とする画像
処理装置。
1. An image processing apparatus for performing a drawing process of a graphic, comprising converting vector information describing a drawing element or a clip element of the graphic into a set of linear vectors approximated by a polygon. Display list generating means for sorting a straight line by its start scan line coordinate value and generating a display list to which direction, inclination, and length information are added corresponding to the drawing element; and a display list generated by the display list generating means. Display list accumulating means for accumulating the image data; first drawing time estimating means for estimating the drawing processing time from the display list accumulated in the display list accumulating means; Calculate and draw start position and drawing on each scan line for each drawing element Edge list generating means for generating a list of edges composed of a set of: an edge list storing means for storing the edge list generated by the edge list generating means; and an edge list stored in the edge list storing means. Second drawing time estimating means for estimating a drawing processing time, edge list converting means for converting an edge list into a format having a shorter drawing time, and conversion data storing means for storing data converted by the edge list converting means Processing the display list, the edge list, and the drawing element converted by the edge list conversion means based on the drawing processing time predicted by the first drawing time prediction means and the second drawing time prediction means. An image processing apparatus, comprising: an image drawing unit that generates an image by using the image processing unit.
【請求項2】 前記エッジリスト変換手段では、描画要
素間の重なりにより描画結果に影響を与えないエッジま
たはその一部を除去することを特徴とする請求項1記載
の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the edge list conversion unit removes an edge or a part of the edge that does not affect a drawing result due to overlap between drawing elements.
【請求項3】 前記エッジリスト変換手段では、エッジ
リストで表現された描画要素に描画処理を行って画像に
変換することを特徴とする請求項1記載の画像処理装
置。
3. The image processing apparatus according to claim 1, wherein said edge list conversion means performs a drawing process on a drawing element represented by an edge list to convert the drawing element into an image.
【請求項4】 前記第1の描画時間推定手段では、少な
くともディスプレイリストで表現された描画要素の外接
矩形の画素数を用いて推定処理を行い、 前記第2の描画時間推定手段では、少なくともエッジリ
ストで表現された描画要素の描画画素数を用いて推定処
理を行うことを特徴とする請求項1記載の画像処理装
置。
4. The first drawing time estimating means performs an estimating process using at least the number of pixels of a circumscribed rectangle of a drawing element represented by a display list, and the second drawing time estimating means includes at least an edge. 2. The image processing apparatus according to claim 1, wherein the estimation processing is performed using the number of drawing pixels of the drawing elements represented by the list.
【請求項5】 前記第1の描画時間推定手段により推定
した描画時間が第1の閾値以下である場合には前記画像
描画手段にディスプレイリストを入力して処理し、それ
以外の場合には前記エッジリスト生成手段によりディス
プレイリストをエッジリストに変換し、 前記第2の描画時間推定手段により推定した描画時間が
第2の閾値以下である場合には前記画像描画手段にエッ
ジリストを入力して処理し、それ以外の場合には前記エ
ッジリスト変換手段によりエッジリストを変換した結果
を前記画像描画手段に入力して処理することを特徴とす
る請求項1から請求項4のうちいずれか1項に記載の画
像処理装置。
5. When the drawing time estimated by said first drawing time estimating means is less than or equal to a first threshold, a display list is input to said image drawing means for processing, otherwise, said display list is processed. The display list is converted into an edge list by the edge list generating means, and when the drawing time estimated by the second drawing time estimating means is less than or equal to a second threshold, the edge list is input to the image drawing means and processed. In other cases, the result of converting the edge list by the edge list converting means is input to the image drawing means and processed. An image processing apparatus as described in the above.
【請求項6】 前記ディスプレイリスト生成手段、前記
ディスプレイリスト蓄積手段、前記第1の描画時間推定
手段、前記エッジリスト生成手段、前記エッジリスト蓄
積手段、前記第2の描画時間推定手段、前記エッジリス
ト変換手段、前記変換データ蓄積手段、前記画像描画手
段での各処理は、形成される画像全体を分割した部分領
域毎に独立に行われることを特徴とする請求項1から請
求項5のうちいずれか1項に記載の画像処理装置。
6. The display list generating means, the display list storing means, the first drawing time estimating means, the edge list generating means, the edge list storing means, the second drawing time estimating means, the edge list 6. The image processing apparatus according to claim 1, wherein each processing in the conversion unit, the conversion data storage unit, and the image drawing unit is performed independently for each partial region obtained by dividing the entire image to be formed. The image processing apparatus according to claim 1.
【請求項7】 前記ディスプレイリスト生成手段、前記
ディスプレイリスト蓄積手段、前記第1の描画時間推定
手段、前記エッジリスト生成手段、前記エッジリスト蓄
積手段、前記第2の描画時間推定手段、ならびに前記エ
ッジリスト変換手段はプログラムにより記述されたソフ
トウェアで構成され、 画像描画手段はハードウェアで構成されることを特徴と
する請求項1から請求項6のうちいずれか1項に記載の
画像処理装置。
7. The display list generation unit, the display list storage unit, the first drawing time estimation unit, the edge list generation unit, the edge list storage unit, the second drawing time estimation unit, and the edge The image processing apparatus according to any one of claims 1 to 6, wherein the list conversion unit is configured by software described by a program, and the image rendering unit is configured by hardware.
JP2001038069A 2001-02-15 2001-02-15 Image processor Pending JP2002244643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001038069A JP2002244643A (en) 2001-02-15 2001-02-15 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001038069A JP2002244643A (en) 2001-02-15 2001-02-15 Image processor

Publications (1)

Publication Number Publication Date
JP2002244643A true JP2002244643A (en) 2002-08-30

Family

ID=18901114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001038069A Pending JP2002244643A (en) 2001-02-15 2001-02-15 Image processor

Country Status (1)

Country Link
JP (1) JP2002244643A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079476A (en) * 2004-09-10 2006-03-23 Ricoh Co Ltd Image processing system
JP2009271700A (en) * 2008-05-07 2009-11-19 Canon Inc Image processing apparatus and image processing method
JP2010264705A (en) * 2009-05-18 2010-11-25 Fuji Xerox Co Ltd Image processor and program
JP2013004032A (en) * 2011-06-21 2013-01-07 Canon Inc Image processing device and image processing method
JP2013030066A (en) * 2011-07-29 2013-02-07 Fujitsu Ltd Drawing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079476A (en) * 2004-09-10 2006-03-23 Ricoh Co Ltd Image processing system
JP4484642B2 (en) * 2004-09-10 2010-06-16 株式会社リコー Image processing system
JP2009271700A (en) * 2008-05-07 2009-11-19 Canon Inc Image processing apparatus and image processing method
US8335389B2 (en) 2008-05-07 2012-12-18 Canon Kabushiki Kaisha Image processing device and method for benzier approximation accuracy within a pre-defined data amount or predetermined processing time
JP2010264705A (en) * 2009-05-18 2010-11-25 Fuji Xerox Co Ltd Image processor and program
JP2013004032A (en) * 2011-06-21 2013-01-07 Canon Inc Image processing device and image processing method
JP2013030066A (en) * 2011-07-29 2013-02-07 Fujitsu Ltd Drawing device

Similar Documents

Publication Publication Date Title
US6466229B1 (en) Graphics processing apparatus and graphics processing method
US5317679A (en) Digital image processor including correction for undesirable edge emphasis in outline-demarcated fonts
JP4748234B2 (en) Image processing apparatus and image forming apparatus
JP2002244643A (en) Image processor
JPH09261457A (en) Print controller, data processing method for it and storage medium storing program readable by computer
JP3037854B2 (en) Character generation method and device
US6504543B1 (en) Polygon drawing method and polygon drawing apparatus
JP3266905B2 (en) Graphic processing unit
JP4496937B2 (en) Driver program and image forming apparatus
JP3843794B2 (en) Graphic processing device
JPH10151815A (en) Printing-processing apparatus
US11341383B2 (en) Methods and apparatus to detect effective tiling area and fill tiles efficiently
JP2009073083A (en) Image forming device, image forming method, and image forming program
JP2000066658A (en) Image processor and recording medium
JP2002318680A (en) Image processor and image processing method
JP2988303B2 (en) Image processing device
JPH10191066A (en) Image processor
JPH10222146A (en) Character display device, display method and font information
JPH10157217A (en) Printing-processing apparatus
JPH1110961A (en) Print processor and printing method
JPH10305639A (en) Print processor and processing method
JPH09274654A (en) Output controller, output control method and storage medium storing control program
JPH11144062A (en) Printing processor
CN115713460A (en) Information processing device, teacher data generation method, learned model generation method, and storage medium
JP2001109899A (en) Image processor