JP2001352442A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JP2001352442A
JP2001352442A JP2000170018A JP2000170018A JP2001352442A JP 2001352442 A JP2001352442 A JP 2001352442A JP 2000170018 A JP2000170018 A JP 2000170018A JP 2000170018 A JP2000170018 A JP 2000170018A JP 2001352442 A JP2001352442 A JP 2001352442A
Authority
JP
Japan
Prior art keywords
image
processing
processing apparatus
cpu
processing 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
JP2000170018A
Other languages
Japanese (ja)
Inventor
Shogo Oneda
章吾 大根田
Noriyuki Kaneyasu
典之 兼安
Hiromi Okubo
宏美 大久保
Hiroshi Ishii
石井  博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000170018A priority Critical patent/JP2001352442A/en
Publication of JP2001352442A publication Critical patent/JP2001352442A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain an image processing unit that can process image drawing, characters and graphics altogether at a high-speed. SOLUTION: A CPU 5 interprets an image-drawing instruction, and receives data and only stores the data to a memory 4 and leaves the succeeding processings to an image-drawing processing unit 6, when the received instruction is the image drawing instruction. When the received instruction is the character graphic drawing instruction, the CPU 5 generates a bit image that is paint-out range information, stores the image to the memory 4 with color information and leaves the succeeding processing to a graphic image drawing processing unit 2. As a result, the load on the CPU 5 is relieved and intermediate codes given to the graphics drawing processing unit consist of the bit image and the color information and an overhead can be reduced, even in the case of painting out a small area and high-speed processing is attained in a printer.

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, and more particularly, to a printer controller of an image processing apparatus.

【0002】[0002]

【従来の技術】従来、画像処理装置は一般に、プリンタ
コントローラを備えて構成される。このプリンタコント
ローラでは、CPUによりホストコンピュータから送ら
れてきた描画命令を解釈して、プリンタエンジンに送る
ためのビットマップデータを生成し、メモリに格納す
る。格納されたビットマップデータは、プリンタエンジ
ンの動作に合わせて、DMA転送手段によりプリンタエ
ンジンに送られプリントされる。
2. Description of the Related Art Conventionally, an image processing apparatus is generally provided with a printer controller. In the printer controller, the CPU interprets the drawing command sent from the host computer, generates bitmap data to be sent to the printer engine, and stores the bitmap data in the memory. The stored bitmap data is sent to the printer engine by the DMA transfer unit and printed according to the operation of the printer engine.

【0003】また、プリンタコントローラでは、処理速
度を高めるため、様々な工夫がされている。例えば、特
開平10―222325号公報に示されるように、CP
Uがホストコンピュータから送られてきた描画命令を解
釈して、多ビットのRGBからなるイメージデータを生
成し、メモリに格納する。メモリに格納されたイメージ
データは、DMA転送手段によりイメージ処理回路に送
られ、プリンタエンジンに送るビットマップデータに変
換するための処理(例えば、色変換、ハーフトーニン
グ)が行われ、処理の結果得られた信号がプリンタエン
ジンへ送られプリントされる。
[0003] In the printer controller, various measures have been taken to increase the processing speed. For example, as disclosed in JP-A-10-222325, CP
U interprets the drawing command sent from the host computer, generates multi-bit RGB image data, and stores it in the memory. The image data stored in the memory is sent to the image processing circuit by the DMA transfer means, and is subjected to processing (for example, color conversion, half-toning) for conversion to bitmap data to be sent to the printer engine. The transmitted signal is sent to the printer engine and printed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の画像処理装置では、CPUで中間調処理までを行っ
てビットマップデータを生成する場合、処理内容が複雑
でありCPUへの負荷が大きく、処理時間が長くかかっ
てしまうという問題点がある。
However, in the above-described conventional image processing apparatus, when bitmap data is generated by performing up to halftone processing by the CPU, the processing content is complicated and the load on the CPU is large. There is a problem that it takes a long time.

【0005】上記の不具合を解決するために、特開平1
0―222325号公報では、多ビットのデータを生成
し、データの属性をデータに含めてメモリに格納し、イ
メージ処理回路がプリンタエンジンに送るビットマップ
データに変換している。しかし、文字、グラフィックス
の場合に多ビットのデータを生成する場合は、データ量
が大きくなってしまい、やはりCPUの負荷が増大する
結果を招くことになる。
[0005] In order to solve the above problem, Japanese Patent Laid-Open No.
In Japanese Patent Application Laid-Open No. 0-222325, multi-bit data is generated, the attribute of the data is included in the data and stored in a memory, and the image processing circuit converts the data into bitmap data to be sent to a printer engine. However, when generating multi-bit data in the case of characters and graphics, the data amount becomes large, which also results in an increase in the load on the CPU.

【0006】また、文字、グラフィクスの描画命令を解
釈してCPUが中間コードを生成して、図形描画装置に
渡すことも考えられるが、小領域の塗りつぶしなどの場
合、中間コードを渡すことがオーバーヘッドとなり、描
画内容によっては高速に処理できない場合がある。
It is conceivable that the CPU generates an intermediate code by interpreting a character or graphics rendering command and passes it to the graphic drawing device. However, in the case of painting a small area, passing the intermediate code is an overhead. , And high-speed processing may not be possible depending on the drawing content.

【0007】本発明は、イメージ描画、および文字、グ
ラフィクスも含めて高速化できる画像処理装置を提供す
ることを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing apparatus capable of high-speed processing including image drawing and characters and graphics.

【0008】[0008]

【課題を解決するための手段】かかる目的を達成するた
め、本発明の画像処理装置は、画像描画命令に従って画
像出力手段に出力する画像データを作成する画像処理装
置において、描画命令を解釈して塗りつぶし範囲情報と
色情報である中間コードに変換する中間コード生成手段
と、中間コードに従い画像を作成する図形描画処理手段
とを具備することを特徴としている。
In order to achieve the above object, an image processing apparatus according to the present invention interprets a drawing command in an image processing apparatus that creates image data to be output to an image output unit in accordance with the image drawing command. It is characterized by comprising intermediate code generating means for converting into fill-in range information and intermediate code as color information, and graphic drawing processing means for creating an image in accordance with the intermediate code.

【0009】また、上記の描画命令がイメージ描画命令
かそれ以外かを判定する手段をさらに具備し、判定の結
果がイメージ描画命令以外の場合には中間コードを生成
するとよい。
It is preferable that the apparatus further comprises means for determining whether the above-mentioned drawing command is an image drawing command or not. If the result of the determination is other than an image drawing command, an intermediate code may be generated.

【0010】さらに、イメージ描画処理を行うイメージ
描画処理手段を具備し、上記の判定の結果がイメージ描
画命令の場合には、イメージ描画処理手段により描画を
行い、上記の塗りつぶし範囲情報をビットイメージとす
るとよい。
The image processing apparatus further includes image drawing processing means for performing image drawing processing. If the result of the above determination is an image drawing command, drawing is performed by the image drawing processing means, and the above-described painted range information is converted to a bit image. Good to do.

【0011】[0011]

【発明の実施の形態】次に添付図面を参照して本発明に
よる画像処理装置の実施の形態を詳細に説明する。図1
から図3を参照すると本発明の画像処理装置の一実施形
態が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of an image processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings. FIG.
3 to FIG. 3, there is shown an embodiment of the image processing apparatus of the present invention.

【0012】図1に本発明の画像処理装置の実施形態の
構成例を示す。図2に動作例の処理フローチャートを示
す。また、図3に図形描画処理装置の内部構成例を示
す。
FIG. 1 shows a configuration example of an embodiment of an image processing apparatus according to the present invention. FIG. 2 shows a processing flowchart of an operation example. FIG. 3 shows an example of the internal configuration of the graphic drawing processing apparatus.

【0013】図1において、本実施形態の画像処理装置
は、ホストI/F(1)、画像描画処理装置2、エンジ
ンI/F(3)、メモリ4、CPU5、イメージ描画処
理装置6、を有して構成される。
In FIG. 1, the image processing apparatus according to the present embodiment includes a host I / F (1), an image drawing processing device 2, an engine I / F (3), a memory 4, a CPU 5, and an image drawing processing device 6. It is configured to have.

【0014】上記に構成される本実施形態の画像処理装
置において、ホストI/F(1)を通して、不図示のホ
ストコンピュータから送られてくる描画命令は、ホスト
I/F(1)を介して読み込みが実行される(ステップ
S1)。
In the image processing apparatus of the present embodiment configured as described above, a drawing command sent from a host computer (not shown) through the host I / F (1) is transmitted through the host I / F (1). Reading is performed (step S1).

【0015】読み込まれた描画命令は、CPU5によっ
て解釈され、イメージ描画命令と、文字、グラフィクス
命令により処理を振り分ける(S2)。
The read drawing command is interpreted by the CPU 5, and the processing is distributed according to the image drawing command and the character and graphics commands (S2).

【0016】上記の振り分けの結果、イメージ描画命令
の場合には(S2/Y)、ホストコンピュータより受信
したソースイメージデータをメモリ4に格納し(S
3)、イメージ描画処理装置6に対して、処理に必要な
パラメータを設定し(S4)、イメージ描画処理装置6
を起動する(S5)。
As a result of the above-mentioned sorting, in the case of an image drawing command (S2 / Y), the source image data received from the host computer is stored in the memory 4 (S2 / Y).
3) The parameters necessary for the processing are set in the image drawing processing device 6 (S4).
Is started (S5).

【0017】イメージ描画処理装置6は起動されると、
メモリ5に格納されたソースイメージデータを読み出
し、CPU5により設定されたパラメータにより処理を
行い、結果得られたビットマップデータをメモリ4に書
き込む。この時のメモリ書き込み位置は、プリントされ
る紙上の位置に対応した位置になっており、既に格納さ
れたビットマップデータと論理演算することにより、複
数の画像の重ね合せ処理を行う。なお、イメージ描画処
理装置6で行われる処理は、例えばγ変換、色変換、中
間調処理、圧縮伸張処理、変倍処理、フィルタ処理など
の画像処理である。
When the image drawing processing device 6 is started,
The source image data stored in the memory 5 is read out, processed according to the parameters set by the CPU 5, and the resulting bitmap data is written into the memory 4. At this time, the memory writing position is a position corresponding to the position on the paper to be printed, and a superposition process of a plurality of images is performed by performing a logical operation on the already stored bitmap data. The processing performed by the image drawing processing device 6 is, for example, image processing such as γ conversion, color conversion, halftone processing, compression / expansion processing, scaling processing, and filter processing.

【0018】CPU5は、イメージ描画処理装置6を起
動すると次の描画命令を読み込み(S1)、再度命令の
種類を判断する(S2)。次の命令がテキスト&グラフ
ィクス描画命令の場合(S2/N)、塗りつぶし範囲情
報であるビットイメージと色情報の中間コードを生成し
(S6)、メモリ4に書き込み(S7)、図形描画処理
装置2を起動する(S8)。
When the CPU 5 activates the image drawing processor 6, the CPU 5 reads the next drawing command (S1) and determines the type of command again (S2). If the next command is a text & graphics drawing command (S2 / N), an intermediate code of bit image and color information, which is the paint range information, is generated (S6), written to the memory 4 (S7), and the graphic drawing processing device 2 is executed. Is started (S8).

【0019】図形描画処理装置2は、メモリ4から中間
コードを読み出し、中間コードが示す領域に色情報に基
づいたビットイメージをページメモリに書き込む。CP
U5は図形描画処理装置2を起動すると、次の描画命令
を読み込み(S1)、再度命令の種類を判断し(S
2)、次の命令の種類に応じた処理を繰り返す。
The graphic drawing processor 2 reads the intermediate code from the memory 4 and writes a bit image based on the color information in the area indicated by the intermediate code in the page memory. CP
When U5 starts the graphic drawing processing device 2, the next drawing command is read (S1), and the type of command is determined again (S1).
2) Repeat the process according to the type of the next instruction.

【0020】上記の一連の処理は、イメージ処理装置起
動(S5)の後に、および図形描画処理装置起動(S
8)の後に、処理が終了か否かがチェックされ(S
9)、処理が終了するまで繰り返し実行される(S1〜
S5/S1〜S8、S9)。
The above-described series of processing is performed after the image processing apparatus is started (S5) and after the graphic drawing processing apparatus is started (S5).
After 8), it is checked whether the processing is completed (S
9), repeatedly executed until the process is completed (S1 to S1)
S5 / S1 to S8, S9).

【0021】図3に図形描画処理装置の内部構成例を示
す。本実施形態の画像処理装置に適用される図形描画処
理装置2は、中間調処理回路11、イメージ書き込み回
路12、塗りつぶし範囲データバッファ13、を有して
構成される。
FIG. 3 shows an example of the internal configuration of the graphic drawing processing apparatus. The graphic drawing processing device 2 applied to the image processing device of the present embodiment includes a halftone processing circuit 11, an image writing circuit 12, and a fill range data buffer 13.

【0022】メモリ4から読み出された色情報は中間調
処理回路11に入力され、中間調処理され、書き込みビ
ットイメージが生成され、イメージ書き込み回路12に
入力される。イメージ書き込み回路12は、メモリ4か
ら読み出された塗りつぶし範囲情報であるビットイメー
ジに従い、書き込みビットイメージをページメモリに書
き込む。具体には、塗りつぶし範囲情報であるビットイ
メージがONの場所に対して、書き込みビットイメージ
を書き込み、OFFの場所には書き込みを行わない。
The color information read from the memory 4 is input to the halftone processing circuit 11, where the color information is subjected to halftone processing, a write bit image is generated, and input to the image writing circuit 12. The image writing circuit 12 writes the write bit image to the page memory according to the bit image that is the paint range information read from the memory 4. Specifically, a write bit image is written in a location where the bit image which is the paint range information is ON, and writing is not performed in a location where the bit image is OFF.

【0023】以上により、処理を複数の処理手段で、分
担して処理することにより、高速に処理することができ
る。
As described above, the processing can be performed at high speed by sharing the processing with a plurality of processing means.

【0024】本実施形態の画像処理装置では、CPU5
が描画命令を解釈し、イメージ描画命令の場合は、CP
U5はデータを受信してメモリへの格納のみ行い、以後
の処理をイメージ描画処理装置6が分担する。また、文
字、グラフィクス描画命令の場合には、CPU5は塗り
つぶし範囲情報であるビットイメージを生成し、色情報
と合わせてメモリ4へ格納し、以降の処理を図形描画処
理装置2が分担するように動作する。この結果、CPU
5の負荷を軽減し、尚且つ、図形描画装置へ渡す中間コ
ードをビットイメージと色情報にすることにより、小領
域の塗りつぶしの場合にもオーバーヘッドを軽減し、高
速度処理が可能なプリンタが実現できる。
In the image processing apparatus of this embodiment, the CPU 5
Interprets the drawing command, and if it is an image drawing command, CP
U5 receives the data and only stores it in the memory, and the subsequent processing is shared by the image drawing processing device 6. In the case of a character / graphics drawing command, the CPU 5 generates a bit image as filling range information and stores it in the memory 4 together with the color information, so that the graphic drawing processing device 2 shares the subsequent processing. Operate. As a result, the CPU
By reducing the load of 5 and making the intermediate code passed to the graphic drawing device a bit image and color information, the overhead can be reduced even in the case of painting a small area, and a printer capable of high-speed processing is realized. it can.

【0025】さらに説明すれば、描画命令の解釈と、文
字、グラフィクス命令から中間コードを生成することを
CPU5が行い、イメージデータのγ変換、色変換、中
間調処理、圧縮伸張処理、変倍処理、フィルタ処理をイ
メージ描画処理装置6が行い、中間コードからの塗りつ
ぶし処理を図形描画処理装置2が分担する。この結果、
CPU5の負荷を軽減し、尚且つ、中間コードを塗りつ
ぶし範囲を示すビットイメージと色情報で表現すること
により、小領域の塗りつぶしの場合に中間コードの受け
渡しによるオーバーヘッドを軽減し、イメージを高速で
処理することができる。
More specifically, the CPU 5 interprets a drawing command and generates an intermediate code from characters and graphics commands, and performs γ conversion, color conversion, halftone processing, compression / expansion processing, and scaling processing of image data. The image drawing processing device 6 performs the filtering process, and the graphic drawing processing device 2 performs the filling process from the intermediate code. As a result,
By reducing the load on the CPU 5 and expressing the intermediate code with a bit image indicating the area to be painted and color information, it is possible to reduce the overhead due to the transfer of the intermediate code in the case of painting a small area and process the image at high speed. can do.

【0026】[0026]

【発明の効果】以上の説明より明らかなように、本発明
の画像処理装置は、描画命令を解釈して塗りつぶし範囲
情報と色情報である中間コードに変換し、変換した中間
コードに従い画像を作成する。このことにより、CPU
の負荷を軽減し、尚且つ、中間コードを塗りつぶし範囲
を示すビットイメージと色情報で表現することにより、
小領域の塗りつぶしの場合に中間コードの受け渡しによ
るオーバーヘッドを軽減し、イメージを高速で処理する
ことができる。
As is apparent from the above description, the image processing apparatus of the present invention interprets a drawing command and converts it into an intermediate code, which is fill area information and color information, and creates an image according to the converted intermediate code. I do. This allows the CPU
By reducing the load of, and expressing the intermediate code with a bit image and color information indicating the painted range,
In the case of filling a small area, it is possible to reduce the overhead due to the transfer of the intermediate code and process the image at high speed.

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

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

【図2】動作例を示す処理フローチャートである。FIG. 2 is a processing flowchart illustrating an operation example.

【図3】図形描画処理装置の内部構成例を示すブロック
図である。
FIG. 3 is a block diagram illustrating an example of an internal configuration of the graphic drawing processing apparatus.

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

1 ホストI/F 2 図形描画処理装置 3 エンジンI/F 4 メモリ 5 CPU 6 イメージ描画処理装置 11 中間調処理回路 12 イメージ書き込み回路 13 塗りつぶし範囲データバッファ DESCRIPTION OF SYMBOLS 1 Host I / F 2 Graphic drawing processing apparatus 3 Engine I / F 4 Memory 5 CPU 6 Image drawing processing apparatus 11 Halftone processing circuit 12 Image writing circuit 13 Fill-out area data buffer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石井 博 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 2C062 AA24 5C076 AA12 AA26 AA27 AA31 AA40 BA03 BA06 CA10  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Hiroshi Ishii 1-3-6 Nakamagome, Ota-ku, Tokyo F-term in Ricoh Co., Ltd. (reference) 2C062 AA24 5C076 AA12 AA26 AA27 AA31 AA40 BA03 BA06 CA10

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像描画命令に従って画像出力手段に出
力する画像データを作成する画像処理装置において、 前記描画命令を解釈して塗りつぶし範囲情報と色情報で
ある中間コードに変換する中間コード生成手段と、 前記中間コードに従い画像を作成する図形描画処理手段
とを具備することを特徴とする画像処理装置。
1. An image processing apparatus for generating image data to be output to an image output unit in accordance with an image drawing command, comprising: an intermediate code generating unit configured to interpret the drawing command and convert the drawing command into an intermediate code that is paint range information and color information; An image processing apparatus comprising: a graphic drawing processing unit that generates an image according to the intermediate code.
【請求項2】 前記描画命令がイメージ描画命令かそれ
以外かを判定する手段をさらに具備し、前記判定の結果
がイメージ描画命令以外の場合には前記中間コードを生
成することを特徴とする請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising: a unit configured to determine whether the rendering command is an image rendering command or not. If the result of the determination is other than an image rendering command, the intermediate code is generated. Item 2. The image processing apparatus according to Item 1.
【請求項3】 イメージ描画処理を行うイメージ描画処
理手段をさらに具備し、前記判定の結果が前記イメージ
描画命令の場合には、前記イメージ描画処理手段により
描画を行うことを特徴とする請求項1または2に記載の
画像処理装置。
3. The image processing apparatus according to claim 1, further comprising image drawing processing means for performing image drawing processing, wherein when the result of the determination is the image drawing command, drawing is performed by the image drawing processing means. Or the image processing device according to 2.
【請求項4】 前記塗りつぶし範囲情報は、ビットイメ
ージであることを特徴とする請求項1から3の何れか1
項に記載の画像処理装置。
4. The method according to claim 1, wherein the paint range information is a bit image.
An image processing apparatus according to the item.
JP2000170018A 2000-06-07 2000-06-07 Image processing unit Pending JP2001352442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000170018A JP2001352442A (en) 2000-06-07 2000-06-07 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000170018A JP2001352442A (en) 2000-06-07 2000-06-07 Image processing unit

Publications (1)

Publication Number Publication Date
JP2001352442A true JP2001352442A (en) 2001-12-21

Family

ID=18672792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000170018A Pending JP2001352442A (en) 2000-06-07 2000-06-07 Image processing unit

Country Status (1)

Country Link
JP (1) JP2001352442A (en)

Similar Documents

Publication Publication Date Title
JP2614252B2 (en) Image synthesis device
US6621588B1 (en) Output control method and apparatus, and output system
JP3211417B2 (en) Page description language processor
JP2001352442A (en) Image processing unit
JPS6321158A (en) Printer output device
JP3211545B2 (en) Image processing device
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP3496384B2 (en) Image output device
JP2005038084A (en) Method and device for converting drawing data
JP2007249403A (en) Image data processing system and method for it
JPH11187261A (en) Image processor
JPH03112668A (en) Printer
JP2004042406A (en) Printer
JP2003241917A (en) Image processor, image processing method, program and recording medium
JPH1063250A (en) Character processing device
JPH0532021A (en) Printing device
JP2872144B2 (en) Printing equipment
JP2002127512A (en) Imaging apparatus and imaging method
JPS61267126A (en) Plotter controller
JP2001053957A (en) Printer host, printer, printer system and storage medium storing program for converting plotting instruction to binarized image data
JP2000225735A (en) Image printer
JPH0467964A (en) Page printer printing control method
JP2002044465A (en) Image data generating apparatus, image outputting apparatus, image output control unit, image outputting system, image data generating method and recording medium
JPS62232027A (en) Printing system for graphics in line printer
JP2001146048A (en) Printer control device, printer control method and recording medium having printer control program recorded thereon