JPH1011593A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPH1011593A
JPH1011593A JP8161225A JP16122596A JPH1011593A JP H1011593 A JPH1011593 A JP H1011593A JP 8161225 A JP8161225 A JP 8161225A JP 16122596 A JP16122596 A JP 16122596A JP H1011593 A JPH1011593 A JP H1011593A
Authority
JP
Japan
Prior art keywords
image
tree
overlap
job
unit
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
JP8161225A
Other languages
Japanese (ja)
Inventor
Shoji Sakamoto
彰司 坂本
Hiroshi Kawamoto
浩史 川本
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 JP8161225A priority Critical patent/JPH1011593A/en
Publication of JPH1011593A publication Critical patent/JPH1011593A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect the overlap of plotting elements with each other at the time of executing page description languages in parallel. SOLUTION: Image plotting instructions divided by a job sequence generation means 1 are executed in parallel in plural plotting means 2a, 2b' and the overlap of the plotting elements is judged in an overlap judgment means 3. An area division means 4 divides a prescribed area into two relatively prime parts. A tree constituted of nodes with the position of the straight line of the boundary as a value is constituted and the tree expresses the spatial arrangement of the plotting elements. A tree data management means 5 registers an image in the node at the end of the tree. Tree data is constituted of image groups classified by systems where the plotting areas are not overlapped. In overlap judgment, such tree is searched for and the plotting elements to be the object of overlap judgment are specified from a division area where the plotting element which is newly given is arranged so as to execute comparison. A job management means 6 takes out partial image element information of the plotting means 2a, 2b... based on tree data and synthesizes them in an image memory 7.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像形成装置に関
し、特に画像を記述する言語で表現された命令列を複数
の命令処理装置により並列に実行して画像情報を得るよ
うにした画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, and more particularly, to an image forming apparatus in which an instruction sequence expressed in a language for describing an image is executed in parallel by a plurality of instruction processing devices to obtain image information. .

【0002】[0002]

【従来の技術】多数の利用者が共有しているサーバ型の
印刷装置は、多くのホスト装置からのプリント要求を受
け付けて、ページ記述言語で記述された印刷情報の解
釈、実行を行わなければならない。多くのホスト装置か
ら同時に利用される場合、印刷装置でのページ記述言語
で記述された印刷情報の解釈、実行が逐次的に行われ、
プリント要求をしてから結果を得るまでの待ち時間が長
くなるという問題があった。この状況は印刷解像度の増
大とともに深刻化してきている。
2. Description of the Related Art A server-type printing apparatus shared by many users must accept print requests from many host apparatuses and interpret and execute print information described in a page description language. No. When used from many host devices at the same time, the printing device interprets and executes print information described in a page description language sequentially,
There has been a problem that the waiting time from obtaining a print request to obtaining a result becomes long. This situation has been exacerbated with an increase in printing resolution.

【0003】そこで上記問題を解決し、画像形成を高速
に実行するために、並列的に描画命令の解釈実行を行う
技術が提案されている。例えば、PCT/JP91/0
0456号に開示された技術では、ネットワーク上に分
散した複数のコンピュータ上で印刷画面の形成処理を分
担するようにしている。ここでは、印刷画面をバンド状
あるいはメッシュ状に分割し、分割された領域の画像形
成を各コンピュータが担当することにより描画操作を複
数の処理として並列実行しているが、形成される画像の
重なりを許していないため、重ならない図形の描画操作
の系列への分割という前処理が必要となる。
In order to solve the above problem and execute image formation at a high speed, a technique for interpreting and executing a drawing command in parallel has been proposed. For example, PCT / JP91 / 0
According to the technology disclosed in Japanese Patent No. 0456, a print screen forming process is shared by a plurality of computers distributed on a network. Here, the print screen is divided into a band shape or a mesh shape, and each computer is responsible for forming an image of the divided region, so that the drawing operation is performed in parallel as a plurality of processes. Therefore, a pre-processing of dividing a drawing operation of a non-overlapping figure into a series of drawing operations is required.

【0004】現在広く用いられているページ記述言語の
多くは、逐次実行を前提として設計されているため、こ
れを並列に実行するには、並列実行可能な部分を特定
し、複数のプロセッサに適切に割当てる処理が必要とな
る。このとき、ある部分画像形成命令の実行結果に上書
きするような画像形成命令がある場合には、それらの間
での重なりの順序を保存しなければ正しい最終画像が得
られない。
[0004] Many of the currently widely used page description languages are designed on the premise of sequential execution. To execute them in parallel, a part which can be executed in parallel is specified, and a page description language suitable for a plurality of processors is specified. Is required. At this time, if there is an image forming command that overwrites the execution result of a certain partial image forming command, a correct final image cannot be obtained unless the order of overlapping between them is preserved.

【0005】上述の如き問題に対しては、次のような技
術が提案されている。特開平7−104987号公報に
開示された技術では、文書印刷プログラムにおける画像
操作手順を解析生成し、並列に描画実行できるか否かの
判定を、それまでに画像形成された画素と次の命令実行
により画像形成される画素との直接比較によって、並列
実行コードを生成するようにしている。
[0005] The following techniques have been proposed to solve the above problems. According to the technique disclosed in Japanese Patent Application Laid-Open No. 7-104987, an image operation procedure in a document print program is analyzed and generated, and it is determined whether or not rendering can be executed in parallel, by determining a pixel having been image-formed so far and the next A parallel execution code is generated by direct comparison with a pixel formed by execution.

【0006】[0006]

【発明が解決しようとする課題】逐次実行を前提として
設計されているページ記述言語を、高速画像形成のため
に並列に実行させる際には、描画要素の重なりの順序を
保存しなければ正しい最終画像が得られないため、重な
りを検出する処理が必要となる。
When a page description language designed for sequential execution is executed in parallel for high-speed image formation, the correct final order must be maintained unless the order of overlapping drawing elements is preserved. Since no image can be obtained, processing for detecting overlap is required.

【0007】しかしながら、上記従来の並列描画方式に
おいて、ある部分画像形成が他の画像形成と干渉しない
か、すなわち画像形成の順序によっては他の画像形成に
よる画像がその下にあるべき画像によって上書きされて
しまうか、あるいはその逆に他の画像形成による画像が
その上にあるべき画像を上書きしてしまうかの誤処理を
生じる可能性があるかどうかを判定する必要がある。こ
の重なり関係の判定は、一画面を構成する像内のすべて
の画像要素間について吟味する必要があり、画像要素数
の2乗に比例した処理時間がかかってしまう。そのた
め、画像要素を数百以上の細粒度に分割したときには重
なり判定のための前処理の負荷が非常に大きくなってし
まい、並列処理が元来に意図していた処理高速化の効果
を大きく損なうことになるという問題点があった。
However, in the above-described conventional parallel drawing method, whether a certain partial image formation does not interfere with another image formation, that is, depending on the order of image formation, an image formed by another image is overwritten by an image that should be below it. It is necessary to determine whether or not there is a possibility of erroneous processing of whether an image from another image formation overwrites an image that should be on it. It is necessary to examine this overlapping relationship between all the image elements in the image forming one screen, and it takes a processing time proportional to the square of the number of image elements. Therefore, when an image element is divided into several hundred or more fine granularities, the load of the preprocessing for the overlap determination becomes very large, and the effect of the parallel processing originally intended to speed up the processing is greatly impaired. There was a problem that would be.

【0008】本発明はこのような点に鑑みてなされたも
のであり、ページ記述言語の並列実行のための描画要素
の重なり検出を高速に行うようにした画像形成装置を提
供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide an image forming apparatus capable of detecting, at high speed, overlapping of drawing elements for parallel execution of a page description language. I do.

【0009】[0009]

【課題を解決するための手段】本発明では上記問題を解
決するために、ページ記述言語で記述された画像描画命
令を実行して画素情報を得るための画像形成装置におい
て、前記画像描画命令を前記画像描画命令の命令単位で
分割して複数の前記画像描画命令の命令ジョブからなる
ジョブシーケンスを作成するジョブシーケンス作成手段
と、前記ジョブシーケンス作成手段から前記命令ジョブ
を個々に受けてそれぞれ前記命令ジョブから画素情報を
展開する複数の描画手段と、前記命令ジョブを受けて命
令ジョブ間の実行時の描画領域の重なりの有無を判定す
る重なり判定手段と、前記重なり判定手段の判定結果に
応じ、描画平面を描画領域の重なりのない互いに素な部
分領域に分割する領域分割手段と、前記ジョブシーケン
スに従って前記領域分割手段の分割結果から互いに素な
部分領域の系列で前記画素情報を木構造に構成するとと
もに、前記重なり判定手段による重なり判定時に前記構
成された木が探索されて判定対象となる部分領域に属す
る命令ジョブが特定される木データ管理手段と、前記ジ
ョブシーケンス作成手段からの命令ジョブを前記複数の
描画手段に分配するとともに、前記木データ管理手段の
木データを参照して前記複数の描画手段で展開された部
分画素情報を取り出すジョブ管理手段と、前記描画平面
に対応する画素情報を保持するだけの領域を有し、前記
ジョブ管理手段によって前記複数の描画手段より取り出
された部分画素情報を書き込んで画像を合成する画像メ
モリとを備えていることを特徴とする画像形成装置が提
供される。
According to the present invention, in order to solve the above-mentioned problems, in an image forming apparatus for obtaining pixel information by executing an image drawing command described in a page description language, A job sequence creating unit that creates a job sequence composed of a plurality of instruction jobs of the image rendering command by dividing the image rendering command into instruction units, and individually receives the instruction jobs from the job sequence creating unit and executes the respective instructions. A plurality of drawing units for developing pixel information from a job, an overlap determination unit that receives the command job and determines whether or not a drawing area overlaps when executing between command jobs, and according to a determination result of the overlap determination unit, Area dividing means for dividing a drawing plane into disjoint partial areas having no overlapping drawing areas; and The pixel information is formed into a tree structure by a sequence of disjoint partial regions from the division result of the division unit, and the configured tree is searched for at the time of the overlap determination by the overlap determination unit and belongs to the partial region to be determined. A tree data management unit in which an instruction job is specified, and an instruction job from the job sequence creation unit is distributed to the plurality of drawing units, and the plurality of drawing units refer to the tree data in the tree data management unit. A job management unit for extracting the expanded partial pixel information; and a region having only an area for holding the pixel information corresponding to the drawing plane, and writing the partial pixel information extracted from the plurality of drawing units by the job management unit. And an image memory for synthesizing an image with the image forming apparatus.

【0010】このような画像形成装置によれば、描画要
素の登録に際し、描画要素の空間的配置を表現するため
に、領域分割手段がある領域を互いに素な2つの部分に
分割し、木データ管理手段がその境界の直線を値とする
ノードからなる木を構成し、その木の末端のノードに画
像を登録する。重なり判定手段は、そのように構成され
た木を探索して、重なり判定の対象となる描画要素を特
定する。重なり判定の対象となる描画要素の探索には、
新たに与えられた描画要素が互いに素な2つの部分に分
割された直線のどちら側にあるかを判定していって、与
えられた描画要素が配置される部分領域に含まれる描画
要素を重なり判定の対象とする。重なり判定により、木
データは更新される。その木データによる重なり依存関
係に従ってジョブ管理手段が描画手段から展開された部
分画素情報を読み出し、画像メモリにて合成することに
より画像を形成する。
According to such an image forming apparatus, in registering a drawing element, in order to represent the spatial arrangement of the drawing element, an area dividing means divides an area into two disjoint parts, and creates tree data. The management means constructs a tree composed of nodes whose values are the straight lines at the boundaries, and registers an image at the terminal node of the tree. The overlap judging means searches for a tree configured as described above and specifies a drawing element to be subjected to overlap judgment. To search for drawing elements to be subject to overlap determination,
Determines which side of the new given drawing element is on the straight line divided into two disjoint parts, and overlaps the drawing element included in the partial area where the given drawing element is placed. It is the target of the judgment. The tree data is updated by the overlap determination. The job management unit reads out the developed partial pixel information from the drawing unit in accordance with the overlapping dependency relationship based on the tree data, and forms an image by combining the partial pixel information in the image memory.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は本発明の原理構成を示す図
である。本発明による画像形成装置は、画像描画命令を
受けて複数の画像描画命令の命令ジョブからなるジョブ
シーケンスを作成するジョブシーケンス作成手段1と、
個々の命令ジョブを実行する複数の描画手段2a,2
b,2c,・・・と、命令ジョブ間の実行時の描画領域
の重なり関係を判定する重なり判定手段3と、この重な
り判定手段3の判定結果に応じて描画平面を描画領域の
重なりのない互いに素な部分領域に分割する領域分割手
段4と、この領域分割手段4の分割結果から画素情報を
木構造にする木データ管理手段5と、命令ジョブの複数
の描画手段2a,2b,2c,・・・への割り当てや複
数の描画手段2a,2b,2c,・・・で展開された部
分画素情報の取り出しを行うジョブ管理手段6と、木デ
ータが表す重なり関係に従って取り出された部分画素情
報を書き込んで画像を合成する画像メモリ7とを備えて
いる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the principle configuration of the present invention. The image forming apparatus according to the present invention includes: a job sequence creating unit that creates a job sequence including a command job of a plurality of image drawing commands in response to an image drawing command;
A plurality of drawing means 2a, 2 for executing individual instruction jobs
, b, 2c,..., overlap determining means 3 for determining the overlapping relationship of the drawing areas at the time of execution between the command jobs, and the drawing plane is not overlapped according to the determination result of the overlap determining means 3. Area dividing means 4 for dividing into disjoint partial areas, tree data managing means 5 for converting pixel information into a tree structure from the division result of the area dividing means 4, a plurality of drawing means 2a, 2b, 2c, , And extracting the partial pixel information expanded by the plurality of drawing units 2a, 2b, 2c,..., And the partial pixel information extracted according to the overlapping relationship represented by the tree data And an image memory 7 for synthesizing an image by writing the image.

【0012】ジョブシーケンス作成手段1は、画像描画
命令をその命令単位で分割して命令ジョブの並びからな
るジョブシーケンスを作成する。ジョブ管理手段6は、
分割された命令ジョブを複数の描画手段2a,2b,2
c,・・・に適当に割り当て、複数の描画手段2a,2
b,2c,・・・を並列に駆動してそれぞれ描画命令を
実行させる。同時に、重なり判定手段3は、分割された
命令ジョブが実行時の描画領域と一つ手前の命令ジョブ
が実行時の描画領域との重なりの有無を判定する。この
とき、重なり判定手段3は、木データ管理手段5によっ
て構成された木を探索して判定対象となる部分領域に属
する命令ジョブを特定する。領域分割手段4は、重なり
判定手段3の判定結果に応じて、木データ管理手段5に
おける木データを更新するときに、描画平面を描画領域
の重なりのない互いに素な部分領域に分割して描画平面
の中で重なりのない領域との論理的な境界を設定してい
く。ジョブ管理手段6は、木データ管理手段5の木デー
タを参照することにより描画領域の重なり関係を考慮し
ながら複数の描画手段2a,2b,2c,・・・で展開
された部分画素情報を読み出し、これらを画像メモリ7
に書き込んで画像を合成する。
The job sequence creating means 1 divides an image drawing instruction into instruction units and creates a job sequence consisting of a sequence of instruction jobs. The job management means 6
The divided instruction job is transferred to a plurality of drawing units 2a, 2b, 2
c,... and a plurality of drawing means 2a, 2
are driven in parallel to execute respective drawing commands. At the same time, the overlap judging means 3 judges whether or not there is an overlap between the drawing area when the divided instruction job is executed and the drawing area when the immediately preceding instruction job is executed. At this time, the overlap judging unit 3 searches the tree formed by the tree data managing unit 5 and specifies the instruction job belonging to the partial area to be judged. When updating the tree data in the tree data management means 5 according to the determination result of the overlap determination means 3, the area dividing means 4 divides the drawing plane into disjoint partial areas having no overlapping drawing areas and performs drawing. Set logical boundaries with non-overlapping areas in the plane. The job management unit 6 refers to the tree data of the tree data management unit 5 and reads out the partial pixel information developed by the plurality of drawing units 2a, 2b, 2c,... While considering the overlapping relationship of the drawing regions. , These are stored in the image memory 7
And write the image.

【0013】したがって、描画要素の重なり検出に際
し、描画要素の空間的配置を表現するために、木データ
管理手段5では、領域分割手段4によってある領域を互
いに素な2つの部分に分割した直線を値とするノードか
らなる木を構成し、その木の末端のノードに形成画像を
登録するようにしている。重なり判定手段3は、そのよ
うに構成された木を探索するので、重なり判定の対象と
なる描画要素の特定が高速に行われれる。木データ管理
手段5での木の探索時には、重なり判定の対象となる描
画要素が互いに素な2つの部分に分割された直線のどち
ら側にあるかを判定し、重なり判定の対象となる描画要
素がないと判定された領域にある描画要素については重
なり判定の対象としないので、描画要素間の重なり判定
の数を少なくすることができ、全体の画像形成処理を高
速にすることができる。
Accordingly, in order to represent the spatial arrangement of the drawing elements when detecting the overlap of the drawing elements, the tree data management means 5 uses the area dividing means 4 to divide a straight line obtained by dividing a certain area into two disjoint parts. A tree composed of nodes as values is formed, and a formed image is registered at a terminal node of the tree. Since the overlap judging means 3 searches for a tree configured as described above, a drawing element to be subjected to overlap judgment is specified at high speed. At the time of tree search by the tree data management means 5, it is determined which side of a straight line divided into two disjoint portions the drawing element to be subjected to overlap determination is determined. Since the drawing elements in the area determined not to have no overlap are not subjected to the overlap determination, the number of overlap determinations between the drawing elements can be reduced, and the entire image forming process can be sped up.

【0014】次に、本発明の第1の実施の形態を、ネッ
トワークにより粗結合された印刷システムに適用した場
合を例にして説明する。図2は本発明の画像形成装置を
適用した印刷システムの構成を示すブロック図である。
図示の画像形成装置10は、ローカルエリアネットワー
ク20を介してクライアント計算機31,32,33,
・・・が結合され、また、処理結果を出力するためのプ
リントエンジン40が結合されている。画像形成装置1
0は、ローカルエリアネットワーク20に接続された命
令解析装置11と、複数の図形描画部12a,12b,
12c,12d,12e,・・・と、図形合成部13
と、画像メモリ14と、プリンタインタフェース15と
が共有バス16を介して結合されている。命令解析装置
11は、字句解析部11aと、命令実行部11bと、記
述分割部11cと、重なり判定部11dと、木データ管
理部11eとから構成されている。
Next, an example in which the first embodiment of the present invention is applied to a printing system loosely coupled by a network will be described. FIG. 2 is a block diagram showing a configuration of a printing system to which the image forming apparatus of the present invention is applied.
The illustrated image forming apparatus 10 includes client computers 31, 32, 33,
Are connected, and a print engine 40 for outputting a processing result is connected. Image forming apparatus 1
0 is a command analysis device 11 connected to the local area network 20 and a plurality of graphic drawing units 12a, 12b,
, 12c, 12d, 12e,...
, An image memory 14 and a printer interface 15 via a shared bus 16. The instruction analysis device 11 includes a lexical analysis unit 11a, an instruction execution unit 11b, a description division unit 11c, an overlap determination unit 11d, and a tree data management unit 11e.

【0015】なお、命令解析装置11の字句解析部11
a、命令実行部11bおよび記述分割部11cは図1に
示すジョブシーケンス作成手段1に対応し、命令解析装
置11の重なり判定部11dは重なり判定手段3に対応
し、命令解析装置11の木データ管理部11eは木デー
タ管理手段5に対応し、重なり判定部11dおよび木デ
ータ管理部11eの機能の一部が領域分割手段4に対応
し、複数の図形描画部12a,12b,12c,12
d,12e,・・・は描画手段2a,2b,2c,・・
・に対応し、図形合成部13はジョブ管理手段6に対応
し、そして、画像メモリ14は画像メモリ7に対応す
る。
The lexical analyzer 11 of the instruction analyzer 11
a, the instruction execution unit 11b and the description division unit 11c correspond to the job sequence creation unit 1 shown in FIG. 1, the overlap determination unit 11d of the instruction analysis unit 11 corresponds to the overlap determination unit 3, and the tree data of the instruction analysis unit 11 The management unit 11e corresponds to the tree data management unit 5, a part of the functions of the overlap determination unit 11d and the tree data management unit 11e corresponds to the area division unit 4, and a plurality of graphic drawing units 12a, 12b, 12c, 12
d, 12e,... are drawing means 2a, 2b, 2c,.
, The graphic synthesizing unit 13 corresponds to the job management unit 6, and the image memory 14 corresponds to the image memory 7.

【0016】本発明による画像形成装置10において、
クライアント計算機31,32,33,・・・で作成さ
れた印刷ジョブはローカルエリアネットワーク20を介
して命令解析装置11に送られる。命令解析装置11で
は、受け取った印刷ジョブの内容を字句解析部11aに
よって解析する。命令実行部11bでは、印刷ジョブを
内部形式に順次変換する。続いて、字句解析部11aに
よる解析の結果、部分図形の描画命令が検知されると、
記述分割部11cはその部分図形の描画命令を単一の部
分図形あるいは複数の部分図形の系列に分割する。記述
分割部11cの出力は分割された結果の部分図形の記述
の並びであり、これは並列に動作可能であってローカル
バッファを有する図形描画部12a,12b,12c,
12d,12e,・・・のいずれかに送られ、その図形
描画部12a,12b,12c,12d,12e,・・
・において部分図形の描画が行われる。
In the image forming apparatus 10 according to the present invention,
The print job created by the client computers 31, 32, 33,... Is sent to the command analyzer 11 via the local area network 20. In the command analyzer 11, the contents of the received print job are analyzed by the lexical analyzer 11a. The command execution unit 11b sequentially converts the print job into an internal format. Subsequently, as a result of the analysis by the lexical analysis unit 11a, when a drawing command of a partial graphic is detected,
The description division unit 11c divides the drawing command of the partial graphic into a single partial graphic or a series of a plurality of partial graphics. The output of the description division unit 11c is a sequence of descriptions of the partial figures as a result of the division, which are operable in parallel and have graphic buffers 12a, 12b, 12c,
12d, 12e,..., And their graphic drawing units 12a, 12b, 12c, 12d, 12e,.
The drawing of the partial figure is performed in.

【0017】また、記述分割部11cの出力は同時に重
なり判定部11dに送られ、それまでに生成された部分
図形との重なりがあるかどうかの判定が行われる。重な
り判定部11dの出力は木データ管理部11eに送ら
れ、ここで木構造を用いた表現で管理される。図形合成
部13は木データ管理部11eの保持する木データによ
って表現された部分図形の間の重なり関係の情報を参照
しながら、図形描画部12a,12b,12c,12
d,12e,・・・で描画されてそれぞれのローカルバ
ッファに保持されている図形データを適宜読み出し、1
ページ分の描画平面に対応する画像メモリ14に送る。
画像メモリ14では、送られた図形データを合成して、
1ページ分の画像を生成する。こうして生成された画像
メモリ14の内容はプリンタインタフェース15を介し
てプリントエンジン40に送られ、印刷出力される。
The output of the description division unit 11c is sent to the overlap judgment unit 11d at the same time, and it is judged whether or not there is any overlap with the partial figures generated so far. The output of the overlap judging unit 11d is sent to a tree data management unit 11e, where it is managed in an expression using a tree structure. The graphic synthesizing unit 13 refers to the information on the overlapping relationship between the partial graphics represented by the tree data held by the tree data management unit 11e and refers to the graphic drawing units 12a, 12b, 12c, 12c.
The graphic data drawn in d, 12e,... and held in the respective local buffers are read out as appropriate.
The image data is sent to the image memory 14 corresponding to the drawing plane for the page.
The image memory 14 combines the sent graphic data,
Generate an image for one page. The contents of the image memory 14 thus generated are sent to the print engine 40 via the printer interface 15 and printed out.

【0018】次に、画像形成装置10に入力される印刷
ジョブの具体的な例を参照して動作の詳細な説明をす
る。図3はクライアントが作成した画面の一例を示す図
である。図示の作図例によれば、任意のクライアント計
算機において、任意の画像編集ソフトウェアを使用し
て、最初に四角の図形F1が作成され、その上に重ねて
黒丸の図形F2が作成され、図形F2を完全に包含する
形で白抜きの大きな円の図形F3が作成される。次に、
図形F1を一部包含する形で三角形の図形F4が作成さ
れ、さらに、黒丸の図形F5と、これを包含する白抜き
の円の図形F6が作成されている。
Next, the operation will be described in detail with reference to a specific example of a print job input to the image forming apparatus 10. FIG. 3 is a diagram illustrating an example of a screen created by the client. According to the illustrated drawing example, a square figure F1 is first created on an arbitrary client computer using an arbitrary image editing software, and a black circle figure F2 is created on the square figure F1. A large white circle figure F3 is created in a completely enclosing form. next,
A triangular figure F4 is created so as to partially include the figure F1, and a black circle figure F5 and a white circle figure F6 including the figure F5 are created.

【0019】画像編集ソフトウェアを利用して作成され
た図形F1〜F6の情報は、クライアント計算機にイン
ストールされた、たとえば、プリンタドライバが生成す
るPDLプログラムとして画像形成装置10の命令解析
装置11に送信される。このような図形F1〜F6を描
画する描画命令列は以下のように記述される。
The information of the figures F1 to F6 created by using the image editing software is transmitted to the command analyzer 11 of the image forming apparatus 10 as a PDL program generated by, for example, a printer driver installed in the client computer. You. A drawing command sequence for drawing such figures F1 to F6 is described as follows.

【0020】図4は命令解析装置における解析の例を示
す図である。図4の(A)は画像形成装置10の命令解
析装置11に入力された描画命令列のリストを示してい
る。このリストによれば、図形F1〜F6に対応する図
形描画命令51〜56が図形F1,F2,F3,F4,
F5およびF6の順に記述されている。
FIG. 4 is a diagram showing an example of analysis in the instruction analyzer. FIG. 4A shows a list of a drawing command sequence input to the command analysis device 11 of the image forming apparatus 10. According to this list, the graphics drawing commands 51 to 56 corresponding to the graphics F1 to F6 are the graphics F1, F2, F3, F4,
It is described in the order of F5 and F6.

【0021】命令解析装置11の字句解析部11aで
は、入力された描画命令列を1文字ずつ読み込んで解析
し、命令実行部11bにおいて、解析された図形描画命
令の内容、たとえば図形の種類、座標値、大きさなどの
パラメータを内部形式に変換する。続いて、記述分割部
11cにおいては、描画命令列から実際に描画する図形
の種類を表す命令を検出する。具体的には、図4の
(B)のリスト中に下線で示したように、塗りつぶしの
四角の図形描画命令である「rectfill」、円弧
の塗りつぶしの図形描画命令である「fill」、およ
び輪郭に沿った線の図形描画命令である「strok
e」を検出する。これらの輪郭描画命令または塗りつぶ
し命令が検出されると、その時点で、記述分割部11c
はそれまでに解析された命令列が一つの図形を定義して
いると判断して、ここで、ジョブとして分割する。すな
わち、図4の(C)に示したように、図形描画命令51
〜56に対応した6つの部分図形記述に分割される。
The lexical analyzer 11a of the command analyzer 11 reads and analyzes the input drawing command sequence one character at a time, and the command execution unit 11b analyzes the contents of the analyzed figure drawing command, for example, the type and coordinates of the figure. Converts parameters such as value and size to internal format. Subsequently, the description division unit 11c detects a command representing the type of a figure to be actually drawn from the drawing command sequence. More specifically, as indicated by the underline in the list of FIG. 4B, “rectfill”, which is a graphic drawing command for a filled square, “fill”, which is a graphic drawing command for filling an arc, and an outline "Strok" which is a drawing command of a line along
e "is detected. When the contour drawing command or the painting command is detected, the description division unit 11c
Determines that the sequence of instructions analyzed so far defines one figure, and divides it as a job. That is, as shown in FIG.
It is divided into six partial graphic descriptions corresponding to.

【0022】このようにして分割された部分図形記述
は、図形描画部12a,12b,12c,12d,12
e,・・・の内、それぞれ別の図形描画部に送られ、そ
こで図形描画命令が実行されて、画素情報に展開され
る。図形描画部の割り当ては、図形合成部13によって
現在あいている図形描画部に対して順次行われる。この
分割された部分図形記述は図形描画部への送信と同時
に、重なり判定部11dに送られる。
The partial graphic descriptions divided in this way are written in the graphic drawing sections 12a, 12b, 12c, 12d, 12
are sent to different graphic drawing units, and a graphic drawing command is executed there to be developed into pixel information. The assignment of the graphic drawing units is sequentially performed by the graphic synthesizing unit 13 to the currently open graphic drawing units. The divided partial graphic description is sent to the overlap judging unit 11d simultaneously with the transmission to the graphic drawing unit.

【0023】以下では、2つの図形の重なりをそれらの
外接矩形を用いて判定するものとする。ただし本発明に
おいては、この判定を外接矩形を用いた方法に限定する
ものではなく、例えば凸包のように対象図形を包含する
ような多角形や、対象図形を包含するような任意の図形
を用いてもよい。また、図形の境界だけを用いても、内
部を含む領域を用いて判定を行ってもよい。
In the following, it is assumed that the overlap between two figures is determined using their circumscribed rectangles. However, in the present invention, this determination is not limited to the method using the circumscribed rectangle. For example, a polygon such as a convex hull that includes the target figure or an arbitrary figure that includes the target figure is used. May be used. Alternatively, the determination may be made using only the boundary of the figure or using an area including the inside.

【0024】図形の外接矩形は、命令実行部11bにお
いて、内部表現生成の際にx座標値およびy座標値の最
大値および最小値を保存するなどの方法により、容易に
求めることができる。
The circumscribed rectangle of the figure can be easily obtained by the instruction execution unit 11b by, for example, storing the maximum and minimum values of the x coordinate value and the y coordinate value when generating the internal representation.

【0025】まず、2つの外接矩形の重なりを判定する
方法について説明する。図5は外接矩形を用いた重なり
判定手続きの原理を示すフローチャートである。ここ
で、2つの図形の外接矩形を数値の4つ組で表すものと
し、それぞれの数値はその矩形の左上の点と右下の点と
のx座標およびy座標の値を表すものとする。
First, a method for determining the overlap between two circumscribed rectangles will be described. FIG. 5 is a flowchart showing the principle of the overlap determination procedure using a circumscribed rectangle. Here, it is assumed that the circumscribed rectangle of the two figures is represented by a set of four numerical values, and each numerical value represents the value of the x coordinate and the y coordinate of the upper left point and the lower right point of the rectangle.

【0026】したがって、最初に、2つの外接矩形の左
上の点のx座標およびy座標の最大値を変数Lx,Ly
および右下の点のx座標およびy座標の最小値を変数H
x,Hyにそれぞれセットする(ステップS1)。続い
て、2つの外接矩形のx座標およびy座標に関する変数
の比較を行う(ステップS2)。すなわち、Lx<Hx
であり、かつLy<Hyであるか否かを判定し、両方を
満足するならば、重なりありと判定して終了する。ま
た、両方の比較を満足しなければ、重なりなしと判定し
て終了する。
Therefore, first, the maximum values of the x coordinate and the y coordinate of the upper left point of the two circumscribed rectangles are determined by the variables Lx and Ly.
And the minimum value of the x and y coordinates of the lower right point
x and Hy are set respectively (step S1). Subsequently, comparison is made of variables relating to the x coordinate and the y coordinate of the two circumscribed rectangles (step S2). That is, Lx <Hx
Is determined, and whether Ly <Hy is satisfied. If both are satisfied, it is determined that there is an overlap, and the process ends. If both comparisons are not satisfied, it is determined that there is no overlap, and the processing ends.

【0027】この重なりの有無の判定は、2つの外接矩
形が与えられた場合に、以下の理由によって可能にな
る。矩形領域のある軸への正射影を考えると、これは幅
をもった値の範囲を形成する。2つの範囲が重なる場合
は、重なり領域の端は、2つの範囲の左側境界のうち右
側にあるものと右側境界のうち左側にあるものとであ
り、これらが左から右へこの順に現れる。2つの範囲が
重ならない場合には、これらの出現順序が逆になる。図
5の重なり判定手続きはこのような性質を利用してい
る。
The determination of the presence or absence of the overlap can be made when two circumscribed rectangles are given for the following reasons. Given an orthographic projection of a rectangular area onto a certain axis, this forms a wide range of values. If the two ranges overlap, the ends of the overlap region are those on the right of the left boundaries of the two ranges and those on the left of the right boundaries, which appear in this order from left to right. If the two ranges do not overlap, their order of appearance is reversed. The overlap determination procedure in FIG. 5 utilizes such a property.

【0028】上述の重なり判定手続きを利用して、木デ
ータ管理部11eにおいて既に生成されている木データ
と新たに入力された図形の外接矩形との重なり判定を行
う手続きを以下に説明する。
A procedure for performing the overlap determination between the already generated tree data and the circumscribed rectangle of the newly input figure in the tree data management unit 11e using the above-described overlap determination procedure will be described below.

【0029】図6は重なり判定を行う手続きのフローチ
ャートを示す図である。この重なり判定手続きでは、ま
ず、入力図形の外接矩形を生成し(ステップS11)、
既に生成された図形の系列を表現する木を探索し(ステ
ップS12)、重なり判定を行う(ステップS13)。
この重なり判定は、図5に示した手続きを用いて行う。
木の探索手続きについては後述する。
FIG. 6 is a flowchart showing a procedure for performing the overlap judgment. In the overlap determination procedure, first, a circumscribed rectangle of the input figure is generated (step S11).
A tree representing a series of already generated graphics is searched (step S12), and an overlap determination is performed (step S13).
This overlap determination is performed using the procedure shown in FIG.
The tree search procedure will be described later.

【0030】ステップS13での重なり判定において、
重なりが検出されれば、新しい木を生成してその図形を
登録し(ステップS14)、終了する。重なり判定にお
いて、重なりが検出されなかった場合には、現在の木に
ノードを生成してその図形を登録し、次の探索に備える
(ステップS15)。
In the overlap judgment in step S13,
If an overlap is detected, a new tree is generated and its figure is registered (step S14), and the process ends. In the overlap determination, if no overlap is detected, a node is generated in the current tree, the figure is registered, and preparation is made for the next search (step S15).

【0031】図形の木への登録は次のようにして行われ
る。まず、その図形の属する領域を特定する。これは重
なり検出のための探索で既に行われている。次いで、そ
の領域を今回与えられた図形と既に木に登録されている
図形とが属する領域に分割する直線を決定し、この直線
の座標値を値として持つようなノードを生成する。そし
て、このノードの枝に分割された部分領域をそれぞれ割
り当てる。このようにして生成したノードを木に加える
ことで、新たな分割領域が定義され、そこに図形が追加
登録される。
The registration to the tree of a figure is performed as follows. First, the area to which the figure belongs is specified. This has already been done in the search for overlap detection. Next, a straight line is determined which divides the region into a region to which the figure given this time and the figure already registered in the tree belong, and a node having the coordinates of the straight line as a value is generated. Then, the divided partial areas are assigned to the branches of this node. By adding the node thus generated to the tree, a new divided area is defined, and a figure is additionally registered therein.

【0032】領域を分割する直線のそれぞれは、水平線
もしくは垂直線のいずれかである。水平線および垂直線
は2つの図形の間であれば、どこでもよいが、本実施の
形態では、配置可能な位置のうちでそれぞれ最も上およ
び最も左に配置されるものとしている。
Each of the straight lines dividing the region is either a horizontal line or a vertical line. The horizontal line and the vertical line may be anywhere between the two figures, but in the present embodiment, the horizontal line and the vertical line are arranged at the uppermost and leftmost positions, respectively, among the positions that can be arranged.

【0033】このような配置手続きを用いることによっ
て、重ならない図形の系列はその空間的配置を反映した
木構造によって表現される。この木に登録された図形と
新たに与えられた図形との重なり判定を行うには、その
図形が配置される領域を特定し、そこに含まれる図形と
の間でのみ重なり判定を行えばよい。このため、木に登
録されたすべての図形を調べる必要がなく、重なり判定
処理の負荷が大幅に軽減される。
By using such an arrangement procedure, a series of non-overlapping figures is represented by a tree structure reflecting its spatial arrangement. In order to determine the overlap between the figure registered in this tree and the newly given figure, it is only necessary to specify an area where the figure is arranged and to perform the overlap determination only with the figure included therein. . For this reason, it is not necessary to examine all the figures registered in the tree, and the load of the overlap determination processing is greatly reduced.

【0034】次に、領域を特定するために木を探索する
手続きについて説明する。図7は木の探索手続きを示す
フローチャートである。図7の手続きでは、まず木のノ
ードが持つ直線と与えられた図形の外接矩形との配置関
係を調べ、境界線は垂直かどうかを判定する(ステップ
S21)。ここで、領域を分割する直線が垂直線なら
ば、与えられた図形の外接矩形の左上の点のx座標をB
lに、右下の点のx座標をBuにセットする(ステップ
S22)。もし、ステップS21の判定において、領域
を分割する直線が水平線ならば、与えられた図形の外接
矩形の左上の点のy座標をBlに、右下の点のy座標を
Buにセットする(ステップS23)。次に、先にセッ
トされたBlおよびBuの値と境界線の値とを比較す
る。まず、境界線のxまたはy座標値がBlおよびBu
のxまたはy座標値の間にあるかどうかを判定し(ステ
ップS24)、Bl<境界線<Buならば、与えられた
図形の外接矩形はノードが持つ直線と交わっていると判
定し、ノードから出る両方の枝を再帰的に探索する(ス
テップS25)。また、境界線とBuとの位置関係が判
定され(ステップS26)、境界線≧Buであれば、与
えられた図形の外接矩形はノードが持つ垂直線の左側ま
たは水平線の上側にあると判定され、それに対応する枝
を再帰的に探索する(ステップS27)。最後に、境界
線とBlとの位置関係が判定され(ステップS28)、
境界線≦Blであれば、与えられた図形の外接矩形はノ
ードが持つ垂直線の右側または水平線の下側にあると判
定され、それに対応する枝を再帰的に探索する(ステッ
プS29)。このようにして、与えられた図形の外接矩
形がノードが持つ直線と交わっている場合には、ノード
から出る両方の枝を再帰的に探索し、与えられた図形の
外接矩形がノードが持つ直線のいずれかの側にあれば、
それに対応する枝を再帰的に探索する。いずれの場合も
末端のノード、すなわち部分図形に到達すると探索は終
了する。
Next, a procedure for searching a tree to specify an area will be described. FIG. 7 is a flowchart showing a tree search procedure. In the procedure of FIG. 7, first, the arrangement relationship between the straight line of the tree node and the circumscribed rectangle of the given figure is checked, and it is determined whether or not the boundary is vertical (step S21). Here, if the straight line dividing the region is a vertical line, the x coordinate of the upper left point of the circumscribed rectangle of the given figure is represented by B
The x coordinate of the lower right point is set to Bu in l (step S22). If it is determined in step S21 that the straight line dividing the region is a horizontal line, the y coordinate of the upper left point of the circumscribed rectangle of the given figure is set to Bl, and the y coordinate of the lower right point is set to Bu (step S21). S23). Next, the previously set values of Bl and Bu are compared with the value of the boundary line. First, the x or y coordinate values of the boundary line are Bl and Bu.
(Step S24), and if Bl <boundary line <Bu, it is determined that the circumscribed rectangle of the given figure intersects the straight line of the node, and Are recursively searched for both branches exiting from (step S25). Further, the positional relationship between the boundary line and Bu is determined (step S26), and if boundary line ≧ Bu, it is determined that the circumscribed rectangle of the given figure is on the left side of the vertical line of the node or above the horizontal line. , Recursively search for the corresponding branch (step S27). Finally, the positional relationship between the boundary line and Bl is determined (step S28),
If the boundary ≤ Bl, it is determined that the circumscribed rectangle of the given figure is on the right side of the vertical line of the node or below the horizontal line, and a recursive search is performed for the corresponding branch (step S29). In this way, if the circumscribed rectangle of the given figure intersects the straight line of the node, both branches exiting the node are searched recursively, and the circumscribed rectangle of the given figure is the straight line of the node. If on either side of
The corresponding branch is searched recursively. In any case, the search ends when the terminal node, that is, the partial figure is reached.

【0035】以上の結果、命令シーケンスは重ならない
図形の系列に分割される。同時に、それぞれの部分図形
は、スケジューリングを行うことなく、図形描画部12
a,12b,12c,12d,12e,・・・に送られ
て描画され、ローカルバッファに保持されている。個々
の描画結果は、図形合成部13によってローカルバッフ
ァより読み出され、画像メモリ14の内容と合成し、す
なわち画像メモリ14の内容を上書きする。
As a result, the instruction sequence is divided into non-overlapping graphic sequences. At the same time, each of the partial figures is subjected to the graphic drawing unit 12 without scheduling.
a, 12b, 12c, 12d, 12e,... are drawn and held in a local buffer. Each drawing result is read from the local buffer by the graphic combining unit 13 and combined with the contents of the image memory 14, that is, the contents of the image memory 14 are overwritten.

【0036】このとき、重なりの順序を正しく再現する
には、次のようにすればよい。すなわち、ある部分図形
の描画結果を画像メモリ14の内容に合成する際には、
その図形が属する木データよりも以前に生成された木デ
ータに属する図形で合成されていないものが残っていな
いことを調べればよい。ある図形と同じ木データに属す
る別の図形は残っていても構わない。これは、一つの木
データには重ならない図形の系列が登録されているた
め、これらの図形の間で合成の順序を変更しても重なり
関係には影響がないためである。
At this time, in order to correctly reproduce the order of the overlap, the following may be performed. That is, when combining the drawing result of a certain partial figure with the contents of the image memory 14,
It is sufficient to check that there is no uncombined figure belonging to tree data generated before the tree data to which the figure belongs. Another figure belonging to the same tree data as a certain figure may remain. This is because, since a series of figures that do not overlap in one tree data is registered, changing the synthesis order between these figures does not affect the overlapping relationship.

【0037】以上の手続きを図3の描画例に適用した場
合の重なり判定部11dおよび木データ管理部11eの
動作について説明する。ここでは、分割された図形記述
は同時に図形描画部12a,12b,12c,12d,
12e,・・・のいずれかに送られ描画されており、ま
た、描画された図形は、図形合成部13によって適宜読
み出され、画像メモリ14に合成されているとする。
The operation of the overlap judging unit 11d and the tree data managing unit 11e when the above procedure is applied to the drawing example of FIG. 3 will be described. Here, the divided graphic descriptions are simultaneously written in the graphic drawing units 12a, 12b, 12c, 12d,
It is assumed that the figure is sent to any one of 12e,... And drawn, and the drawn figure is appropriately read by the figure combining unit 13 and combined with the image memory 14.

【0038】図8は重なり判定対象の図形の位置関係を
示す図、図9は重なり判定後の木構造を示す図である。
重なり判定部11dでは、入力された図形F1に関する
記述51(図4)から外接矩形BB1(250,20
0,375,225)が得られ、図形F2に関する記述
52から外接矩形BB2(325,187.5,35
0,212.5)が得られる。図5の重なり判定手続き
を適用することにより、外接矩形BB1と外接矩形BB
2とは重なりありと判定される。
FIG. 8 is a diagram showing the positional relationship of the graphic to be overlapped, and FIG. 9 is a diagram showing the tree structure after the overlap is determined.
The overlap determination unit 11d determines the circumscribed rectangle BB1 (250, 20) from the description 51 (FIG. 4) relating to the input figure F1.
0, 375, 225), and the circumscribed rectangle BB2 (325, 187.5, 35)
0,212.5). By applying the overlap determination procedure of FIG. 5, the circumscribed rectangle BB1 and the circumscribed rectangle BB
2 is determined to be overlapped.

【0039】図形F1および図形F2は、重なりが検出
されたので、それぞれ異なる木に登録される。すなわ
ち、図形F1は木T1の下に登録され、図形F2は木T
2の下に登録され、これらは木データ管理部11eで管
理される。また、図形F1と図形F2に対応する記述は
それぞれたとえば図形描画部12aおよび12bに送ら
れ、描画される。
Since the overlap between the figures F1 and F2 has been detected, the figures F1 and F2 are registered in different trees. That is, the figure F1 is registered under the tree T1, and the figure F2 is registered under the tree T1.
2, and these are managed by the tree data management unit 11e. The descriptions corresponding to the figures F1 and F2 are sent to, for example, the figure drawing units 12a and 12b, respectively, and drawn.

【0040】図10は重なり判定対象の図形の位置関係
を示す図、図11は重なり判定後の木構造を示す図であ
る。次に、図形F2および図形F3に対する重なり判定
が行われる。図形F3の外接矩形は図形F3に関する記
述53から外接矩形BB3(300,100,450,
250)が得られる。外接矩形BB2および外接矩形B
B3から図形F2および図形F3は重なりありと判定さ
れる。重なりが検出されたので、図形F3は、上の場合
と同様に、図形F2と異なる木T3に登録される。ま
た、図形F3に対応する記述53はたとえば図形描画部
12cが割り当てられて、ここで描画される。
FIG. 10 is a diagram showing the positional relationship of the graphic subject to overlap judgment, and FIG. 11 is a diagram showing the tree structure after the overlap judgment. Next, overlap determination is performed on the figures F2 and F3. The circumscribed rectangle of the figure F3 is obtained from the circumscribed rectangle BB3 (300, 100, 450,
250) is obtained. Circumscribed rectangle BB2 and circumscribed rectangle B
From B3, it is determined that the figures F2 and F3 overlap. Since the overlap is detected, the figure F3 is registered in a tree T3 different from the figure F2, as in the above case. The description 53 corresponding to the figure F3 is assigned, for example, by the figure drawing unit 12c, and is drawn here.

【0041】図12は重なり判定対象の図形の位置関係
を示す図、図13は重なり判定後の木構造を示す図であ
る。次に、図形F3および図形F4に対する重なり判定
が行われる。図形F4の外接矩形は図形F4に関する記
述54から外接矩形BB4(150,150,273,
250)が得られる。外接矩形BB3および外接矩形B
B4から図形F3および図形F4の外接矩形が重ならな
いことが検出される。したがって、この図形F4は図形
F3を含む木T3に登録されることになる。この木T3
への登録に際しては、それぞれの矩形を含む互いに素な
2つの領域へ空間を分割する直線61(図12)を値と
して持つノードN1が木T3の下に生成される。このノ
ードN1からの枝は、直線61によって分割された領域
に対応し、枝の先にそれぞれの図形が登録される。この
場合は、直線61のx=275を値として持つノードN
1が生成され、このノードN1は領域x<275および
領域x>275に対応する枝を持ち、それぞれの枝の先
に図形F4および図形F3が登録され、図13に示すよ
うな木が構成される。また、図形F4に対応する記述5
4はたとえば図形描画部12dに送られ描画される。
FIG. 12 is a diagram showing the positional relationship of the graphic subject to overlap judgment, and FIG. 13 is a diagram showing the tree structure after the overlap judgment. Next, overlap determination is performed on the figures F3 and F4. The circumscribed rectangle of the figure F4 is obtained from the description 54 related to the figure F4 based on the circumscribed rectangle BB4 (150, 150, 273,
250) is obtained. Circumscribed rectangle BB3 and circumscribed rectangle B
From B4, it is detected that the circumscribed rectangles of the graphic F3 and the graphic F4 do not overlap. Therefore, the figure F4 is registered in the tree T3 including the figure F3. This tree T3
At the time of registration, a node N1 having a value as a straight line 61 (FIG. 12) that divides a space into two disjoint regions including respective rectangles is generated below the tree T3. The branch from the node N1 corresponds to the area divided by the straight line 61, and each figure is registered at the tip of the branch. In this case, the node N having a value of x = 275 of the straight line 61
1 is generated, the node N1 has branches corresponding to the region x <275 and the region x> 275, and the figure F4 and the figure F3 are registered at the ends of each branch, thereby forming a tree as shown in FIG. You. A description 5 corresponding to FIG.
4 is sent to, for example, the graphic drawing unit 12d and drawn.

【0042】図14は重なり判定対象の図形の位置関係
を示す図、図15は重なり判定後の木構造を示す図であ
る。次に、図形F5に対する重なり判定が、上述の図形
F3および図形F4から構成される木T3を対象に行わ
れる。図形F5に対する外接矩形BB5(137.5,
112.5,162.5,137.5)はx<275の
領域にあるので、対応する枝をたどりx=275の左側
の図形F4に到達し、これが図形F5に対する重なり判
定対象の図形となる。図形F5および図形F4に対する
重なり判定の結果、これらの図形F4およびF5は重な
らないことが検出される。これによって、図形F5はこ
の木T3に登録されているすべての図形と重ならないこ
とが判明し、直線62のy=137.5を値とするノー
ドN2が生成され、その下に図形F4および図形F5が
登録される。登録後は、木T3が図15に示すように変
化する。また、図形F5に対応する記述55はたとえば
図形描画部12eに送られ、図形F5が描画される。
FIG. 14 is a diagram showing the positional relationship of the graphic to be overlapped, and FIG. 15 is a diagram showing the tree structure after the overlap is determined. Next, the overlap determination with respect to the graphic F5 is performed on the tree T3 composed of the graphic F3 and the graphic F4 described above. The circumscribed rectangle BB5 (137.5,
112.5, 162.5, and 137.5) are in the region of x <275, and follow the corresponding branch to reach the figure F4 on the left side of x = 275, which is the figure to be overlapped with the figure F5. . As a result of the overlap determination for the figures F5 and F4, it is detected that these figures F4 and F5 do not overlap. As a result, it is found that the figure F5 does not overlap with all the figures registered in the tree T3, and a node N2 having a value of y = 137.5 of the straight line 62 is generated. F5 is registered. After registration, the tree T3 changes as shown in FIG. The description 55 corresponding to the figure F5 is sent to, for example, the figure drawing unit 12e, and the figure F5 is drawn.

【0043】図16は重なり判定対象の図形の位置関係
を示す図、図17は重なり判定後の木構造を示す図であ
る。次に、図形F6に対する重なり判定が行なわれる。
まず、図形F6に対する外接矩形BB6(100,10
0,200,200)が求められる。木T3の探索にお
いて、x<275の枝をたどると、y=137.5の直
線62と外接矩形BB6とが交わることが分かる。この
とき、このノードN2の両側の枝をたどり重なり判定を
行うのであるが、たとえばy<137.5をたどり、図
形F5との重なり判定を行うと重なりが検出されるた
め、これ以上の木の探索は不要となる。この結果、図形
F6は木T3と異なる新たな木T4に登録される。ま
た、図形F6に対応する記述56は、たとえば図形描画
部12aで既に図形F1の描画が終了して図形合成部1
3により画像メモリ14に上書きされている場合には、
図形描画部12aに送られ、ここで図形F6が描画され
る。
FIG. 16 is a diagram showing the positional relationship of the graphic to be overlapped, and FIG. 17 is a diagram showing the tree structure after the overlap determination. Next, the overlap determination for the figure F6 is performed.
First, a circumscribed rectangle BB6 (100, 10
0, 200, 200). In the search of the tree T3, if the branch of x <275 is followed, it can be seen that the straight line 62 of y = 137.5 intersects the circumscribed rectangle BB6. At this time, the overlap determination is performed by tracing the branches on both sides of the node N2. For example, by following y <137.5 and performing the overlap determination with the graphic F5, the overlap is detected. No search is required. As a result, the figure F6 is registered in a new tree T4 different from the tree T3. The description 56 corresponding to the figure F6 is, for example, the figure drawing unit 12a already finished drawing the figure F1 and
3 is overwritten in the image memory 14,
The figure is sent to the figure drawing unit 12a, where the figure F6 is drawn.

【0044】以上の結果、図3の図形群は、図形F1を
含む木T1、図形F2を含む木T2、図形F3、図形F
4および図形F5を含む木T3、図形F6を含む木T4
の4つの木に分解される。これらの図形を画像メモリに
合成する際には、次のような順序で行えばよい。まず、
木T1に登録された図形F1の画像メモリ14への合成
の完了を待って、木T2に登録された図形F2の画像メ
モリ14への合成を行う。次いで、木T2に登録された
図形F2の画像メモリ14への合成の完了を待って、木
T3に登録された図形F3、図形F4および図形F5の
画像メモリ14への合成を行う。このとき、同一の木に
登録された図形は互いに重なり関係がないので、図形F
3、図形F4および図形F5の合成の順序は任意でよ
く、図形描画部による描画が完了した順に合成すればよ
い。次に、木T3に登録された図形F3、図形F4およ
び図形F5のすべての図形の画像メモリ14への合成の
完了を待って、木T4に登録された図形F6の画像メモ
リ14への合成を行う。以上の合成の結果、重なりの順
序を正しく反映した最終画像が画像メモリ14上に作成
されることになる。
As a result, the figure group of FIG. 3 includes a tree T1 including the figure F1, a tree T2 including the figure F2, a figure F3, and a figure F
Tree T3 including figure 4 and figure F5, tree T4 including figure F6
Is decomposed into four trees. When synthesizing these figures in the image memory, they may be performed in the following order. First,
After the completion of the combining of the figure F1 registered in the tree T1 with the image memory 14, the combining of the figure F2 registered in the tree T2 with the image memory 14 is performed. Then, after the completion of the combining of the figure F2 registered in the tree T2 with the image memory 14, the figures F3, F4, and F5 registered in the tree T3 are combined with the image memory 14. At this time, since the figures registered in the same tree do not overlap each other, the figure F
3, the order of combining the figure F4 and the figure F5 may be arbitrary, and may be combined in the order in which drawing by the figure drawing unit is completed. Next, after the completion of combining all of the figures F3, F4, and F5 registered in the tree T3 into the image memory 14, the combining of the figure F6 registered in the tree T4 into the image memory 14 is performed. Do. As a result of the above combination, a final image that correctly reflects the overlapping order is created on the image memory 14.

【0045】プリンタインタフェース15は、こうして
得られた画像メモリ14上の最終画像をプリントエンジ
ン40に送り、プリントエンジン40にて最終画像の印
字が行われ、図3に示した図形の印字が完了する。
The printer interface 15 sends the final image on the image memory 14 thus obtained to the print engine 40, and the print engine 40 prints the final image, completing the printing of the graphic shown in FIG. .

【0046】次に、本発明の第2の実施の形態を、ネッ
トワークにより粗結合された印刷システムに適用した場
合を例にして説明する。図18は本発明の画像形成装置
を適用した印刷システムの別の構成を示すブロック図で
ある。図示の画像形成装置10は、ローカルエリアネッ
トワーク20を介してクライアント計算機31,32,
33,・・・が結合され、また、処理結果を出力するた
めのプリントエンジン40が結合されている。画像形成
装置10は、ローカルエリアネットワーク20に接続さ
れた命令解析装置11と、複数の図形描画部12a,1
2b,12c,12d,12e,・・・と、図形合成部
13と、画像メモリ14と、プリンタインタフェース1
5とが共有バス16を介して結合されている。命令解析
装置11は、字句解析部11aと、命令実行部11b
と、記述分割部11cと、重なり判定部11dと、木デ
ータ管理部11eと、テンプレートデータ記憶部11f
とから構成されている。すなわち、この第2の実施の形
態では、図2に示した構成にテンプレートデータ記憶部
11fが追加されている。
Next, an example in which the second embodiment of the present invention is applied to a printing system loosely coupled by a network will be described. FIG. 18 is a block diagram showing another configuration of a printing system to which the image forming apparatus of the present invention is applied. The illustrated image forming apparatus 10 includes client computers 31, 32,
, And a print engine 40 for outputting a processing result. The image forming apparatus 10 includes a command analysis device 11 connected to a local area network 20 and a plurality of graphic drawing units 12a, 1
2b, 12c, 12d, 12e,..., A graphic synthesizing unit 13, an image memory 14, and a printer interface 1
5 are connected via a shared bus 16. The instruction analyzer 11 includes a lexical analyzer 11a and an instruction executor 11b.
, Description division unit 11c, overlap determination unit 11d, tree data management unit 11e, template data storage unit 11f
It is composed of That is, in the second embodiment, a template data storage unit 11f is added to the configuration shown in FIG.

【0047】本発明による画像形成装置10において、
クライアント計算機31,32,33,・・・で作成さ
れた印刷ジョブはローカルエリアネットワーク20を介
して命令解析装置11に送られる。命令解析装置11で
は、受け取った印刷ジョブの内容を字句解析部11aに
よって解析する。命令実行部11bでは、印刷ジョブを
内部形式に順次変換する。続いて、字句解析部11aに
よる解析の結果、部分図形の描画命令が検知されると、
記述分割部11cはその部分図形の描画命令を単一の部
分図形あるいは複数の部分図形の系列に分割する。記述
分割部11cの出力は分割された結果の部分図形の記述
の並びであり、これは並列に動作可能であってローカル
バッファを有する図形描画部12a,12b,12c,
12d,12e,・・・のいずれかに送られ、その図形
描画部12a,12b,12c,12d,12e,・・
・において部分図形の描画が行われる。
In the image forming apparatus 10 according to the present invention,
The print job created by the client computers 31, 32, 33,... Is sent to the command analyzer 11 via the local area network 20. In the command analyzer 11, the contents of the received print job are analyzed by the lexical analyzer 11a. The command execution unit 11b sequentially converts the print job into an internal format. Subsequently, as a result of the analysis by the lexical analysis unit 11a, when a drawing command of a partial graphic is detected,
The description division unit 11c divides the drawing command of the partial graphic into a single partial graphic or a series of a plurality of partial graphics. The output of the description division unit 11c is a sequence of descriptions of the partial figures as a result of the division, which are operable in parallel and have graphic buffers 12a, 12b, 12c,
12d, 12e,..., And their graphic drawing units 12a, 12b, 12c, 12d, 12e,.
The drawing of the partial figure is performed in.

【0048】また、記述分割部11cの出力は同時に重
なり判定部11dに送られ、それまでに生成された部分
図形との重なりがあるかどうかの判定が行われる。重な
り判定部11dの出力は木データ管理部11eに送ら
れ、ここで木構造を用いた表現で管理される。このと
き、木データ管理部11eはテンプレートデータ記憶部
11fにあらかじめ記憶されている木データを、上述の
木構造を用いた表現のテンプレートとして用いる。この
テンプレートはあらかじめ定められた領域分割を表して
おり、そのノードにはページの部分領域が対応する。し
たがって、このノード以下には定められた部分領域に属
する図形記述が登録される。
The output of the description division unit 11c is sent to the overlap judgment unit 11d at the same time, and it is judged whether or not there is an overlap with the partial graphics generated so far. The output of the overlap judging unit 11d is sent to a tree data management unit 11e, where it is managed in an expression using a tree structure. At this time, the tree data management unit 11e uses the tree data stored in advance in the template data storage unit 11f as a template of an expression using the above-described tree structure. This template represents a predetermined region division, and a node corresponds to a partial region of a page. Therefore, a graphic description belonging to the defined partial area is registered below this node.

【0049】図形合成部13は木データ管理部11eの
保持する木データによって表現された部分図形の間の重
なり関係の情報を参照しながら、図形描画部12a,1
2b,12c,12d,12e,・・・で描画され、ロ
ーカルバッファに保持されている図形データを適宜読み
出し、1ページ分の描画平面に対応する画像メモリ14
に送る。画像メモリ14では、送られた図形データを合
成して、1ページ分の画像を生成する。こうして生成さ
れた画像メモリ14の内容はプリンタインタフェース1
5を介してプリントエンジン40に送られ印刷される。
The graphic synthesizing unit 13 refers to the information on the overlapping relationship between the partial graphics represented by the tree data held by the tree data management unit 11e, and refers to the graphic drawing units 12a, 1a.
2b, 12c, 12d, 12e,..., And appropriately reads the graphic data held in the local buffer, and the image memory 14 corresponding to the drawing plane for one page.
Send to The image memory 14 combines the sent graphic data to generate an image for one page. The contents of the image memory 14 thus generated are stored in the printer interface 1.
5 to the print engine 40 for printing.

【0050】ここで、字句解析部11a、命令実行部1
1b、記述分割部11cおよび重なり判定部11dの動
作については、図2に示した第1の実施の形態と同様で
あるため、説明を省略する。字句解析部11a、命令実
行部11b、記述分割部11cおよび重なり判定部11
dの動作の結果、命令シーケンスは重ならない図形の系
列に分割され、木データ管理部11eの保持する木デー
タに登録される。この登録される木データとしてはテン
プレートデータ記憶部11fに記憶されているテンプレ
ートが使用される。このテンプレートについて以下に説
明する。
Here, the lexical analyzer 11a and the instruction executor 1
1b, the operation of the description division unit 11c, and the operation of the overlap determination unit 11d are the same as those in the first embodiment shown in FIG. Lexical analysis unit 11a, instruction execution unit 11b, description division unit 11c, and overlap determination unit 11
As a result of the operation d, the instruction sequence is divided into non-overlapping graphic sequences and registered in the tree data held by the tree data management unit 11e. The template stored in the template data storage unit 11f is used as the registered tree data. This template will be described below.

【0051】図19はテンプレートを用いた木データの
構成方法を示す説明図である。図19において、画像メ
モリ14が部分図形を合成する描画平面71が示されて
いる。この描画平面71は図示の例では4つの部分領域
71a,71b,71c,71dに分割されている。こ
れらの領域分割に対応する空間配置の木構造があらかじ
めテンプレート81として生成され、テンプレートデー
タ記憶部11fに保持されている。したがって、木デー
タ管理部11eが図形を登録するときには、あらかじめ
定められた領域分割を表すテンプレート81をテンプレ
ートデータ記憶部11fから読み出し、その図形が含ま
れる部分領域に対応する木の枝に登録することになる。
また、ある特定の部分領域に属する図形群を取り出す操
作は、その部分領域に対応する木の探索によって容易に
実現することができる。
FIG. 19 is an explanatory diagram showing a method of constructing tree data using a template. FIG. 19 shows a drawing plane 71 on which the image memory 14 combines partial graphics. The drawing plane 71 is divided into four partial areas 71a, 71b, 71c, and 71d in the illustrated example. The tree structure of the spatial arrangement corresponding to these area divisions is generated in advance as a template 81 and is held in the template data storage unit 11f. Therefore, when the tree data management unit 11e registers a figure, the tree data management unit 11e reads a template 81 representing a predetermined area division from the template data storage unit 11f, and registers the template 81 in a tree branch corresponding to a partial area including the figure. become.
The operation of extracting a group of figures belonging to a specific partial area can be easily realized by searching for a tree corresponding to the partial area.

【0052】このとき、テンプレート81が表す分割さ
れた部分領域を水平な帯状に定義し、画像メモリ14を
この帯の幅に相当する容量に限定すれば、インクジェッ
トプリンタなどに好適なバンドバッファを用いた画像形
成装置を容易に構成することが可能となり、バンド内で
は並列に描画が行われるため高速な処理を実現すること
ができる。
At this time, if the divided partial area represented by the template 81 is defined as a horizontal band and the image memory 14 is limited to a capacity corresponding to the width of this band, a band buffer suitable for an ink jet printer or the like can be used. It is possible to easily configure the image forming apparatus that has been used, and high-speed processing can be realized because drawing is performed in parallel within a band.

【0053】また、あらかじめ定められた領域分割を表
すテンプレート81を利用した場合の別の実施の形態と
して、図19に示したように、分割されたページの部分
領域71a,71b,71c,71dのそれぞれに属す
る図形群を、たとえば図示のようにメッシュの形態で結
合された図形描画処理用の複数の並列プロセッサ91
a,91b,91c,91dに割り当てるようにするこ
とができる。これは、複数のプロセッサがメッシュやト
ーラスなどの形態で結合された超並列アーキテクチャ計
算機上で画像形成装置を構成する際に、プロセッサの結
合形態を反映してページを分割し処理させる場合に特に
好適であり、高速な処理を実現することが可能となる。
As another embodiment in which a template 81 representing a predetermined area division is used, as shown in FIG. 19, partial areas 71a, 71b, 71c, 71d of a divided page are used. A plurality of parallel processors 91 for graphic drawing processing in which a group of figures belonging to each are connected in the form of a mesh, for example, as shown in the figure.
a, 91b, 91c, and 91d. This is particularly suitable when, when configuring an image forming apparatus on a massively parallel architecture computer in which a plurality of processors are connected in a form such as a mesh or a torus, a page is divided and processed by reflecting the connection form of the processors. Therefore, high-speed processing can be realized.

【0054】[0054]

【発明の効果】以上説明したように本発明では、画像描
画命令を分割するジョブシーケンス作成手段と、重なり
判定手段と、領域分割手段と、木データ管理手段とを有
する命令解析装置を備えたことにより、重ならない図形
に対しては、描画が終了した順に図形の合成を行うよう
にすることによって、負荷の高い図形描画を待つことな
く合成が可能となり、全体の高速な動作が可能となる。
また、描画順序に依存性のある図形系列を容易に特定す
ることができるため、依存性解析に基づくスケジューリ
ングなども可能となり、描画システムの動作効率の向上
に寄与する。
As described above, according to the present invention, there is provided an instruction analyzing apparatus having a job sequence creating means for dividing an image drawing instruction, an overlap judging means, an area dividing means, and a tree data managing means. Thus, for non-overlapping graphics, the graphics are synthesized in the order in which the graphics are completed, so that the graphics can be synthesized without waiting for the graphics to be loaded with a high load, and the entire operation can be performed at high speed.
Further, since a graphic sequence having a dependency on a drawing order can be easily specified, scheduling based on dependency analysis can be performed, which contributes to an improvement in operation efficiency of a drawing system.

【0055】さらに、重なり判定の対象となる図形を図
形群の絞り込みにより特定することで、互いに重なりの
ある描画要素の検出を効率的に遂行し、重なり判定後直
ちに合成処理に移ることができるため、複雑なスケジュ
ーリングを行うことなく並列描画処理を実現することが
可能となる。
Further, by specifying a figure to be subjected to overlap determination by narrowing down a figure group, it is possible to efficiently detect drawing elements overlapping each other and to immediately proceed to the synthesis processing after the overlap determination. In addition, it is possible to realize a parallel drawing process without performing complicated scheduling.

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

【図1】本発明の原理構成を示す図である。FIG. 1 is a diagram showing a principle configuration of the present invention.

【図2】本発明の画像形成装置を適用した印刷システム
の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a printing system to which the image forming apparatus of the present invention is applied.

【図3】クライアントが作成した画面の一例を示す図で
ある。
FIG. 3 is a diagram illustrating an example of a screen created by a client.

【図4】命令解析装置における解析の例を示す図であ
る。
FIG. 4 is a diagram illustrating an example of analysis in the instruction analysis device.

【図5】外接矩形を用いた重なり判定手続きの原理を示
すフローチャートである。
FIG. 5 is a flowchart showing the principle of an overlap determination procedure using a circumscribed rectangle.

【図6】重なり判定を行う手続きのフローチャートを示
す図である。
FIG. 6 is a diagram illustrating a flowchart of a procedure for performing overlap determination.

【図7】木の探索手続きを示すフローチャートである。FIG. 7 is a flowchart showing a tree search procedure.

【図8】重なり判定対象の図形の位置関係を示す図(そ
の1)である。
FIG. 8 is a diagram (part 1) illustrating a positional relationship of a graphic subject to overlap determination;

【図9】重なり判定後の木構造を示す図(その1)であ
る。
FIG. 9 is a diagram (part 1) illustrating a tree structure after an overlap determination;

【図10】重なり判定対象の図形の位置関係を示す図
(その2)である。
FIG. 10 is a diagram (part 2) illustrating a positional relationship of a graphic subject to overlap determination;

【図11】重なり判定後の木構造を示す図(その2)で
ある。
FIG. 11 is a diagram (part 2) illustrating the tree structure after the overlap determination.

【図12】重なり判定対象の図形の位置関係を示す図
(その3)である。
FIG. 12 is a diagram (part 3) illustrating a positional relationship of a graphic subject to overlap determination;

【図13】重なり判定後の木構造を示す図(その3)で
ある。
FIG. 13 is a diagram (part 3) illustrating the tree structure after the overlap determination.

【図14】重なり判定対象の図形の位置関係を示す図
(その4)である。
FIG. 14 is a diagram (part 4) illustrating a positional relationship of a graphic as an overlap determination target;

【図15】重なり判定後の木構造を示す図(その4)で
ある。
FIG. 15 is a diagram (part 4) illustrating the tree structure after the overlap determination.

【図16】重なり判定対象の図形の位置関係を示す図
(その5)である。
FIG. 16 is a diagram (part 5) illustrating the positional relationship of the overlap determination target graphic;

【図17】重なり判定後の木構造を示す図(その5)で
ある。
FIG. 17 is a diagram illustrating a tree structure after the overlap determination (part 5);

【図18】本発明の画像形成装置を適用した印刷システ
ムの別の構成を示すブロック図である。
FIG. 18 is a block diagram illustrating another configuration of a printing system to which the image forming apparatus according to the invention is applied.

【図19】テンプレートを用いた木データの構成方法を
示す説明図である。
FIG. 19 is an explanatory diagram showing a method of configuring tree data using a template.

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

1 ジョブシーケンス作成手段 2a,2b,2c 描画手段 3 重なり判定手段 4 領域分割手段 5 木データ管理手段 6 ジョブ管理手段 7 画像メモリ 10 画像形成装置 11 命令解析装置 11a 字句解析部 11b 命令実行部 11c 記述分割部 11d 重なり判定部 11e 木データ管理部 11f テンプレートデータ記憶部 12a,12b,12c,12d,12e 図形描画部 13 図形合成部 14 画像メモリ 15 プリンタインタフェース 16 共有バス 20 ローカルエリアネットワーク 31,32,33 クライアント計算機 40 プリントエンジン DESCRIPTION OF SYMBOLS 1 Job sequence creation means 2a, 2b, 2c Drawing means 3 Overlap judgment means 4 Area division means 5 Tree data management means 6 Job management means 7 Image memory 10 Image forming apparatus 11 Command analysis apparatus 11a Lexical analysis section 11b Command execution section 11c Description Division unit 11d Overlap determination unit 11e Tree data management unit 11f Template data storage unit 12a, 12b, 12c, 12d, 12e Graphic drawing unit 13 Graphic synthesizing unit 14 Image memory 15 Printer interface 16 Shared bus 20 Local area network 31, 32, 33 Client computer 40 print engine

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ページ記述言語で記述された画像描画命
令を実行して画素情報を得るための画像形成装置におい
て、 前記画像描画命令を前記画像描画命令の命令単位で分割
して複数の前記画像描画命令の命令ジョブからなるジョ
ブシーケンスを作成するジョブシーケンス作成手段と、 前記ジョブシーケンス作成手段から前記命令ジョブを個
々に受けてそれぞれ前記命令ジョブから画素情報を展開
する複数の描画手段と、 前記命令ジョブを受けて命令ジョブ間の実行時の描画領
域の重なりの有無を判定する重なり判定手段と、 前記重なり判定手段の判定結果に応じ、描画平面を描画
領域の重なりのない互いに素な部分領域に分割する領域
分割手段と、 前記ジョブシーケンスに従って前記領域分割手段の分割
結果から互いに素な部分領域の系列で前記画素情報を木
構造に構成するとともに、前記重なり判定手段による重
なり判定時には前記構成された木が探索されて判定対象
となる部分領域に属する命令ジョブが特定される木デー
タ管理手段と、 前記ジョブシーケンス作成手段からの命令ジョブを前記
複数の描画手段に分配するとともに、前記木データ管理
手段の木データを参照して前記複数の描画手段で展開さ
れた部分画素情報を取り出すジョブ管理手段と、 前記描画平面に対応する画素情報を保持するだけの領域
を有し、前記ジョブ管理手段によって前記複数の描画手
段より取り出された部分画素情報を書き込んで画像を合
成する画像メモリと、 を備えていることを特徴とする画像形成装置。
1. An image forming apparatus for obtaining pixel information by executing an image drawing command described in a page description language, wherein the image drawing command is divided by a command unit of the image drawing command and the plurality of images are divided. A job sequence creating unit that creates a job sequence composed of an instruction job of a rendering instruction; a plurality of rendering units that individually receive the instruction jobs from the job sequence creating unit and develop pixel information from the instruction job; Overlap determining means for receiving a job and determining whether or not the drawing areas overlap when executing between instruction jobs; and, according to the determination result of the overlap determining means, the drawing plane is converted into disjoint partial areas having no overlapping of the drawing areas. A region dividing unit to be divided, and a sequence of disjoint partial regions from the division result of the region dividing unit according to the job sequence Tree data management means for configuring the pixel information into a tree structure, and for specifying an instruction job belonging to a partial area to be determined by searching for the configured tree at the time of the overlap determination by the overlap determination means; A job management means for distributing the instruction job from the sequence creation means to the plurality of drawing means, and extracting partial pixel information developed by the plurality of drawing means with reference to tree data of the tree data management means; An image memory having an area only for holding pixel information corresponding to a drawing plane, and writing partial pixel information extracted from the plurality of drawing units by the job management unit to synthesize an image. An image forming apparatus comprising:
【請求項2】 前記領域分割手段は、前記描画平面を水
平線または垂直線のいずれかにより互いに素な部分領域
に分割することを特徴とする請求項1に記載の画像形成
装置。
2. The image forming apparatus according to claim 1, wherein the area dividing unit divides the drawing plane into disjoint partial areas by one of a horizontal line and a vertical line.
【請求項3】 前記領域分割手段は、前記描画平面を水
平線によって複数の帯状の領域に分割することを特徴と
する請求項1に記載の画像形成装置。
3. The image forming apparatus according to claim 1, wherein the area dividing unit divides the drawing plane into a plurality of band-shaped areas by a horizontal line.
【請求項4】 前記描画平面を複数の固定された部分領
域群に分割して木データを表現した木データテンプレー
トを記憶し、前記木データ管理手段による前記木データ
の構成の際には前記木データテンプレートの下に木デー
タを追加していくようにした木データテンプレート記憶
手段をさらに備えていることを特徴とする請求項1に記
載の画像形成装置。
4. A tree data template representing tree data by dividing the drawing plane into a plurality of fixed partial area groups is stored, and the tree data management unit configures the tree data. 2. The image forming apparatus according to claim 1, further comprising a tree data template storage unit configured to add tree data below the data template.
【請求項5】 ページ記述言語で記述された画像描画命
令を並列に実行して画像情報を得る画像形成装置内にて
前記画像描画命令の干渉関係を解析する命令解析装置に
おいて、 前記画像描画命令を前記画像描画命令の命令単位で分割
して複数の前記画像描画命令の命令ジョブからなるジョ
ブシーケンスを作成するジョブシーケンス作成手段と、 前記命令ジョブを受けて命令ジョブ間の実行時の描画領
域の重なりの有無を判定する重なり判定手段と、 前記判定手段の判定結果に応じ、描画平面を描画領域の
重なりのない互いに素な部分領域に分割する領域分割手
段と、 前記ジョブシーケンスに従って前記領域分割手段の分割
結果から互いに素な部分領域の系列で前記画素情報を木
構造に構成するとともに、前記重なり判定手段による重
なり判定時に前記構成された木が探索されて判定対象と
なる部分領域に属する命令ジョブが特定される木データ
管理手段と、 を備えていることを特徴とする命令解析装置。
5. An instruction analyzing apparatus for analyzing an interference relationship between image drawing commands in an image forming apparatus for obtaining image information by executing image drawing commands described in a page description language in parallel. A job sequence creating means for creating a job sequence composed of a plurality of command jobs of the image drawing command by dividing the image job into command units of the image drawing command; Overlap determining means for determining the presence / absence of overlap; area dividing means for dividing a drawing plane into disjoint partial areas having no overlapping of drawing areas according to the determination result of the determining means; and area dividing means according to the job sequence. The pixel information is formed into a tree structure by a sequence of disjoint partial regions from the division result of Instruction analyzing apparatus characterized by at instruction jobs belonging to the constructed partial regions tree be judged is searched was is and a tree data management unit identified.
【請求項6】 ページ記述言語で記述された画像描画命
令を実行して画素情報を得る画像形成方法において、 前記画像描画命令を前記画像描画命令の命令単位で分割
して複数の前記画像描画命令の命令ジョブからなるジョ
ブシーケンスを作成し、 分割された前記画像描画命令を個々に並列に実行して各
画素情報を並列に展開しながら、前記命令ジョブ間の実
行時の描画領域の重なり関係を解析し、 前記描画領域の重なり関係の解析結果を参照して前記並
列に展開された各画素情報の合成順序を動的に決定し、 決定された合成順序に従って前記画素情報を合成して画
像を形成する、 ことからなる画像形成方法。
6. An image forming method for obtaining pixel information by executing an image drawing command described in a page description language, wherein the image drawing command is divided by a command unit of the image drawing command and a plurality of the image drawing commands are divided. A job sequence consisting of the command jobs is created, and the divided image drawing commands are individually executed in parallel to develop each pixel information in parallel. Analyzing, dynamically determining the synthesis order of each of the pixel information expanded in parallel with reference to the analysis result of the overlapping relationship of the drawing areas, synthesizing the pixel information according to the determined synthesis order, and forming an image. Forming an image.
JP8161225A 1996-06-21 1996-06-21 Image forming device Pending JPH1011593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8161225A JPH1011593A (en) 1996-06-21 1996-06-21 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8161225A JPH1011593A (en) 1996-06-21 1996-06-21 Image forming device

Publications (1)

Publication Number Publication Date
JPH1011593A true JPH1011593A (en) 1998-01-16

Family

ID=15731013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8161225A Pending JPH1011593A (en) 1996-06-21 1996-06-21 Image forming device

Country Status (1)

Country Link
JP (1) JPH1011593A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU744748B2 (en) * 1998-09-30 2002-02-28 Canon Kabushiki Kaisha A method of streamed printing on a thin-client/server system
JP2006221567A (en) * 2005-02-14 2006-08-24 Canon Inc Image processor, image processing method, and program
WO2010005119A1 (en) * 2008-07-11 2010-01-14 三菱プレシジョン株式会社 Method for creating living body data model, living body data model creating device, device for storing data structure of living body data model and living body data model, method for dispersing load of three-dimensional data model and three-dimensional data model load dispersion device
US8284445B2 (en) 2006-02-17 2012-10-09 Canon Kabushiki Kaisha Image forming apparatus for forming images from objects
JP2016165469A (en) * 2016-03-29 2016-09-15 三菱プレシジョン株式会社 Data structure of biological data model, and data storage device of biological data model

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU744748B2 (en) * 1998-09-30 2002-02-28 Canon Kabushiki Kaisha A method of streamed printing on a thin-client/server system
JP2006221567A (en) * 2005-02-14 2006-08-24 Canon Inc Image processor, image processing method, and program
JP4566772B2 (en) * 2005-02-14 2010-10-20 キヤノン株式会社 Image processing apparatus, image processing method, and program
US8284445B2 (en) 2006-02-17 2012-10-09 Canon Kabushiki Kaisha Image forming apparatus for forming images from objects
WO2010005119A1 (en) * 2008-07-11 2010-01-14 三菱プレシジョン株式会社 Method for creating living body data model, living body data model creating device, device for storing data structure of living body data model and living body data model, method for dispersing load of three-dimensional data model and three-dimensional data model load dispersion device
US8532359B2 (en) 2008-07-11 2013-09-10 Mitsubishi Precision Co., Ltd. Biodata model preparation method and apparatus, data structure of biodata model and data storage device of biodata model, and load dispersion method and apparatus of 3D data model
JP2016165469A (en) * 2016-03-29 2016-09-15 三菱プレシジョン株式会社 Data structure of biological data model, and data storage device of biological data model

Similar Documents

Publication Publication Date Title
EP1365351B1 (en) System and method for using multiple processors for imaging
US6535293B1 (en) Printing system, printing control method, data processing apparatus and method, and storage medium therefor
JPH11147335A (en) Plot process apparatus
JP2910649B2 (en) Image forming apparatus and image forming method
JPH09114611A (en) Method and device for print processing
JP2817687B2 (en) Image forming device
JPH1011593A (en) Image forming device
JPH1131052A (en) Document processing system
JP3871011B2 (en) Information processing apparatus and information processing method
JPH11355588A (en) Picture processor, picture processing method and recording medium
JPH11259644A (en) Image forming device and image forming method
JPH10305623A (en) Equipment and method for processing print data
JP2001096854A (en) Apparatus and method for printing processing
JPH10151815A (en) Printing-processing apparatus
JP3636891B2 (en) Color image output method
JPH0939312A (en) Printer, printing method and printing mechanism
JPH1110961A (en) Print processor and printing method
JPH11144062A (en) Printing processor
JP2002036637A (en) Image processor
JPH11227266A (en) Print processing equipment and print processing method
JPH10157217A (en) Printing-processing apparatus
JPH07323602A (en) Printer and object drawing method thereof
JPH10305639A (en) Print processor and processing method
JPH11157147A (en) Apparatus and method for processing printing
JP2001296857A (en) Data preserving method and data transform device