JP2013056510A - Apparatus and method for image processing - Google Patents

Apparatus and method for image processing Download PDF

Info

Publication number
JP2013056510A
JP2013056510A JP2011197230A JP2011197230A JP2013056510A JP 2013056510 A JP2013056510 A JP 2013056510A JP 2011197230 A JP2011197230 A JP 2011197230A JP 2011197230 A JP2011197230 A JP 2011197230A JP 2013056510 A JP2013056510 A JP 2013056510A
Authority
JP
Japan
Prior art keywords
halftone pattern
value
halftone
processing
command
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
JP2011197230A
Other languages
Japanese (ja)
Inventor
Naohito Shiraishi
尚人 白石
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 JP2011197230A priority Critical patent/JP2013056510A/en
Publication of JP2013056510A publication Critical patent/JP2013056510A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To shorten a drawing time.SOLUTION: An image forming apparatus carries out a command analysis processing (e.g., band initialization command processing, threshold value table setting command processing, etc.), a halftone pattern production processing, and a square shape drawing processing in parallel. Concretely, the image forming apparatus includes a drawing device 105 for performing the halftone pattern production processing in which a halftone pattern is produced by performing a gradation processing using a threshold value, and a square shape drawing processing in parallel.

Description

本発明は、コピー、スキャナー、デジタルカメラ、プリンタなどの画像処理装置等に関し、特に、取りこまれたコマンドを解析し、描画し、印刷する画像処理装置および画像処理方法に関する。   The present invention relates to an image processing apparatus such as a copy, a scanner, a digital camera, and a printer, and more particularly to an image processing apparatus and an image processing method for analyzing, drawing, and printing captured commands.

従来、ページプリンタなどにおいて、高い解像度を維持しつつ、印字速度を高速化したいという要求に応えるために、例えば、階調処理後の画像を高速に描画する技術がある。   2. Description of the Related Art Conventionally, in a page printer or the like, there is a technique for drawing an image after gradation processing at high speed, for example, in order to meet a demand for increasing the printing speed while maintaining high resolution.

従来のプリンタにおける処理の流れは、例えば、ネットワークから受け取ったPDL(Page Description Language:ページ記述言語)を解析して描画装置に実行させることが可能な中間言語を生成し、描画装置が中間言語を解析してバンドメモリへ階調処理後の画像を描画して、2値画像の圧縮アルゴリズム(JBIGなど)により符号化し、その符号をメモリに格納して、その後、プリントアウト時に、各版ごと遅延させ、メモリから符号データを読み込み、上記の圧縮アルゴリズムにより復号化して、その後、CMYK形式のC(Cyan:シアン),M(Magenta:マゼンダ),Y(Yellow:イエロー),K(Key Plate)の各版に対応するデータのプリンタエンジンに転送し、印字していた。   The flow of processing in a conventional printer is, for example, generating an intermediate language that can be executed by a drawing apparatus by analyzing a PDL (Page Description Language) received from a network, and the drawing apparatus uses the intermediate language. Analyzes and renders the image after gradation processing to the band memory, encodes it with a binary image compression algorithm (JBIG, etc.), stores the code in the memory, and then delays each plate at the time of printout The code data is read from the memory, decoded by the above compression algorithm, and then C (Cyan: Cyan), M (Magenta: Magenta), Y (Yellow: Yellow), K (Key Plate) in the CMYK format. The data corresponding to each plate was transferred to the printer engine and printed.

ところで、階調処理後の画像を高速に描画する技術に関連するものとして、例えば、事前にハーフトーンしきい値マトリックスデータから、階調値により2値化した2値マトリックスデータを作成し、描画部のメモリバウンダリ幅と基本ビットパターンの幅との最小公倍数のハーフトーンパターンを作成し、ハーフトーンリピート機能により、水平方向に順次繰り返し描画する従来技術(以下、従来技術1と記載する)がある(特許文献1参照)。   By the way, as a technique related to a technique for drawing an image after gradation processing at high speed, for example, binary matrix data binarized by gradation values is created in advance from halftone threshold matrix data and drawn. There is a conventional technique (hereinafter referred to as prior art 1) in which a halftone pattern having the least common multiple of the memory boundary width of a portion and the width of a basic bit pattern is created and sequentially drawn in the horizontal direction by a halftone repeat function. (See Patent Document 1).

また、階調処理後の画像を高速に描画する技術に関連するものとして、描画ワードX幅のハーフトーンパターンを少なくともハーフトーンパターンのY幅分を記憶し、ハーフトーンパターンアドレス値に対応するハーフトーンパターンを用いてハーフトーンパターンシフト値分の巡回シフト処理を行なうことにより、同じ階調値である描画オブジェクトに対して、効率よくハーフトーンパターンを使用する技術(以下、従来技術2と記載する)などもある(特許文献2参照)。   Further, as related to a technique for drawing an image after gradation processing at high speed, a halftone pattern having a drawing word X width is stored at least for the Y width of the halftone pattern, and a halftone pattern corresponding to the halftone pattern address value is stored. A technique for efficiently using a halftone pattern for a drawing object having the same gradation value by performing a cyclic shift process corresponding to the halftone pattern shift value using the tone pattern (hereinafter referred to as prior art 2). (See Patent Document 2).

従来技術1では、例えば、ハーフトーンパターンセットコマンドが来ると、指定されたハーフトーンパターン先頭アドレスから、階調処理後のハーフトーンパターンを順次読み込む。このように、従来技術1は、描画する前にハーフトーンパターンを読み込む必要があるので、その分、描画時間が長くなってしまう。   In Prior Art 1, for example, when a halftone pattern set command is received, halftone patterns after gradation processing are sequentially read from a designated halftone pattern head address. As described above, since the prior art 1 needs to read the halftone pattern before drawing, the drawing time is increased accordingly.

また、従来技術2では、しきい値テーブルコマンドセットが来ると、指定されたしきい値テーブルコマンドセットの先頭アドレスから順次読み込み、その後、描画ごとに、しきい値テーブルコマンドセットを読み込むことはないが、一方で、しきい値テーブルを使用して描画コマンドごとに階調処理を行い、ハーフトーンパターンを生成する必要がある。従来技術2は、しきい値テーブルを使用して描画コマンドごとに階調処理を行い、ハーフトーンパターンを生成する必要があるので、その分、描画時間が長くなってしまう。   Further, in the prior art 2, when a threshold table command set is received, the threshold table command set is not read sequentially for each drawing after reading sequentially from the head address of the specified threshold table command set. However, it is necessary to generate a halftone pattern by performing gradation processing for each drawing command using a threshold value table. In the prior art 2, since it is necessary to perform gradation processing for each drawing command using the threshold value table and generate a halftone pattern, the drawing time is increased accordingly.

本発明は、上記に鑑みてなされたものであって、処理時間を短くすることが可能な画像処理装置および画像処理方法を提供することを目的とする。   The present invention has been made in view of the above, and an object thereof is to provide an image processing apparatus and an image processing method capable of shortening the processing time.

上述した課題を解決し、目的を達成するために、本発明は、所定範囲の領域を示すバンド単位で階調処理後の画像を描画する画像処理装置であって、画像を描画単位に分解した場合の水平方向の始点と終点との幅である描画幅のハーフトーンパターンのハーフトーンしきい値を、少なくともハーフトーンパターンの垂直方向の幅分記憶するハーフトーンしきい値記憶手段と、前記描画幅のハーフトーンパターンを、少なくとも前記ハーフトーンパターンの垂直方向の幅分記憶するハーフトーンパターン記憶手段と、描画する水平ラインの垂直方向の位置を示す値から、対応するハーフトーンパターンを記憶した前記ハーフトーンパターン記憶手段のハーフトーンパターンアドレス値を生成するハーフトーンパターンアドレス生成手段と、前記ハーフトーンしきい値記憶手段からハーフトーンしきい値を読み込み、読み込んだハーフトーンしきい値を用いて階調処理を行ない、該階調処理により生成したハーフトーンパターンを前記ハーフトーンパターン記憶手段へ転送するハーフトーンパターン生成手段と、前記描画幅を、前記ハーフトーンパターンの水平方向の幅で割ったときの余り値を求め、該余り値を用いて前記ハーフトーンパターン記憶手段に記憶されているハーフトーンパターンをシフトするためのハーフトーンパターンシフト値を生成するハーフトーンパターンシフト値生成手段と、前記ハーフトーンパターンアドレス値によるアクセスにより前記ハーフトーンパターン記憶手段から転送されるハーフトーンパターンを、前記ハーフトーンパターンシフト値生成手段により生成されたハーフトーンパターンシフト値を用いて、該ハーフトーンパターンシフト値分の巡回シフトを行なう巡回シフト手段と、前記巡回シフトにより、同一の階調値である描画オブジェクトに対応するハーフトーンパターンを繰り返し使用して描画する描画手段とを備え、前記ハーフトーンパターン生成手段による処理と前記描画手段による処理とを並列に行うことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is an image processing apparatus that draws an image after gradation processing in a band unit indicating an area in a predetermined range, and decomposes the image into drawing units. A halftone threshold value storage means for storing a halftone threshold value of a halftone pattern having a drawing width that is a width between a start point and an end point in a horizontal direction in the case of at least the vertical width of the halftone pattern; A halftone pattern storage means for storing a halftone pattern of width at least for the vertical width of the halftone pattern, and a value indicating a vertical position of a horizontal line to be drawn, the corresponding halftone pattern is stored. Halftone pattern address generating means for generating a halftone pattern address value of the halftone pattern storage means; and The halftone threshold value is read from the halftone threshold value storage means, gradation processing is performed using the read halftone threshold value, and the halftone pattern generated by the gradation processing is transferred to the halftone pattern storage means. A halftone pattern generating means for calculating a remainder value obtained by dividing the drawing width by a width in the horizontal direction of the halftone pattern, and using the remainder value, the halftone pattern stored in the halftone pattern storage means A halftone pattern shift value generating means for generating a halftone pattern shift value for shifting the tone pattern, and a halftone pattern transferred from the halftone pattern storage means by the access by the halftone pattern address value. For tone pattern shift value generation means A cyclic shift means for performing a cyclic shift by the halftone pattern shift value using the generated halftone pattern shift value, and a halftone pattern corresponding to a drawing object having the same gradation value by the cyclic shift. And a drawing unit that repeatedly draws, and the processing by the halftone pattern generation unit and the processing by the drawing unit are performed in parallel.

また、本発明は、所定範囲の領域を示すバンド単位で階調処理後の画像を描画する画像処理装置で実行される画像処理方法であって、画像を描画単位に分解した場合の水平方向の始点と終点との幅である描画幅のハーフトーンパターンのハーフトーンしきい値を、少なくともハーフトーンパターンの垂直方向の幅分記憶するハーフトーンしきい値記憶手段からハーフトーンしきい値を読み込んで、読み込んだハーフトーンしきい値を用いて階調処理を行ない、該階調処理により生成したハーフトーンパターンを、前記描画幅のハーフトーンパターンを少なくとも前記ハーフトーンパターンの垂直方向の幅分記憶する前記ハーフトーンパターン記憶手段へ転送するハーフトーンパターン生成工程と、描画する水平ラインの垂直方向の位置を示す値から、対応するハーフトーンパターンを記憶した前記ハーフトーンパターン記憶手段のハーフトーンパターンアドレス値を生成するハーフトーンパターンアドレス生成手段と、前記描画幅を、前記ハーフトーンパターンの水平方向の幅で割ったときの余り値を求め、該余り値を用いて前記ハーフトーンパターン記憶手段に記憶されているハーフトーンパターンをシフトするためのハーフトーンパターンシフト値を生成するハーフトーンパターンシフト値生成工程と、前記ハーフトーンパターンアドレス値によるアクセスにより前記ハーフトーンパターン記憶手段から転送されるハーフトーンパターンを、前記ハーフトーンパターンシフト値生成工程により生成されたハーフトーンパターンシフト値を用いて、該ハーフトーンパターンシフト値分の巡回シフトを行なう巡回シフト工程と、前記巡回シフトにより、同一の階調値である描画オブジェクトに対応するハーフトーンパターンを繰り返し使用して描画する描画工程とを含み、前記ハーフトーンパターン生成工程による処理と前記描画工程による処理とを並列に行うことを特徴とする。   The present invention also relates to an image processing method executed by an image processing apparatus that draws an image after gradation processing in units of bands indicating a predetermined range area, in the horizontal direction when the image is decomposed into drawing units. The halftone threshold value is read from the halftone threshold value storage means for storing the halftone threshold value of the halftone pattern of the drawing width which is the width between the start point and the end point at least for the vertical width of the halftone pattern. Then, gradation processing is performed using the read halftone threshold value, and the halftone pattern generated by the gradation processing is stored for at least the halftone pattern of the drawing width in the vertical width of the halftone pattern. A halftone pattern generation process to be transferred to the halftone pattern storage means and a vertical position of a horizontal line to be drawn are shown. From the halftone pattern address generating means for generating the halftone pattern address value of the halftone pattern storage means storing the corresponding halftone pattern, and the drawing width divided by the horizontal width of the halftone pattern A halftone pattern shift value generating step for generating a halftone pattern shift value for shifting the halftone pattern stored in the halftone pattern storage means using the remainder value, A halftone pattern transferred from the halftone pattern storage means by access by a halftone pattern address value is converted into the halftone pattern using the halftone pattern shift value generated by the halftone pattern shift value generation step. A halftone pattern generating step, and a halftone pattern generating step, wherein a halftone pattern corresponding to a rendering object having the same gradation value is repeatedly drawn by the cyclic shift, and the halftone pattern is drawn. And the drawing process are performed in parallel.

本発明によれば、描画時間を短くするという効果を奏する。   According to the present invention, there is an effect of shortening the drawing time.

図1は、本実施形態に係る画像処理装置を適用可能な画像形成装置(カラープリンタとする)の機構部の構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a mechanism unit of an image forming apparatus (referred to as a color printer) to which the image processing apparatus according to the present embodiment can be applied. 図2は、画像形成装置100の電装・制御部のハードウェア構成の例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of the electrical / control unit of the image forming apparatus 100. 図3は、画像形成装置100における処理の一例の概略を示すフロー図である。FIG. 3 is a flowchart showing an outline of an example of processing in the image forming apparatus 100. 図4は、描画装置105の構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration example of the drawing apparatus 105. 図5は、描画処理装置123の構成例を示すブロック図である。FIG. 5 is a block diagram illustrating a configuration example of the drawing processing device 123. 図6は、水平ライン描画装置136の構成例を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration example of the horizontal line drawing device 136. 図7は、描画パラメータ設定コマンドのフォーマット例を示す図である。FIG. 7 is a diagram illustrating a format example of a drawing parameter setting command. 図8は、描画実行コマンドのフォーマット例を示す図である。FIG. 8 is a diagram illustrating a format example of a drawing execution command. 図9は、描画処理の一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of the drawing process. 図10は、パラメータ設定処理の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of the parameter setting process. 図11は、ハーフトーンパターン生成処理の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of halftone pattern generation processing. 図12は、コマンドの一例を示す図である。FIG. 12 is a diagram illustrating an example of a command. 図13は、バンド描画の一例を示す図である。FIG. 13 is a diagram illustrating an example of band drawing. 図14は、図12のコマンドによるバンド描画の処理時間と本実施形態によるバンド描画の処理時間とを比較する図である。FIG. 14 is a diagram comparing the band drawing processing time according to the command of FIG. 12 with the band drawing processing time according to the present embodiment.

以下に添付図面を参照して、画像処理装置および画像処理方法の一実施形態を詳細に説明する。   Hereinafter, an embodiment of an image processing apparatus and an image processing method will be described in detail with reference to the accompanying drawings.

図1は、本実施形態に係る画像処理装置を適用可能な画像形成装置(カラープリンタとする)の機構部の構成例を示す図である。図1に示す画像形成装置100において、像担持体であるベルト状の感光体1は、回転ローラ2,3により回動可能に支持され、その各回転ローラ2,3の駆動により矢示A方向に回動される。感光体1の外周部には、帯電手段である帯電装置4と、除電ランプLと、感光体1用のクリーニングブレード15Aとが配置されている。帯電装置4の下流位置には、光書込手段であるレーザ書き込みユニット5が配置される。   FIG. 1 is a diagram illustrating a configuration example of a mechanism unit of an image forming apparatus (referred to as a color printer) to which the image processing apparatus according to the present embodiment can be applied. In the image forming apparatus 100 shown in FIG. 1, a belt-like photosensitive member 1 as an image carrier is rotatably supported by rotating rollers 2 and 3, and the direction of the arrow A is driven by the rotating rollers 2 and 3. Is rotated. A charging device 4 that is a charging unit, a static elimination lamp L, and a cleaning blade 15 </ b> A for the photosensitive member 1 are disposed on the outer peripheral portion of the photosensitive member 1. A laser writing unit 5 serving as an optical writing unit is disposed at a downstream position of the charging device 4.

レーザ書き込みユニット5の上部には、複数の現像ユニット(現像手段)が切り換え自在に支持された多色現像装置6が配置されている。多色現像装置6は、収容するトナーの色毎に、イエロー現像ユニット、マゼンタ現像ユニット、シアン現像ユニットを備えている。多色現像装置6の上部には、黒色トナーを収容したブラック現像ユニット7が備えられている。   Above the laser writing unit 5, there is disposed a multicolor developing device 6 in which a plurality of developing units (developing means) are supported in a switchable manner. The multicolor developing device 6 includes a yellow developing unit, a magenta developing unit, and a cyan developing unit for each color of toner to be accommodated. A black developing unit 7 containing black toner is provided at the top of the multicolor developing device 6.

これらの各現像ユニットのいずれか1つが、対応する色の現像タイミングに同期して現像可能な位置に移動する。多色現像装置6は、円周上120度の回転によっていずれかの現像ユニットを選択する機能を有している。そして、これらの現像ユニットが稼動するときには、ブラック現像ユニット7は感光体1より離間した位置に移動する。その移動は、カム45の回転により行なわれる。   Any one of these development units moves to a position where development is possible in synchronization with the development timing of the corresponding color. The multicolor developing device 6 has a function of selecting any developing unit by rotating 120 degrees on the circumference. When these developing units operate, the black developing unit 7 moves to a position separated from the photoreceptor 1. The movement is performed by the rotation of the cam 45.

レーザ書き込みユニット5は、図示しないレーザ光源から複数色の画像形成信号(書き込み情報)に応じたレーザ光を順次発生させ、ポリゴンモータ5Aによって回転されるポリゴンミラー5Bを用いてそのレーザ光を周期的に偏向させ、fθレンズ5Cおよびミラー5Dなどを経て、帯電された感光体1の表面を走査してその表面に静電潜像を形成させる。   The laser writing unit 5 sequentially generates laser light according to image forming signals (writing information) of a plurality of colors from a laser light source (not shown), and periodically uses the polygon mirror 5B rotated by the polygon motor 5A. Then, the surface of the charged photoreceptor 1 is scanned through the fθ lens 5C and the mirror 5D, and an electrostatic latent image is formed on the surface.

感光体1の表面に形成される静電潜像は、対応する現像ユニットからのトナーによって現像され、トナー画像が形成されて保持される。中間転写ベルト10は、感光体1に隣接しており、回転ローラ11,12により矢示B方向に回動可能に支持されている。感光体1上のトナー画像は、中間転写ベルト10の裏側にある転写ブラシ(第1の転写手段)13により、その中間転写ベルト10の表面に転写される。   The electrostatic latent image formed on the surface of the photoreceptor 1 is developed with toner from the corresponding developing unit, and a toner image is formed and held. The intermediate transfer belt 10 is adjacent to the photoreceptor 1 and is supported by rotating rollers 11 and 12 so as to be rotatable in the direction indicated by the arrow B. The toner image on the photoreceptor 1 is transferred onto the surface of the intermediate transfer belt 10 by a transfer brush (first transfer means) 13 on the back side of the intermediate transfer belt 10.

感光体1の表面は1色毎にクリーニングブレード15Aによりクリーニングされ、その表面に所定色のトナー画像が形成される。そして、その都度中間転写ベルト10の1回動毎にその表面の同じ位置に感光体1上のトナー画像が転写されて、中間転写ベルト10上に複数色のトナー画像が重ね合わせられて保持される。その後、そのトナー画像は用紙やプラスチック等の記録媒体に転写される。   The surface of the photoreceptor 1 is cleaned for each color by the cleaning blade 15A, and a toner image of a predetermined color is formed on the surface. Each time the intermediate transfer belt 10 is rotated, the toner image on the photosensitive member 1 is transferred to the same position on the surface, and a plurality of color toner images are superimposed and held on the intermediate transfer belt 10. The Thereafter, the toner image is transferred to a recording medium such as paper or plastic.

用紙への転写に際しては、給紙装置(給紙カセット)17に収納されている用紙が給紙ローラ18によって繰り出されて搬送ローラ19により搬送され、レジストローラ対20に付き当てられた状態で一旦停止された後、トナー画像の転写位置が正規のものとなるようにタイミングがとられて中間転写ベルト10と転写ローラ(第2の転写手段)14のニップに再搬送される。   At the time of transfer onto the paper, the paper stored in the paper feeding device (paper feeding cassette) 17 is fed out by the paper feeding roller 18 and transported by the transporting roller 19, and is temporarily applied to the registration roller pair 20. After being stopped, the toner image is transferred to the nip between the intermediate transfer belt 10 and the transfer roller (second transfer means) 14 at a timing so that the transfer position of the toner image becomes normal.

そして、その用紙は転写ローラ14の作用により中間転写ベルト10上の複数色のトナー画像が一括転写された後、定着装置50に送られ、そこでトナー像が定着された後、排紙ローラ対51により本体フレーム9の上部の排紙スタック部52に排出される。   Then, after the toner images of a plurality of colors on the intermediate transfer belt 10 are collectively transferred by the action of the transfer roller 14, the sheet is sent to the fixing device 50, where the toner image is fixed, and then the paper discharge roller pair 51. As a result, the paper is discharged to the paper discharge stack 52 at the top of the main body frame 9.

中間転写ベルト10には、回転ローラ11の部位に中間転写ベルト10用のクリーニング装置16が設けられ、クリーニングブレード16Aがクリーニングブレード接離用アーム16Cを介して接離自在の構成となっている。このクリーニングブレード16Aは、感光体1からトナー画像を受け取る工程では、中間転写ベルト10から離れ、中間転写ベルト10より用紙にトナー画像が転写された後に接触するようになっていて、用紙にトナー画像が転写された後の残留トナーをかきとる。   The intermediate transfer belt 10 is provided with a cleaning device 16 for the intermediate transfer belt 10 at a portion of the rotation roller 11 so that the cleaning blade 16A can be contacted and separated via a cleaning blade contacting / separating arm 16C. In the process of receiving the toner image from the photoreceptor 1, the cleaning blade 16A is separated from the intermediate transfer belt 10 and comes into contact after the toner image is transferred from the intermediate transfer belt 10 to the paper. The residual toner after the toner is transferred is scraped off.

クリーニングブレードは、すでに記したように、感光体1用と中間転写ベルト10用がある。これらブレードがかきとった廃トナーは、回収容器15に収納する。その回収容器15は適宜交換される。中間転写ベルト10用のクリーニング装置16の内部に設けられたオーガ16Bが、クリーニングブレード16Aでかきとられた廃トナーを搬送し、図示しない搬送手段で回収容器15に送るようになっている。   As already described, there are cleaning blades for the photoreceptor 1 and the intermediate transfer belt 10. Waste toner scraped by these blades is stored in a collection container 15. The collection container 15 is replaced as appropriate. An auger 16B provided inside the cleaning device 16 for the intermediate transfer belt 10 conveys waste toner scraped off by the cleaning blade 16A and sends it to the collection container 15 by a conveying means (not shown).

ユニット化されたプロセスカートリッジ31は、感光体1と、帯電装置4と、中間転写ベルト10と、クリーニング装置16と、用紙搬送路を形成する搬送ガイド30とを一体に組み込み、寿命到来時に交換できるように構成されている。プロセスカートリッジ31の交換のほかに、多色現像装置6、ブラック現像ユニット7なども寿命到来時に交換するが、その交換性やジャム紙の処理を容易にするため、本体の一部の前フレーム8は支軸9Aを中心に開閉可能に回動できる構造にしてある。   The unitized process cartridge 31 incorporates the photosensitive member 1, the charging device 4, the intermediate transfer belt 10, the cleaning device 16, and a conveyance guide 30 that forms a sheet conveyance path, and can be replaced when the end of its life is reached. It is configured as follows. In addition to the replacement of the process cartridge 31, the multi-color developing device 6 and the black developing unit 7 are also replaced at the end of their service life. In order to facilitate the replacement and the handling of jammed paper, a part of the front frame 8 of the main body is replaced. Has a structure that can be opened and closed about the support shaft 9A.

図1の左側には、コントローラボード60が収納されている。その上方には、ファン58が備えられており、機内の温度過昇防止のために排風する。図の右側には、比較的小規模な別の給紙装置59が備えられている。なお、この実施形態では、中間転写体として中間転写ベルト10を使用したが、中間転写ドラムを使用することもできる。   A controller board 60 is housed on the left side of FIG. Above that, a fan 58 is provided, which exhausts air to prevent the temperature inside the machine from rising excessively. On the right side of the figure, another relatively small paper feeder 59 is provided. In this embodiment, the intermediate transfer belt 10 is used as an intermediate transfer member, but an intermediate transfer drum can also be used.

図2は、画像形成装置100の電装・制御部のハードウェア構成の例を示す図である。図2の電装・制御部は、コントローラボード60が、ネットワークを介してパーソナルコンピュータ(以下、「PC」という。)200に接続される。コントローラボード60は、CPU101と、CPU I/F102と、メモリアービター103と、メモリコントローラ104と、ハードウェア回路で構成される描画装置105と、エンジンコントローラ106と、通信コントローラ107と、ローカルI/F108と、ROM109と、パネルコントローラ110と、を含む。   FIG. 2 is a diagram illustrating an example of a hardware configuration of the electrical / control unit of the image forming apparatus 100. 2, the controller board 60 is connected to a personal computer (hereinafter referred to as “PC”) 200 via a network. The controller board 60 includes a CPU 101, a CPU I / F 102, a memory arbiter 103, a memory controller 104, a drawing device 105 including hardware circuits, an engine controller 106, a communication controller 107, and a local I / F 108. A ROM 109 and a panel controller 110.

CPU101は、画像形成装置100全体の制御を行う。CPU101は、また、PC200から伝送されるPDL(page description language)を解析し、描画コマンド、および、画像処理に必要な情報の生成等を行う。ここでは、所定の言語で記述されるとともに、画像の描画を指示する画像描画指示データの一例として、PDLを例示しているが、これに限定されるものではない。CPU I/F102は、CPU101のインタフェースであり、メモリアービター103を介してメインメモリ112及び他のコントローラ等に接続されている。メインメモリ112は、PDL、PDLを解析して得られる各種データ、PDLに含まれる画像(PDLを解析して得られる画像データ)に対して所定のハーフトーン処理が行われたハーフトーン処理後の画像データ(ハーフトーンパターン)、および、CPU101が実行するコンピュータプログラム等を格納する。   The CPU 101 controls the entire image forming apparatus 100. The CPU 101 also analyzes a PDL (page description language) transmitted from the PC 200, and generates a drawing command and information necessary for image processing. Here, PDL is illustrated as an example of image drawing instruction data described in a predetermined language and instructing image drawing. However, the present invention is not limited to this. The CPU I / F 102 is an interface of the CPU 101 and is connected to the main memory 112 and other controllers via the memory arbiter 103. The main memory 112 has a halftone process after a predetermined halftone process is performed on various data obtained by analyzing the PDL and PDL, and an image included in the PDL (image data obtained by analyzing the PDL). Stores image data (halftone pattern), a computer program executed by the CPU 101, and the like.

メモリアービター103は、メモリコントローラ104と各種のコントローラ間の調停を行う。メモリコントローラ104は、メインメモリ112をコントロールし、メモリアービター103を介して各種のコントローラやCPU101と接続される。   The memory arbiter 103 performs arbitration between the memory controller 104 and various controllers. The memory controller 104 controls the main memory 112 and is connected to various controllers and the CPU 101 via the memory arbiter 103.

描画装置105は、CPU101が生成した描画コマンドを読み込んで解析し、解析したコマンドに従ってバンド単位の描画処理を実行する。そして、描画したバンド画像をメインメモリ112のバンドメモリ領域に書き込む。エンジンコントローラ106は、プリンタエンジン114を制御する。プリンタエンジン114は、エンジンコントローラ106の制御により、画像を媒体上に形成する。PC200は、プリンタエンジン114に出力させる画像のPDLを作成し、ネットワークを介してPDLを画像形成装置100に対して出力する。   The drawing device 105 reads and analyzes the drawing command generated by the CPU 101, and executes drawing processing for each band according to the analyzed command. Then, the drawn band image is written in the band memory area of the main memory 112. The engine controller 106 controls the printer engine 114. The printer engine 114 forms an image on a medium under the control of the engine controller 106. The PC 200 creates an image PDL to be output to the printer engine 114, and outputs the PDL to the image forming apparatus 100 via a network.

通信コントローラ107は、ネットワークに接続され、ネットワークを介して接続されたPC200等から送信される各データやコマンド等を受信する。通信コントローラ107は、また、メモリアービター103を介して接続される各コントローラに対して受信したデータ等を出力し、各コントローラから入力されるデータ等を、PC200等に対して送信する。   The communication controller 107 is connected to the network and receives data, commands, and the like transmitted from the PC 200 or the like connected via the network. The communication controller 107 also outputs received data and the like to each controller connected via the memory arbiter 103, and transmits data and the like input from each controller to the PC 200 and the like.

ROM109は、CPU101が実行するコンピュータプログラムや、文字のフォント情報等を格納する。ROM109は、ローカルI/F108を介してメモリアービター103に接続される。パネルコントローラ110は、オペレーション用のパネル113を制御する。パネルコントローラ110は、ローカルI/F108を介してメモリアービター103に接続される。パネル113は、画像形成装置100の状態の表示を行い、また、画像形成装置100に対するユーザーからの操作入力を受け付ける。   The ROM 109 stores computer programs executed by the CPU 101, character font information, and the like. The ROM 109 is connected to the memory arbiter 103 via the local I / F 108. The panel controller 110 controls the operation panel 113. The panel controller 110 is connected to the memory arbiter 103 via the local I / F 108. The panel 113 displays the state of the image forming apparatus 100 and accepts an operation input from the user for the image forming apparatus 100.

図3は、画像形成装置100における処理の一例の概略を示すフロー図である。PDL記憶ステップS1では、PC200から入力されるPDLが、メインメモリ112に格納される。次の描画コマンド生成ステップS2では、CPU101は、メインメモリ112に格納されたPDLを読み出して解析し、描画コマンドを生成する。また、CPU101は、PDLを解析して得られる画像に対してハーフトーン処理を実行し、ハーフトーン処理後の画像データ(ハーフトーンパターン)を、メインメモリ112の所定の領域(ハーフトーンパターン格納領域)に書き込む。次の描画コマンド記憶ステップS3では、CPU101は、生成した描画コマンドをメインメモリ112の所定の領域に書き込む。次の描画処理ステップS4では、描画装置105は、メインメモリ112に格納された描画コマンドを読み出し、その読み出した描画コマンドに従って、バンド単位での画像の描画を実行する。CPU101は、描画したバンド画像をメインメモリに書き込んでいき、1ページ分のバンド画像がメインメモリ112に格納される(次のページ記憶ステップS5)。次に、プリンタエンジン114は、メインメモリ112から、描画装置105により描画された1ページ分の画像データを読み出し、印刷して出力する。   FIG. 3 is a flowchart showing an outline of an example of processing in the image forming apparatus 100. In the PDL storage step S <b> 1, the PDL input from the PC 200 is stored in the main memory 112. In the next drawing command generation step S2, the CPU 101 reads and analyzes the PDL stored in the main memory 112, and generates a drawing command. Further, the CPU 101 executes halftone processing on the image obtained by analyzing the PDL, and stores the image data (halftone pattern) after the halftone processing in a predetermined area (halftone pattern storage area) of the main memory 112. ). In the next drawing command storage step S <b> 3, the CPU 101 writes the generated drawing command in a predetermined area of the main memory 112. In the next drawing processing step S4, the drawing apparatus 105 reads the drawing command stored in the main memory 112, and executes drawing of the image in band units in accordance with the read drawing command. The CPU 101 writes the drawn band image in the main memory, and the band image for one page is stored in the main memory 112 (next page storage step S5). Next, the printer engine 114 reads the image data for one page drawn by the drawing device 105 from the main memory 112, prints it, and outputs it.

図4は、描画装置105の構成例を示すブロック図である。図4に示すように、描画装置105は、メモリアービターI/F121と、コマンド解析装置122と、描画処理装置123と、コントローラ124とを含む。メモリアービターI/F121は、コマンド解析装置122および描画処理装置123をメモリアービター103に接続するためのインタフェース装置である。   FIG. 4 is a block diagram illustrating a configuration example of the drawing apparatus 105. As illustrated in FIG. 4, the drawing device 105 includes a memory arbiter I / F 121, a command analysis device 122, a drawing processing device 123, and a controller 124. The memory arbiter I / F 121 is an interface device for connecting the command analysis device 122 and the drawing processing device 123 to the memory arbiter 103.

コマンド解析装置122は、メインメモリ112に格納された描画コマンドを読み出し、その読み出した描画コマンドを解析する。コマンド解析装置122は、読み出したコマンドが描画パラメータ設定コマンドである場合は、そのコマンドで特定される各種のパラメータを描画処理装置123へ転送し、次のコマンドをメインメモリ112から読み出す。一方、読み出したコマンドが描画実行コマンドである場合は、描画処理装置123に対して、そのコマンドで特定される各種のパラメータを転送した後、描画用起動信号を転送する。その後、コマンド解析装置122は、描画処理装置123からの描画終了信号を受信した場合に、次の描画コマンドをメインメモリ112から読み出す。また、コマンド解析装置122は、描画コマンドの先頭のコマンドであるバンド初期化コマンドを読み出した場合、そのバンド初期化コマンドで特定されるバンドパラメータ(例えばバンド先頭アドレス、バンド始点Y座標、バンド高さ、バンド幅等)を描画処理装置123へ転送した後、次のコマンドをメインメモリ112から読み出す。   The command analysis device 122 reads the drawing command stored in the main memory 112 and analyzes the read drawing command. If the read command is a drawing parameter setting command, the command analysis device 122 transfers various parameters specified by the command to the drawing processing device 123 and reads the next command from the main memory 112. On the other hand, if the read command is a drawing execution command, various parameters specified by the command are transferred to the drawing processing device 123, and then a drawing activation signal is transferred. Thereafter, when receiving a drawing end signal from the drawing processing device 123, the command analysis device 122 reads the next drawing command from the main memory 112. In addition, when the command analysis device 122 reads a band initialization command that is the head command of the drawing command, the band parameters (for example, the band head address, the band start point Y coordinate, the band height) specified by the band initialization command are read out. , Bandwidth, etc.) is transferred to the drawing processor 123, and the next command is read from the main memory 112.

描画処理装置123は、コマンド解析装置122から、各種のパラメータ(描画を行うための描画パラメータ)を受け取り、コマンド解析装置122から描画用起動信号を受信した場合に、描画処理を実行する。また、描画処理装置123は、描画処理が終了すると、描画処理の終了を示す終了信号をコマンド解析装置122へ転送する。描画処理装置123の詳細な構成については後述する。コントローラ124は、描画装置105全体を制御する手段である。   When the drawing processing device 123 receives various parameters (drawing parameters for drawing) from the command analysis device 122 and receives a drawing activation signal from the command analysis device 122, the drawing processing device 123 executes the drawing processing. In addition, when the drawing processing ends, the drawing processing device 123 transfers an end signal indicating the end of the drawing processing to the command analysis device 122. The detailed configuration of the drawing processing device 123 will be described later. The controller 124 is means for controlling the entire drawing apparatus 105.

図5は、描画処理装置123の構成例を示すブロック図である。図5に示すように、描画処理装置123は、DMAアドレス生成装置131と、DMA読み込み装置132と、バンドパラメータ記憶装置133と、グラフィックス用描画パラメータ記憶装置134と、水平ライン変換装置135と、水平ライン描画装置136と、グラフィックス用しきい値マトリックス記憶装置137と、コントローラ138とを含む。   FIG. 5 is a block diagram illustrating a configuration example of the drawing processing device 123. As shown in FIG. 5, the drawing processing device 123 includes a DMA address generating device 131, a DMA reading device 132, a band parameter storage device 133, a graphics drawing parameter storage device 134, a horizontal line conversion device 135, A horizontal line drawing device 136, a graphics threshold value matrix storage device 137, and a controller 138 are included.

DMAアドレス生成装置131は、コマンド解析装置122から、描画を行うためのパラメータなど、各DMAの先頭アドレス(グラフィックス画像しきい値先頭アドレスを含む)を受け取り、DMAアドレスを生成してDMA読み込み装置132へ転送する。DMA読み込み装置132は、DMAアドレス生成装置131から、各DMAの先頭アドレスを受信した場合、メモリアービターI/F121を介してメインメモリ112にアクセスし、メインメモリ112から各DMAの先頭アドレスで特定される領域に格納されたDMAデータを読み込み、グラフィックス用しきい値マトリックス記憶装置137に格納する。グラフィックス用しきい値マトリックス記憶装置137は、DMAされたしきい値マトリックスのデータを記憶する。グラフィックス用描画パラメータ記憶装置134は、コマンド解析装置122から転送されたグラフィックス用描画パラメータを記憶する。バンドパラメータ記憶装置133は、コマンド解析装置122から転送されたバンドパラメータを記憶する。水平ライン変換装置135は、グラフィックス用描画パラメータ記憶装置134に記憶された描画パラメータを読み出し、その読み出した描画パラメータを水平ラインデータに変換する。水平ラインデータには、水平ラインY値、水平ラインX始点値、水平ラインX終点値が含まれる。水平ライン描画装置136は、水平ライン変換装置135からの水平ラインデータに基づき、メモリアービターI/F121を介してメインメモリ112のバンドメモリ領域へ描画する。   The DMA address generation device 131 receives the start address of each DMA (including graphics image threshold start address) such as parameters for drawing from the command analysis device 122, generates a DMA address, and reads the DMA address. Transfer to 132. When the DMA reading device 132 receives the head address of each DMA from the DMA address generation device 131, the DMA reading device 132 accesses the main memory 112 via the memory arbiter I / F 121, and is specified by the head address of each DMA from the main memory 112. DMA data stored in the memory area is read and stored in the graphics threshold value matrix storage device 137. The graphics threshold matrix storage device 137 stores the DMA threshold matrix data. The graphics drawing parameter storage device 134 stores the graphics drawing parameters transferred from the command analysis device 122. The band parameter storage device 133 stores the band parameter transferred from the command analysis device 122. The horizontal line conversion device 135 reads the drawing parameters stored in the graphics drawing parameter storage device 134, and converts the read drawing parameters into horizontal line data. The horizontal line data includes a horizontal line Y value, a horizontal line X start point value, and a horizontal line X end point value. The horizontal line drawing device 136 draws in the band memory area of the main memory 112 via the memory arbiter I / F 121 based on the horizontal line data from the horizontal line conversion device 135.

図6は、水平ライン描画装置136の構成例を示すブロック図である。図6に示すように、水平ライン描画装置136は、ハーフトーンパターンアドレス生成装置141と、X始点ワード値生成装置142と、X終点ワード値生成装置143と、描画ワードX値生成装置144と、ハーフトーンパターンシフト値生成装置145と、描画マスク生成装置146と、ハーフトーンパターン記憶装置147と、巡回シフト装置148と、論理演算装置149と、描画アドレス生成装置150と、ハーフトーンパターン生成装置151と、ハーフトーンしきい値アドレス生成装置152と、水平描画コントローラ153とを含む。   FIG. 6 is a block diagram illustrating a configuration example of the horizontal line drawing device 136. As shown in FIG. 6, the horizontal line drawing device 136 includes a halftone pattern address generation device 141, an X start point word value generation device 142, an X end point word value generation device 143, a drawing word X value generation device 144, Halftone pattern shift value generation device 145, drawing mask generation device 146, halftone pattern storage device 147, cyclic shift device 148, logical operation device 149, drawing address generation device 150, and halftone pattern generation device 151 A halftone threshold address generation device 152 and a horizontal drawing controller 153.

ハーフトーンパターンアドレス生成装置141は、水平ライン変換装置135から転送された水平ラインY値と、DMA読み込み装置132で読み込まれたハーフトーンパターンのY方向(垂直方向)の幅(Y幅)とから、水平ラインY値−MOD−ハーフトーンパターンY幅を行い(水平ラインY値をハーフトーンパターンY幅で除算するMOD演算を行い)、割り算の余りであるハーフトーンパターンのY値を求め、ハーフトーンパターンアドレスとして、ハーフトーンパターン記憶装置147へ転送する。   The halftone pattern address generator 141 uses the horizontal line Y value transferred from the horizontal line converter 135 and the Y direction (vertical direction) width (Y width) of the halftone pattern read by the DMA reader 132. , Horizontal line Y value-MOD-halftone pattern Y width (performs MOD operation to divide horizontal line Y value by halftone pattern Y width) to obtain the Y value of the halftone pattern which is the remainder of division. Transfer to the halftone pattern storage device 147 as the tone pattern address.

X始点ワード値生成装置142は、水平ライン変換装置135から転送された水平ラインX始点値から、描画ワード単位の描画ワードX始点値を求め、描画ワードX値生成装置144へ転送する。   The X start point word value generation unit 142 obtains a drawing word X start point value for each drawing word from the horizontal line X start point value transferred from the horizontal line conversion unit 135 and transfers the drawing word X start point value to the drawing word X value generation unit 144.

X終点ワード値生成装置143は、水平ライン変換装置135から転送された水平ラインX終点値から、描画ワード単位の描画ワードX終点値を求め、描画ワードX値生成装置144へ転送する。   The X end point word value generation device 143 obtains a drawing word X end point value for each drawing word from the horizontal line X end point value transferred from the horizontal line conversion device 135 and transfers it to the drawing word X value generation device 144.

描画ワードX値生成装置144は、描画ワード単位のX始点値からX終点値の描画ワードX値を生成し、ハーフトーンパターンシフト値生成装置145へ転送する。なお、描画ワードX値は、画像を描画単位に分解した場合の水平方向の始点と終点との幅である。   The drawing word X value generation device 144 generates the drawing word X value of the X end point value from the X start point value in units of drawing words, and transfers it to the halftone pattern shift value generation device 145. The drawing word X value is the width between the start point and end point in the horizontal direction when the image is decomposed into drawing units.

ハーフトーンパターンシフト値生成装置145は、描画ワードX値生成装置144から転送される描画ワードX値と、DMA読み込み装置132で読み込まれたハーフトーンパターンのX方向の幅(X幅)とから、描画ワードX値−MOD−ハーフトーンパターンX幅を行い、割り算の余りであるハーフトーンパターンのX値を求め、ハーフトーンパターンシフト値として巡回シフト装置148へ転送する。   The halftone pattern shift value generation device 145 calculates the drawing word X value transferred from the drawing word X value generation device 144 and the width in the X direction (X width) of the halftone pattern read by the DMA reading device 132. The drawing word X value-MOD-halftone pattern X width is calculated, the X value of the halftone pattern which is the remainder of the division is obtained, and transferred to the cyclic shift device 148 as the halftone pattern shift value.

描画マスク生成装置146は、水平ライン変換装置135から転送される水平ラインX始点値および水平ラインX終点値から、描画ワードごとのX始点からX終点までの描画マスクを生成し、論理演算装置149へ転送する。   The drawing mask generation device 146 generates a drawing mask from the X start point to the X end point for each drawing word from the horizontal line X start point value and the horizontal line X end point value transferred from the horizontal line conversion device 135, and the logical operation device 149. Forward to.

ハーフトーンパターン記憶装置147は、ハーフトーンパターンの描画ワードの水平ラインを、ハーフトーンパターンのY幅分記憶する記憶装置であり、ハーフトーンパターンアドレス生成装置141からのハーフトーンパターンアドレスによりアクセスされたハーフトーンパターン値を巡回シフト装置148へ転送する。   The halftone pattern storage device 147 is a storage device that stores horizontal lines of halftone pattern drawing words for the Y width of the halftone pattern, and is accessed by the halftone pattern address from the halftone pattern address generation device 141. The halftone pattern value is transferred to the cyclic shift device 148.

巡回シフト装置148は、ハーフトーンパターン記憶装置147からハーフトーンパターン値を、ハーフトーンパターンシフト値生成装置145からハーフトーンパターンシフト値を、描画パラメータ記憶装置134からハーフトーンパターンあまり値を受け取り、ハーフトーンパターン値を巡回シフトし、巡回シフト後のハーフトーンパターン値を論理演算装置149へ転送する。   The cyclic shift unit 148 receives a halftone pattern value from the halftone pattern storage unit 147, a halftone pattern shift value from the halftone pattern shift value generation unit 145, and a halftone pattern value from the drawing parameter storage unit 134. The tone pattern value is cyclically shifted, and the halftone pattern value after the cyclic shift is transferred to the logical operation device 149.

論理演算装置149は、AND回路で構成され、巡回シフト装置148からの巡回シフト後のハーフトーンパターン値と、描画マスク生成装置146からの描画マスクとの論理積を求めて描画パターン値を生成し、その生成した描画パターン値をメモリアービターI/F121へ転送する。   The logical operation device 149 is configured by an AND circuit, and generates a drawing pattern value by obtaining a logical product of the halftone pattern value after the cyclic shift from the cyclic shift device 148 and the drawing mask from the drawing mask generation device 146. Then, the generated drawing pattern value is transferred to the memory arbiter I / F 121.

描画アドレス生成装置150は、水平ライン変換装置135からの水平ラインY値および水平ラインX始点値からメインメモリ112のバンドメモリへ描画するアドレスである描画アドレスを生成し、メモリアービターI/F121へ転送する。水平描画コントローラ153は、水平ライン描画装置136全体を制御する。   The drawing address generation device 150 generates a drawing address that is an address for drawing in the band memory of the main memory 112 from the horizontal line Y value and the horizontal line X start point value from the horizontal line conversion device 135 and transfers them to the memory arbiter I / F 121. To do. The horizontal drawing controller 153 controls the entire horizontal line drawing device 136.

ハーフトーンパターン生成装置151は、描画実行コマンド(図8参照)を受け取った後に起動し、グラフィックス用しきい値マトリックス記憶装置137の指定されたしきい値テーブルアドレスからしきい値を読み込み、色値で階調処理を行い、ハーフトーンパターン記憶装置147に階調処理後のハーフトーンパターンを格納する。   The halftone pattern generation device 151 is activated after receiving the drawing execution command (see FIG. 8), reads the threshold value from the specified threshold value table address of the graphics threshold value matrix storage device 137, and sets the color. The gradation processing is performed with the value, and the halftone pattern after the gradation processing is stored in the halftone pattern storage device 147.

ハーフトーンしきい値アドレス生成装置152は、描画パラメータ設定コマンド(図7参照)を受取った後に起動し、グラフィックス用しきい値マトリックス記憶装置137の指定されたしきい値テーブルアドレスからしきい値のアドレスを生成する。   The halftone threshold address generation device 152 is activated after receiving the drawing parameter setting command (see FIG. 7), and starts from the specified threshold table address of the graphics threshold matrix storage device 137. Generate an address for

水平描画コントローラ153は、水平ライン描画装置136による処理動作全体を制御する。   The horizontal drawing controller 153 controls the entire processing operation performed by the horizontal line drawing device 136.

図7は、描画パラメータ設定コマンドのフォーマット例を示す図である。図8は、描画実行コマンドのフォーマット例を示す図である。描画コマンドは、図7に示す描画パラメータ設定コマンドと、図8に示す描画実行コマンドとに分けることができる。   FIG. 7 is a diagram illustrating a format example of a drawing parameter setting command. FIG. 8 is a diagram illustrating a format example of a drawing execution command. Drawing commands can be divided into drawing parameter setting commands shown in FIG. 7 and drawing execution commands shown in FIG.

図7に、バンド初期化コマンド(1)、しきい値テーブル設定コマンド(2)、バンド終了コマンド(3)を示す。   FIG. 7 shows a band initialization command (1), a threshold table setting command (2), and a band end command (3).

図7に示すバンド初期化コマンド(1)は、バンドの先頭アドレスとバンドの高さと幅を定義するためのコマンドである。図4に示すコマンド解析装置122は、このコマンドを受け取ると、バンドの先頭アドレスと、バンドの高さと幅を格納する。   The band initialization command (1) shown in FIG. 7 is a command for defining the start address of the band, the height and width of the band. When the command analysis device 122 shown in FIG. 4 receives this command, it stores the start address of the band and the height and width of the band.

図7に示すしきい値テーブル設定コマンド(2)は、ハーフトーンしきい値を設定するためのコマンドである。図4に示すコマンド解析装置122は、このコマンドを受け取ると、(グラフィックス画像)しきい値先頭アドレスを設定し、図5に示すDMAアドレス生成装置131およびDMA読み込み装置132を起動することにより、図2に示すメインメモリ112の描画コマンド領域の中から指定されたしきい値を順次読み込んで、図5に示すグラフィックス用しきい値マトリックス記憶装置137に書き込む。また、図4に示すコマンド解析装置122は、ディザX,Yサイズを、図5に示すグラフィックス用描画パラメータ記憶装置134に格納する。なお、ハーフトーンしきい値とは、多値の画像を少値(2値/4値など)に変換するハーフトーン処理のしきい値マトリックスの値である。組織的ディザ法のしきい値マトリックスを空間周波数特性から大別すると、中心を格に順次太っていくように構成されたドット集中型とドットがなるべく分散するように構成されたドット分散型の2種に分類される。また、ディザX,Yサイズとは、ハーフトーンしきい値(しきい値マトリックス)のX方向のサイズとY方向のサイズを示す。   The threshold value table setting command (2) shown in FIG. 7 is a command for setting a halftone threshold value. Upon receiving this command, the command analysis device 122 shown in FIG. 4 sets a (graphics image) threshold start address, and starts the DMA address generation device 131 and the DMA reading device 132 shown in FIG. The specified threshold values are sequentially read from the drawing command area of the main memory 112 shown in FIG. 2 and written into the graphics threshold value matrix storage device 137 shown in FIG. Further, the command analysis device 122 shown in FIG. 4 stores the dither X and Y sizes in the graphics drawing parameter storage device 134 shown in FIG. The halftone threshold value is a threshold matrix value for halftone processing for converting a multivalued image into a small value (binary / 4 value, etc.). When the threshold matrix of the systematic dither method is roughly classified from the spatial frequency characteristics, the dot concentration type configured to gradually increase the center and the dot dispersion type configured to disperse the dots as much as possible. Classified into species. The dither X and Y sizes indicate the size in the X direction and the size in the Y direction of the halftone threshold value (threshold matrix).

図7に示すバンド終了コマンド(3)は、定義したバンドの描画処理を終了するためのコマンドである。図4に示すコマンド解析装置122は、このコマンドを受け取ると、そのバンドの描画処理を終了する。   The band end command (3) shown in FIG. 7 is a command for ending the drawing process of the defined band. Upon receiving this command, the command analysis device 122 shown in FIG. 4 ends the drawing process for the band.

図8に、四角形描画コマンド(1)と、3角形描画コマンド(2)を示す。   FIG. 8 shows a rectangle drawing command (1) and a triangle drawing command (2).

図8に示す四角形描画コマンド(1)は、指定された四角形の左上の座標から右下の座標までの四角形を描画するためのコマンドである。図4に示すコマンド解析装置122は、このコマンドを受け取ると、四角形の左上の座標、右下の座標、および四角形コマンド名を、図5に示すグラフィックス用描画パラメータ記憶装置134に格納し、図4に示す描画処理装置123を起動する。   The rectangle drawing command (1) shown in FIG. 8 is a command for drawing a rectangle from the upper left coordinate to the lower right coordinate of the designated rectangle. When receiving this command, the command analysis device 122 shown in FIG. 4 stores the upper left coordinates of the rectangle, the lower right coordinates, and the rectangle command name in the graphics drawing parameter storage device 134 shown in FIG. 4 is activated.

図8に示す3角形描画コマンド(2)は、指定された3角形の頂点から3角形を描画するためのコマンドである。図4に示すコマンド解析装置122は、このコマンドを受け取ると、3角形の頂点の座標を、グラフィックス用描画パラメータ記憶装置134に格納し、図4に示す描画処理装置123を起動する。   The triangle drawing command (2) shown in FIG. 8 is a command for drawing a triangle from the apex of the specified triangle. Upon receiving this command, the command analysis device 122 shown in FIG. 4 stores the coordinates of the triangle vertices in the graphics drawing parameter storage device 134 and activates the drawing processing device 123 shown in FIG.

図9は、描画処理の一例を示すフローチャートである。図9は、図2に示す描画装置105による描画処理の一例を示す。   FIG. 9 is a flowchart illustrating an example of the drawing process. FIG. 9 shows an example of a drawing process performed by the drawing apparatus 105 shown in FIG.

図9に示すように、描画装置105は、描画コマンドを読み込む(S101)。続いて、描画装置105は、読み込んだ描画コマンドが描画実行コマンド(四角形描画コマンド、OR、3角形描画コマンド、図8参照)であるか否かを判定する(S102)。   As shown in FIG. 9, the drawing apparatus 105 reads a drawing command (S101). Subsequently, the drawing apparatus 105 determines whether or not the read drawing command is a drawing execution command (rectangular drawing command, OR, triangle drawing command, see FIG. 8) (S102).

判定の結果、描画実行コマンドである場合には(S102、Yes)、描画装置105は、グラフィックス用描画パラメータ記憶装置134に描画パラメータを設定する(S103)。なお、グラフィックス用描画パラメータ記憶装置134をダブルバッファとして、1面に実行中の描画処理の描画パラメータを格納し、もう1面に次の描画時の描画パラメータを格納するように構成することができる。   If it is determined that the command is a drawing execution command (S102, Yes), the drawing device 105 sets drawing parameters in the graphics drawing parameter storage device 134 (S103). The graphics drawing parameter storage device 134 may be configured as a double buffer so that the drawing parameters of the drawing process being executed are stored on one side and the drawing parameters for the next drawing are stored on the other side. it can.

続いて、描画装置105は、描画実行コマンドで設定される色値が、ハーフトーンパターン記憶装置147の色値と同じであるか否かを判定する(S104)。   Subsequently, the drawing device 105 determines whether or not the color value set by the drawing execution command is the same as the color value of the halftone pattern storage device 147 (S104).

判定の結果、ハーフトーンパターンの色値が異なる場合には(S104、No)、描画装置105は、ハーフトーンパターン生成処理(図11参照)を実行して(S105)、ステップS106の処理へ移る。一方、判定の結果、ハーフトーンパターンの色値が同じである場合には(S104、Yes)、描画装置105は、ハーフトーンパターン生成処理を実行せずに、そのまま、ステップS106の処理へ移る。なお、ハーフトーンパターン記憶装置147をダブルバッファとして、1面に描画時のハーフトーンパターンを格納し、もう1面に次の描画時のハーフトーンパターンを格納するように構成することができる。   If the halftone pattern color values are different as a result of the determination (S104, No), the drawing apparatus 105 executes a halftone pattern generation process (see FIG. 11) (S105), and proceeds to the process of step S106. . On the other hand, as a result of the determination, if the color values of the halftone patterns are the same (S104, Yes), the drawing apparatus 105 proceeds to the process of step S106 without executing the halftone pattern generation process. Note that the halftone pattern storage device 147 can be configured as a double buffer so that the halftone pattern at the time of drawing is stored on one side and the halftone pattern at the time of the next drawing is stored on the other side.

続いて、描画装置105は、現在、描画中(描画処理の実行中)であるか否かを判定する(S106)。   Subsequently, the drawing apparatus 105 determines whether or not drawing is currently being performed (drawing processing is being executed) (S106).

判定の結果、描画中(描画処理の実行中)である場合には(S106、Yes)、描画装置105は、描画が終了するまで待機し(S107)、描画終了後、S108の処理へ移る。一方、判定の結果、描画中(描画処理の実行中)ではない場合には(S106、No)、描画装置105は、そのまま、S108の処理へ移る。   If the result of the determination is that drawing is being performed (drawing process is being executed) (Yes in S106), the drawing apparatus 105 waits until drawing is completed (S107), and after drawing is completed, the process proceeds to S108. On the other hand, if the result of determination is that drawing is not being performed (drawing process is being executed) (No at S106), the drawing apparatus 105 proceeds to the process of S108 as it is.

続いて、描画装置105は、描画処理が終了すると、グラフィックス用描画パラメータ記憶装置134およびハーフトーンパターン記憶装置147を描画するパラメータに切替えて、起動信号を発生して、描画処理装置123を起動し(S108)、上述したステップS101へ戻る。   Subsequently, when the drawing processing is completed, the drawing device 105 switches the drawing parameter storage device for graphics 134 and the halftone pattern storage device 147 to parameters for drawing, generates an activation signal, and activates the drawing processing device 123. (S108), the process returns to step S101 described above.

ここで、上述したステップS102において、判定の結果、描画実行コマンドではない場合には(S102、No)、描画装置105は、描画終了コマンド(図7の(3)参照)であるか否かを判定する(S109)。判定の結果、描画終了コマンドではない場合には(S109、No)、描画装置105は、パラメータ設定処理(図10参照)を実行し(S110)、上述したステップS101へ戻る。一方、判定の結果、描画終了コマンドである場合には(S109、Yes)、描画装置105は、描画処理を終了し、描画処理の終了をCPU101へ通知して、処理を終了する。   If the result of determination in step S102 is not a drawing execution command (S102, No), the drawing apparatus 105 determines whether or not it is a drawing end command (see (3) in FIG. 7). Determination is made (S109). If the result of determination is not a drawing end command (S109, No), the drawing apparatus 105 executes parameter setting processing (see FIG. 10) (S110), and returns to step S101 described above. On the other hand, if the result of the determination is a drawing end command (S109, Yes), the drawing apparatus 105 ends the drawing process, notifies the CPU 101 of the end of the drawing process, and ends the process.

上述してきたように、図9では、ハーフトーンパターンアドレス値に対応するハーフトーンパターンを用いてハーフトーンパターンシフト値分の巡回シフト処理を行なうことにより、同じ階調値である描画オブジェクトに対して、効率よくハーフトーンパターンを使用して描画処理を行う一方で、階調値である描画オブジェクトについては、実行中の描画処理と並行してハーフトーンパターンの生成を行う。   As described above, in FIG. 9, by performing the cyclic shift process for the halftone pattern shift value using the halftone pattern corresponding to the halftone pattern address value, the drawing objects having the same gradation value are processed. While the drawing process is efficiently performed using the halftone pattern, the halftone pattern is generated for the drawing object having the gradation value in parallel with the drawing process being executed.

図10は、パラメータ設定処理の一例を示すフローチャートである。図10に示すように、描画装置105は、上述した図9のS101で読み込んだ描画コマンドが、バンド初期化コマンドであるか否かを判定する(S201)。   FIG. 10 is a flowchart illustrating an example of the parameter setting process. As shown in FIG. 10, the drawing apparatus 105 determines whether or not the drawing command read in S101 of FIG. 9 described above is a band initialization command (S201).

判定の結果、描画コマンドが、バンド初期化コマンドではない場合には(S201、Yes)、描画装置105は、描画コマンドがしきい値テーブル設定コマンド(図7の(2)参照)であるものと判定し、メインメモリ112に記憶されている描画領域のしきい値を、コマンドパラメータの(グラフィックス画像)しきい値先頭アドレスから順次読み込んで、読み込んだしきい値をグラフィックス用しきい値マトリックス記憶装置137に書き込む(S202)。   As a result of the determination, if the drawing command is not a band initialization command (S201, Yes), the drawing apparatus 105 assumes that the drawing command is a threshold table setting command (see (2) in FIG. 7). The threshold value of the drawing area stored in the main memory 112 is sequentially read from the (graphics image) threshold value leading address of the command parameter, and the read threshold value is stored in the graphics threshold value matrix. Writing to the device 137 (S202).

判定の結果、描画コマンドが、バンド初期化コマンドである場合には(S201、Yes)、描画装置105は、バンド初期化コマンドのコマンドパラメータをバンドパラメータ記憶装置133に書き込む(S203)。   If the drawing command is a band initialization command as a result of the determination (S201, Yes), the drawing device 105 writes the command parameter of the band initialization command in the band parameter storage device 133 (S203).

なお、描画装置105は、ステップS202またはステップS203の処理後、上述した図9のステップS101に戻る。   The drawing apparatus 105 returns to step S101 of FIG. 9 described above after the processing of step S202 or step S203.

図11は、ハーフトーンパターン生成処理の一例を示すフローチャートである。図11は、ディザのX方向およびY方向のサイズのしきい値を、描画コマンドの色値で階調処理後の1ビットを生成し、ハーフトーンパターンを生成する処理を示す。図11に示すように、描画装置105は、IY=0とし(S301)、IX=0(S302)として、しきい値テーブルの[IY]の値,[IX]の値が、色値未満であるか否かを判定する(303)。   FIG. 11 is a flowchart illustrating an example of halftone pattern generation processing. FIG. 11 shows a process of generating a halftone pattern by generating one bit after gradation processing using the threshold values of the dither X-direction and Y-direction sizes using the color values of the drawing command. As shown in FIG. 11, the drawing apparatus 105 sets IY = 0 (S301) and IX = 0 (S302), and the values of [IY] and [IX] in the threshold value table are less than the color values. It is determined whether or not there is (303).

判定の結果、しきい値テーブルの[IY],[IX]それぞれの値が、色値未満である場合には(S303、Yes)、描画装置105は、ハーフトーンパターン[IY],[IX]=1とする(S304)。一方、判定の結果、しきい値テーブルの[IY],[IX]それぞれの値が、色値未満ではない場合には(S303、No)、描画装置105は、ハーフトーンパターン[IY],[IX]=0とする(S305)。   As a result of the determination, if the values of [IY] and [IX] in the threshold value table are less than the color value (S303, Yes), the drawing apparatus 105 determines the halftone patterns [IY] and [IX]. = 1 (S304). On the other hand, as a result of the determination, if the values of [IY] and [IX] in the threshold value table are not less than the color value (S303, No), the drawing apparatus 105 determines that the halftone patterns [IY] and [IY] IX] = 0 (S305).

続いて、描画装置105は、IX=IX+1とし(S306)、IXのサイズが、ディザXサイズ(ディザのX方向のサイズ)未満であるか否かを判定する(S307)。   Subsequently, the drawing apparatus 105 sets IX = IX + 1 (S306), and determines whether or not the size of IX is less than the dither X size (the size of the dither in the X direction) (S307).

判定の結果、IXのサイズが、ディザXサイズ未満である場合には(S307、Yes)、描画装置105は、上述したS303に戻る。一方、判定の結果、IXのサイズが、ディザXサイズ未満ではない場合には(S307、No)、描画装置105は、IY=IY+1とし(S308)、IYのサイズが、ディザYサイズ(ディザのY方向のサイズ)未満であるか否かを判定する(S309)。   As a result of the determination, if the size of IX is smaller than the dither X size (S307, Yes), the drawing apparatus 105 returns to S303 described above. On the other hand, if the result of determination is that the size of IX is not less than the dither X size (S307, No), the drawing apparatus 105 sets IY = IY + 1 (S308), and the IY size is dither Y size (dither size). It is determined whether or not it is less than the size in the Y direction (S309).

判定の結果、IYのサイズが、ディザYサイズ未満である場合には(S309、Yes)、描画装置105は、上述したS302に戻る。一方、判定の結果、IYのサイズが、ディザYサイズ未満ではない場合には(S309、No)、描画装置105は、上述した図9のステップS106に戻る。   If the result of determination is that the IY size is less than the dither Y size (S309, Yes), the drawing apparatus 105 returns to S302 described above. On the other hand, if the result of determination is that the IY size is not less than the dither Y size (S309, No), the drawing apparatus 105 returns to step S106 of FIG. 9 described above.

なお、図11は、階調処理後のビットが1ビットである場合の処理を示すが、階調処理後のビットが2ビットである場合や4ビットである場合も同様に考えることができる。   Note that FIG. 11 shows processing when the bit after gradation processing is 1 bit, but the same can be considered when the bit after gradation processing is 2 bits or 4 bits.

図12は、コマンドの一例を示す図である。図13は、バンド描画の一例を示す図である。図14は、図12のコマンドによるバンド描画の処理時間と本実施形態によるバンド描画の処理時間とを比較する図である。   FIG. 12 is a diagram illustrating an example of a command. FIG. 13 is a diagram illustrating an example of band drawing. FIG. 14 is a diagram comparing the band drawing processing time according to the command of FIG. 12 with the band drawing processing time according to the present embodiment.

図12に示すコマンド(1)のバンド初期化コマンドは描画パラメータ設定コマンドである。バンド初期化コマンドには、例えば、描画バンドの先頭アドレスと、描画バンドの左上の始点Y座標と、描画バンドの高さと、描画バンドの幅とが設定される(例えば、図7の(1)など参照)。   The band initialization command of command (1) shown in FIG. 12 is a drawing parameter setting command. In the band initialization command, for example, the drawing band start address, the upper left starting point Y coordinate of the drawing band, the height of the drawing band, and the width of the drawing band are set (for example, (1) in FIG. 7). Etc.)

図12に示すに示すコマンド(1)のハーフトーンパターンセットコマンドは描画パラメータ設定コマンドである。ハーフトーンパターンセットコマンドには、例えば、ディザのX方向およびY方向のサイズと、ハーフトーン先頭アドレスとが設定される。ハーフトーンパターン先頭アドレスは、メインメモリ112における、階調処理後のハーフトーンパターンの格納場所を特定するためのアドレスである。なお、階調処理後のハーフトーンパターンは、上述した図3に示す描画コマンド生成ステップS2により、ソフトで使用される色値ごとに、ディザのX方向およびY方向のサイズで生成される。   The halftone pattern set command of command (1) shown in FIG. 12 is a drawing parameter setting command. In the halftone pattern set command, for example, the size of the dither in the X and Y directions and the halftone head address are set. The halftone pattern head address is an address for specifying the storage location of the halftone pattern after gradation processing in the main memory 112. Note that the halftone pattern after gradation processing is generated in the X-direction and Y-direction sizes of the dither for each color value used in the software by the above-described drawing command generation step S2 shown in FIG.

図12に示すコマンド(1)の四角形描画コマンドは、四角形の描画を指示する描画実行コマンドである。図12に示す四角形描画コマンドには、例えば、メインメモリ112のバンド領域に、ページ座標の四角形の左上および右下の頂点の座標が設定される(例えば、図8の(1)参照)。例えば、図12のコマンド(1)の四角形描画コマンドでは、ハーフトーンパターンセットコマンドにより3つの色が設定されている。   The rectangle drawing command of command (1) shown in FIG. 12 is a drawing execution command for instructing drawing of a rectangle. In the rectangle drawing command shown in FIG. 12, for example, the coordinates of the upper left and lower right vertices of the page coordinate rectangle are set in the band area of the main memory 112 (see, for example, (1) in FIG. 8). For example, in the rectangular drawing command of command (1) in FIG. 12, three colors are set by the halftone pattern set command.

図12に示すコマンド(1)のバンド終了コマンドは、定義したバンドの描画処理を終了するためのコマンドである。   The band end command of command (1) shown in FIG. 12 is a command for ending the drawing processing of the defined band.

図12に示すコマンド(2)のバンド初期化コマンドは描画パラメータ設定コマンドである。バンド初期化コマンドには、例えば、描画バンドの先頭アドレスと、描画バンドの左上の始点Y座標と、描画バンドの高さと、描画バンドの幅とが設定される(例えば、図7の(1)など参照)。   The band initialization command of command (2) shown in FIG. 12 is a drawing parameter setting command. In the band initialization command, for example, the drawing band start address, the upper left starting point Y coordinate of the drawing band, the height of the drawing band, and the width of the drawing band are set (for example, (1) in FIG. 7). Etc.)

図12に示すコマンド(2)のしきい値テーブルセットコマンドは描画パラメータ設定コマンドである。しきい値テーブルセットコマンドには、ディザのX方向およびY方向のサイズと、しきい値テーブル先頭アドレスとが設定される(例えば、図7の(2)など参照)。しきい値テーブル先頭アドレスは、メインメモリ112における、グラフィックスディザのしきい値を格納場所を特定するためのアドレスである。グラフィックスディザのしきい値は、ディザサイズのものを持っており、描画装置105は、描画コマンドで指定された色値により、階調処理後のハーフトーンパターンを生成する。   The threshold value table set command of command (2) shown in FIG. 12 is a drawing parameter setting command. In the threshold table set command, the dither size in the X and Y directions and the threshold table head address are set (for example, see (2) in FIG. 7). The threshold table head address is an address for specifying the storage location of the graphics dither threshold in the main memory 112. The threshold value of the graphics dither has a dither size, and the drawing device 105 generates a halftone pattern after gradation processing based on the color value specified by the drawing command.

図12に示すコマンド(2)の四角形描画コマンドは、四角形の描画を指示する描画実行コマンドである。図12に示すコマンド(2)のバンド終了コマンドは、定義したバンドの描画処理を終了するためのコマンドである。   The quadrangle drawing command of command (2) shown in FIG. 12 is a drawing execution command for instructing drawing of a rectangle. The band end command of command (2) shown in FIG. 12 is a command for ending the drawing process of the defined band.

描画装置105は、描画コマンド(図12に示すコマンド(1)や(2)など)をメインメモリ112から読み出し、その読み出したコマンドに従って描画処理を実行する。   The drawing apparatus 105 reads a drawing command (commands (1) and (2) shown in FIG. 12) from the main memory 112, and executes drawing processing according to the read command.

例えば、図12に示すコマンド(1)を読み出した場合、描画装置105は、まず、バンド初期化コマンドを読み出し、描画が行われるバンドを特定する。続いて、描画装置105は、ハーフトーンパターンセットコマンド(1)を読み出し、バンドに対応する階調処理後のハーフトーンパターンをメインメモリ112から読み出す。続いて、描画装置105は、四角形の描画を指示する四角形描画コマンド(1)を読み出し、四角形の描画処理を実行する。描画装置105は、バンド終了コマンドの読み出しが行われるまで、以上の処理を繰り返し行い、バンド終了コマンドの読み出しが行われると、描画処理を終了する。   For example, when the command (1) shown in FIG. 12 is read, the drawing apparatus 105 first reads a band initialization command and specifies a band on which drawing is performed. Subsequently, the drawing apparatus 105 reads the halftone pattern set command (1), and reads the halftone pattern after gradation processing corresponding to the band from the main memory 112. Subsequently, the drawing apparatus 105 reads a rectangle drawing command (1) for instructing drawing of a rectangle, and executes a rectangle drawing process. The drawing apparatus 105 repeats the above processing until the reading of the band end command is performed, and when the reading of the band end command is performed, the drawing processing is ended.

上述してきたように、図12に示すコマンド(1)による描画処理では、描画装置105は、ハーフトーンパターンセットコマンド(1)が来ると、指定されたハーフトーンパターン先頭アドレスから、階調処理後のハーフトーンパターンを順次読み込む。このように、図12に示すコマンド(1)による描画処理では、描画の都度、描画する前にハーフトーンパターンを読み込む必要があるので、その分、描画時間が長くなってしまう。また、図12には示していないが、階調処理によりハーフトーンパターンを生成する必要があるので、その分のソフトの処理時間が長くなってしまう。   As described above, in the drawing process using the command (1) shown in FIG. 12, when the halftone pattern set command (1) is received, the drawing apparatus 105 performs the gradation process from the designated halftone pattern start address. The halftone patterns are read sequentially. As described above, in the drawing process by the command (1) shown in FIG. 12, it is necessary to read the halftone pattern before drawing every time drawing is performed, so that the drawing time is increased accordingly. Although not shown in FIG. 12, since it is necessary to generate a halftone pattern by gradation processing, the software processing time is increased accordingly.

また、図12に示すコマンド(2)を読み出した場合、描画装置105は、まず、バンド初期化コマンドを読み出し、描画が行われるバンドを特定する。続いて、描画装置105は、しきい値テーブルセットコマンド(1)を読み出し、四角形の描画を指示する四角形描画コマンド(1),(2),(3),(3)を読み出す。続いて、描画装置105は、四角形描画コマンドごとに、しきい値テーブルを使用して階調処理を行い、ハーフトーンパターンを生成する。続いて、描画装置105は、図13に示すように、ハーフトーンパターンを用いて、四角形の描画処理を実行する。続いて、描画装置105は、バンド終了コマンドの読み出しが行われると、描画処理を終了する。   When the command (2) shown in FIG. 12 is read, the drawing apparatus 105 first reads the band initialization command and identifies the band on which drawing is performed. Subsequently, the drawing apparatus 105 reads the threshold value table set command (1), and reads quadrilateral drawing commands (1), (2), (3), and (3) instructing quadrilateral drawing. Subsequently, the drawing apparatus 105 performs gradation processing using a threshold value table for each quadrilateral drawing command to generate a halftone pattern. Subsequently, as shown in FIG. 13, the drawing apparatus 105 executes a quadrangular drawing process using the halftone pattern. Subsequently, when the drawing apparatus 105 reads the band end command, the drawing apparatus 105 ends the drawing process.

上述してきたように、図12に示すコマンド(2)による描画処理では、描画装置105は、しきい値テーブルコマンドセット(1)が来ると、指定されたしきい値テーブルコマンドセットの先頭アドレスから順次読み込み、図12に示すコマンド(1)のように、描画ごとの読み込み処理は行わない。このように、図12に示すコマンド(2)では、描画ごとに、しきい値テーブルコマンドセットを読み込むことはないが、しきい値テーブルを使用して、描画コマンドごとに階調処理を行い、ハーフトーンパターンを生成する必要がある。よって、図12に示すコマンド(2)による描画処理では、ソフトで使用される色値ごとにハーフトーンパターンを生成する必要がないので、ソフトの処理時間は小さくなるが、その一方で、描画コマンドごとに、ハードにより、ハーフトーンパターンを生成することになるので、やはり、描画時間が長くなってしまう。   As described above, in the drawing process using the command (2) shown in FIG. 12, when the threshold value table command set (1) is received, the drawing apparatus 105 starts from the head address of the designated threshold value table command set. Sequential reading is not performed for each drawing as in command (1) shown in FIG. As described above, the command (2) shown in FIG. 12 does not read the threshold table command set for each drawing, but uses the threshold table to perform gradation processing for each drawing command. A halftone pattern needs to be generated. Therefore, in the drawing process using the command (2) shown in FIG. 12, since it is not necessary to generate a halftone pattern for each color value used in the software, the processing time of the software is reduced. Every time, a halftone pattern is generated by hardware, so that the drawing time becomes long.

これに対して、図14に示すように、上述してきた実施形態では、例えば、図12に示すコマンド(2)による処理を行う場合、コマンド解析処理(例えば、バンド初期化コマンド処理、しきい値テーブルセットコマンド処理など)やハーフトーンパターン生成処理、四角形の描画処理などを並列に行う。具体的には、しきい値テーブルを使用して階調処理を行うことによりハーフトーンパターンを生成するハーフトーンパターン生成処理と、四角形の描画処理とを並列に処理する。このように、上述した実施形態によれば、ハーフトーンパターン生成処理と、描画処理とを並列に処理するので、ハーフトーンパターン生成処理の時間が表に現れない分、描画時間を短くすることができる。なお、上述した実施形態によれば、図12に示すコマンド(2)による処理を行う場合、図3に示す描画コマンド生成ステップS2において、ソフトで使用される色値ごとにハーフトーンパターンを生成する処理を行う必要がないので、ソフトの処理時間を小さくできる分、描画時間を短くすることができる。   On the other hand, as shown in FIG. 14, in the embodiment described above, for example, when processing by the command (2) shown in FIG. 12 is performed, command analysis processing (for example, band initialization command processing, threshold value) Table set command processing), halftone pattern generation processing, quadrilateral drawing processing, etc. are performed in parallel. Specifically, halftone pattern generation processing for generating a halftone pattern by performing gradation processing using a threshold value table and quadrilateral drawing processing are performed in parallel. As described above, according to the above-described embodiment, the halftone pattern generation process and the drawing process are processed in parallel. Therefore, the drawing time can be shortened by the amount that the halftone pattern generation process does not appear in the table. it can. Note that, according to the above-described embodiment, when processing by the command (2) shown in FIG. 12 is performed, a halftone pattern is generated for each color value used in the software in the drawing command generation step S2 shown in FIG. Since it is not necessary to perform processing, the drawing time can be shortened as much as the software processing time can be reduced.

また、上述の実施形態では、グラフィックス用描画パラメータ記憶装置134やハーフトーンパターン記憶装置147をダブルバッファとすることで、1面に実行中の描画処理用のデータ(描画パラメータやハーフトーンパターン)を格納し、もう1面に次の描画時のデータを格納することができ、描画処理をスムーズにして描画時間を短くできる。   In the above-described embodiment, the graphics drawing parameter storage device 134 and the halftone pattern storage device 147 are used as a double buffer, so that data for drawing processing (drawing parameters and halftone pattern) being executed on one surface is performed. And the next drawing data can be stored on the other side, so that the drawing process can be smoothed and the drawing time can be shortened.

100 画像形成装置
103 メモリアービター
104 メモリコントローラ
105 描画装置
106 エンジンコントローラ
107 通信コントローラ
108 ローカルI/F
109 ROM
110 パネルコントローラ
112 メインメモリ
113 パネル
114 プリンタエンジン
122 コマンド解析装置
123 描画処理装置
124 コントローラ
131 DMAアドレス生成装置
132 DMA読み込み装置
133 バンドパラメータ記憶装置
134 グラフィックス用描画パラメータ記憶装置
135 水平ライン変換装置
136 水平ライン描画装置
137 グラフィックス用しきい値マトリックス記憶装置
141 ハーフトーンパターンアドレス生成装置
142 X始点ワード値生成装置
143 X終点ワード値生成装置
144 描画ワードX値生成装置
145 ハーフトーンパターンシフト値生成装置
146 描画マスク生成装置
147 ハーフトーンパターン記憶装置
148 巡回シフト装置
149 論理演算装置
150 描画アドレス生成装置
151 ハーフトーンパターン生成装置
152 ハーフトーンしきい値アドレス生成装置
153 水平描画コントローラ
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 103 Memory arbiter 104 Memory controller 105 Drawing apparatus 106 Engine controller 107 Communication controller 108 Local I / F
109 ROM
110 Panel Controller 112 Main Memory 113 Panel 114 Printer Engine 122 Command Analysis Device 123 Drawing Processing Device 124 Controller 131 DMA Address Generation Device 132 DMA Reading Device 133 Band Parameter Storage Device 134 Graphics Drawing Parameter Storage Device 135 Horizontal Line Conversion Device 136 Horizontal Line drawing device 137 Graphics threshold value matrix storage device 141 Halftone pattern address generation device 142 X start point word value generation device 143 X end point word value generation device 144 Drawing word X value generation device 145 Halftone pattern shift value generation device 146 Drawing mask generation device 147 Halftone pattern storage device 148 Cyclic shift device 149 Logic operation device 150 Les generator 151 halftone pattern generator 152 halftone threshold address generator 153 horizontal drawing controller

特許第3446324号公報Japanese Patent No. 3446324 特許第4490783号公報Japanese Patent No. 4490783

Claims (3)

所定範囲の領域を示すバンド単位で階調処理後の画像を描画する画像処理装置であって、
画像を描画単位に分解した場合の水平方向の始点と終点との幅である描画幅のハーフトーンパターンのハーフトーンしきい値を、少なくともハーフトーンパターンの垂直方向の幅分記憶するハーフトーンしきい値記憶手段と、
前記描画幅のハーフトーンパターンを、少なくとも前記ハーフトーンパターンの垂直方向の幅分記憶するハーフトーンパターン記憶手段と、
描画する水平ラインの垂直方向の位置を示す値から、対応するハーフトーンパターンを記憶した前記ハーフトーンパターン記憶手段のハーフトーンパターンアドレス値を生成するハーフトーンパターンアドレス生成手段と、
前記ハーフトーンしきい値記憶手段からハーフトーンしきい値を読み込み、読み込んだハーフトーンしきい値を用いて階調処理を行ない、該階調処理により生成したハーフトーンパターンを前記ハーフトーンパターン記憶手段へ転送するハーフトーンパターン生成手段と、
前記描画幅を、前記ハーフトーンパターンの水平方向の幅で割ったときの余り値を求め、該余り値を用いて前記ハーフトーンパターン記憶手段に記憶されているハーフトーンパターンをシフトするためのハーフトーンパターンシフト値を生成するハーフトーンパターンシフト値生成手段と、
前記ハーフトーンパターンアドレス値によるアクセスにより前記ハーフトーンパターン記憶手段から転送されるハーフトーンパターンを、前記ハーフトーンパターンシフト値生成手段により生成されたハーフトーンパターンシフト値を用いて、該ハーフトーンパターンシフト値分の巡回シフトを行なう巡回シフト手段と、
前記巡回シフトにより、同一の階調値である描画オブジェクトに対応するハーフトーンパターンを繰り返し使用して描画する描画手段と
を備え、
前記ハーフトーンパターン生成手段による処理と前記描画手段による処理とを並列に行うことを特徴とする画像処理装置。
An image processing apparatus that draws an image after gradation processing in band units indicating a predetermined range area,
Halftone threshold that stores the halftone threshold value of the halftone pattern of the drawing width, which is the width between the start and end points in the horizontal direction when the image is divided into drawing units, at least for the vertical width of the halftone pattern Value storage means;
Halftone pattern storage means for storing the halftone pattern of the drawing width by at least the vertical width of the halftone pattern;
Halftone pattern address generating means for generating a halftone pattern address value of the halftone pattern storage means storing the corresponding halftone pattern from a value indicating a vertical position of a horizontal line to be drawn;
The halftone threshold value is read from the halftone threshold value storage means, gradation processing is performed using the read halftone threshold value, and the halftone pattern generated by the gradation processing is stored in the halftone pattern storage means Halftone pattern generation means for transferring to,
A half value for shifting the halftone pattern stored in the halftone pattern storage means using the remainder value is obtained by dividing the drawing width by the horizontal width of the halftone pattern. Halftone pattern shift value generating means for generating a tone pattern shift value;
The halftone pattern transferred from the halftone pattern storage means by the access by the halftone pattern address value is shifted by using the halftone pattern shift value generated by the halftone pattern shift value generating means. A cyclic shift means for performing a cyclic shift for a value;
Drawing means for drawing by repeatedly using a halftone pattern corresponding to drawing objects having the same gradation value by the cyclic shift;
An image processing apparatus, wherein the processing by the halftone pattern generation unit and the processing by the drawing unit are performed in parallel.
前記描画手段による処理で使用される描画パラメータを記憶する描画パラメータ記憶手段および前記ハーフトーンパターン記憶手段をダブルバッファとして、描画処理用の記憶領域と、次の描画処理用の記憶領域とを設けることを特徴とする請求項1に記載の画像処理装置。   A drawing parameter storage means for storing drawing parameters used in the processing by the drawing means and the halftone pattern storage means are used as a double buffer, and a storage area for drawing processing and a storage area for the next drawing processing are provided. The image processing apparatus according to claim 1. 所定範囲の領域を示すバンド単位で階調処理後の画像を描画する画像処理装置で実行される画像処理方法であって、
画像を描画単位に分解した場合の水平方向の始点と終点との幅である描画幅のハーフトーンパターンのハーフトーンしきい値を、少なくともハーフトーンパターンの垂直方向の幅分記憶するハーフトーンしきい値記憶手段からハーフトーンしきい値を読み込んで、読み込んだハーフトーンしきい値を用いて階調処理を行ない、該階調処理により生成したハーフトーンパターンを、前記描画幅のハーフトーンパターンを少なくとも前記ハーフトーンパターンの垂直方向の幅分記憶する前記ハーフトーンパターン記憶手段へ転送するハーフトーンパターン生成工程と、
描画する水平ラインの垂直方向の位置を示す値から、対応するハーフトーンパターンを記憶した前記ハーフトーンパターン記憶手段のハーフトーンパターンアドレス値を生成するハーフトーンパターンアドレス生成手段と、
前記描画幅を、前記ハーフトーンパターンの水平方向の幅で割ったときの余り値を求め、該余り値を用いて前記ハーフトーンパターン記憶手段に記憶されているハーフトーンパターンをシフトするためのハーフトーンパターンシフト値を生成するハーフトーンパターンシフト値生成工程と、
前記ハーフトーンパターンアドレス値によるアクセスにより前記ハーフトーンパターン記憶手段から転送されるハーフトーンパターンを、前記ハーフトーンパターンシフト値生成工程により生成されたハーフトーンパターンシフト値を用いて、該ハーフトーンパターンシフト値分の巡回シフトを行なう巡回シフト工程と、
前記巡回シフトにより、同一の階調値である描画オブジェクトに対応するハーフトーンパターンを繰り返し使用して描画する描画工程と
を含み、
前記ハーフトーンパターン生成工程による処理と前記描画工程による処理とを並列に行うことを特徴とする画像処理方法。
An image processing method executed by an image processing apparatus that draws an image after gradation processing in units of bands indicating a predetermined range area,
Halftone threshold that stores the halftone threshold value of the halftone pattern of the drawing width, which is the width between the start and end points in the horizontal direction when the image is divided into drawing units, at least for the vertical width of the halftone pattern The halftone threshold value is read from the value storage means, gradation processing is performed using the read halftone threshold value, and the halftone pattern generated by the gradation processing is set to at least the halftone pattern of the drawing width. A halftone pattern generating step for transferring to the halftone pattern storage means for storing the vertical width of the halftone pattern;
Halftone pattern address generating means for generating a halftone pattern address value of the halftone pattern storage means storing the corresponding halftone pattern from a value indicating a vertical position of a horizontal line to be drawn;
A half value for shifting the halftone pattern stored in the halftone pattern storage means using the remainder value is obtained by dividing the drawing width by the horizontal width of the halftone pattern. A halftone pattern shift value generation step for generating a tone pattern shift value;
The halftone pattern transferred from the halftone pattern storage means by the access by the halftone pattern address value is shifted by using the halftone pattern shift value generated by the halftone pattern shift value generating step. A cyclic shift process for performing a cyclic shift for the value;
A drawing step of drawing by repeatedly using a halftone pattern corresponding to a drawing object having the same gradation value by the cyclic shift, and
An image processing method, wherein the processing by the halftone pattern generation step and the processing by the drawing step are performed in parallel.
JP2011197230A 2011-09-09 2011-09-09 Apparatus and method for image processing Pending JP2013056510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011197230A JP2013056510A (en) 2011-09-09 2011-09-09 Apparatus and method for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011197230A JP2013056510A (en) 2011-09-09 2011-09-09 Apparatus and method for image processing

Publications (1)

Publication Number Publication Date
JP2013056510A true JP2013056510A (en) 2013-03-28

Family

ID=48132820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011197230A Pending JP2013056510A (en) 2011-09-09 2011-09-09 Apparatus and method for image processing

Country Status (1)

Country Link
JP (1) JP2013056510A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244715A (en) * 1994-03-02 1995-09-19 Canon Inc Image processor
JPH09245157A (en) * 1996-03-12 1997-09-19 Canon Inc Image forming device
JP2007208519A (en) * 2006-01-31 2007-08-16 Ricoh Co Ltd Image processor and image processing method, and computer-readable recording medium with program for making computer perform image processing method recorded

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244715A (en) * 1994-03-02 1995-09-19 Canon Inc Image processor
JPH09245157A (en) * 1996-03-12 1997-09-19 Canon Inc Image forming device
JP2007208519A (en) * 2006-01-31 2007-08-16 Ricoh Co Ltd Image processor and image processing method, and computer-readable recording medium with program for making computer perform image processing method recorded

Similar Documents

Publication Publication Date Title
JP4950007B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2013084224A (en) Image forming apparatus
JP2008141623A (en) Image forming apparatus and control method therefor, computer program and storage medium
JP5768524B2 (en) Image processing apparatus, image processing method, and program
JP2014058076A (en) Image formation device and gradation conversion method
JP2012114510A (en) Image forming apparatus and image forming method
JP6428084B2 (en) Write control apparatus, image forming apparatus, write control method, and program
JP2009269341A (en) Apparatus and method for processing image
JP5810734B2 (en) Image processing apparatus, program, image forming apparatus, and image processing method
JP4568685B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP4490783B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP5740991B2 (en) Image processing apparatus and image processing method
JP2013056510A (en) Apparatus and method for image processing
JP2012191461A (en) Image forming apparatus, and image forming method
JP6828481B2 (en) Information processing equipment, image forming equipment, and programs
JP2009169727A (en) Image processing apparatus, image processing method and program
JP2008023959A (en) Image processor, image processing method and program
JP5721963B2 (en) Print data processing apparatus, print data processing method, image forming apparatus, program, and recording medium
JP2018052088A (en) Image formation apparatus and image processing program
JP2009186897A (en) Image forming apparatus
JP2008203923A (en) Image forming apparatus and image forming method
JP2013063574A (en) Image processing apparatus, and drawing method
JP2009124615A (en) Image processing apparatus and image forming apparatus with the same, and image processing method
JP4450651B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing a program for causing a computer to execute the image processing method
JP2010141607A (en) Image processor, and image processing method for same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150707

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151104