JP2000255120A - Printer control device - Google Patents

Printer control device

Info

Publication number
JP2000255120A
JP2000255120A JP11059328A JP5932899A JP2000255120A JP 2000255120 A JP2000255120 A JP 2000255120A JP 11059328 A JP11059328 A JP 11059328A JP 5932899 A JP5932899 A JP 5932899A JP 2000255120 A JP2000255120 A JP 2000255120A
Authority
JP
Japan
Prior art keywords
image data
resolution
processing
converted
printer
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
JP11059328A
Other languages
Japanese (ja)
Inventor
Tokutaro Fukushima
徳太郎 福嶋
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 JP11059328A priority Critical patent/JP2000255120A/en
Publication of JP2000255120A publication Critical patent/JP2000255120A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce cost and to enhance the quality of a printing image due to a printer engine for binary output in a printer control device. SOLUTION: In a printer controller (printer control device) 20, a CPU 4 develops the image data from a host computer 1 in first resolving power as binary image data to store the image data in an RAM 6 and allows a video DMA controller 7 to start DMA operation. The video DMA controller 7 successively reads the binary image data on the RAM 6 to store the same in a line buffer 21. An output pattern generating circuit 22 converts the binary image data from the line buffer 21 to multi-value image data and converts this image data to second resolving power higher than first resolving power and subsequently converts the second resolving power to binary image data to output this image data to a printer engine 10 through an engine I/F 8.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、入力された画像
データを展開してレーザプリンタ等のプリンタエンジン
に出力して印刷を実行させるプリンタ制御装置(一般に
「プリンタコントローラ」と称する)に関し、特にコス
トを上昇させることなく、高解像度で印刷を行なわせる
ことにより階調性を向上させる技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control device (generally referred to as a "printer controller") for expanding input image data, outputting the image data to a printer engine such as a laser printer, and executing printing, and in particular, costs. The present invention relates to a technique for improving the gradation by printing at a high resolution without increasing image quality.

【0002】[0002]

【従来の技術】従来のプリンタコントローラにおいて、
ホストコンピュータ上にて作成された画像データをプリ
ンタエンジンに出力して印刷を実行させる際の処理につ
いて、図22〜図28を参照して説明する。
2. Description of the Related Art In a conventional printer controller,
Processing for outputting image data created on the host computer to the printer engine to execute printing will be described with reference to FIGS.

【0003】図22は、従来のプリンタコントローラを
用いたプリンタシステムの構成例を示すブロック図であ
る。このプリンタシステムは、ホストコンピュータ1と
プリンタコントローラ2とプリンタエンジン10とによ
って構成されており、プリンタコントローラ2とプリン
タエンジン10とが一体となってプリンタを構成してい
るが、それ以外のものも含む。
FIG. 22 is a block diagram showing a configuration example of a printer system using a conventional printer controller. This printer system is composed of a host computer 1, a printer controller 2, and a printer engine 10, and the printer controller 2 and the printer engine 10 are integrated into a printer, but other printers are also included. .

【0004】プリンタコントローラ2は、ホストインタ
フェース(以下「インタフェース」を「I/F」と略称
する)3,中央処理装置であるCPU4,プログラムメ
モリであるROM5,およびデータメモリであるRAM
6がシステムバス9によって相互に接続され、マイクロ
コンピュータを構成している。さらに、そのシステムバ
ス9に接続されたビデオDMAコントローラ(VDMA
C)7及びエンジンI/F8を備えている。
The printer controller 2 includes a host interface (hereinafter, “interface” is abbreviated as “I / F”) 3, a CPU as a central processing unit, a ROM as a program memory 5, and a RAM as a data memory.
6 are mutually connected by a system bus 9 to constitute a microcomputer. Further, a video DMA controller (VDMA) connected to the system bus 9
C) 7 and an engine I / F 8.

【0005】そして、ホストI/F3にホストコンピュ
ータ1が接続され、エンジンI/F8にプリンタエンジ
ン10が接続される。このプリンタシステムにおいて、
ホストコンピュータ1により使用者は印刷したい画像デ
ータを作成し、印刷を行なうプリンタを指定して、作成
した画像データの印刷命令を出す。
[0005] The host computer 1 is connected to the host I / F3, and the printer engine 10 is connected to the engine I / F8. In this printer system,
The user creates image data to be printed by the host computer 1, designates a printer for printing, and issues a print command for the created image data.

【0006】印刷命令が出されると、ホストコンピュー
タ1では、接続されたプリンタに合うプリンタドライバ
1aと呼ばれるソウトウェアにより、プリンタコントロ
ーラ2側にて解釈が可能な命令コードの体系に画像デー
タを変換し、その変換した画像データを接続先のプリン
タのホストI/F3に出力する。
When a print command is issued, the host computer 1 converts image data into a command code system that can be interpreted on the printer controller 2 side by software called a printer driver 1a suitable for the connected printer. The converted image data is output to the host I / F 3 of the connected printer.

【0007】プリンタコントローラ2では、ホストI/
F3にて印刷する画像データの受信が開始されると、そ
の画像データをCPU4がROM5に書き込まれている
コード情報(プログラム)に従ってRAM6上にイメー
ジ描画して展開する。次に、CPU4にてRAM6上へ
のイメージ展開を行なった後、プリンタエンジン10に
印刷起動命令を出して印刷を開始すると共に、イメージ
展開した画像データをエンジンI/F8経由でプリンタ
エンジン10に出力して印刷を実行させる。
In the printer controller 2, the host I / O
When reception of the image data to be printed is started in F3, the CPU 4 draws the image data on the RAM 6 according to the code information (program) written in the ROM 5 and develops the image data. Next, after the CPU 4 develops the image on the RAM 6, it issues a print start command to the printer engine 10 to start printing, and outputs the developed image data to the printer engine 10 via the engine I / F 8. To execute printing.

【0008】ただし、通常、プリンタエンジン10に画
像データを出力する(ビデオ出力)場合には、膨大な量
のデータを短期間で転送しなければならないため、ビデ
オDMAコントローラ7にてDMA処理を行なって高速
化を図っている。このような処理・操作を行なうことに
より、使用者が作成した画像データの印刷を行なうこと
が可能となる。
However, usually, when image data is output to the printer engine 10 (video output), an enormous amount of data must be transferred in a short period of time. Speeding up. By performing such processing and operations, it becomes possible to print the image data created by the user.

【0009】ところで、プリンタエンジンに出力する際
のビデオI/Fには、大きく分けて、図23に示すよう
な画像データの階調が1ビットで表現されているデータ
スルー方式と、図24に示すような画像データの階調が
多値で表現されている多値方式がある。図24の例で
は、画像データの階調数は4ビット(16階調)で表わ
されているが、多値であれば必ずしも4ビットでなくと
も良い。
A video I / F for output to a printer engine is roughly divided into a data through system in which the gradation of image data is expressed by 1 bit as shown in FIG. There is a multi-value system in which the gradation of image data as shown is represented by multi-values. In the example of FIG. 24, the number of gradations of the image data is represented by 4 bits (16 gradations).

【0010】データスルー方式では、画像データを転送
するためのデータ線が、プリンタエンジンにて作像処理
を行なう際に使用するレーザダイオードに直接接続され
ていて、プリンタコントローラからの画像データにより
レーザダイオードを直接ドライブさせて書き込みを行な
う。
In the data through system, a data line for transferring image data is directly connected to a laser diode used when performing image forming processing in a printer engine, and a laser diode is used in accordance with image data from a printer controller. Is directly driven to perform writing.

【0011】それに対し、多値方式では図25に示すよ
うに、画像データのデータ線の変化点(この例ではT
1,T2)で各々のデータ線が別々に接続されているこ
とによるデータスキューの違いが発生するため、プリン
タコントローラ側にて画像データ転送用の画素クロック
を生成してビデオI/F上に出力し、プリンタエンジン
側にてその画素クロックにて同期を取り、データスキュ
ーの違いを吸収した後にレーザダイオードで書き込みを
行なう。
On the other hand, in the multi-value system, as shown in FIG. 25, a change point of a data line of image data (T
In (1, T2), a difference in data skew occurs because each data line is separately connected. Therefore, a pixel clock for image data transfer is generated on the printer controller side and output on the video I / F. Then, the printer engine synchronizes with the pixel clock, absorbs the difference in data skew, and performs writing with a laser diode.

【0012】したがって、データスルー方式は、主にレ
ーザプリンタなどのビデオI/Fに用いられており、プ
リンタコントローラ側から直接解像度を制御して印刷が
可能なため、一般的に出力解像度に優れていると言え
る。但し、その反面、1画素当たりで表現できる階調数
が、1ビットであるため、階調性を高めるためには、解
像度をより高くしなければならないと言える。
Therefore, the data through system is mainly used for video I / Fs of laser printers and the like, and printing can be performed by directly controlling the resolution from the printer controller side. It can be said that there is. However, on the other hand, since the number of gradations that can be expressed per pixel is 1 bit, it can be said that the resolution must be further increased in order to enhance the gradation.

【0013】これに対して、デジタル複写機では、1画
素の階調表現に優れていなければならないため、印刷自
体も1画素で16階調や256階調など、多値で表現す
ることが多い。
On the other hand, in a digital copying machine, since one pixel must be excellent in gradation expression, printing itself is often expressed in multiple values such as 16 gradations or 256 gradations per pixel. .

【0014】そのため、多値方式のビデオI/Fはデジ
タル複写機をプリンタとして使用する際のI/Fとして
用いられることが多く、1画素内での階調表現に優れた
プリンタエンジンに利用されている。但し、その反面、
解像度を上げていくと、自ずと画素クロックも高速なも
のを使用しなければならないため、高解像度には、限界
があると言える。
For this reason, a multi-value video I / F is often used as an I / F when a digital copying machine is used as a printer, and is used for a printer engine excellent in gradation expression within one pixel. ing. However, on the other hand,
As the resolution is increased, it is naturally necessary to use a high-speed pixel clock. Therefore, it can be said that high resolution has a limit.

【0015】次に、プリンタコントローラからプリンタ
エンジンに画像データを出力する際に、その画像データ
を高解像度化して、エッジ画像にスムージングする技術
について説明する。例えば、プリンタコントローラにて
メモリにイメージ展開した画像データが図26に示すよ
うになっていた場合には、その画像データをプリンタエ
ンジンに出力する際に、その画像データに対して次のよ
うな処理を行なう。
Next, a description will be given of a technique for, when outputting image data from the printer controller to the printer engine, increasing the resolution of the image data and smoothing it into an edge image. For example, if the image data expanded in the memory by the printer controller is as shown in FIG. 26, the following processing is performed on the image data when the image data is output to the printer engine. Perform

【0016】例えば、図27に示すように主走査方向に
解像度を2倍にして、B2’に示されるような画素に対
して図28に示すようにドットを補完することにより、
解像度を高くしてエッジ画像にスムージング処理を施す
ことができる。この例は、ドットを補完することによる
太らせ型のスムージング処理であるが、ドットを削除す
ることによる細らせ型のスムージング処理もある。
For example, by doubling the resolution in the main scanning direction as shown in FIG. 27 and complementing the dots as shown in FIG.
The resolution can be increased and the edge image can be subjected to smoothing processing. This example is a fattening type smoothing process by complementing dots, but there is also a thinning type smoothing process by deleting dots.

【0017】次に、2値画像データを多値化した後、2
値画像データとして印刷する技術として、特開平5−1
30384号公報に見られるものがあり、この技術の説
明を行なう。
Next, after binarizing the binary image data,
As a technology for printing as value image data, Japanese Patent Application Laid-Open
This technology is described in Japanese Patent Application Publication No. 30384.

【0018】この技術では、入力された2値画像データ
に対して、この公報に見られる図4,図7,又は図16
に示すようなローパスフィルタをかける(フィルタリン
グ演算を行なう)ことにより、2値画像データを多値化
するようにしている。このような構成にすることによ
り、入力された画像データの解像度よりも高い解像度で
印刷を行なった場合、その印刷画像は、入力された画像
データを単純拡大して印刷を行なう場合よりも良好な濃
度で表現できることになる。
According to this technique, the input binary image data is compared with FIG. 4, FIG. 7, or FIG.
By applying a low-pass filter (performing a filtering operation) as shown in (1), the binary image data is multi-valued. With such a configuration, when printing is performed at a resolution higher than the resolution of the input image data, the print image is better than when the input image data is simply enlarged and printed. It can be expressed by density.

【0019】次に、低解像度の入力画像データを高解像
度で印刷する技術として、特開平5−138945号公
報に見られるものがあり、この技術の説明を行なう。こ
の技術では、1枚の印刷に必要なデータの総容量(階調
数と解像度を掛け合わせたもの)が同じ構成になるよう
に設定して(例えば8ビット階調の300DPIの画像
は2ビット階調の600DPIの画像と総容量は同じに
なる)ディザ処理を施すことにより、階調を落とした後
に解像度を上げる方式を取っている。このような構成に
することにより、階調表現を高める効果を持つことがで
きる。
Next, as a technique for printing low-resolution input image data at a high resolution, there is a technique disclosed in Japanese Patent Application Laid-Open No. 5-138945. This technique will be described. In this technology, the total capacity of data necessary for printing one sheet (multiplied by the number of gradations and the resolution) is set so as to have the same configuration (for example, an 8-bit gradation 300 DPI image is a 2-bit image). (The total capacity is the same as that of an image with a gradation of 600 DPI.) By applying dither processing, the gradation is reduced and then the resolution is increased. With such a configuration, an effect of enhancing the gradation expression can be obtained.

【0020】[0020]

【発明が解決しようとする課題】近年、レーザプリンタ
の発達に伴い、各種のプリンタが開発されてきている。
例えば、デジタル複写機をプリンタとしても使えるよう
にプリンタコントローラを搭載したものや、1画素(1
ドット)当たりの階調を多値で表現可能なもの、またカ
ラーレーザプリンタと言ったものであり、それぞれ特色
を持っている。
In recent years, with the development of laser printers, various printers have been developed.
For example, a printer equipped with a printer controller so that a digital copier can be used as a printer, or one pixel (1
Each of them is capable of expressing a gradation per dot in a multi-valued manner, and is also referred to as a color laser printer, each having a special color.

【0021】特に、カラーレーザプリンタでは、イメー
ジデータやグラフィックデータなど、中間調の画像デー
タ(特に低濃度部)を高品質に印字することが求められ
ており、モノクロのレーザプリンタと比較して多値の画
像データを表わすことが重要である。
In particular, color laser printers are required to print high-quality halftone image data (especially low-density portions) such as image data and graphic data. It is important to represent the value image data.

【0022】また、カラーの画像データを電子写真方式
にて印刷をする場合、階調性を良くするためには、高解
像度にして、ドット径の変化量を少なくするとよい。そ
の方が1ドット当たりの階調数を上げるよりも高品質な
画像が得られるという特性が、実験で証明されている。
When color image data is printed by the electrophotographic method, it is preferable to increase the resolution and reduce the amount of change in the dot diameter in order to improve the gradation. It has been experimentally proved that a higher quality image can be obtained than by increasing the number of gradations per dot.

【0023】ところが、解像度を上げていくと、イメー
ジデータを展開する際にドットイメージとして記憶する
ためのメモリが非常に多く必要になってしまう。例え
ば、解像度を2倍にすると、主走査方向,副走査方向の
両方向で解像度を高くする必要があるため、メモリは4
倍になってしまう。
However, when the resolution is increased, an extremely large amount of memory is required for storing the dot data when developing the image data. For example, if the resolution is doubled, it is necessary to increase the resolution in both the main scanning direction and the sub-scanning direction.
It will be doubled.

【0024】また、圧縮処理を行なわずに、モノクロデ
ータで、A3,600DPI,2値のイメージデータを
記憶するためには、およそ8MB必要なのに対して、カ
ラーデータで、8ビット階調のイメージデータを記憶さ
せるためには、256MB必要となってしまう。
In order to store A3,600 DPI, binary image data as monochrome data without performing compression processing, about 8 MB is required, whereas color data, 8-bit gradation image data is required. Requires 256 MB to be stored.

【0025】これに加えて、1200DPIや2400
DPIなどの様に解像度を高くしたり、両面印刷のため
に、2ページ分のメモリ容量も確保しようとすると、メ
モリ規模が増大し、ハードウェア規模が大きくなってし
まい、コスト増を招いてしまうばかりでなく、CPUが
イメージ展開に関わる処理に多くの負担がかかってしま
い、パフォーマンスが低下してしまう。
In addition to this, 1200 DPI and 2400
If the resolution is increased as in the case of DPI or the memory capacity for two pages is secured for double-sided printing, the memory scale increases, the hardware scale increases, and the cost increases. In addition, the CPU imposes a lot of load on processing related to image development, and the performance is reduced.

【0026】さらに、必要なメモリを少なくするため
に、圧縮処理を行なう場合においても、データ量が増え
るに従ってCPUにかかる負担が増えるばかりでなく、
カラーデータのように中間調の画像データを圧縮する場
合には、圧縮率を上げるために、2次元圧縮を行なわな
くてはならず、専用ハードウェアで構成した場合でも、
その規模は大規模なものとなってしまう。
Further, in order to reduce the required memory, even when performing compression processing, not only does the load on the CPU increase as the amount of data increases,
When compressing halftone image data such as color data, two-dimensional compression must be performed to increase the compression ratio.
The scale will be large.

【0027】以上のように、高品質な画像を印刷するた
めに、その画像データを高解像度又は高階調で記憶しよ
うとすると、メモリや圧縮に関わるコストが上昇すると
いえる。
As described above, if the image data is to be stored at a high resolution or a high gradation in order to print a high quality image, it can be said that the cost related to the memory and the compression increases.

【0028】一方、従来のプリンタコントローラにおい
て、解像度を変えて印刷する技術は、テキストデータの
エッジ部の品質を上げるためだけに使われており、カラ
ープリンタなどで印刷する際の中間調画像データの値
は、最終的に印刷する画像の解像度でイメージ展開して
いた。それに伴い、階調性を重視する場合には、1画素
当たりの階調を多値で表現可能なプリンタエンジンを用
いる必要があった。
On the other hand, in the conventional printer controller, the technique of printing with changing the resolution is used only to improve the quality of the edge portion of the text data, and the halftone image data for printing with a color printer or the like is used. The values were developed at the resolution of the image to be finally printed. Accordingly, when importance is placed on gradation, it is necessary to use a printer engine capable of expressing gradation per pixel in multiple values.

【0029】多値の表現が可能なプリンタエンジンは、
上述の通り、特性的に高解像度にしてドット径の変化量
を少なくした場合よりも印字品質(画像品質)が悪いば
かりでなく、多値の印刷制御はアナログ的にレーザダイ
オードの発光パワーを調節しているため、微少な制御は
非常に困難であり、更に600DPI程度の高い解像度
になると、制御はほぼ不可能となってしまうという不具
合があった。
The printer engine capable of expressing multi-values is as follows:
As described above, not only is the print quality (image quality) worse than in the case where the change in dot diameter is reduced due to the characteristically high resolution, but also the multi-value print control adjusts the emission power of the laser diode in an analog manner. Therefore, it is very difficult to perform minute control, and further, when the resolution is as high as about 600 DPI, the control becomes almost impossible.

【0030】さらに、ビデオI/F上に画素クロックを
用いる必要があるため、プリンタ自体の高速化に限界が
あり、それに伴って高速な画素クロックを用いるため、
不要なノイズも輻射してしまうという不具合もあった。
Further, since it is necessary to use a pixel clock on the video I / F, there is a limit in increasing the speed of the printer itself.
There was also a problem that unnecessary noise was radiated.

【0031】また、2値プリンタ(1画素当たりの階調
を2値でのみ表現可能なプリンタ)でイメージ展開する
画像データの解像度を高くしようとすると、それを記憶
させるためのメモリが増大してしまい、コストが上昇し
てしまうという不具合もあった。それに伴い、処理を施
すCPUに負担がかかり、イメージ展開に関わる時間が
増えてしまい、パフォーマンスを低下させてしまうとい
う不具合もあった。
When the resolution of image data to be developed by a binary printer (a printer capable of expressing gradation per pixel only in binary) is increased, a memory for storing the image data increases. As a result, there was a problem that the cost was increased. As a result, a burden is imposed on the CPU that performs the processing, the time involved in image development increases, and there is a problem that the performance is reduced.

【0032】一方、特開平5−130384号公報に見
られるような方式を取る場合には、例えば一旦ディザ処
理等の面積階調処理を施して2値化したイメージデータ
を多値化する場合、単にローパスフィルタをかけるだけ
なので、画像をぼやけさせてしまう。特に、テキストデ
ータなどのエッジ画像では、ローパスフィルタを通すこ
とにより、かえって画像劣化を招いてしまうという不具
合があった。
On the other hand, in the case of adopting a system as disclosed in Japanese Patent Laid-Open No. 5-130384, for example, when multi-valued binarized image data is once subjected to area gradation processing such as dither processing, Simply applying a low-pass filter will blur the image. Particularly, in the case of an edge image such as text data, there is a problem that the image is deteriorated by passing through a low-pass filter.

【0033】また、それに伴い、面積階調処理を施した
ことにより、注目画素のデータが本来意味を持っている
情報を考慮していないため、ディザマトリクス内での階
調データが変わってしまい、濃度反転などを起こしてし
まい、中間調データの連続性、および階調性が失われて
しまうという不具合もあった。
In addition, since the area gradation processing is performed, the gradation data in the dither matrix changes because the information of the pixel of interest does not take into account the information that originally has meaning. There is also a problem that the density inversion occurs and the continuity and gradation of halftone data are lost.

【0034】特開平5−138945号公報に見られる
ような方式を取る場合には、階調数と解像度を掛け合わ
せたものが同じ値になる場合には、解像度を高くすると
いう構成にしているため、イメージ展開するための、必
要なメモリには変更がないため、高解像度にしていけ
ば、していく程メモリが必要になってしまい、コストが
上昇してしまうだけでなく、パフォーマンスを低下させ
てしまうという不具合があった。
In a system as disclosed in Japanese Patent Application Laid-Open No. 5-138945, if the value obtained by multiplying the number of gradations and the resolution becomes the same value, the resolution is increased. Therefore, there is no change in the memory required for image development, so the higher the resolution, the more memory is required, the higher the cost, and the lower the performance There was a problem that it would be done.

【0035】この発明は上記の問題点に鑑みてなされた
ものであり、プリンタ制御装置(プリンタコントロー
ラ)において、コストを低減させると同時に、2値出力
用の(1画素当たりの階調を2値でのみ表現可能な)プ
リンタエンジンによる印刷画像の品質を向上させること
を目的とする。
The present invention has been made in view of the above-described problems. In a printer control device (printer controller), it is possible to reduce the cost and at the same time, to reduce the number of gradations per pixel (two gradations per pixel). It is an object of the present invention to improve the quality of a printed image by a printer engine (which can be expressed only by a printer engine).

【0036】[0036]

【課題を解決するための手段】この発明は、入力された
画像データを展開してプリンタエンジンに出力し、印刷
を実行させるプリンタ制御装置において、上記の目的を
達成するため、次のようにしたことを特徴とする。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a printer control device which expands input image data, outputs the image data to a printer engine, and executes printing. It is characterized by the following.

【0037】請求項1の発明は、入力された画像データ
を第1の解像度で2値のイメージデータとして展開する
展開処理を行なう展開処理手段と、該手段にて展開され
たイメージデータを記憶する記憶手段と、該手段に記憶
された2値のイメージデータを多値のイメージデータに
変換する多値化処理を行なう多値化処理手段と、該手段
にて変換された多値のイメージデータを第1の解像度よ
りも高い第2の解像度に変換する解像度変換手段と、該
手段にて第2の解像度に変換されたイメージデータを2
値のイメージデータに変換する2値化処理を行なう2値
化処理手段と、該手段にて変換された2値のイメージデ
ータをプリンタエンジンに出力する出力制御手段とを設
けたものである。
According to a first aspect of the present invention, there is provided a development processing means for performing development processing for developing input image data as binary image data at a first resolution, and stores the image data developed by the means. Storage means; multi-value processing means for performing a multi-value processing for converting binary image data stored in the means into multi-value image data; and multi-value image data converted by the means. Resolution converting means for converting the image data into a second resolution higher than the first resolution;
It is provided with binarization processing means for performing a binarization process for converting the image data into value image data, and output control means for outputting the binary image data converted by the means to a printer engine.

【0038】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを第1の解像度(低解像度)で2値のイメージデー
タとして展開して記憶手段に記憶した後、その2値のイ
メージデータを多値のイメージデータに変換し、その変
換した多値のイメージデータを階調性を向上させるため
に第1の解像度よりも高い第2の解像度(高解像度)に
変換し、更にその第2の解像度に変換したイメージデー
タを2値のイメージデータに変換し、その変換した2値
のイメージデータをプリンタエンジンに出力するので、
イメージデータを記憶するための記憶手段(メモリ)の
記憶容量を少なくしてコストを低減させると同時に、2
値出力用のプリンタエンジンによる印刷画像(中間調濃
度)の品質を向上させることができる。
With this configuration, when the input image data is expanded as image data, the image data is expanded as binary image data at the first resolution (low resolution) and stored in the storage unit. After that, the binary image data is converted to multi-valued image data, and the converted multi-valued image data is converted to a second resolution (high resolution) higher than the first resolution in order to improve the gradation. ), The image data converted to the second resolution is further converted to binary image data, and the converted binary image data is output to the printer engine.
At the same time, the storage capacity of the storage means (memory) for storing the image data is reduced to reduce the cost.
The quality of a print image (halftone density) by the value output printer engine can be improved.

【0039】請求項2の発明は、請求項1のプリンタ制
御装置において、出力制御手段を、2値化処理手段によ
って変換された2値のイメージデータをプリンタエンジ
ンに出力する際に、主走査方向のパルス幅変調を行なっ
てパルスデータとして出力する手段としたものである。
このように、比較的容易に解像度を変化させることが可
能な主走査方向のパルス幅変調を行なうことにより、コ
ストを増加させずに、高解像度で印刷を行なうことがで
きる。
According to a second aspect of the present invention, in the printer control apparatus of the first aspect, the output control means outputs the binary image data converted by the binarization processing means to the printer engine in the main scanning direction. In which pulse width modulation is performed and output as pulse data.
As described above, by performing pulse width modulation in the main scanning direction in which the resolution can be changed relatively easily, printing can be performed at a high resolution without increasing cost.

【0040】請求項3の発明は、入力された画像データ
を第1の解像度で2値のイメージデータとして展開する
展開処理を行なう展開処理手段と、該手段にて展開され
たイメージデータを記憶する記憶手段と、該手段に記憶
された2値のイメージデータを多値のイメージデータに
変換する多値化処理を行なう多値化処理手段と、該手段
にて変換される前の2値のイメージデータまたは変換さ
れた多値のイメージデータからエッジを抽出して検出す
るエッジ検出手段と、多値化処理手段にて変換された多
値のイメージデータを第1の解像度よりも高い第2の解
像度に変換する解像度変換手段と、該手段にて第2の解
像度に変換されたイメージデータをエッジ検出手段によ
る検出結果に基づいて2値のイメージデータに変換する
2値化処理を行なう2値化処理手段と、該手段にて変換
された2値のイメージデータをプリンタエンジンに出力
する出力制御手段とを設けたものである。
According to a third aspect of the present invention, there is provided a development processing means for performing development processing for developing input image data as binary image data at a first resolution, and stores the image data developed by the means. Storage means, multi-value processing means for performing multi-value processing for converting binary image data stored in the means into multi-value image data, and a binary image before being converted by the means; Edge detecting means for extracting and detecting edges from the data or the converted multi-valued image data; and converting the multi-valued image data converted by the multi-value processing means to a second resolution higher than the first resolution. And a binarization process for converting the image data converted to the second resolution by the unit into binary image data based on the detection result by the edge detection unit. And binarization means, is provided with a an output control means for outputting the image data of the converted binary by said means to a printer engine.

【0041】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを第1の解像度で2値のイメージデータとして展開
して記憶手段に記憶した後、その2値のイメージデータ
を多値のイメージデータに変換すると共に、その2値の
イメージデータまたは多値のイメージデータからエッジ
を抽出して検出し、その変換した多値のイメージデータ
を第1の解像度よりも高い第2の解像度に変換し、更に
その第2の解像度に変換したイメージデータを上記検出
結果に基づいて2値のイメージデータに変換し(この時
例えばエッジ画像と中間調画像とに分け、エッジ画像に
関しては、エッジを強調させ、且つスムージング処理を
行ない、中間調画像に関しては、濃度を微細に表現す
る)、その変換した2値のイメージデータをプリンタエ
ンジンに出力するので、イメージデータを記憶するため
の記憶手段の記憶容量を少なくしてコストを低減させる
と同時に、2値出力用のプリンタエンジンによる印刷画
像(エッジ画像及び中間調画像)の品質を向上させるこ
とができる。
With this configuration, when the input image data is expanded as image data, the image data is expanded as binary image data at the first resolution and stored in the storage means. The binary image data is converted into multi-valued image data, edges are extracted from the binary image data or the multi-valued image data and detected, and the converted multi-valued image data is converted to a first resolution. Is converted to a higher second resolution, and the image data converted to the second resolution is further converted to binary image data based on the detection result (at this time, for example, divided into an edge image and a halftone image). For the edge image, the edge is emphasized and the smoothing process is performed, and for the halftone image, the density is finely expressed). Since the image data of the value is output to the printer engine, the storage capacity of the storage means for storing the image data is reduced to reduce the cost, and at the same time, the print image (the edge image and the intermediate image) by the printer engine for the binary output is output. Tonal image) can be improved.

【0042】請求項4の発明は、請求項3のプリンタ制
御装置において、多値化処理手段にて変換される前の2
値のイメージデータあるいは変換された多値のイメージ
データを一時的に複数ライン分記憶するラインバッファ
を設け、エッジ検出手段を、ラインバッファに記憶され
たイメージデータからエッジを抽出して検出する手段と
したものである。
According to a fourth aspect of the present invention, in the printer control device of the third aspect, the two-valued data before the conversion is performed by the multi-value processing means.
A line buffer for temporarily storing a plurality of lines of value image data or converted multivalued image data for a plurality of lines, and an edge detecting means for extracting and detecting an edge from the image data stored in the line buffer; It was done.

【0043】このようにすれば、ラインバッファに記憶
した複数ライン分(主走査方向及び副走査方向)の2値
又は多値のイメージデータからエッジを抽出して検出で
きるため、エッジ画像を正確に表現することができる。
なお、2値化処理を行なう(第2の解像度に変換された
多値のイメージデータを2値のイメージデータに変換す
る)際に、ラインバッファに記憶した複数ライン分のイ
メージデータから出力階調を検出すれば、中間調画像を
正確に表現することもできる。
With this configuration, edges can be extracted and detected from binary or multi-valued image data for a plurality of lines (in the main scanning direction and the sub-scanning direction) stored in the line buffer. Can be expressed.
When performing the binarization process (converting the multivalued image data converted to the second resolution into the binary image data), the output gradation is output from the image data for a plurality of lines stored in the line buffer. Is detected, the halftone image can be accurately represented.

【0044】請求項5の発明は、入力された画像データ
を第1の解像度で2値のイメージデータとして展開する
展開処理を行なう展開処理手段と、該手段にて展開され
たイメージデータを記憶する記憶手段と、該手段に記憶
された2値のイメージデータを多値のイメージデータに
変換する多値化処理を行なう多値化処理手段と、該手段
にて変換された多値のイメージデータを第1の解像度よ
りも高い第2の解像度に変換する解像度変換手段と、該
手段にて第2の解像度に変換されたイメージデータを面
積階調法を用いて2値のイメージデータに変換する面積
階調処理を行なう面積階調処理手段と、該手段にて変換
された2値のイメージデータをプリンタエンジンに出力
する出力制御手段とを設けたものである。
According to a fifth aspect of the present invention, there is provided a development processing means for performing development processing for developing input image data as binary image data at a first resolution, and stores the image data developed by the means. Storage means; multi-value processing means for performing a multi-value processing for converting binary image data stored in the means into multi-value image data; and multi-value image data converted by the means. Resolution conversion means for converting the image data into a second resolution higher than the first resolution, and an area for converting the image data converted to the second resolution into binary image data using an area gradation method The apparatus is provided with area gradation processing means for performing gradation processing, and output control means for outputting binary image data converted by the means to a printer engine.

【0045】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを第1の解像度で2値のイメージデータとして展開
して記憶手段に記憶した後、その2値のイメージデータ
を多値のイメージデータに変換し、その変換した多値の
イメージデータを階調性を向上させるために第1の解像
度よりも高い第2の解像度変換し、更にその第2の解像
度に変換したイメージデータをディザ法等の面積階調法
を用いて2値のイメージデータに変換し、その変換した
2値のイメージデータをプリンタエンジンに出力するの
で、イメージデータを記憶するための記憶手段の記憶容
量を少なくしてコストを低減させると同時に、2値出力
用のプリンタエンジンによる印刷画像(中間調濃度)の
品質及び階調性を向上させることができる。
With this configuration, when the input image data is expanded as image data, the image data is expanded as binary image data at the first resolution and stored in the storage means. The binary image data is converted into multi-valued image data, and the converted multi-valued image data is subjected to a second resolution conversion higher than the first resolution in order to improve the gradation, and the second resolution is further converted to the second resolution. Is converted to binary image data using an area gradation method such as a dither method, and the converted binary image data is output to a printer engine, so that the image data is stored. The storage capacity of the storage means is reduced to reduce the cost, and at the same time, the quality and gradation of the print image (halftone density) by the printer engine for binary output are improved. It is possible to above.

【0046】請求項6の発明は、請求項5のプリンタ制
御装置において、多値化処理手段にて変換される前の2
値のイメージデータまたは変換された多値のイメージデ
ータからエッジを抽出して検出するエッジ検出手段を設
け、面積階調処理手段に、エッジ検出手段による検出結
果に基づいて、面積階調処理を行なう際に使用する閾値
マトリクス(参照パターン)を変更する手段を備えたも
のである。
According to a sixth aspect of the present invention, in the printer control device of the fifth aspect, the two-valued data before conversion by the multi-value processing means is provided.
Edge detection means for extracting and detecting an edge from the value image data or the converted multi-value image data is provided, and the area gradation processing means performs area gradation processing based on the detection result by the edge detection means. It is provided with means for changing a threshold matrix (reference pattern) used at that time.

【0047】このようにすれば、2値のイメージデータ
または多値のイメージデータからエッジを抽出して検出
し、その検出結果に基づいて面積階調処理を行なう際に
使用する閾値マトリクスを変更する(例えばテキストデ
ータなどのエッジと中間調画像とで面積階調処理を行な
う際に使用する閾値マトリクスを変更する)ことによ
り、2値出力用のプリンタエンジンによるテキストデー
タの印字品質を向上させることができる。
In this way, edges are extracted and detected from binary image data or multi-valued image data, and a threshold matrix used when performing area gradation processing is changed based on the detection result. (For example, by changing a threshold matrix used when performing area gradation processing between an edge of text data or the like and a halftone image), it is possible to improve the print quality of text data by a printer engine for binary output. it can.

【0048】請求項7の発明は、請求項5又は6のプリ
ンタ制御装置において、面積階調処理手段を、面積階調
処理を複数のドットが集合するように行なう手段とし、
出力制御手段を、面積階調処理手段によって変換された
2値のイメージデータをプリンタエンジンに出力する際
に、主走査方向のパルス幅変調を行なってパルスデータ
として出力する手段としたものである。
According to a seventh aspect of the present invention, in the printer control device of the fifth or sixth aspect, the area gradation processing means is means for performing the area gradation processing so that a plurality of dots are aggregated,
The output control means is means for performing pulse width modulation in the main scanning direction and outputting as pulse data when outputting the binary image data converted by the area gradation processing means to the printer engine.

【0049】このようにすれば、コストを増加させず
に、高解像度で印刷を行なうことができる。また、中間
調をよく表現できるように、プリンタエンジンへのパル
ス出力を集中して行なうことができるため、プリンタエ
ンジンによる印刷の際のトナーの付着を良好にし、より
階調性を向上させることができる。
In this way, high-resolution printing can be performed without increasing the cost. Also, since the pulse output to the printer engine can be performed in a concentrated manner so that the halftone can be expressed well, it is possible to improve the adhesion of the toner at the time of printing by the printer engine and to further improve the gradation. it can.

【0050】請求項8の発明は、入力された画像データ
を面積階調法を用いて第1の解像度で2値のイメージデ
ータとして展開する展開処理を行なう展開処理手段と、
該手段にて展開されたイメージデータを記憶する記憶手
段と、該手段に記憶された2値のイメージデータを展開
処理手段が面積階調法を用いた展開処理を行なう際に使
用した閾値マトリクスのサイズと同じサイズの閾値マト
リクスを使用して面積階調法を用いて多値のイメージデ
ータに変換する多値化処理を行なう多値化処理手段と、
該手段にて変換された多値のイメージデータを第1の解
像度よりも高い第2の解像度に変換する解像度変換手段
と、該手段にて第2の解像度に変換されたイメージデー
タを2値のイメージデータに変換する2値化処理を行な
う2値化処理手段と、該手段にて変換された2値のイメ
ージデータをプリンタエンジンに出力する出力制御手段
とを設けたものである。
The invention according to claim 8 is a development processing means for performing development processing for developing input image data as binary image data at a first resolution using an area gradation method,
Storage means for storing the image data expanded by the means; and a threshold matrix used when the expansion processing means performs the expansion processing using the area gradation method with the binary image data stored in the means. Multi-value processing means for performing a multi-value processing for converting to multi-value image data using an area gradation method using a threshold matrix having the same size as the size,
Resolution converting means for converting the multi-valued image data converted by the means to a second resolution higher than the first resolution, and converting the image data converted to the second resolution by the means to binary data It is provided with binarization processing means for performing binarization processing for converting the image data into image data, and output control means for outputting the binary image data converted by the means to a printer engine.

【0051】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを面積階調法を用いて第1の解像度で2値のイメー
ジデータとして展開して記憶手段に記憶した後、その2
値のイメージデータを上記展開処理を行なう際に使用し
た閾値マトリクスのサイズと同じサイズの閾値マトリク
スを使用して面積階調法を用いて多値のイメージデータ
に変換し、その変換した多値のイメージデータを階調性
を向上させるために第1の解像度よりも高い第2の解像
度に変換し、更にその第2の解像度に変換したイメージ
データを2値のイメージデータに変換し、その変換した
2値のイメージデータをプリンタエンジンに出力するの
で、イメージデータを記憶するための記憶手段の記憶容
量を少なくしてコストを低減させると同時に、2値出力
用のプリンタエンジンによる印刷画像(中間調濃度)の
品質を向上させることができる。また、正確な中間調濃
度を出すことができる。
With this configuration, when the input image data is developed as image data, the image data is developed and stored as binary image data at the first resolution using the area gradation method. After memorizing in the means, 2
Value image data is converted to multi-valued image data using the area gradation method using a threshold matrix having the same size as the size of the threshold matrix used in performing the above expansion processing, and the converted multi-valued The image data is converted to a second resolution higher than the first resolution in order to improve the gradation, and the image data converted to the second resolution is further converted to binary image data, and the converted image data is converted. Since the binary image data is output to the printer engine, the storage capacity of the storage means for storing the image data is reduced to reduce the cost, and at the same time, the print image (halftone density) by the binary output printer engine is reduced. ) Quality can be improved. Further, an accurate halftone density can be obtained.

【0052】請求項9の発明は、入力された画像データ
を第1の解像度で2値のイメージデータとして展開する
展開処理を行なう展開処理手段と、該手段にて展開され
たイメージデータを記憶する記憶手段と、該手段に記憶
された2値のイメージデータを多値のイメージデータに
変換する多値化処理を行なう多値化処理手段と、該手段
にて変換された多値のイメージデータを第1の解像度よ
りも高い第2の解像度に変換する解像度変換手段と、該
手段にて第2の解像度に変換されたイメージデータのう
ちの画像の境界線を抽出し、その抽出した境界線で囲ま
れた領域毎に面積階調法を用いて2値のイメージデータ
に変換する面積階調処理を行なう面積階調処理手段と、
該手段にて変換された2値のイメージデータをプリンタ
エンジンに出力する出力制御手段とを設けたものであ
る。
According to a ninth aspect of the present invention, there is provided a development processing means for performing development processing for developing input image data as binary image data at a first resolution, and stores the image data developed by the means. Storage means; multi-value processing means for performing a multi-value processing for converting binary image data stored in the means into multi-value image data; and multi-value image data converted by the means. Resolution converting means for converting the image data into a second resolution higher than the first resolution; extracting a boundary of an image from the image data converted to the second resolution by the means; Area gradation processing means for performing area gradation processing for converting into binary image data using the area gradation method for each enclosed region;
Output control means for outputting the binary image data converted by the means to a printer engine.

【0053】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを第1の解像度で2値のイメージデータとして展開
して記憶手段に記憶した後、その2値のイメージデータ
を多値のイメージデータに変換し、その変換した多値の
イメージデータを第1の解像度よりも高い第2の解像度
に変換し、更にその第2の解像度に変換したイメージデ
ータのうちの画像の境界線を抽出し、その抽出した境界
線で囲まれた領域毎に面積階調法を用いて2値のイメー
ジデータに変換し、その変換した2値のイメージデータ
をプリンタエンジンに出力するので、イメージデータを
記憶するための記憶手段の記憶容量を少なくしてコスト
を低減させると同時に、2値出力用のプリンタエンジン
による印刷画像(中間調濃度)の品質を向上させること
ができる。グラフィックデータなど、中間調の濃度であ
っても同じ濃度の連続する画像データの場合には、その
境界線を抽出し、その抽出した境界線で囲まれた各領域
を一様な濃度で表現することができるため、輪郭をぼや
けさせることがなくなり、高品質の印刷画像を得ること
ができる。
According to this structure, when the input image data is developed as image data, the image data is developed as binary image data at the first resolution and stored in the storage means. Converting binary image data into multi-valued image data, converting the converted multi-valued image data to a second resolution higher than the first resolution, and further converting the image data to the second resolution , The boundary line of the image is extracted, and the area surrounded by the extracted boundary line is converted into binary image data by using the area gradation method, and the converted binary image data is output to the printer engine. Output, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, the print image ( It is possible to improve the quality between tone density). In the case of continuous image data of the same density even for halftone density such as graphic data, the boundary line is extracted, and each area surrounded by the extracted boundary line is expressed with uniform density. Therefore, the outline is not blurred, and a high quality print image can be obtained.

【0054】請求項10の発明は、入力された画像デー
タを第1の解像度で2値のイメージデータとしてスクリ
ーン角を付けて複数の色成分に分けて展開する展開処理
を行なう展開処理手段と、該手段にて展開されたイメー
ジデータを記憶する記憶手段と、該手段に記憶された2
値のイメージデータを多値のイメージデータに変換する
多値化処理を行なう多値化処理手段と、該手段にて変換
された多値のイメージデータを第1の解像度よりも高い
第2の解像度に変換する解像度変換手段と、該手段にて
第2の解像度に変換されたイメージデータに付いている
スクリーン角を認識し、その認識したスクリーン角と同
じ角度で該イメージデータを面積階調法を用いて2値の
イメージデータに変換する面積階調処理を行なう面積階
調処理手段と、該手段にて変換された2値のイメージデ
ータをプリンタエンジンに出力する出力制御手段とを設
けたものである。
In a tenth aspect of the present invention, there is provided a development processing means for performing a development process for dividing input image data into binary image data at a first resolution with a screen angle and dividing the image data into a plurality of color components. Storage means for storing the image data developed by the means;
Multi-value processing means for performing multi-value processing for converting value image data into multi-value image data, and converting the multi-value image data converted by the means to a second resolution higher than the first resolution Resolution converting means for converting the image data converted to the second resolution by the means, and recognizing a screen angle attached to the image data converted to the second resolution by an area gradation method at the same angle as the recognized screen angle. Area gradation processing means for performing area gradation processing for converting the image data into binary image data using the image processing apparatus, and output control means for outputting the binary image data converted by the means to a printer engine. is there.

【0055】このように構成すれば、入力された画像デ
ータをイメージデータとして展開する際に、その画像デ
ータを第1の解像度で2値のイメージデータとしてスク
リーン角(これはカラープリンタなどの画像処理でよく
使われている)を付けて複数の色成分に分けて展開して
記憶手段に記憶した後、その2値のイメージデータを多
値のイメージデータに変換し、その変換した多値のイメ
ージデータを第1の解像度よりも高い第2の解像度に変
換し、更にその第2の解像度に変換したイメージデータ
に付いているスクリーン角を認識し、その認識したスク
リーン角と同じ角度でそのイメージデータを面積階調法
を用いて2値のイメージデータに変換し(このとき上記
スクリーン角と同じ角度になるように面積階調処理を行
なう際に使用する閾値パターンを選択する)、その変換
した2値のイメージデータをプリンタエンジンに出力す
るので、イメージデータを記憶するための記憶手段の記
憶容量を少なくしてコストを低減させると同時に、2値
出力用のプリンタエンジンによる印刷画像(中間調濃
度)の品質および色の再現性を向上させることができ
る。
With this configuration, when the input image data is developed as image data, the image data is converted into binary image data at the first resolution by a screen angle (this is an image processing method such as a color printer). , Which is divided into a plurality of color components, developed and stored in the storage means, and then the binary image data is converted into multi-value image data, and the converted multi-value image is converted. Converting the data to a second resolution higher than the first resolution, further recognizing a screen angle attached to the image data converted to the second resolution, and recognizing the image data at the same angle as the recognized screen angle; Is converted into binary image data using the area gradation method (this is used when performing the area gradation processing so that the angle becomes the same as the screen angle described above). Value pattern is selected), and the converted binary image data is output to the printer engine. Therefore, the storage capacity of the storage means for storing the image data is reduced to reduce the cost, and at the same time to reduce the cost. Can improve the quality and color reproducibility of a print image (halftone density) by the printer engine.

【0056】[0056]

【発明の実施の形態】以下、この発明の実施形態を図面
に基づいて具体的に説明する。なお、各実施形態ではそ
れぞれ、カラープリンタコントローラ(以下単に「プリ
ンタコントローラ」と略称する)とカラーレーザプリン
タエンジン(以下単に「プリンタエンジン」と略称す
る)とを使用しているが、モノクロプリンタコントロー
ラおよびモノクロレーザプリンタエンジンを使用しても
構わない。
Embodiments of the present invention will be specifically described below with reference to the drawings. In each of the embodiments, a color printer controller (hereinafter simply referred to as “printer controller”) and a color laser printer engine (hereinafter simply referred to as “printer engine”) are used. A monochrome laser printer engine may be used.

【0057】まず、この発明の一実施形態について説明
する。図1は、この発明の一実施形態のプリンタ制御装
置であるプリンタコントローラを用いたプリンタシステ
ムの構成例を示すブロック図であり、図22と対応する
部分には同一符号を付している。
First, an embodiment of the present invention will be described. FIG. 1 is a block diagram showing a configuration example of a printer system using a printer controller as a printer control device according to an embodiment of the present invention, and portions corresponding to FIG. 22 are denoted by the same reference numerals.

【0058】このプリンタシステムは、ホストコンピュ
ータ1とプリンタコントローラ20とプリンタエンジン
10とによって構成されており、プリンタコントローラ
20とプリンタエンジン10とが一体となってプリンタ
を構成しているが、それ以外のものも含む。
This printer system is composed of a host computer 1, a printer controller 20, and a printer engine 10. The printer controller 20 and the printer engine 10 constitute a printer as a single unit. Including things.

【0059】プリンタコントローラ20は、ホストI/
F3,中央処理装置であるCPU4,プログラムメモリ
であるROM5,およびデータメモリであるRAM(画
像記憶手段)6がシステムバス9によって相互に接続さ
れ、マイクロコンピュータを構成している。
The printer controller 20 has a host I /
F3, a CPU serving as a central processing unit, a ROM 5 serving as a program memory, and a RAM (image storage means) 6 serving as a data memory are mutually connected by a system bus 9 to constitute a microcomputer.

【0060】さらに、システムバス9に接続されたビデ
オDMAコントローラ(VDMAC)7,ラインバッフ
ァ21,出力パターン発生回路22と、その出力パター
ン発生回路22に接続されたエンジンI/F8とを備え
ている。そして、ホストI/F3にホストコンピュータ
1が接続され、エンジンI/F8にプリンタエンジン1
0が接続される。
Further, a video DMA controller (VDMAC) 7 connected to the system bus 9, a line buffer 21, an output pattern generation circuit 22, and an engine I / F 8 connected to the output pattern generation circuit 22 are provided. . The host computer 1 is connected to the host I / F 3, and the printer engine 1 is connected to the engine I / F 8.
0 is connected.

【0061】このプリンタシステムにおいて、使用者
は、ホストコンピュータ1上でアプリケーションソフト
ウェアを利用して、印刷を行ないたい画像データを作成
する。この時、使用者によって作成される画像データ
は、複数ページに渡っているものや、カラーデータとし
て作成されるもの、テキストデータ,グラフィックデー
タ,イメージデータがそれぞれ単体だけのものや、それ
らが混在しているもの等、各種の画像データが存在す
る。
In this printer system, the user uses the application software on the host computer 1 to create image data to be printed. At this time, the image data created by the user may be one that covers a plurality of pages, one that is created as color data, one that contains only text data, graphic data, and image data, or a mixture of these. There are various types of image data, such as those that are being read.

【0062】そして、画像データの作成が完了した時点
で、使用者はホストコンピュータ1に接続されて印刷が
可能なプリンタのうち、印刷を行ないたいプリンタを選
択して、印刷命令(印刷実行命令)を発行する。
When the creation of the image data is completed, the user selects a printer to be printed from the printers connected to the host computer 1 and capable of printing, and issues a print instruction (print execution instruction). Issue

【0063】その際の使用者からの印刷命令には、印刷
部数の指定、カラーかモノクロかの指定、拡大あるいは
縮小率の指定、用紙のサイズ指定、また、1枚の用紙に
複数のページをまとめて印刷する集約印刷を行なうか否
かの指定、トナーセーブ機能を使用するか否かの指定な
ど、各種の印刷モードが指定される。
At this time, a print command from the user includes designation of the number of copies, designation of color or monochrome, designation of an enlargement or reduction ratio, designation of a sheet size, and a plurality of pages per sheet. Various print modes are designated, such as designation of whether to perform collective printing for collective printing and designation of use of the toner save function.

【0064】使用者により印刷命令が発行されると、使
用者から指定された各種モードを満足するように、ホス
トコンピュータ1の内部に記憶されているプリンタドラ
イバ1aと呼ばれるソフトウェアによって、接続されて
いるプリンタコントローラ20が解読できるコードに変
換して、その変換した画像データ(コード情報)をプリ
ンタコントローラ20に出力する。
When a print command is issued by the user, the printer is connected by software called a printer driver 1a stored in the host computer 1 so as to satisfy various modes specified by the user. The printer controller 20 converts the image data into a code that can be decoded by the printer controller 20 and outputs the converted image data (code information) to the printer controller 20.

【0065】プリンタコントローラ20では、ネットワ
ークや各種インタフェースで構成されるホストI/F3
によって、ホストコンピュータ1からの画像データの受
信が始まると、CPU4に対してインタラプトを発生さ
せて印刷命令が発行されたことを知らせ、受信した画像
データをRAM6にバッファリングして一時的に記憶さ
せる。
In the printer controller 20, a host I / F 3 composed of a network and various interfaces
When the reception of image data from the host computer 1 is started, an interrupt is generated to notify the CPU 4 that a print command has been issued, and the received image data is buffered in the RAM 6 and temporarily stored. .

【0066】CPU4は、ROM5に格納されたコード
情報に従い、受信してバッファリングした画像データを
予め設定された第1の解像度でプリンタエンジン10に
て印刷が可能なようにRAM6にイメージ展開し、コー
ド情報として受信した画像データをビットマップ情報
(イメージデータ)に変換して記憶していく。その際、
CPU4は、RAM6のイメージ展開する部分は仮想的
に副走査方向の複数のバンドに区切ってイメージ展開し
ていく。イメージ展開された画像データは、バンド単位
でRAM6に記憶される。
The CPU 4 develops the received and buffered image data in the RAM 6 according to the code information stored in the ROM 5 so that the image data can be printed by the printer engine 10 at a preset first resolution. Image data received as code information is converted into bitmap information (image data) and stored. that time,
The CPU 4 develops the image in the RAM 6 by virtually dividing the image developing portion into a plurality of bands in the sub-scanning direction. The developed image data is stored in the RAM 6 in band units.

【0067】その際、RAM6のメモリ管理により、例
えば図2に示すように画像データをバンド毎にRAM6
の空いた領域にイメージ展開していくが、色成分毎にま
とまる必要はない。
At this time, by the memory management of the RAM 6, for example, as shown in FIG.
The image is developed in the empty area, but it is not necessary to group each color component.

【0068】このような処理を繰り返し行なうことによ
り、CPU4によって受信された画像データのうち、1
ページ分のイメージ展開が完了すると、CPU4はプリ
ンタエンジン(カラープリンタエンジン)10の状態を
検知し、レディ状態であった場合には、そのプリンタエ
ンジン10に印刷起動命令を出し、印刷動作を実行させ
る。
By repeating such processing, one of the image data received by CPU 4
When the image development for the page is completed, the CPU 4 detects the state of the printer engine (color printer engine) 10, and if it is in the ready state, issues a print start command to the printer engine 10 to execute the printing operation. .

【0069】ここで、CPU4は、入力された画像デー
タをイメージ展開する際には、例えばその画像データを
面積階調法を用いて2値化処理を行なう(2値のイメー
ジデータとして展開する)。面積階調法には、例えばデ
ィザ法があり、このディザ法を用いて2値化処理(ディ
ザ処理)を行なう場合には、例えば図3に示すような閾
値マトリクスであるディザパターン(ディザマトリク
ス)を使用する。
Here, when developing the input image data into an image, the CPU 4 performs a binarization process on the image data by using, for example, an area gradation method (development as binary image data). . The area gradation method includes, for example, a dither method. When a binarization process (dither process) is performed using the dither method, a dither pattern (dither matrix) that is a threshold matrix as illustrated in FIG. Use

【0070】このディザパターンは、連続して同じパタ
ーンが接続されており、仮想的にページのすべての領域
で参照される。また、このディザパターンの数値は閾値
を表わしており、この閾値と実際の画像データの濃度値
とを比較して、閾値よりも画像データの濃度値の方が大
きい場合には、その画素はドットあり(黒)と判断し、
閾値よりも画像データの濃度値の方が小さいか、その各
値が同じ値の場合には、ドット無し(白)と判断してR
AM6に記憶する。
The same dither pattern is continuously connected to the same pattern, and is referred to virtually in all areas of the page. The numerical value of the dither pattern represents a threshold value. The threshold value is compared with the density value of the actual image data. If the density value of the image data is larger than the threshold value, the pixel is set to a dot. Yes (black)
If the density value of the image data is smaller than the threshold value or each value is the same value, it is determined that there is no dot (white) and R
Store it in AM6.

【0071】この例では、64階調を表わすために、デ
ィザパターンのサイズを8×8に設定して64画素で行
なっているが、ディザパターンのサイズはどのような大
きさでも構わない。但し、ディザパターンのサイズを大
きくすればするほど、表現できる階調数は増えて、階調
性は向上するが、生成されるドットが大きくなるので、
線数は低くなってしまう。
In this example, in order to represent 64 gradations, the size of the dither pattern is set to 8 × 8 and 64 pixels are used, but the size of the dither pattern may be any size. However, as the size of the dither pattern is increased, the number of gradations that can be expressed is increased, and the gradation is improved, but the generated dots are increased.
The number of lines will be low.

【0072】図3のディザパターンを用いて、例えば図
4に示すような濃度=20/64のデータをディザ処理
すると、図5のような結果が得られる。この例のような
ディザパターンを使用すると、複数の画素の集合体でで
きたドットを形成でき、単位面積で階調を表現できる。
また、この集合体となったドットの並びの角度(スクリ
ーン角)をディザパターンを変更することによって変え
ることも可能となる(この例ではスクリーン角=90
度)。
When the data of density = 20/64 as shown in FIG. 4, for example, is dithered using the dither pattern of FIG. 3, the result as shown in FIG. 5 is obtained. When a dither pattern as in this example is used, a dot made of an aggregate of a plurality of pixels can be formed, and a gradation can be expressed in a unit area.
In addition, it is possible to change the angle (screen angle) of the arrangement of the dots in the aggregate by changing the dither pattern (in this example, screen angle = 90).
Every time).

【0073】以上のようなディザ処理(展開処理)は、
プリンタコントローラ20に入力された画像データがカ
ラーデータの場合には、複数の色成分に分けて行なわれ
(全ての色成分だけ行なわれ)、2値化されたイメージ
データがRAM6に記憶される。また、その2値のイメ
ージデータにはスクリーン角が付く。CPU4は、プリ
ンタエンジン10に印刷起動命令を出すと同時に、ビデ
オDMAコントローラ7に画像データ(イメージデー
タ)の転送数や、余白領域の大きさなどの印刷に関わる
各種設定を行なう。
The above dither processing (expansion processing)
When the image data input to the printer controller 20 is color data, the image data is divided into a plurality of color components (only all color components are performed), and the binarized image data is stored in the RAM 6. In addition, the binary image data has a screen angle. The CPU 4 issues a print activation command to the printer engine 10 and, at the same time, makes various settings relating to printing, such as the number of image data (image data) transferred and the size of a margin area, to the video DMA controller 7.

【0074】プリンタエンジン10は、プリンタコント
ローラ20から印刷起動命令が出されると、そのプリン
タコントローラ20に対して、主走査方向,副走査方向
の同期信号およびゲート信号をイネーブルにして、印刷
動作を開始する。印刷動作が開始されると、ビデオDM
Aコントローラ7は、ビデオDMA動作(RAM6に直
接アクセスしてイメージ展開した2値のイメージデータ
を読み出して高速にプリンタエンジン10に出力させる
動作)を開始し、RAM6に記憶された2値のイメージ
データを順次ラインバッファ21に出力して記憶させ
る。
When the print start command is issued from the printer controller 20, the printer engine 10 enables the synchronous signal and the gate signal in the main scanning direction and the sub-scanning direction to the printer controller 20 and starts the printing operation. I do. When the printing operation is started, the video DM
The A controller 7 starts the video DMA operation (the operation of directly accessing the RAM 6 to read out the binary image data obtained by developing the image and outputting the binary image data to the printer engine 10 at a high speed), and transfers the binary image data stored in the RAM 6. The data is sequentially output to the line buffer 21 and stored.

【0075】ラインバッファ21は、ライン単位で(1
又は複数ラインの)2値のイメージデータを一時的に蓄
えた後、出力パターン発生回路22に出力する。出力パ
ターン発生回路22は、ラインバッファ21からの2値
のイメージデータを多値のイメージデータに変換し、そ
の変換した多値のイメージデータを階調性を向上させる
ために第1の解像度(RAM6へのイメージ展開時の解
像度)よりも高い第2の解像度(高解像度)に変換し、
更にその第2の解像度に変換した多値のイメージデータ
を2値のイメージデータに変換し、その変換した2値の
イメージデータをエンジンI/F8に出力する。
The line buffer 21 stores (1
Alternatively, after temporarily storing binary image data (of a plurality of lines), the image data is output to the output pattern generation circuit 22. The output pattern generation circuit 22 converts the binary image data from the line buffer 21 into multi-valued image data, and converts the converted multi-valued image data to a first resolution (RAM 6 To the second resolution (high resolution) higher than the
Further, the multi-valued image data converted to the second resolution is converted to binary image data, and the converted binary image data is output to the engine I / F 8.

【0076】エンジンI/F8は、出力パターン発生回
路22からの2値のイメージデータをプリンタエンジン
10に出力して印刷を実行させる。なお、ROM5に
は、CPU4を動作させるためのプログラムコードや、
テキストデータのイメージ展開に使用するフォント情報
等が記憶されている。また、この発明における展開処理
手段などの機能は、CPU4がROM5に書き込まれた
プログラムコードに従って動作することにより実現され
る。
The engine I / F 8 outputs the binary image data from the output pattern generation circuit 22 to the printer engine 10 to execute printing. The ROM 5 has a program code for operating the CPU 4,
Font information and the like used for image development of text data are stored. The functions of the expansion processing means and the like in the present invention are realized by the CPU 4 operating according to the program code written in the ROM 5.

【0077】次に、出力パターン発生回路22の動作、
つまりCPU4によるイメージ展開時の解像度(第1の
解像度)よりも高い第2の解像度(この例では第1の解
像度の4倍の解像度とする)で印刷を行なえるようにす
るための動作について、図6〜図20に基づいて具体的
に説明する。但し、必ずしも第2の解像度は第1の解像
度の4倍でなくてもよい。
Next, the operation of the output pattern generation circuit 22
That is, the operation for enabling printing at the second resolution (in this example, four times the first resolution) higher than the resolution (first resolution) at the time of image development by the CPU 4 is described. A specific description will be given based on FIGS. However, the second resolution does not necessarily have to be four times the first resolution.

【0078】図6は、図1の出力パターン発生回路22
の構成例を示すブロック図である。この出力パターン発
生回路22は、多値化回路(多値化処理手段)31,解
像度変換回路(解像度変換手段)32,コンパレータ3
3,高解像度ディザパターンメモリ34,ラインバッフ
ァ35,及びフリップフロップ回路(以下「F/F」と
いう)36を備えている。なお、コンパレータ33およ
び高解像度ディザパターンメモリ34が、2値化処理手
段又は面積階調処理手段としての機能を果たす。また、
F/F36およびエンジンI/F8が出力制御手段とし
ての機能を果たす。
FIG. 6 shows the output pattern generation circuit 22 of FIG.
FIG. 3 is a block diagram illustrating a configuration example of FIG. The output pattern generation circuit 22 includes a multi-value conversion circuit (multi-value processing means) 31, a resolution conversion circuit (resolution conversion means) 32, and a comparator 3.
3, a high resolution dither pattern memory 34, a line buffer 35, and a flip-flop circuit (hereinafter referred to as "F / F") 36. The comparator 33 and the high-resolution dither pattern memory 34 function as a binarization processing unit or an area gradation processing unit. Also,
The F / F 36 and the engine I / F 8 function as output control means.

【0079】出力パターン発生回路22はこのような構
成になっており、ラインバッファ21から出力された2
値のイメージデータは多値化回路31に入力される。多
値化回路31は、入力された2値のイメージデータを多
値のイメージデータに変換する多値化処理を行なう。具
体的には、例えばCPU4がディザ法(面積階調法)を
用いた展開処理を行なう際に使用したディザパターンの
サイズと同じサイズのディザパターンを使用してディザ
法を用いて多値のイメージデータに変換する。つまり、
そのマトリクスサイズの単位で濃度判定を行なう(この
例では8×8)。
The output pattern generation circuit 22 has such a configuration,
The value image data is input to the multi-level conversion circuit 31. The multi-level conversion circuit 31 performs a multi-level conversion process for converting the input binary image data into multi-level image data. Specifically, for example, the CPU 4 uses a dither pattern having the same size as the dither pattern used when the CPU 4 performs the expansion processing using the dither method (area gradation method), and uses the dither method to generate a multi-valued image. Convert to data. That is,
The density determination is performed in the unit of the matrix size (8 × 8 in this example).

【0080】ラインバッファ21から入力された8×8
の2値のイメージデータ(画像データ)が、例えば図7
に示すような場合には、ドットあり(黒)の画素が、全
体に対して30存在しているため、その濃度は30/6
4と判定する。この濃度値(多値のイメージデータ)は
解像度変換回路32に入力され、ここで第1の解像度
(低解像度)よりも高い第2の解像度(高解像度)に変
換された後、コンパレータ33に入力される。
8 × 8 input from line buffer 21
The binary image data (image data) shown in FIG.
In the case shown in (1), since there are 30 pixels with dots (black) with respect to the whole, the density is 30/6.
4 is determined. This density value (multi-valued image data) is input to a resolution conversion circuit 32, where it is converted to a second resolution (high resolution) higher than the first resolution (low resolution), and then to a comparator 33. Is done.

【0081】コンパレータ33は、解像度変換回路32
からの濃度値を高解像度ディザパターンメモリ34内の
高解像度ディザパターンの閾値と比較する。高解像度デ
ィザパターンメモリ34には、予めCPU4より図8に
示すような主走査方向が副走査方向に対して4倍の長さ
のディザパターンで表現された閾値のパターンが入力さ
れている。
The comparator 33 includes a resolution conversion circuit 32
Is compared with the threshold value of the high resolution dither pattern in the high resolution dither pattern memory 34. In the high-resolution dither pattern memory 34, a threshold pattern in which the main scanning direction is expressed as a dither pattern four times as long as the sub-scanning direction as shown in FIG.

【0082】したがって、コンパレータ33は、このデ
ィザパターンと解像度変換回路32からの濃度値とを大
小比較し、例えばその濃度値に対応する2値のイメージ
データが図7のビット列で出力パターン発生回路22に
入力された画像データの場合には、上記濃度値を図9に
示すように2値のイメージデータに変換し、ラインバッ
ファ35にライン単位で一時的に記憶させる。但し、ラ
インバッファ35は、主走査方向に対してラインバッフ
ァ21よりも4倍の画素が記憶できる構成となってい
る。
Accordingly, the comparator 33 compares the dither pattern with the density value from the resolution conversion circuit 32, and, for example, converts the binary image data corresponding to the density value into the bit string of FIG. In the case of image data input to the image data, the density value is converted into binary image data as shown in FIG. 9 and is temporarily stored in the line buffer 35 in line units. However, the line buffer 35 has a configuration capable of storing four times as many pixels as the line buffer 21 in the main scanning direction.

【0083】ラインバッファ35に記憶された2値のイ
メージデータは、通常の解像度(第1の解像度)に対応
するビデオクロックの4倍の周波数のビデオクロック
(ビデオCLK)に同期され(主走査方向のパルス幅変
調が行なわれて)パルスデータとしてエンジンI/F8
に出力される。したがって、例えばイメージ展開時の第
1の解像度が600DPIであった場合には、その4倍
の2400DPIで2値のイメージデータがパルスデー
タとして出力されることになる。
The binary image data stored in the line buffer 35 is synchronized with a video clock (video CLK) having a frequency four times as high as a video clock corresponding to a normal resolution (first resolution) (main scanning direction). Pulse width modulation is performed) as the pulse data of the engine I / F 8
Is output to Therefore, for example, when the first resolution at the time of image development is 600 DPI, binary image data is output as pulse data at 2400 DPI, which is four times that of the first resolution.

【0084】このように構成することにより、見た目主
走査方向に対して横長のデータになってしまったように
思えるが、図10に示すような600DPIでのパルス
によるドットに対して、2400DPIでのパルスは図
11に示すような縦長のドットになってしまうため、結
果としては、図3の8×8のマトリクスで表わされた同
じ面積の中に64画素×4のディザパターンがあること
になり、図12に示すように図7と同じ面積でより細か
い階調表現が可能となる。
With this configuration, it seems that the data becomes horizontally long in the main scanning direction. However, a dot generated by a pulse at 600 DPI as shown in FIG. Since the pulse becomes a vertically long dot as shown in FIG. 11, the result is that there is a dither pattern of 64 pixels × 4 in the same area represented by the 8 × 8 matrix of FIG. Thus, as shown in FIG. 12, finer gradation expression is possible with the same area as in FIG.

【0085】以上のような構成にすることにより、イメ
ージ展開に必要なRAM6は600DPIで良いにもか
かわらず、2400DPIの画像を印刷することが可能
になり、且つディザパターンを工夫することにより細か
い網点になるため、線数を高くして階調を表現すること
が可能となる。
With the above-described configuration, it is possible to print an image of 2400 DPI even though the RAM 6 required for image development is 600 DPI, and it is possible to print a fine network by devising a dither pattern. Since it is a point, it is possible to express gradation by increasing the number of lines.

【0086】また、この実施形態では、解像度を高くす
るためにパルス幅変調を行なっているが、カラーに限ら
ず、一般的なプリンタエンジンでは、副走査方向の制御
はメカニカルに行なっているため、解像度を変換するた
めには、印刷速度(印字速度)を落とすか、ポリゴンミ
ラー(レーザビームを主走査する回転多面鏡)の回転数
を上げるかのいずれかの方式を取らなくてはならない。
In this embodiment, pulse width modulation is performed in order to increase the resolution. However, the control in the sub-scanning direction is performed mechanically by a general printer engine, not limited to color. In order to convert the resolution, it is necessary to adopt a method of reducing the printing speed (printing speed) or increasing the number of rotations of a polygon mirror (rotating polygon mirror for performing main scanning of a laser beam).

【0087】印刷速度を落とすことは、プリンタとして
のパフォーマンスを落とすだけでなく、モータの回転数
を下げるなど、メカニカルな制御を行なうため、その一
精度を出すのはとても難しくなる。また、ポリゴンミラ
ーの回転数を上げるためには、ポリゴンミラーを高速に
回転させる必要があるため、回転速度を一定に保って画
像品質を安定させる必要があり、これも難しい制御が必
要となる。
Reducing the printing speed not only lowers the performance of the printer, but also performs mechanical control such as reducing the number of rotations of the motor, so that it is very difficult to achieve one accuracy. In order to increase the number of rotations of the polygon mirror, it is necessary to rotate the polygon mirror at high speed. Therefore, it is necessary to stabilize the image quality by keeping the rotation speed constant, which also requires difficult control.

【0088】これに対して、この実施形態におけるプリ
ンタエンジン10がデータスルー方式を取っている場合
には、図13に示すようにデータがある(色を付ける)
時にのみ、データ線にパルスを発生させるだけで良いた
め、制御が比較的容易となる。したがって、このパルス
をどれくらい細かく発生させられるかが、どれだけ解像
度を高くして出力できるかを決定するポイントとなる。
On the other hand, when the printer engine 10 according to the present embodiment employs the data through system, data is present (colored) as shown in FIG.
Only at the time, it is sufficient to generate a pulse on the data line, so that the control is relatively easy. Therefore, how finely this pulse can be generated is a point for determining how high the resolution can be output.

【0089】図14は図1の出力パターン発生回路22
の他の構成例を示すブロック図であり、図6と対応する
部分には同一符号を付している。図14の出力パターン
発生回路22において、図6と相違する点は、コンパレ
ータ33とラインバッファ35との間にセレクタ41を
設け、ラインバッファ21の出力側とセレクタ41の入
力側との間にスムージング回路42を設け、ラインバッ
ファ21の出力側にエッジ検出回路(エッジ検出手段)
43を設けた点である。
FIG. 14 shows the output pattern generation circuit 22 of FIG.
FIG. 7 is a block diagram showing another configuration example, and portions corresponding to FIG. 6 are denoted by the same reference numerals. 14 is different from FIG. 6 in that a selector 41 is provided between a comparator 33 and a line buffer 35, and smoothing is performed between the output side of the line buffer 21 and the input side of the selector 41. A circuit 42 is provided, and an edge detection circuit (edge detection means) is provided on the output side of the line buffer 21.
43 is provided.

【0090】ここで、テキストデータなどは、中間調の
画像データと違って、図15に示すように、一様な濃度
でドットが形成されている訳ではなく、エッジ画像とし
てイメージ展開される性質を持つ。この性質を利用し
て、出力パターン発生回路22を図14に示すように構
成することにより、ラインバッファ21の出力データ、
つまり複数ライン分の2値のイメージデータからエッジ
検出回路43がエッジを抽出して検出する(そのイメー
ジデータがエッジ部か否かを判定する)処理を行なう。
Here, unlike the halftone image data, as shown in FIG. 15, dots are not formed at a uniform density, but the image data is developed as an edge image. have. Utilizing this property, the output pattern generation circuit 22 is configured as shown in FIG.
That is, the edge detection circuit 43 performs processing of extracting and detecting an edge from binary image data of a plurality of lines (determining whether or not the image data is an edge portion).

【0091】なお、ラインバッファ21は、多値化回路
31によって変換される前の2値のイメージデータを一
時的に複数ライン分記憶するものであるが、このライン
バッファ21を多値化回路31の出力側(多値化回路3
1と解像度変換回路32との間あるいは解像度変換回路
32とコンパレータ33との間)に設け、多値化回路3
1によって変換された多値のイメージデータあるいは解
像度変換回路32によって第2の解像度に変換された多
値のイメージデータをラインバッファ21に一時的に複
数ライン分記憶するようにしてもよい。
The line buffer 21 temporarily stores the binary image data before conversion by the multi-level conversion circuit 31 for a plurality of lines. Output side (multi-level conversion circuit 3
1 and the resolution conversion circuit 32 or between the resolution conversion circuit 32 and the comparator 33).
The multi-valued image data converted by 1 or the multi-valued image data converted to the second resolution by the resolution conversion circuit 32 may be temporarily stored in the line buffer 21 for a plurality of lines.

【0092】エッジ検出回路43は、エッジ検出を行な
う際には、例えばラインバッファ21の出力データが図
15に示したようなデータであれば、データが無い
(白)領域とデータがある(色を付ける)領域とがはっ
きりと分離されていることに注目してエッジの検出を行
なう。
When the edge detection circuit 43 performs edge detection, for example, if the output data of the line buffer 21 is the data as shown in FIG. 15, there is no data (white) area and there is data (color Note that the region is clearly separated from the region.

【0093】ラインバッファ21の出力データがエッジ
検出回路43にてエッジ部であると判定されると、セレ
クタ41は、コンパレータ33の出力からスムージング
回路42の出力に変更し、スムージング回路42の出力
データを選択してラインバッファ35に出力して記憶さ
せ、以後前述と同様な処理が行なわれる。
When the edge detection circuit 43 determines that the output data of the line buffer 21 is an edge portion, the selector 41 changes the output of the comparator 33 to the output of the smoothing circuit 42, and outputs the output data of the smoothing circuit 42. Is selected, output to the line buffer 35 and stored, and thereafter the same processing as described above is performed.

【0094】スムージング回路42は、図15に示した
ようなイメージデータが入力された場合、それを図16
に示すように主走査方向に4倍に画素を拡張し(この例
では4倍に拡張しているが、何倍に拡張しても良い。ま
た、図16のイメージデータは図15の座標(H,1)
から座標(F,5)までを対象としたものである)、図
16に示す座標(G,2″’)や、座標(F,4″’)
のようにドットを追加した方がエッジ部を滑らかにでき
る画素にドットを補完する。
When the image data as shown in FIG. 15 is input, the smoothing circuit 42
As shown in FIG. 15, the pixels are expanded four times in the main scanning direction (in this example, the pixels are expanded four times, but may be expanded any number of times. In addition, the image data in FIG. H, 1)
To coordinates (F, 5)), coordinates (G, 2 "") and coordinates (F, 4 "") shown in FIG.
A dot is complemented to a pixel which can smooth an edge portion by adding a dot as shown in FIG.

【0095】なお、この例では、エッジ部を太らせる方
向の処理を行なっているが、座標(G,3)や座標
(F,5)の画素のドットを削除をしてスムージングさ
せて、エッジを細らせる処理を行なっても良い。
In this example, the processing in the direction of thickening the edge portion is performed. However, the dot of the pixel at the coordinates (G, 3) or (F, 5) is deleted and smoothed, May be performed.

【0096】以上のような構成を取った場合には、RA
M(メモリ)6を低解像度(第1の解像度)分のみの容
量で構成しているにもかかわらず、中間調の画像データ
とエッジ部とを分離してそれぞれの特性に合った画像処
理を施して、高解像度(第2の解像度)にて印刷が可能
となる。また、この際、図1および図14に示したライ
ンバッファを共有して利用することにより、副走査方向
のイメージデータも参照することが可能となり、濃度の
判定やエッジの検出を容易且つ効率的に行なえる。
With the above configuration, the RA
Although the M (memory) 6 is configured with only the capacity corresponding to the low resolution (first resolution), the halftone image data and the edge portion are separated to perform image processing suitable for each characteristic. Thus, printing at a high resolution (second resolution) becomes possible. At this time, by sharing the line buffer shown in FIG. 1 and FIG. 14, it is possible to refer to the image data in the sub-scanning direction, and the density determination and the edge detection can be performed easily and efficiently. Can be done.

【0097】ところで、レーザプリンタやデジタル複写
機などに広く使われている電子写真方式のプリンタエン
ジンでは、露光させて静電気を帯びた感光体にトナーと
呼ばれる粉末状の逆電位を帯びたインクを付着させて、
用紙に転写した後に熱または圧力により溶融させて定着
することにより印刷動作を行なっているが、トナーを感
光体に付着する際、付着するドット径が小さくなればな
る程付着しにくいと言う性質がある。
By the way, in an electrophotographic printer engine widely used in laser printers, digital copying machines, and the like, a powdery ink, which is called a toner and has a reverse potential, is attached to a photoreceptor that has been exposed and charged with static electricity. Let me
The printing operation is carried out by fusing and fixing by heat or pressure after transferring to paper, but the property that when the toner adheres to the photoreceptor, the smaller the dot diameter that adheres, the more difficult it is to adhere. is there.

【0098】これは、イメージデータの解像度を高くし
て、出力時のパルス幅を小さくすればするほど、トナー
を付着させにくいと言うことと同等であるが、高解像度
の画像データでも、その周囲に他のトナーが付着してい
れば付着しやすいと言う、また別の性質もあるため、高
解像度で濃度を調整する時には、例えば図17に示すよ
うに周囲のドットから離れた位置にパルスを発生させる
よりも、図18に示すような周囲のドットに近付けた場
所にパルスを発生させることにより、トナーを付着させ
ることができるため、より高品質に印刷が行なえること
になる。
This is equivalent to the fact that the higher the resolution of the image data and the smaller the pulse width at the time of output, the more difficult it is for toner to adhere to the image data. Another characteristic is that it is easy to adhere if other toner adheres to the surface. When adjusting the density with high resolution, for example, as shown in FIG. 17, a pulse is applied to a position distant from the surrounding dots. By generating a pulse at a place closer to the surrounding dots as shown in FIG. 18 than by generating the toner, the toner can be attached, so that higher quality printing can be performed.

【0099】このことは、主走査方向のパルスだけに依
存するものではなく、副走査方向に対してのトナー付着
量にも同じことが言えるため、結果として、図8に示し
たような高解像度のディザパターンを使用することによ
って、高解像度で濃度を調整するために周囲に少しずつ
トナー付着量を増加させていけるような構成とする(デ
ィザ処理を複数のドットが集合するように行なう)こと
ができ、その結果、中間調画像濃度の階調性が向上する
ことになる。
This does not depend only on the pulse in the main scanning direction, but the same can be said for the toner adhesion amount in the sub-scanning direction. As a result, the high resolution as shown in FIG. By using the dither pattern of (1), the amount of toner adhered to the periphery can be gradually increased in order to adjust the density with high resolution (the dither processing is performed so that a plurality of dots gather). As a result, the gradation of the halftone image density is improved.

【0100】また、前述したように、CPU4によって
一旦2値化されたイメージデータを多値化回路31が多
値化する際の濃度判定を行なう場合には、2値化処理
(展開処理)時に使用したディザパターン(閾値マトリ
クス)と同じサイズのディザパターンを使用することに
より、正しい濃度判定ができることになり、高解像度で
出力する際に、画像濃度を正確に表現することが可能と
なる。
As described above, when the CPU 4 determines the density at the time when the multivalued circuit 31 converts the image data once binarized by the CPU 4 into a multivalued image, the binarization process (expansion process) is performed. By using a dither pattern of the same size as the used dither pattern (threshold matrix), correct density determination can be made, and when outputting at high resolution, image density can be accurately represented.

【0101】さらに、グラフィックデータなどは、図1
9に示すように中間調濃度が存在しているが、境界線が
はっきりとしている場合が多いため、これらの境界線を
検出してその境界線を境として、画像が存在している部
分のみの領域で濃度を判定することもできる。この例で
は、8×8のディザパターンを全て1つとして濃度判定
すると、濃度=24/64となるが、境界線で囲まれた
領域の濃度だけであると、濃度=24/40となり、6
4階調で表現すると、およそ濃度=38/64と判定す
ることができる。
Further, graphic data and the like are shown in FIG.
Although there is a halftone density as shown in FIG. 9, since the boundary lines are often clear, these boundary lines are detected, and only the portion where an image exists is detected using the boundary lines as boundaries. The density can be determined in the area. In this example, the density is determined to be 24/64 when all 8 × 8 dither patterns are determined to be one. However, if only the density of the area surrounded by the boundary line is determined, the density is determined to be 24/40.
When expressed in four gradations, it can be determined that density = 38/64.

【0102】したがって、解像度変換回路32によって
第2の解像度に変換された多値のイメージデータがグラ
フィックデータの場合、コンパレータ33は、そのグラ
フィックデータのうちの画像の境界線を抽出し、その抽
出した境界線で囲まれた領域毎にディザ法を用いて(高
解像度ディザパターンメモリ34内の高解像度ディザパ
ターンを使用して)2値のイメージデータに変換するこ
とが可能になる。
Therefore, when the multi-valued image data converted to the second resolution by the resolution conversion circuit 32 is graphic data, the comparator 33 extracts an image boundary line from the graphic data and extracts the image. Using the dither method (using the high-resolution dither pattern in the high-resolution dither pattern memory 34), it is possible to convert the image data into binary image data for each area surrounded by the boundary line.

【0103】この場合、グラフィックデータの境界線を
ぼやけさせないために、高解像度ディザパターンメモリ
34内の高解像度ディザパターンも同様に境界線で囲ま
れた領域以外の閾値を最大にして、境界線で囲まれた領
域のみドットを打つように変更し直す。この例では、閾
値の最大は63となるため、図20に示すように境界線
の外側を63とする。このようなディザパターンに切り
換える(変更する)ことにより、イメージデータがグラ
フィックデータであっても輪郭をぼやけさせることな
く、高解像度での濃度調整が可能となる。
In this case, in order to avoid blurring the boundary of the graphic data, the threshold of the high-resolution dither pattern in the high-resolution dither pattern memory 34 is similarly maximized except for the region surrounded by the boundary. Change so that only the enclosed area is dotted. In this example, since the maximum of the threshold value is 63, 63 is set outside the boundary line as shown in FIG. By switching (changing) to such a dither pattern, even if the image data is graphic data, the density can be adjusted at a high resolution without blurring the outline.

【0104】また、プリンタコントローラ20に入力さ
れた画像データがカラーデータの場合、CPU4がその
カラーデータを第1の解像度で2値のイメージデータと
してスクリーン角を付けて複数の色成分に分けて展開す
るので、その後解像度変換回路32から出力されるイメ
ージデータも当然スクリーン角が付いたものとなり、コ
ンパレータ33は、面積階調処理を行なう際に、解像度
変換回路32からのイメージデータに付いているスクリ
ーン角を認識し、その認識したスクリーン角と同じ角度
でそのイメージデータを高解像度ディザパターンメモリ
34内の図8に示したような高解像度ディザパターンを
使用して2値のイメージデータに変換することも可能に
なる。
If the image data input to the printer controller 20 is color data, the CPU 4 develops the color data as binary image data at the first resolution by dividing the image into a plurality of color components with a screen angle. Therefore, the image data output from the resolution conversion circuit 32 is of course also provided with a screen angle. When the area gradation processing is performed, the comparator 33 outputs the screen data added to the image data from the resolution conversion circuit 32. Recognizing a corner and converting the image data into binary image data at the same angle as the recognized screen angle using a high-resolution dither pattern in the high-resolution dither pattern memory 34 as shown in FIG. Also becomes possible.

【0105】図8に示したような高解像度ディザパター
ンを用いると、元々あった図3のディザパターンでのス
クリーン角と同じ角度でスクリーン角を形成できるた
め、カラーデータのように、C(シアン),M(マゼン
タ),Y(イエロー),K(ブラック)の各色のトナー
を重ねあわせた時の色合いを変えてしまうことなく、中
間調を表現することができる。
When a high-resolution dither pattern as shown in FIG. 8 is used, the screen angle can be formed at the same angle as the screen angle of the original dither pattern of FIG. ), M (magenta), Y (yellow), and K (black) can be expressed in halftone without changing the color when superimposed.

【0106】なお、コンパレータ33は、解像度変換回
路32によって変換された多値のイメージデータをエッ
ジ検出回路43による検出結果に基づいて2値のイメー
ジデータに変換するディザ処理を行なうこともできる。
このとき、エッジ検出回路43による検出結果に基づい
て、ディザ処理を行なう際に使用するディザパターンを
変更する(例えばテキストデータなどのエッジと中間調
画像とで面積階調処理を行なう際に使用するディザパタ
ーンを変更する)。
The comparator 33 can also perform dither processing for converting the multi-valued image data converted by the resolution conversion circuit 32 into binary image data based on the detection result of the edge detection circuit 43.
At this time, the dither pattern used when performing the dither processing is changed based on the detection result by the edge detection circuit 43 (for example, the dither pattern is used when performing the area gradation processing on the edge of the text data or the like and the halftone image). Change the dither pattern).

【0107】また、この実施形態では、CPU4および
コンパレータ33がディザ法を用いて2値化処理(ディ
ザ処理)を行なうようにしたが、他の面積階調法等の方
法を用いて2値化処理を行なうこともできる。さらに、
多値化回路31がディザ法を用いて多値化処理(ディザ
処理)を行なうようにしたが、他の面積階調法等の方法
を用いて多値化処理を行なうこともできる。
In this embodiment, the CPU 4 and the comparator 33 perform the binarization processing (dither processing) using the dither method. However, the CPU 4 and the comparator 33 perform binarization processing using another method such as the area gradation method. Processing can also be performed. further,
Although the multi-value processing circuit 31 performs the multi-value processing (dither processing) using the dither method, the multi-value processing can be performed using other methods such as the area gradation method.

【0108】さらにまた、この実施形態における出力パ
ターン発生回路22では、図6及び図14に示したよう
に、多値化回路31とコンパレータ33との間に解像度
変換回路32を設けたが、例えば図21に示すように、
多値化回路31および高解像度ディザパターンメモリ3
4と図示しないビデオクロック発生回路(システムクロ
ック発生回路でもよい)との間に分周回路50を設ける
ようにしてもよい。
Further, in the output pattern generation circuit 22 of this embodiment, as shown in FIGS. 6 and 14, a resolution conversion circuit 32 is provided between the multi-value conversion circuit 31 and the comparator 33. As shown in FIG.
Multi-level circuit 31 and high-resolution dither pattern memory 3
A frequency dividing circuit 50 may be provided between 4 and a video clock generating circuit (not shown) (or a system clock generating circuit).

【0109】このような構成にする場合は、多値化回路
31での解像度より高解像度ディザパターンメモリ34
での解像度の方が高くなるため、それぞれのデータを読
み出すためのクロックを異ならせるとよい。つまり、多
値化回路31にビデオクロック(又はシステムクロッ
ク)を分周したものを入力すればよい。この場合、分周
回路50が解像度変換手段と言える。
In the case of such a configuration, the resolution of the dither pattern memory 34 higher than the resolution of the
Since the resolution of the data is higher, it is preferable to use different clocks for reading each data. That is, it is only necessary to input a frequency-divided version of the video clock (or system clock) to the multi-level circuit 31. In this case, the frequency dividing circuit 50 can be said to be a resolution conversion unit.

【0110】また、この発明は、高速なカラーレーザプ
リンタや、デジタルカラー複写機,カラーインクジェッ
トプリンタ等の各種の画像形成装置に使用可能なプリン
タコントローラを適用し得るものである。
Further, the present invention can be applied to a printer controller which can be used for various image forming apparatuses such as a high-speed color laser printer, a digital color copying machine, a color ink jet printer and the like.

【0111】[0111]

【発明の効果】以上説明してきたように、請求項1,2
の発明のプリンタ制御装置によれば、イメージデータを
記憶するための記憶手段(メモリ)の記憶容量を少なく
してコストを低減させると同時に、2値出力用のプリン
タエンジンによる印刷画像の中間調濃度の品質を向上さ
せることができる。さらに、請求項2の発明のプリンタ
制御装置によれば、コストを増加させずに、高解像度で
印刷を行なうことができる。
As described above, claims 1 and 2 can be used.
According to the printer control device of the invention, the storage capacity of the storage means (memory) for storing the image data is reduced to reduce the cost, and at the same time, the halftone density of the print image by the printer engine for binary output. Quality can be improved. Further, according to the printer control device of the second aspect of the present invention, high-resolution printing can be performed without increasing costs.

【0112】請求項3,4の発明のプリンタ制御装置に
よれば、イメージデータを記憶するための記憶手段の記
憶容量を少なくしてコストを低減させると同時に、2値
出力用のプリンタエンジンによる印刷画像のエッジ画像
及び中間調画像の品質を向上させることができる。さら
に、請求項4の発明のプリンタ制御装置によれば、エッ
ジ画像を正確に表現することもできる。
According to the printer control device of the third and fourth aspects of the present invention, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, printing is performed by the printer engine for binary output. The quality of the edge image and the halftone image of the image can be improved. Further, according to the printer control apparatus of the fourth aspect, it is possible to accurately represent an edge image.

【0113】請求項5〜7の発明のプリンタ制御装置に
よれば、イメージデータを記憶するための記憶手段の記
憶容量を少なくしてコストを低減させると同時に、2値
出力用のプリンタエンジンによる印刷画像の中間調濃度
の品質及び階調性を向上させることができる。
According to the printer control apparatus of the present invention, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, the printing is performed by the printer engine for binary output. It is possible to improve the quality and gradation of the halftone density of the image.

【0114】さらに、請求項6の発明のプリンタ制御装
置によれば、2値出力用のプリンタエンジンによるテキ
ストデータの印字品質を向上させることもできる。ま
た、請求項7の発明のプリンタ制御装置によれば、コス
トを増加させずに、高解像度で印刷を行なうことができ
る。また、中間調をよく表現できるように、プリンタエ
ンジンへのパルス出力を集中して行なうことができるた
め、プリンタエンジンによる印刷の際のトナーの付着を
良好にし、より階調性を向上させることができる。
Further, according to the printer control apparatus of the present invention, the print quality of text data by the printer engine for binary output can be improved. Further, according to the printer control device of the present invention, it is possible to perform printing at high resolution without increasing the cost. Also, since the pulse output to the printer engine can be performed in a concentrated manner so that the halftone can be expressed well, it is possible to improve the adhesion of the toner at the time of printing by the printer engine and to further improve the gradation. it can.

【0115】請求項8の発明のプリンタ制御装置によれ
ば、イメージデータを記憶するための記憶手段の記憶容
量を少なくしてコストを低減させると同時に、2値出力
用のプリンタエンジンによる印刷画像の中間調濃度の品
質を向上させることができる。また、正確な中間調濃度
を出すことができる。
According to the printer control apparatus of the present invention, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, the printing image is output by the printer engine for binary output. The quality of the halftone density can be improved. Further, an accurate halftone density can be obtained.

【0116】請求項9の発明のプリンタ制御装置によれ
ば、イメージデータを記憶するための記憶手段の記憶容
量を少なくしてコストを低減させると同時に、2値出力
用のプリンタエンジンによる印刷画像の中間調濃度の品
質を向上させることができる。グラフィックデータな
ど、中間調の濃度であっても同じ濃度の連続する画像デ
ータの場合には、その境界線を抽出し、その抽出した境
界線で囲まれた各領域を一様な濃度で表現することがで
きるため、輪郭をぼやけさせることがなくなり、高品質
の印刷画像を得ることができる。
According to the printer control apparatus of the ninth aspect, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, the print image is output by the printer engine for binary output. The quality of the halftone density can be improved. In the case of continuous image data of the same density even for halftone density such as graphic data, the boundary line is extracted, and each area surrounded by the extracted boundary line is expressed with uniform density. Therefore, the outline is not blurred, and a high quality print image can be obtained.

【0117】請求項10の発明のプリンタ制御装置によ
れば、イメージデータを記憶するための記憶手段の記憶
容量を少なくしてコストを低減させると同時に、2値出
力用のプリンタエンジンによる印刷画像の中間調濃度の
品質および色の再現性を向上させることができる。
According to the printer control apparatus of the tenth aspect, the cost is reduced by reducing the storage capacity of the storage means for storing the image data, and at the same time, the print image is output by the printer engine for binary output. The quality of halftone density and color reproducibility can be improved.

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

【図1】この発明の一実施形態のプリンタ制御装置であ
るプリンタコントローラを用いたプリンタシステムの構
成例を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a printer system using a printer controller as a printer control device according to an embodiment of the present invention.

【図2】図1のCPU4による展開処理(2値化処理)
を説明するための図である。
FIG. 2 is a development process (binarization process) by the CPU 4 of FIG. 1;
FIG.

【図3】図1のCPU4が2値化処理としてのディザ処
理を行なう際に使用するディザパターン(閾値マトリク
ス)の一例を示す図である。
FIG. 3 is a diagram showing an example of a dither pattern (threshold matrix) used when the CPU 4 of FIG. 1 performs dither processing as binarization processing.

【図4】図1に示したプリンタコントローラ20に入力
される画像データ(濃度値)を説明するための図であ
る。
FIG. 4 is a diagram for explaining image data (density value) input to the printer controller 20 shown in FIG.

【図5】図1のCPU4が図4に示した画像データを図
3に示したディザパターンを使用してディザ処理した場
合の結果を示す図である。
5 is a diagram illustrating a result when the CPU 4 in FIG. 1 performs dither processing on the image data illustrated in FIG. 4 using the dither pattern illustrated in FIG. 3;

【図6】図1の出力パターン発生回路22の構成例を示
すブロック図である。
FIG. 6 is a block diagram illustrating a configuration example of an output pattern generation circuit 22 of FIG. 1;

【図7】図6のラインバッファ21から出力される2値
のイメージデータの一例を示す図である。
FIG. 7 is a diagram illustrating an example of binary image data output from the line buffer 21 of FIG. 6;

【図8】図6の高解像度ディザパターンメモリ34に記
憶されている請求項5の発明に係わる高解像度ディザパ
ターンの一例を示す図である。
8 is a diagram showing an example of a high-resolution dither pattern according to the invention of claim 5 stored in the high-resolution dither pattern memory 34 of FIG. 6;

【図9】図6のコンパレータ33が図7に示した2値の
イメージデータに対応する多値のイメージデータに対し
て図8に示した高解像度ディザパターンを使用して請求
項5の発明に係わるディザ処理(2値化処理)を行なっ
て得られる2値のイメージデータを示す図である。
FIG. 9 is a block diagram showing the configuration of the invention according to claim 5, wherein the comparator 33 shown in FIG. 6 uses the high-resolution dither pattern shown in FIG. 8 for multi-valued image data corresponding to the binary image data shown in FIG. FIG. 9 is a diagram showing binary image data obtained by performing a related dither process (binarization process).

【図10】600DPIに対応するパルス(2値のイメ
ージデータ)とドットとの関係を示す説明図である。
FIG. 10 is an explanatory diagram showing a relationship between a pulse (binary image data) corresponding to 600 DPI and a dot.

【図11】2400DPIに対応するパルスとドットと
の関係を示す説明図である。
FIG. 11 is an explanatory diagram showing a relationship between a pulse corresponding to 2400 DPI and a dot.

【図12】図6のラインバッファ35からF/F36へ
出力される2値のイメージデータの一例を示す図であ
る。
12 is a diagram illustrating an example of binary image data output from the line buffer 35 to the F / F 36 in FIG.

【図13】図6のラインバッファ35からF/F36へ
出力される2値のイメージデータとF/F36からエン
ジンI/F8へ出力されるパルスデータとの関係の一部
を示す図である。
13 is a diagram illustrating a part of a relationship between binary image data output from the line buffer 35 to the F / F 36 in FIG. 6 and pulse data output from the F / F 36 to the engine I / F 8;

【図14】図1の出力パターン発生回路22の他の構成
例を示すブロック図である。
FIG. 14 is a block diagram showing another configuration example of the output pattern generation circuit 22 of FIG. 1;

【図15】図14のスムージング回路42に入力される
2値のイメージデータ(エッジ部)の一例を示す図であ
る。
FIG. 15 is a diagram illustrating an example of binary image data (edge part) input to the smoothing circuit of FIG. 14;

【図16】図14のスムージング回路42に図15に示
した2値のイメージデータが入力された場合にそのスム
ージング回路42から出力される2値のイメージデータ
の一部を示す図である。
16 is a diagram showing a part of the binary image data output from the smoothing circuit 42 when the binary image data shown in FIG. 15 is input to the smoothing circuit 42 of FIG. 14;

【図17】図14のコンパレータ33によるディザ処理
(濃度調整)と図1のエンジンI/F8からプリンタエ
ンジン10へ出力されるパルスデータとの関係を説明す
るための波形図である。
17 is a waveform diagram for explaining a relationship between dither processing (density adjustment) by the comparator 33 in FIG. 14 and pulse data output from the engine I / F 8 to the printer engine 10 in FIG.

【図18】図14のコンパレータ33によるディザ処理
と図1のエンジンI/F8からプリンタエンジン10へ
出力されるパルスデータとの関係を説明するための他の
波形図である。
18 is another waveform diagram for explaining a relationship between dither processing by the comparator 33 in FIG. 14 and pulse data output from the engine I / F 8 to the printer engine 10 in FIG.

【図19】図14のコンパレータ33による請求項9に
係わるディザ処理を説明するための図である。
FIG. 19 is a diagram for explaining dither processing according to claim 9 by the comparator 33 of FIG. 14;

【図20】図6の高解像度ディザパターンメモリ34に
記憶されている請求項9の発明に係わる高解像度ディザ
パターンの一例を示す図である。
20 is a diagram showing an example of a high-resolution dither pattern according to the ninth aspect of the present invention stored in the high-resolution dither pattern memory 34 of FIG. 6;

【図21】図1の出力パターン発生回路22の更に他の
構成例を示すブロック図である。
FIG. 21 is a block diagram showing still another configuration example of the output pattern generation circuit 22 of FIG. 1;

【図22】従来のプリンタコントローラを用いたプリン
タシステムの構成例を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration example of a printer system using a conventional printer controller.

【図23】データスルー方式のビデオI/Fを説明する
ための図である。
FIG. 23 is a diagram illustrating a video I / F of a data through system.

【図24】多値方式のビデオI/Fを説明するための図
である。
FIG. 24 is a diagram for describing a multi-level video I / F.

【図25】多値方式のビデオI/Fを説明するための他
の図である。
FIG. 25 is another diagram for describing a multi-level video I / F.

【図26】従来の他のプリンタコントローラにてメモリ
にイメージ展開された画像データ(イメージデータ)の
一部を示す図である。
FIG. 26 is a diagram showing a part of image data (image data) developed in a memory by another conventional printer controller.

【図27】図26に示した画像データに対して主走査方
向に2倍の解像度変換を行なった結果を示す図である。
FIG. 27 is a diagram illustrating a result obtained by performing twice the resolution conversion in the main scanning direction on the image data illustrated in FIG. 26;

【図28】図27に示した画像データに対してスムージ
ング処理(ドット補完処理)を行なった結果を示す図で
ある。
FIG. 28 is a diagram illustrating a result of performing a smoothing process (dot complementation process) on the image data illustrated in FIG. 27;

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

1:ホストコンピュータ 1a:プリンタドライバ 3:ホストI/F 4:CPU 5:ROM 6:RAM 7:ビデオDMAコントローラ 8:エンジンI/F 9:システムバス 10:プリンタエンジン 20:プリンタコントローラ 21,35:ラインバッファ 22:出力パターン発生回路 31:多値化回路 32:解像度変換回路 33:コンパレータ 34:高解像度ディザパターンメモリ 36:フリップフロップ回路(F/F) 41:セレクタ 42:スムージング回路 43:エッジ検出回路 50:分周回路 1: Host computer 1a: Printer driver 3: Host I / F 4: CPU 5: ROM 6: RAM 7: Video DMA controller 8: Engine I / F 9: System bus 10: Printer engine 20: Printer controller 21, 35: Line buffer 22: Output pattern generation circuit 31: Multi-value conversion circuit 32: Resolution conversion circuit 33: Comparator 34: High resolution dither pattern memory 36: Flip-flop circuit (F / F) 41: Selector 42: Smoothing circuit 43: Edge detection Circuit 50: Divider circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/40 H04N 1/40 103B 9A001 Fターム(参考) 2C087 AA16 AB05 AC08 BC05 BD24 BD46 2C262 AA05 AB07 AB09 AC17 DA16 EA03 5B021 AA01 AA02 CC05 DD02 DD12 LG08 LL05 5C076 AA21 AA27 AA32 BA08 BB44 5C077 LL17 LL19 MP02 MP06 MP08 NN09 PP02 PP20 PP27 PP43 PP65 PP68 PQ08 PQ20 PQ22 RR04 RR07 RR09 RR10 RR19 9A001 BB06 EE02 HH25 HH27 JJ35──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/40 H04N 1/40 103B 9A001 F term (Reference) 2C087 AA16 AB05 AC08 BC05 BD24 BD46 2C262 AA05 AB07 AB09 AC17 DA16 EA03 5B021 AA01 AA02 CC05 DD02 DD12 LG08 LL05 5C076 AA21 AA27 AA32 BA08 BB44 5C077 LL17 LL19 MP02 MP06 MP08 NN09 PP02 PP20 PP27 PP43 PP65 PP68 PQ08 PQ20 PQ22 RR04 RR07 HR09 RR10 RR10 HRR

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像データを展開してプリン
タエンジンに出力し、印刷を実行させるプリンタ制御装
置において、 入力された画像データを第1の解像度で2値のイメージ
データとして展開する展開処理を行なう展開処理手段
と、該手段にて展開されたイメージデータを記憶する記
憶手段と、該手段に記憶された2値のイメージデータを
多値のイメージデータに変換する多値化処理を行なう多
値化処理手段と、該手段にて変換された多値のイメージ
データを前記第1の解像度よりも高い第2の解像度に変
換する解像度変換手段と、該手段にて前記第2の解像度
に変換されたイメージデータを2値のイメージデータに
変換する2値化処理を行なう2値化処理手段と、該手段
にて変換された2値のイメージデータを前記プリンタエ
ンジンに出力する出力制御手段とを設けたことを特徴と
するプリンタ制御装置。
1. A developing process for expanding input image data as binary image data at a first resolution in a printer control device for expanding input image data, outputting the image data to a printer engine, and executing printing. Processing means for performing the image processing, storage means for storing the image data developed by the means, and multi-value processing for converting the binary image data stored in the means into multi-value image data. Value conversion processing means, resolution conversion means for converting the multi-valued image data converted by the means to a second resolution higher than the first resolution, and conversion to the second resolution by the means Binarization processing means for performing binarization processing for converting the converted image data into binary image data, and converting the binary image data converted by the means into the printer engine Printer control apparatus characterized by comprising an output control means for outputting.
【請求項2】 前記出力制御手段が、前記2値化処理手
段によって変換された2値のイメージデータを前記プリ
ンタエンジンに出力する際に、主走査方向のパルス幅変
調を行なってパルスデータとして出力する手段であるこ
とを特徴とする請求項1記載のプリンタ制御装置。
2. When the output control means outputs the binary image data converted by the binarization processing means to the printer engine, the output control means performs pulse width modulation in a main scanning direction and outputs the data as pulse data. 2. The printer control device according to claim 1, wherein the printer control device performs the operation.
【請求項3】 入力された画像データを展開してプリン
タエンジンに出力し、印刷を実行させるプリンタ制御装
置において、 入力された画像データを第1の解像度で2値のイメージ
データとして展開する展開処理を行なう展開処理手段
と、該手段にて展開されたイメージデータを記憶する記
憶手段と、該手段に記憶された2値のイメージデータを
多値のイメージデータに変換する多値化処理を行なう多
値化処理手段と、該手段にて変換される前の2値のイメ
ージデータまたは変換された多値のイメージデータから
エッジを抽出して検出するエッジ検出手段と、前記多値
化処理手段にて変換された多値のイメージデータを前記
第1の解像度よりも高い第2の解像度に変換する解像度
変換手段と、該手段にて前記第2の解像度に変換された
イメージデータを前記エッジ検出手段による検出結果に
基づいて2値のイメージデータに変換する2値化処理を
行なう2値化処理手段と、該手段にて変換された2値の
イメージデータを前記プリンタエンジンに出力する出力
制御手段とを設けたことを特徴とするプリンタ制御装
置。
3. A developing process for expanding input image data as binary image data at a first resolution in a printer control device which expands input image data, outputs the image data to a printer engine, and executes printing. Processing means for performing the image processing, storage means for storing the image data developed by the means, and multi-value processing for converting the binary image data stored in the means into multi-value image data. Value processing means, edge detection means for extracting and detecting edges from binary image data before conversion by the means or converted multi-value image data, and the multi-value processing means Resolution conversion means for converting the converted multi-valued image data to a second resolution higher than the first resolution, and an image converted to the second resolution by the means. Binarization processing means for performing binarization processing for converting data into binary image data based on the detection result by the edge detection means; and transmitting the binary image data converted by the means to the printer engine. A printer control device comprising output control means for outputting.
【請求項4】 請求項3記載のプリンタ制御装置におい
て、 前記多値化処理手段にて変換される前の2値のイメージ
データあるいは変換された多値のイメージデータを一時
的に複数ライン分記憶するラインバッファを設け、 前記エッジ検出手段が、前記ラインバッファに記憶され
たイメージデータからエッジを抽出して検出する手段で
あることを特徴とするプリンタ制御装置。
4. The printer control device according to claim 3, wherein the binary image data before conversion by the multi-value processing means or the converted multi-value image data is temporarily stored for a plurality of lines. A printer control device, wherein the edge detection means is means for extracting and detecting an edge from the image data stored in the line buffer.
【請求項5】 入力された画像データを展開してプリン
タエンジンに出力し、印刷を実行させるプリンタ制御装
置において、 入力された画像データを第1の解像度で2値のイメージ
データとして展開する展開処理を行なう展開処理手段
と、該手段にて展開されたイメージデータを記憶する記
憶手段と、該手段に記憶された2値のイメージデータを
多値のイメージデータに変換する多値化処理を行なう多
値化処理手段と、該手段にて変換された多値のイメージ
データを前記第1の解像度よりも高い第2の解像度に変
換する解像度変換手段と、該手段にて前記第2の解像度
に変換されたイメージデータを面積階調法を用いて2値
のイメージデータに変換する面積階調処理を行なう面積
階調処理手段と、該手段にて変換された2値のイメージ
データを前記プリンタエンジンに出力する出力制御手段
とを設けたことを特徴とするプリンタ制御装置。
5. A developing process for expanding input image data as binary image data at a first resolution in a printer control device for expanding input image data, outputting the image data to a printer engine, and executing printing. Processing means for performing the image processing, storage means for storing the image data developed by the means, and multi-value processing for converting the binary image data stored in the means into multi-value image data. Value conversion processing means, resolution conversion means for converting the multi-valued image data converted by the means to a second resolution higher than the first resolution, and conversion to the second resolution by the means Area gradation processing means for performing area gradation processing for converting the converted image data into binary image data using the area gradation method, and the binary image data converted by the means. Printer control apparatus characterized by comprising an output control means for outputting to the printer engine.
【請求項6】 請求項5記載のプリンタ制御装置におい
て、 前記多値化処理手段にて変換される前の2値のイメージ
データまたは変換された多値のイメージデータからエッ
ジを抽出して検出するエッジ検出手段を設け、 前記面積階調処理手段が、前記エッジ検出手段による検
出結果に基づいて、前記面積階調処理を行なう際に使用
する閾値マトリクスを変更する手段を有することを特徴
とするプリンタ制御装置。
6. The printer control device according to claim 5, wherein edges are extracted and detected from binary image data before conversion by the multi-value processing means or converted multi-value image data. A printer provided with edge detection means, wherein the area gradation processing means has means for changing a threshold matrix used when performing the area gradation processing based on a detection result by the edge detection means. Control device.
【請求項7】 前記面積階調処理手段が、前記面積階調
処理を複数のドットが集合するように行なう手段であ
り、前記出力制御手段が、前記面積階調処理手段によっ
て変換された2値のイメージデータを前記プリンタエン
ジンに出力する際に、主走査方向のパルス幅変調を行な
ってパルスデータとして出力する手段であることを特徴
とする請求項5又は6記載のプリンタ制御装置。
7. The area gradation processing means is means for performing the area gradation processing so that a plurality of dots are gathered, and the output control means is a binary value converted by the area gradation processing means. 7. The printer control device according to claim 5, wherein, when outputting the image data to the printer engine, the image data is pulse width modulated in a main scanning direction and output as pulse data.
【請求項8】 入力された画像データを展開してプリン
タエンジンに出力し、印刷を実行させるプリンタ制御装
置において、 入力された画像データを面積階調法を用いて第1の解像
度で2値のイメージデータとして展開する展開処理を行
なう展開処理手段と、該手段にて展開されたイメージデ
ータを記憶する記憶手段と、該手段に記憶された2値の
イメージデータを前記展開処理手段が面積階調法を用い
た展開処理を行なう際に使用した閾値マトリクスのサイ
ズと同じサイズの閾値マトリクスを使用して面積階調法
を用いて多値のイメージデータに変換する多値化処理を
行なう多値化処理手段と、該手段にて変換された多値の
イメージデータを前記第1の解像度よりも高い第2の解
像度に変換する解像度変換手段と、該手段にて前記第2
の解像度に変換されたイメージデータを2値のイメージ
データに変換する2値化処理を行なう2値化処理手段
と、該手段にて変換された2値のイメージデータを前記
プリンタエンジンに出力する出力制御手段とを設けたこ
とを特徴とするプリンタ制御装置。
8. A printer control device for expanding input image data, outputting the image data to a printer engine, and executing printing, wherein the input image data is converted into a binary image at a first resolution using an area gradation method. Expansion processing means for performing expansion processing for expanding as image data; storage means for storing the image data expanded by the means; and binary image data stored in the means, wherein the expansion processing means Multi-level conversion using a threshold matrix of the same size as the size of the threshold matrix used when performing the expansion processing using the area method, and converting it to multi-value image data using the area gradation method Processing means; resolution conversion means for converting the multi-valued image data converted by the means to a second resolution higher than the first resolution;
Binarization processing means for performing binarization processing for converting the image data converted to the resolution into binary image data, and outputting the binary image data converted by the means to the printer engine A printer control device comprising a control unit.
【請求項9】 入力された画像データを展開してプリン
タエンジンに出力し、印刷を実行させるプリンタ制御装
置において、 入力された画像データを第1の解像度で2値のイメージ
データとして展開する展開処理を行なう展開処理手段
と、該手段にて展開されたイメージデータを記憶する記
憶手段と、該手段に記憶された2値のイメージデータを
多値のイメージデータに変換する多値化処理を行なう多
値化処理手段と、該手段にて変換された多値のイメージ
データを前記第1の解像度よりも高い第2の解像度に変
換する解像度変換手段と、該手段にて前記第2の解像度
に変換されたイメージデータのうちの画像の境界線を抽
出し、その抽出した境界線で囲まれた領域毎に面積階調
法を用いて2値のイメージデータに変換する面積階調処
理を行なう面積階調処理手段と、該手段にて変換された
2値のイメージデータを前記プリンタエンジンに出力す
る出力制御手段とを設けたことを特徴とするプリンタ制
御装置。
9. A developing process for expanding input image data as binary image data at a first resolution in a printer control device that expands input image data, outputs the image data to a printer engine, and executes printing. Processing means for performing the image processing, storage means for storing the image data developed by the means, and multi-value processing for converting the binary image data stored in the means into multi-value image data. Value conversion processing means, resolution conversion means for converting the multi-valued image data converted by the means to a second resolution higher than the first resolution, and conversion to the second resolution by the means A boundary line of an image is extracted from the extracted image data, and an area gradation process for converting the image data into binary image data using an area gradation method is performed for each region surrounded by the extracted boundary line. Cormorant area gradation processing unit and a printer control device, characterized in that the image data of the converted binary in said means providing an output control means for outputting to the printer engine.
【請求項10】 入力された画像データを展開してプリ
ンタエンジンに出力し、印刷を実行させるプリンタ制御
装置において、 入力された画像データを第1の解像度で2値のイメージ
データとしてスクリーン角を付けて複数の色成分に分け
て展開する展開処理を行なう展開処理手段と、該手段に
て展開されたイメージデータを記憶する記憶手段と、該
手段に記憶された2値のイメージデータを多値のイメー
ジデータに変換する多値化処理を行なう多値化処理手段
と、該手段にて変換された多値のイメージデータを前記
第1の解像度よりも高い第2の解像度に変換する解像度
変換手段と、該手段にて前記第2の解像度に変換された
イメージデータに付いているスクリーン角を認識し、そ
の認識したスクリーン角と同じ角度で該イメージデータ
を面積階調法を用いて2値のイメージデータに変換する
面積階調処理を行なう面積階調処理手段と、該手段にて
変換された2値のイメージデータを前記プリンタエンジ
ンに出力する出力制御手段とを設けたことを特徴とする
プリンタ制御装置。
10. A printer control device for expanding input image data, outputting the image data to a printer engine, and executing printing, wherein the input image data is given a screen angle as binary image data at a first resolution. Expansion processing means for performing expansion processing by dividing the image data into a plurality of color components, storage means for storing image data expanded by the means, and multi-valued binary image data stored in the means. Multi-value processing means for performing multi-value processing for converting to image data, and resolution converting means for converting the multi-value image data converted by the means to a second resolution higher than the first resolution. Recognizing a screen angle attached to the image data converted to the second resolution by the means, and converting the image data at the same angle as the recognized screen angle. Area gradation processing means for performing area gradation processing for converting to binary image data using a product gradation method, and output control means for outputting the binary image data converted by the means to the printer engine And a printer control device.
JP11059328A 1999-03-05 1999-03-05 Printer control device Pending JP2000255120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11059328A JP2000255120A (en) 1999-03-05 1999-03-05 Printer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11059328A JP2000255120A (en) 1999-03-05 1999-03-05 Printer control device

Publications (1)

Publication Number Publication Date
JP2000255120A true JP2000255120A (en) 2000-09-19

Family

ID=13110179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11059328A Pending JP2000255120A (en) 1999-03-05 1999-03-05 Printer control device

Country Status (1)

Country Link
JP (1) JP2000255120A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262145A (en) * 2005-03-17 2006-09-28 Fuji Xerox Co Ltd Image forming apparatus and image forming method, image processing apparatus and image processing method
JP2007195108A (en) * 2006-01-23 2007-08-02 Kyodo Printing Co Ltd Method and device for eliminating reduced moire, and printed matter
JP2008147748A (en) * 2006-12-06 2008-06-26 Fuji Xerox Co Ltd Image processor and image processing method
JP2008228256A (en) * 2006-05-08 2008-09-25 Fuji Xerox Co Ltd Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and program
JP2010211831A (en) * 2002-09-06 2010-09-24 Canon Inc Information processing apparatus, information processing method and printing control program
US7916351B2 (en) 2007-03-29 2011-03-29 Fuji Xerox Co., Ltd. Image processing apparatus and method, printer device, and computer readable recording medium
US8102543B2 (en) 2002-09-06 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control program
US8913833B2 (en) 2006-05-08 2014-12-16 Fuji Xerox Co., Ltd. Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and medium storing program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010211831A (en) * 2002-09-06 2010-09-24 Canon Inc Information processing apparatus, information processing method and printing control program
JP4709317B2 (en) * 2002-09-06 2011-06-22 キヤノン株式会社 Information processing apparatus, information processing method, and print control program
US8102543B2 (en) 2002-09-06 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control program
US8670150B2 (en) 2002-09-06 2014-03-11 Canon Kabushiki Kaisha Information processing apparatus, information processing method and printing control method
JP2006262145A (en) * 2005-03-17 2006-09-28 Fuji Xerox Co Ltd Image forming apparatus and image forming method, image processing apparatus and image processing method
JP4525916B2 (en) * 2005-03-17 2010-08-18 富士ゼロックス株式会社 Image forming apparatus, image forming method, image processing apparatus, and image processing method
JP2007195108A (en) * 2006-01-23 2007-08-02 Kyodo Printing Co Ltd Method and device for eliminating reduced moire, and printed matter
JP2008228256A (en) * 2006-05-08 2008-09-25 Fuji Xerox Co Ltd Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and program
US8913833B2 (en) 2006-05-08 2014-12-16 Fuji Xerox Co., Ltd. Image processing apparatus, image enlarging apparatus, image coding apparatus, image decoding apparatus, image processing system and medium storing program
JP2008147748A (en) * 2006-12-06 2008-06-26 Fuji Xerox Co Ltd Image processor and image processing method
US7916351B2 (en) 2007-03-29 2011-03-29 Fuji Xerox Co., Ltd. Image processing apparatus and method, printer device, and computer readable recording medium

Similar Documents

Publication Publication Date Title
US5982508A (en) Image processing method and apparatus
JPH0799570A (en) Method and device for forming image
US5381522A (en) Image processing apparatus and method
JP2000255120A (en) Printer control device
JP2003348342A (en) Image processing apparatus and image forming apparatus
JPH09247477A (en) Multi-color image output device and method
JP7077451B2 (en) Image forming apparatus and control method of image forming apparatus, and program
EP1241868A1 (en) Image processing apparatus
JPH1155519A (en) Image processing method and printer using it
US7251061B2 (en) Resolution enhancement apparatus, systems, and methods
JPH07250240A (en) Image forming device
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory
JP3768560B2 (en) Image processing apparatus and method
JP4306841B2 (en) Image processing apparatus and method, and computer-readable memory
JP2000238347A (en) Printer control device
JPH1127531A (en) Image processor, method and storage medium
JP2002354257A (en) Image processor, image processing method, recording medium, and program
JP2002271622A (en) Printer and its control method
JP2001105670A (en) Imaging apparatus
JPH07250246A (en) Image forming device
JP2860195B2 (en) Recording apparatus and method
JPH1127530A (en) Image processor, method and storage medium therefor
JP2000341522A (en) Printer and image generating method therefor
JPH0247973A (en) Picture forming device
JPH02295766A (en) Imaging system