JP3111734B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3111734B2
JP3111734B2 JP05063693A JP6369393A JP3111734B2 JP 3111734 B2 JP3111734 B2 JP 3111734B2 JP 05063693 A JP05063693 A JP 05063693A JP 6369393 A JP6369393 A JP 6369393A JP 3111734 B2 JP3111734 B2 JP 3111734B2
Authority
JP
Japan
Prior art keywords
pixel
pixels
image
fine
input
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.)
Expired - Fee Related
Application number
JP05063693A
Other languages
Japanese (ja)
Other versions
JPH06276385A (en
Inventor
和行 村田
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP05063693A priority Critical patent/JP3111734B2/en
Priority to US08/158,710 priority patent/US5450208A/en
Publication of JPH06276385A publication Critical patent/JPH06276385A/en
Application granted granted Critical
Publication of JP3111734B2 publication Critical patent/JP3111734B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はレーザプリンタやLED
アレイヘッドを用いたLEDプリンタなどの電子写真方
式のプリンタ、さらにCRTなどライン走査を行うこと
によって画像信号に基づいた画像を再現する技術に関す
るものであり、特に文字などのエッジのジャギーをスム
ージングし、さらに細線および孤立ドットを十分に再現
して、再現画像の高画質化を行うと共に、疑似中間調画
像の階調特性を理想的な特性に補正するための画像処理
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a laser printer and an LED.
The present invention relates to a technology of reproducing an image based on an image signal by performing line scanning such as an electrophotographic printer such as an LED printer using an array head and a CRT, and particularly smoothing jaggies at edges of characters and the like, Further, the present invention relates to an image processing apparatus for sufficiently reproducing thin lines and isolated dots to improve the image quality of a reproduced image, and correcting the tone characteristics of a pseudo halftone image to ideal characteristics.

【0002】[0002]

【従来の技術】プリンタやCRTに再現される画像のエ
ッジのスムージングを行って画質を向上させる従来の方
法は、以下の2つがある。第1の方法は、画像データを
より高解像度で生成し、画像再現装置の解像度もそれに
合わせて高解像度化する方法である。
2. Description of the Related Art There are two conventional methods for improving image quality by smoothing edges of an image reproduced on a printer or a CRT. The first method is to generate image data at a higher resolution, and to increase the resolution of the image reproducing device in accordance with the higher resolution.

【0003】しかしながら、この方法では画像データを
生成するときに画像データを記憶するメモリ容量が大き
くなり費用がかさむ。さらに画像再現装置を高解像度化
するため露光系の必要精度などが上がりコストアップと
なる。
However, in this method, the memory capacity for storing the image data when generating the image data is increased and the cost is increased. Further, in order to increase the resolution of the image reproducing apparatus, the required accuracy of the exposure system is increased, and the cost is increased.

【0004】第2の方法が、Tung(タン)他により発明
された”PIECE-WISE PRINT IMAGE ENHANCEMENT FOR DOT
MATRIX PRINTERS(ピース−ワイズ プリントイメージ
エンハンスメント フォア ドット マトリクス プ
リンタズ)"と題する米国特許第4847641号が1
989年7月11日に公開されている。
A second method is the "PIECE-WISE PRINT IMAGE ENHANCEMENT FOR DOT" invented by Tung et al.
U.S. Pat. No. 4,846,641 entitled "MATRIX PRINTERS" (Peace-wise Print Image Enhancement for Dot Matrix Printers).
It was released on July 11, 989.

【0005】以下図面を参照しながら、上記第2の方法
を用いた画像処理装置について説明する。
Hereinafter, an image processing apparatus using the second method will be described with reference to the drawings.

【0006】図33はエッジスムージングを行う従来の
画像処理装置のブロック図である。ラスタースキャンさ
れたビットマップ画像信号100は、画素ウインドウ走
査回路101に入力される。画素ウインドウ走査回路1
01はライン遅延を行うためのラインバッファメモリと
画素遅延を行うシフトレジスタを備える。画素ウインド
ウ走査回路101は、中心画素を処理対象画素とするM
×N画素のデータ102を出力する。パターンマッチン
グおよび補正画像信号発生手段103には、M×N画素
のデータ102が入力される。パターンマッチングおよ
び補正画像信号発生回路103は、あらかじめ決められ
た複数のパターンと入力されたM×N画素データの比較
を行い、いずれかのパターンと一致した場合にはパター
ンマッチ信号106をアクティブにする。また、パター
ンマッチングおよび補正画像信号発生回路103は、パ
ターンマッチング信号106がアクティブの時、補正し
た中心画素データ105を出力する。
FIG. 33 is a block diagram of a conventional image processing apparatus for performing edge smoothing. The raster-scanned bitmap image signal 100 is input to the pixel window scanning circuit 101. Pixel window scanning circuit 1
Reference numeral 01 includes a line buffer memory for performing line delay and a shift register for performing pixel delay. The pixel window scanning circuit 101 sets M
It outputs data 102 of × N pixels. The data 102 of M × N pixels is input to the pattern matching and correction image signal generating means 103. The pattern matching and correction image signal generation circuit 103 compares a plurality of predetermined patterns with the input M × N pixel data, and activates the pattern match signal 106 when any of the patterns matches. . When the pattern matching signal 106 is active, the pattern matching and corrected image signal generation circuit 103 outputs the corrected center pixel data 105.

【0007】セレクタ107には、補正された中心画素
データ105と補正していない中心画素データ104が
入力される。パターンマッチ信号106がアクティブの
時、セレクタ107は補正された中心画素データ105
を選択する。セレクタの出力108は、レーザプリンタ
の半導体レーザの変調信号として用いられる。
The corrected central pixel data 105 and the uncorrected central pixel data 104 are input to the selector 107. When the pattern match signal 106 is active, the selector 107 outputs the corrected central pixel data 105
Select The output 108 of the selector is used as a modulation signal of the semiconductor laser of the laser printer.

【0008】上記従来の画像処理装置において、どのよ
うにエッジがスムージングされるかを以下に説明する。
[0008] How the edge is smoothed in the above-mentioned conventional image processing apparatus will be described below.

【0009】エッジスムージング処理を行わない場合、
図34(a)に示す入力画像データに対するレーザ変調
信号は図34(b)の実線のようになる。レーザビーム
のスポット形状が円であることを考慮しても、再現画像
は図34(c)のようになりジャギーが発生する。
When the edge smoothing processing is not performed,
The laser modulation signal for the input image data shown in FIG. 34A is as shown by the solid line in FIG. Even when considering that the spot shape of the laser beam is a circle, the reproduced image is as shown in FIG.

【0010】エッジスムージング処理を行う場合、パタ
ーンマッチングにより図34(a)のA,B,C,D,
EおよびFの画素を検出し、レーザ変調信号を補正す
る。例えば、図35のようなテンプレートパターンと中
心画素を処理対象画素とする9×9画素のデータと比較
する。図35において網かけされた画素は比較するとき
ドントケアの画素であり、ハッチングされた画素は露光
画素、白画素は非露光画素である。一致した場合は、図
36に示すように中心画素データを1画素分レーザオフ
するデータから右側1/2画素分レーザオンするような
データに置換する。図35のテンプレートパターンは、
図34(a)の画素Eを処理する場合一致する。図35
のようなテンプレートパターンを複数種類用意し、テン
プレートに一致した場合はジャギーがなくなるように中
心画素データを置換する。例えば図34(b)の点線で
示すようなレーザドライブ信号になるように中心画素デ
ータを置換する。このとき再現画像は図34(d)のよ
うになりジャギーが減少し、高解像度な画像が得ること
ができる。
When performing the edge smoothing process, A, B, C, D, and D in FIG.
The E and F pixels are detected and the laser modulation signal is corrected. For example, a template pattern as shown in FIG. 35 is compared with data of 9 × 9 pixels whose central pixel is a processing target pixel. In FIG. 35, shaded pixels are don't care pixels for comparison, hatched pixels are exposed pixels, and white pixels are non-exposed pixels. If they match, as shown in FIG. 36, the central pixel data is replaced with data that turns on the laser for one half pixel on the right side from the data for turning off the laser for one pixel. The template pattern of FIG.
When the pixel E in FIG. FIG.
A plurality of types of template patterns are prepared, and when they match the template, the center pixel data is replaced so as to eliminate jaggies. For example, the center pixel data is replaced so as to obtain a laser drive signal as shown by a dotted line in FIG. At this time, the reproduced image is as shown in FIG. 34D, jaggies are reduced, and a high-resolution image can be obtained.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記の
エッジスムージング方法では孤立ドットや1ドット幅の
細線を再現する場合、露光スポット形状がガウシアン分
布などのブロードなプロフィールを持っているため、線
がかすれたり細ったり孤立ドットが確実に再現できな
い。あるいは、細線や孤立ドットを再現するために露光
エネルギーを大きくする必要があるため、再現したフォ
ント画像が太り、フォント画像のつぶれが生じるという
問題点があった。
However, in the above-described edge smoothing method, when an isolated dot or a thin line having a width of one dot is reproduced, the exposure spot has a broad profile such as a Gaussian distribution. Thin or thin isolated dots cannot be reliably reproduced. Alternatively, it is necessary to increase the exposure energy in order to reproduce a fine line or an isolated dot. Therefore, there is a problem that the reproduced font image becomes thick and the font image is crushed.

【0012】さらに、1画素あたりの露光画素の露光エ
ネルギー密度を、エッジスムージング処理によってスム
ージング処理を行わない場合より大きくすることができ
ないため、十分なエッジスムージング効果が得られない
という問題がある。
Furthermore, since the exposure energy density of an exposure pixel per pixel cannot be increased by the edge smoothing process as compared with the case where the smoothing process is not performed, there is a problem that a sufficient edge smoothing effect cannot be obtained.

【0013】また、入力画像データが疑似中間調画像で
ある場合、上記エッジスムージング方法では、疑似輪郭
やモアレが発生したり階調特性が損なわれるという欠点
があった。この疑似中間調画像に対するエッジスムージ
ング処理の欠点をなくすための従来の手法としては、マ
ニュアル設定によりエッジスムージング処理を禁止した
り、エッジスムージングの効果を弱めることができるよ
うにしている。しかしこの方法では、入力画像データに
フォント画像と疑似中間調画像が混在している場合は十
分なエッジスムージング処理を行うことはできない。
Further, when the input image data is a pseudo halftone image, the edge smoothing method has a drawback that a pseudo contour or moire is generated or a gradation characteristic is impaired. As a conventional method for eliminating the disadvantage of the edge smoothing process for the pseudo halftone image, the edge smoothing process is prohibited by manual setting or the effect of the edge smoothing can be reduced. However, with this method, when the font image and the pseudo halftone image are mixed in the input image data, sufficient edge smoothing cannot be performed.

【0014】また、疑似中間調画像は黒ドットの粗密に
より中間調を疑似的に表現するので、プリンタにより再
現される画像濃度(または反射率)は黒ドット密度とリ
ニアな関係であるべきである。しかし、通常のプリンタ
では黒ドット密度と再現画像濃度の関係はノンリニアで
あるため高品位な中間調画像を再現することは困難であ
る。
Further, since the pseudo halftone image simulates the halftone by the density of black dots, the image density (or reflectance) reproduced by the printer should have a linear relationship with the black dot density. . However, it is difficult for a normal printer to reproduce a high-quality halftone image because the relationship between black dot density and reproduced image density is non-linear.

【0015】[0015]

【課題を解決するための手段】上記問題点を解決するた
めに本発明の画像処理装置は 、画像画素と非画像画素
を表す入力2値画像データの処理すべき画素と 複数の
周辺画素を一時的に記憶する一時記憶手段と、一時記憶
手段に記憶された画素データを参照して処理すべき画素
を主走査または副走査方向に入力画素をN個の微画素に
変換することにより 前記2値画像データのエッジをス
ムージングするエッジスムージング手段と、前記記憶手
段に記憶された処理すべき画素と周辺の画素のいくつか
を用いて平均濃度を算出する平均濃度算出手段と、平均
濃度に基づいて入力2値画像データを補正して複数の微
画素を出力する補正手段と、前記記憶手段に記憶された
画素中に 密集した画像画素の領域もしくは密集した非
画像画素の領域が存在するか否かを判別する判別手段
と、前記判別手段により密集した画像領域を検知した場
合はエッジスムージング手段の出力を選択し、検知しな
い場合は補正手段の出力を選択するセレクタを備えるこ
とを特徴とするさらに、前記エッジスムージング手段
は、複数の所定のパターン画像と前記一時的に記憶した
入力画像パターンと 複数の所定のパターンとのマッチ
ングを行う手段と、処理すべき画素が画像画素であり
前記パターンと前記一時的に記憶した入力画像がマッチ
ングしないとき、N個の微画素のうちM(<N)個の画
像微画素を含むN個の微画素データを発生する手段と、
前記パターンのうち少なくとも1つのパターンと前記一
時的に記憶した入力画像がマッチングしたとき、前記所
定のパターンにあらかじめ対応して決められたN個の微
画素データを発生する手段を備えることを特徴とする
In order to solve the above-mentioned problems, an image processing apparatus according to the present invention comprises a method for temporarily storing pixels to be processed of input binary image data representing image pixels and non-image pixels and a plurality of peripheral pixels. Temporary storage means for temporarily storing the data, and converting the input pixels into N fine pixels in the main scanning or sub-scanning direction by referring to the pixel data stored in the temporary storage means. Edge smoothing means for smoothing edges of the image data, average density calculating means for calculating an average density using some of pixels to be processed and some peripheral pixels stored in the storage means, and inputting based on the average density A correcting unit that corrects the binary image data and outputs a plurality of fine pixels; and a region of dense image pixels or a region of dense non-image pixels among the pixels stored in the storage unit. And a selector for selecting the output of the edge smoothing means when a dense image area is detected by the determination means, and selecting the output of the correction means when not detecting the dense image area. Further, the edge smoothing means includes means for matching a plurality of predetermined pattern images with the temporarily stored input image pattern and a plurality of predetermined patterns, and a pixel to be processed is an image pixel.
Means for generating N fine pixel data including M (<N) image fine pixels out of N fine pixels when the pattern and the temporarily stored input image do not match;
When at least one of the patterns matches the temporarily stored input image, a means for generating N fine pixel data determined in advance corresponding to the predetermined pattern is provided. Do

【0016】[0016]

【作用】上記した手法によって、本発明の画像処理装置
は、孤立ドットや1ドット幅の細線を忠実に再現し、か
つ、再現したフォント画像が太ったり、つぶれたりしな
い。
According to the method described above, the image processing apparatus of the present invention faithfully reproduces an isolated dot or a thin line having a width of one dot, and does not make the reproduced font image thick or crushed.

【0017】また、入力画像データが疑似中間調画像で
ある場合でも、疑似輪郭やモアレが発生せずに、階調再
現特性を向上できる。さらに、入力画像データにフォン
ト画像と疑似中間調画像が混在している場合でも、フォ
ント画像に対するエッジスムージング処理と疑似中間調
画像に対する階調再現性向上のための処理を両立するこ
とができる。
Further, even when the input image data is a pseudo halftone image, the gradation reproduction characteristics can be improved without generating a pseudo contour or moire. Furthermore, even when the font image and the pseudo halftone image are mixed in the input image data, the edge smoothing process for the font image and the process for improving the tone reproducibility for the pseudo halftone image can be compatible.

【0018】[0018]

【実施例】図1は、本発明の画像処理装置の第1の実施
例により処理された画像信号に基づき、画像を再現する
レーザプリンタの記録部の概略構成図である。半導体レ
ーザ31からの変調されたレーザ光は、コリメータレン
ズ45でコリメートされる。次に、レーザ光は回転する
ポリゴンミラー46により反射され、fθレンズ47に
よってfθ補正され、感光体ドラム48上を走査する。
感光体ドラム48は図中矢印の方向に回転する。感光体
ドラム48上には静電潜像が形成される。感光体ドラム
48上の静電潜像に基づいて、周知の電子写真方式によ
り記録紙に画像が形成される。ピンフォトダイオード3
0はレーザビームの1ラインの走査開始位置近傍に設け
られ、レーザ光のライン走査タイミングを検出する。
FIG. 1 is a schematic block diagram of a recording unit of a laser printer for reproducing an image based on an image signal processed by a first embodiment of the image processing apparatus of the present invention. The modulated laser light from the semiconductor laser 31 is collimated by the collimator lens 45. Next, the laser light is reflected by the rotating polygon mirror 46, fθ corrected by the fθ lens 47, and scans the photosensitive drum 48.
The photosensitive drum 48 rotates in the direction of the arrow in the figure. An electrostatic latent image is formed on the photosensitive drum 48. Based on the electrostatic latent image on the photosensitive drum 48, an image is formed on recording paper by a well-known electrophotographic method. Pin photodiode 3
0 is provided near the scanning start position of one line of the laser beam, and detects the line scanning timing of the laser beam.

【0019】図2は、本発明の画像処理装置の第1の実
施例の概略ブロック図である。ライン走査された画像デ
ータ11は、画素クロックCLK22の立ち上がりエッ
ジに同期して画素ウインドウ走査回路12に入力され
る。ラインイネーブル信号LEN_21は、画像データ
の1ライン間の有効期間を示すアクティブローの信号で
あり、画素ウインドウ走査回路12に入力される。画素
ウインドウ走査回路12は、中心画素を被処理画素とす
る7×7画素の画像データ13を出力する。画素ウイン
ドウ走査回路については後述する。
FIG. 2 is a schematic block diagram of a first embodiment of the image processing apparatus of the present invention. The line-scanned image data 11 is input to the pixel window scanning circuit 12 in synchronization with the rising edge of the pixel clock CLK22. The line enable signal LEN_21 is an active low signal indicating a valid period between one line of image data, and is input to the pixel window scanning circuit 12. The pixel window scanning circuit 12 outputs image data 13 of 7 × 7 pixels whose central pixel is a pixel to be processed. The pixel window scanning circuit will be described later.

【0020】エッジスムージング回路14には、7×7
画素の画像データ13が入力される。エッジスムージン
グ回路14は、中心画素1画素の入力データを8個の微
画素データ15に変換しパラレルに出力する。エッジス
ムージング回路14は、再現画像のエッジがスムーズに
なるように、または細線の太りや細りが無いように、あ
るいは、孤立ドットの消去やつぶれが無いように、中心
画素およびその周辺画素データに基づいて8個の微画素
データ15を発生する。エッジスムージング回路14に
ついての詳細は後述する。
The edge smoothing circuit 14 has a 7 × 7
Pixel image data 13 is input. The edge smoothing circuit 14 converts input data of one central pixel into eight pieces of fine pixel data 15 and outputs them in parallel. The edge smoothing circuit 14 determines the edge of the reproduced image based on the center pixel and its surrounding pixel data so that the edge of the reproduced image is smooth, the thin line is not thickened or thinned, or the isolated dot is not erased or collapsed. To generate eight pieces of fine pixel data 15. The details of the edge smoothing circuit 14 will be described later.

【0021】平均濃度算出回路24には、画素ウインド
ウ走査回路12の49画素の出力のうち被処理画素を含
む16画素のデータが入力される。図37に平均濃度算
出回路に入力される画素を示す。ハッチングされた画素
が平均濃度算出回路に入力される画素である。*画素は
被処理画素である。平均濃度算出回路12は、16個の
入力画素のうちの黒画素の数を算出して出力する。黒画
素の数は0から16の値をとるが、16は15にまるめ
て4ビットの値として平均濃度信号25を出力する。
The average density calculation circuit 24 receives data of 16 pixels including the pixel to be processed among the outputs of 49 pixels of the pixel window scanning circuit 12. FIG. 37 shows pixels input to the average density calculation circuit. The hatched pixels are the pixels input to the average density calculation circuit. * Pixels are pixels to be processed. The average density calculation circuit 12 calculates and outputs the number of black pixels among the 16 input pixels. The number of black pixels takes a value from 0 to 16, but 16 is rounded down to 15 and the average density signal 25 is output as a 4-bit value.

【0022】補正回路26には、平均濃度信号25およ
び画素ウインドウ走査回路12の49画素の出力のうち
被処理画素データのみが入力される。補正回路26は、
被処理画素データを8つの微画素に分割して補正信号2
7をパラレルに出力する。補正回路26は、平均濃度信
号25の値と被処理画素データに基づいて8つの微画素
のうちいくつ黒微画素にするかを決定する。補正回路2
6についての詳細は後述する。
The correction circuit 26 receives only the pixel data to be processed among the outputs of the average density signal 25 and the 49 pixels of the pixel window scanning circuit 12. The correction circuit 26
The pixel data to be processed is divided into eight fine pixels, and the correction signal 2
7 is output in parallel. The correction circuit 26 determines the number of black fine pixels among the eight fine pixels based on the value of the average density signal 25 and the pixel data to be processed. Correction circuit 2
Details of 6 will be described later.

【0023】判別回路28には、画素ウインドウ走査回
路12の49画素の出力が入力される。判別回路28
は、7×7画素ウインドウ内に白または黒の密集領域が
あるか否かを判定する。判別回路28は密集領域がある
場合ハイレベルの判定信号29を出力する。判別回路2
8についての詳細は後述する。
The output of 49 pixels of the pixel window scanning circuit 12 is input to the determination circuit 28. Discrimination circuit 28
Determines whether there is a dense white or black area in the 7 × 7 pixel window. The determination circuit 28 outputs a high-level determination signal 29 when there is a dense area. Discrimination circuit 2
Details of 8 will be described later.

【0024】セレクタ41は、エッジスムージング回路
14から出力される8つの微画素データ15と補正回路
から出力される8つの微画素データ27のうち、どちら
か一方を選択して微画素データ42を出力する。判別信
号29がハイレベルの時、セレクタ41は、エッジスム
ージング回路14から出力される8つの微画素データ1
5を選択して出力する。
The selector 41 selects one of the eight pixel data 15 output from the edge smoothing circuit 14 and the eight pixel data 27 output from the correction circuit and outputs the pixel data 42. I do. When the discrimination signal 29 is at the high level, the selector 41 outputs the eight fine pixel data 1 output from the edge smoothing circuit 14.
5 is selected and output.

【0025】パラレル−シリアル変換回路16は、パラ
レルに入力される8個の微画素データ42をシリアルデ
ータ列に変換して、レーザ変調信号17を出力する。パ
ラレル−シリアル変換回路16は、画素クロックCLK
22の1/8の周期を持つクロックMCLK23に同期
してレーザ変調信号17を出力する。パラレルーシリア
ル変換回路16については後述する。レーザ変調信号1
7は、図示していないレーザプリンタの半導体レーザ駆
動回路に接続される。
The parallel-serial conversion circuit 16 converts the eight pieces of fine pixel data 42 input in parallel into a serial data string, and outputs a laser modulation signal 17. The parallel-serial conversion circuit 16 outputs the pixel clock CLK.
The laser modulation signal 17 is output in synchronization with a clock MCLK 23 having a period of 1/8 of 22. The parallel-serial conversion circuit 16 will be described later. Laser modulation signal 1
Reference numeral 7 is connected to a semiconductor laser drive circuit of a laser printer (not shown).

【0026】図2に示した構成により、判別回路により
被処理画素が疑似中間調画像領域に含まれるのかフォン
ト画像などの2値画像領域に含まれるのかを判別し、エ
ッジスムージング処理を有効にするのか、疑似中間調の
ための補正処理を有効にするのかを切り変えるので、入
力画像データにフォント画像と疑似中間調画像が混在し
ている場合でも、フォント画像に対するエッジスムージ
ング処理と疑似中間調画像に対する階調再現性向上のた
めの処理を両立することができる。
With the configuration shown in FIG. 2, the discrimination circuit discriminates whether a pixel to be processed is included in a pseudo halftone image area or a binary image area such as a font image, and enables edge smoothing processing. And whether to enable the correction process for pseudo-halftones, so that even if the input image data contains both font images and pseudo-halftone images, edge smoothing and pseudo-halftone images Can be performed at the same time.

【0027】図3は画素ウインドウ走査回路12のブロ
ック図である。図3を用いて画素ウインドウ走査回路1
2について、その動作を説明する。ラインバッファメモ
リ51は7ビット幅のデータを入出力するバッファメモ
リである。ラインバッファメモリ51のリードリセット
端子およびライトリセット端子には、反転されたライン
イネーブル信号LEN_が入力される。ラインバッファ
メモリ51のリードクロック端子およびライトクロック
端子には、反転された画素クロックCLKが入力され
る。ラインバッファメモリ51のリードイネーブル端子
およびライトイネーブル端子には、ラインイネーブルL
EN_21が入力される。
FIG. 3 is a block diagram of the pixel window scanning circuit 12. Pixel window scanning circuit 1 using FIG.
The operation of No. 2 will be described. The line buffer memory 51 is a buffer memory for inputting and outputting data having a 7-bit width. An inverted line enable signal LEN_ is input to the read reset terminal and the write reset terminal of the line buffer memory 51. The inverted pixel clock CLK is input to the read clock terminal and the write clock terminal of the line buffer memory 51. The line enable L is provided to the read enable terminal and the write enable terminal of the line buffer memory 51.
EN_21 is input.

【0028】ラインバッファメモリ51のデータ入力端
子I0には画像データ11が入力され、データ出力端子
O0には1ライン遅延された画像信号が出力される。デ
ータ出力端子O0からの出力される1ライン遅延された
画像信号は、データ入力端子I1に入力され、データ出
力端子O1には画像データ11に対して2ライン遅延さ
れた画像信号が出力される。同様に、データ出力端子O
2には3ライン、O3には4ライン、O4には5ライ
ン、O5には6ライン、O6には7ライン遅延された画
像信号が出力される。7ビット幅のラッチ52〜58
は、ラインバッファ51から出力されるライン遅延され
た画像信号をラッチして1画素ずつ遅延する。以上に示
した構成により、画素ウインドウ走査回路12は、7×
7画素ウインドウ内の49個の画素からなる画像データ
13を出力する。
Image data 11 is input to a data input terminal I0 of the line buffer memory 51, and an image signal delayed by one line is output to a data output terminal O0. The image signal delayed by one line from the data output terminal O0 is input to the data input terminal I1, and an image signal delayed by two lines with respect to the image data 11 is output to the data output terminal O1. Similarly, the data output terminal O
An image signal delayed by 2 lines is output by 3 lines, O3 by 4 lines, O4 by 5 lines, O5 by 6 lines, and O6 by 7 lines. 7-bit wide latches 52-58
Latches the line-delayed image signal output from the line buffer 51 and delays it by one pixel. With the above-described configuration, the pixel window scanning circuit 12 has a 7 ×
The image data 13 consisting of 49 pixels in the 7-pixel window is output.

【0029】エッジスムージング回路14について説明
する前に、レーザビームスポットの露光エネルギー分布
についてのべる。図4はレーザビームの露光エネルギー
分布を示す図である。通常、レーザビーム径wは、画像
データ11の解像度の1.3倍程度に設計する。例えば
画像データ11の解像度が300dpiの場合、レーザ
ビーム径wは110μm程度となる。画像データ11が
図5に示すデータであったとき、画像信号11で直接半
導体レーザを駆動すると、図6に示す画像がレーザプリ
ンタにより再現される。図6からわかるように、300
dpiのジャギーが発生している。
Before describing the edge smoothing circuit 14, the exposure energy distribution of the laser beam spot will be described. FIG. 4 is a diagram showing an exposure energy distribution of a laser beam. Usually, the laser beam diameter w is designed to be about 1.3 times the resolution of the image data 11. For example, when the resolution of the image data 11 is 300 dpi, the laser beam diameter w is about 110 μm. When the semiconductor laser is driven directly by the image signal 11 when the image data 11 is the data shown in FIG. 5, the image shown in FIG. 6 is reproduced by the laser printer. As can be seen from FIG.
A jaggy at dpi has occurred.

【0030】画像信号11の解像度で決まるジャギーを
なくすため、エッジスムージング回路14は主走査方向
に1/8に分割された微画素を発生してエッジスムージ
ングを行う。エッジスムージング回路14では、補正の
必要の無い露光画素(黒画素)は、図7に示すように8
個の微画素のうちセンターの4つの微画素を露光するよ
うな微画素データ15を発生する。
In order to eliminate jaggies determined by the resolution of the image signal 11, the edge smoothing circuit 14 generates fine pixels divided into 1/8 in the main scanning direction and performs edge smoothing. In the edge smoothing circuit 14, the number of exposure pixels (black pixels) that do not need to be corrected is 8 as shown in FIG.
The micro pixel data 15 for exposing the center four micro pixels out of the micro pixels is generated.

【0031】(1)主走査方向のエッジスムージング処
理の例 図8は図5に示した画像データ11のA部の拡大図であ
る。図8のB部の画像データを例にして、エッジスムー
ジング回路14の動作を説明する。
(1) Example of Edge Smoothing Process in the Main Scanning Direction FIG. 8 is an enlarged view of a portion A of the image data 11 shown in FIG. The operation of the edge smoothing circuit 14 will be described by taking the image data of the portion B in FIG. 8 as an example.

【0032】図9は、中心画素を被処理画素とする画素
ウインドウ内の画素とパターンマッチングを行うための
テンプレートパターンと、各テンプレートパターンとマ
ッチングしたときに生成される微画素データを示す。テ
ンプレートパターンにおいて、ハッチングされた画素は
露光画素、白画素は非露光画素、網掛けされた画素はマ
ッチングに無関係な画素である。微画素データの図にお
いて、ハッチングされた微画素は露光微画素を示してい
る。レーザビームを1画素の1.3倍程度の径の円であ
ることを考慮すると、生成された微画素データにより露
光し、再現した画像は図8Cのようになり、エッジがス
ムージングされる。
FIG. 9 shows a template pattern for performing pattern matching with a pixel in a pixel window having a central pixel as a pixel to be processed, and fine pixel data generated when matching with each template pattern. In the template pattern, hatched pixels are exposed pixels, white pixels are unexposed pixels, and shaded pixels are pixels unrelated to matching. In the drawing of the fine pixel data, hatched fine pixels indicate exposure fine pixels. Considering that the laser beam is a circle having a diameter about 1.3 times as large as one pixel, an image exposed and reproduced by the generated fine pixel data is as shown in FIG. 8C, and edges are smoothed.

【0033】ここで特徴的なのは、図9(e)の微画素
生成の場合である。補正の必要がない露光画素は、4つ
の微画素を露光するように微画素データを生成する。図
9(e)の場合は、1画素あたりの露光時間が、補正を
行わない露光画素より大きくなる。このように、補正し
ない露光画素を4つの露光微画素に変換しているので、
補正する場合の自由度が大きい。
The feature here is the case of generating a fine pixel as shown in FIG. Exposed pixels that do not require correction generate fine pixel data so as to expose four fine pixels. In the case of FIG. 9E, the exposure time per pixel is longer than the exposure pixel that is not corrected. As described above, since the exposure pixel that is not corrected is converted into four exposure fine pixels,
The degree of freedom for correction is large.

【0034】(2)副走査方法のエッジスムージング処
理の例 図10は図5に示した画像データ11のD部の拡大図で
ある。図10のE部の画像データを例にして、エッジス
ムージング回路14の動作を説明する。
(2) Example of edge smoothing processing in the sub-scanning method FIG. 10 is an enlarged view of a portion D of the image data 11 shown in FIG. The operation of the edge smoothing circuit 14 will be described by taking the image data of the portion E in FIG. 10 as an example.

【0035】図11および図12は、中心画素を被処理
画素とする画素ウインドウ内の画素とパターンマッチン
グを行うためのテンプレートパターンと、各テンプレー
トパターンとマッチングしたときに生成される微画素デ
ータを示す。生成された微画素データにより露光するこ
とによって、再現した画像は図10のFのようになり、
エッジがスムージングされる。
FIGS. 11 and 12 show template patterns for performing pattern matching with pixels in a pixel window whose central pixel is a pixel to be processed, and fine pixel data generated when matching with each template pattern. . By exposing with the generated fine pixel data, the reproduced image is as shown in F of FIG.
Edges are smoothed.

【0036】ここで特徴的なのは、図11の(b)
(c)および図12の(f)の微画素生成の場合であ
る。補正の必要がない露光画素は、4つの微画素を露光
するように微画素データを生成する。これらの微画素生
成の場合は、1画素あたりの露光時間が、補正を行わな
い露光画素より大きくなる。このように、補正しない露
光画素を4つの露光微画素に変換するので、補正する場
合の1画素あたり露光エネルギーを補正しない画素より
も大きくも小さくもでき、微画素生成による補正の自由
度が大きい。
The characteristic feature here is that FIG.
This is the case of the fine pixel generation of (c) and (f) of FIG. Exposed pixels that do not require correction generate fine pixel data so as to expose four fine pixels. In the case of generating these fine pixels, the exposure time per pixel becomes longer than the exposure pixels that are not corrected. In this way, since the exposure pixel that is not corrected is converted into four exposure fine pixels, the exposure energy per pixel in the case of correction can be made larger or smaller than the pixel that does not correct the exposure energy, and the degree of freedom of correction by generating the fine pixel is large. .

【0037】(3)副走査方向の細線のエッジスムージ
ング処理の例 図13は1画素幅の副走査方向の細線の画像データであ
る。図13の画像データを例にして、エッジスムージン
グ回路14の動作を説明する。
(3) Example of Edge Smoothing Process for Fine Line in Sub-scanning Direction FIG. 13 shows image data of a fine line in the sub-scanning direction having a width of one pixel. The operation of the edge smoothing circuit 14 will be described using the image data of FIG. 13 as an example.

【0038】図14は、中心画素を被処理画素とする画
素ウインドウ内の画素とパターンマッチングを行うため
のテンプレートパターンと、各テンプレートパターンと
マッチングしたときに生成される微画素データを示す。
図14には示していないが、図14のテンプレートパタ
ーンを上下左右を反転し、微画素データの左右を反転し
た微画素生成パターンも、パターンマッチングに用い
る。
FIG. 14 shows a template pattern for performing pattern matching with a pixel in a pixel window having a central pixel as a pixel to be processed, and fine pixel data generated when matching with each template pattern.
Although not shown in FIG. 14, the fine pixel generation pattern obtained by inverting the template pattern of FIG. 14 up, down, left, and right and inverting the left and right of the fine pixel data is also used for pattern matching.

【0039】テンプレートパターン(b)と(e)の両
方にマッチングする場合は、テンプレートパターン
(b)とのマッチングが優先される。また、テンプレー
トパターン(c)と(f)の両方にマッチングする場合
は、テンプレートパターン(c)とのマッチングが優先
される。テンプレートパターン(g)とのマッチングは
最も優先度が低い。
In the case of matching both the template patterns (b) and (e), the matching with the template pattern (b) has priority. Further, when matching is performed with both the template patterns (c) and (f), the matching with the template pattern (c) is prioritized. Matching with the template pattern (g) has the lowest priority.

【0040】このようにして生成された微画素データに
より露光することにより、エッジがスムージングされる
とともに、かすれや途切れ無しに細線を再現できる。補
正の必要がない露光画素は、4つの微画素を露光するよ
うに微画素データを生成するのに対して、これらの微画
素生成による補正の場合は、1画素あたりの露光時間
を、補正を行わない露光画素より25%大きくするとと
もに、ジャギーをなくすため露光位置のシフトを行う。
例えば、マッチングパターン(b)と(c)の処理によ
り、露光位置を4微画素分(1/2画素相当)右側へシ
フトするとともに、連続して5つの微画素分を露光する
ことになる従来のエッジスムージング方法では、1画素
あたりの露光エネルギーを露光エネルギーを、補正しな
い露光画素よりも大きくすることができなかった。この
ため、細線がかすれないように露光エネルギーを必要以
上に大きくしなければならないので、フォント画像など
がつぶれたり太ったりしていた。
By exposing with the fine pixel data generated in this way, the edge can be smoothed and a thin line can be reproduced without blurring or interruption. Exposure pixels that do not need to be corrected generate fine pixel data so that four fine pixels are exposed. On the other hand, in the case of correction by generating these fine pixels, the exposure time per pixel must be corrected. The exposure position is shifted by 25% in order to eliminate jaggies while increasing the exposure pixel by 25%.
For example, according to the processing of the matching patterns (b) and (c), the exposure position is shifted to the right by four fine pixels (corresponding to 1/2 pixel), and five fine pixels are continuously exposed. In the edge smoothing method, the exposure energy per pixel could not be made larger than the exposure pixel whose exposure energy was not corrected. For this reason, the exposure energy must be increased more than necessary so that the thin line is not blurred, so that the font image or the like is crushed or fat.

【0041】(4)主走査方向の細線のエッジスムージ
ング処理の例 図15は1画素幅の主走査方向の細線の画像データであ
る。図15の画像データを例にして、エッジスムージン
グ回路14の動作を説明する。
(4) Example of Edge Smoothing Process of Fine Line in Main Scanning Direction FIG. 15 shows image data of a fine line in the main scanning direction having a width of one pixel. The operation of the edge smoothing circuit 14 will be described using the image data of FIG. 15 as an example.

【0042】図16は、中心画素を被処理画素とする画
素ウインドウ内の画素とパターンマッチングを行うため
のテンプレートパターンと、各テンプレートパターンと
マッチングしたときに生成される微画素データを示す。
図16には示していないが、図16のテンプレートパタ
ーンを上下左右を反転したテンプレートパターンもパタ
ーンマッチングに用いる。
FIG. 16 shows a template pattern for performing pattern matching with a pixel in a pixel window having a central pixel as a pixel to be processed, and fine pixel data generated when matching with each template pattern.
Although not shown in FIG. 16, a template pattern obtained by inverting the template pattern of FIG.

【0043】このようにして生成された微画素データに
より露光することにより、エッジがスムージングされる
とともに、かすれや途切れ無しに細線を再現できる。細
線のかすれや途切れをなくし、かつ、ジャギーを低減す
るため露光微画素の追加を行う。例えば、マッチングパ
ターン(a)の処理により、もとの画像データでは非露
光画素であった画像データが、2つの微画素を露光する
微画素データとなり、ジャギーを低減する。また、図1
6(d)の微画素生成により、補正を行わない露光画素
よりも露光エネルギーを25%大きくし、細線のかすれ
を防止する。
By exposing with the fine pixel data generated in this way, the edge can be smoothed and a thin line can be reproduced without blurring or interruption. An exposure fine pixel is added in order to eliminate blurring and interruption of fine lines and reduce jaggies. For example, by the processing of the matching pattern (a), the image data that was not exposed in the original image data becomes fine pixel data that exposes two fine pixels, thereby reducing jaggy. FIG.
By the generation of the fine pixels in FIG. 6D, the exposure energy is increased by 25% as compared with the exposure pixels that are not subjected to the correction, and the blur of the fine line is prevented.

【0044】(5)斜め方向の細線の処理 図17は、中心画素を被処理画素とする画素ウインドウ
内の画素とパターンマッチングを行うためのテンプレー
トパターンと、各テンプレートパターンとマッチングし
たときに生成される微画素データを示す。
(5) Processing of Thin Line in Oblique Direction FIG. 17 shows a template pattern for performing pattern matching with a pixel in a pixel window whose central pixel is a pixel to be processed, and is generated when matching with each template pattern is performed. FIG.

【0045】このようにして生成された微画素データに
より露光することにより、補正しない露光画像データは
4つの微画素データに変換されるのに対して、斜め方向
の1画素幅の細線に含まれる画素は、6つの連続する微
画素の変換されるので、1画素あたりの露光エネルギー
が50%大きくなる。主走査方向もしくは副走査方向の
細線に含まれる露光画素に対して、斜め細線に含まれる
画素は隣接する露光画素との距離が長いので、このよう
にかなり露光エネルギーを大きくしないと、再現した細
線がかすれることになる。
By exposing with the fine pixel data generated in this way, the uncorrected exposure image data is converted into four fine pixel data, whereas it is included in a thin line of one pixel width in the oblique direction. Since a pixel is converted into six consecutive fine pixels, the exposure energy per pixel is increased by 50%. In contrast to the exposure pixels included in the fine line in the main scanning direction or the sub-scanning direction, the pixels included in the diagonal thin line have a long distance between adjacent exposure pixels. Will be blurred.

【0046】(6)孤立点の処理 図18は、中心画素を被処理画素とする画素ウインドウ
内の画素とパターンマッチングを行うためのテンプレー
トパターンと、テンプレートパターンとマッチングした
ときに生成される微画素データを示す。
(6) Processing of Isolated Point FIG. 18 shows a template pattern for performing pattern matching with a pixel in a pixel window whose central pixel is a pixel to be processed, and fine pixels generated when the template pattern is matched. Show data.

【0047】補正しない露光画像データは4つの微画素
データに変換されるのに対して、孤立露光画素は、8つ
の連続する微画素の変換されるので、1画素あたりの露
光エネルギーが100%大きくなる。孤立露光画素は隣
接する露光画素がないので、このように露光エネルギー
を十分に大きくしないと、孤立点が再現できない。
The exposure image data which is not corrected is converted into four fine pixel data, whereas the isolated exposure pixel is converted into eight continuous fine pixels, so that the exposure energy per pixel is increased by 100%. Become. Since isolated exposure pixels do not have adjacent exposure pixels, isolated points cannot be reproduced unless the exposure energy is sufficiently increased in this way.

【0048】(7)反転された細線や孤立点の処理 図19に反転された1画素幅の細線の画像データの例を
示す。図19に示すように、周辺画素のほとんどが露光
画素であり、非露光画素により形成される細線が形成さ
れている。このような細線を反転された細線という。同
様に、周辺画素が露光画素であり、孤立した1つの非露
光画素により形成される孤立点を反転された孤立点とい
う。
(7) Processing of Inverted Fine Line and Isolated Point FIG. 19 shows an example of inverted fine pixel image data of one pixel width. As shown in FIG. 19, most of the peripheral pixels are exposed pixels, and fine lines formed by non-exposed pixels are formed. Such a thin line is called an inverted thin line. Similarly, a peripheral pixel is an exposed pixel, and an isolated point formed by one isolated non-exposed pixel is called an inverted isolated point.

【0049】反転された細線や孤立点の場合、周辺の露
光画素による非露光画素位置へ露光エネルギーの漏れに
より、再現画像が黒くつぶれてしまう。図20は、中心
画素を被処理画素とする画素ウインドウ内の画素とパタ
ーンマッチングを行うためのテンプレートパターンの一
つの例と、テンプレートパターンとマッチングしたとき
に生成される微画素データを示す。再現画像のつぶれを
防ぐために、テンプレートパターンとのマッチングによ
り反転された細線周辺の露光画素や反転された孤立点に
隣接する露光画素を検出し、図20に示す2つの微画素
を生成する。よって、反転細線や反転孤立点に隣接する
露光画素の露光エネルギーを50%減少させ、反転細線
や反転孤立点がつぶれること無く再現することができ
る。
In the case of an inverted fine line or an isolated point, a reproduced image is blackened due to leakage of exposure energy to a non-exposed pixel position due to peripheral exposed pixels. FIG. 20 shows an example of a template pattern for performing pattern matching with a pixel in a pixel window having a central pixel as a pixel to be processed, and micropixel data generated when matching with the template pattern. In order to prevent the reproduced image from being collapsed, the exposure pixels near the inverted fine line and the exposure pixels adjacent to the inverted isolated point are detected by matching with the template pattern, and the two fine pixels shown in FIG. 20 are generated. Therefore, the exposure energy of the exposed pixel adjacent to the inverted fine line or the inverted isolated point can be reduced by 50%, and the inverted fine line or the inverted isolated point can be reproduced without being crushed.

【0050】実際には、図に示した以外にも多くのテン
プレートパターンを用いて、入力画像データとのマッチ
ングを行い、1画素あたり8個の微画素を生成する。テ
ンプレートパターンと入力画像データとのマッチング処
理および8個の微画素の生成は、49入力8出力の真理
値表で表すことができる。真理値表の入力はドントケア
を含んでも良い。論理合成ソフトウエアを用いることに
より、真理値表で表したエッジスムージング回路14の
処理を、論理圧縮した上でアンド・オアゲートの組み合
わせで実現できる。
Actually, matching with the input image data is performed using many template patterns other than those shown in the figure, and eight fine pixels are generated per pixel. The matching process between the template pattern and the input image data and the generation of eight fine pixels can be represented by a truth table having 49 inputs and 8 outputs. The input of the truth table may include don't care. By using the logic synthesis software, the processing of the edge smoothing circuit 14 represented by a truth table can be realized by a combination of AND and OR gates after logical compression.

【0051】図2における補正回路26の第1の実施例
について説明する。補正回路26は被処理画素が白画素
(非露光画素)のとき、出力する8つの微画素27を全
て白の微画素とする。補正回路26は被処理画素が黒画
素(露光画素)の場合、平均濃度信号25の値によって
所定の数の画素を黒微画素にして出力する。平均濃度信
号25の値と補正回路26が出力する8つの微画素の関
係を図38に示す。図38の出力微画素の図でハッチン
グは黒微画素を示している。平均濃度信号は4ビットの
信号であるので、図38は5入力8出力の真理値表を表
している。図39は補正回路26の第1の実施例のブロ
ック図である。真理値表から論理合成の手法により、図
39に示す補正回路26の組み合わせ論理回路を設計す
ることができる。
A first embodiment of the correction circuit 26 in FIG. 2 will be described. When the pixel to be processed is a white pixel (non-exposed pixel), the correction circuit 26 sets all eight output fine pixels 27 as white fine pixels. When the pixel to be processed is a black pixel (exposed pixel), the correction circuit 26 converts a predetermined number of pixels into black fine pixels based on the value of the average density signal 25 and outputs the result. FIG. 38 shows the relationship between the value of the average density signal 25 and the eight fine pixels output by the correction circuit 26. In the output fine pixel diagram of FIG. 38, hatching indicates black fine pixels. Since the average density signal is a 4-bit signal, FIG. 38 shows a truth table having five inputs and eight outputs. FIG. 39 is a block diagram of a first embodiment of the correction circuit 26. A combination logic circuit of the correction circuit 26 shown in FIG. 39 can be designed from the truth table by a logic synthesis method.

【0052】電子写真方式のプリンタおいて疑似中間調
画像を再現するとき、孤立黒ドットが再現しにくいの
で、孤立した黒ドットの多い低濃度画像では濃度がより
薄く再現される。また、孤立抜け画像がつぶれ易いの
で、孤立抜け画像の多い高濃度画像では濃度がより濃く
再現されてしまう。しかし、上記補正回路は、低濃度画
像領域での黒画素では中濃度画像より黒微画素の数を増
やし、高濃度画像領域での黒画素では中濃度画像領域よ
り黒微画素の数を減らす。これにより、画像データの黒
ドット密度と再現画像濃度をリニアな関係に補正するこ
とができる。
When a pseudo halftone image is reproduced in an electrophotographic printer, isolated black dots are difficult to reproduce, so that a low-density image with many isolated black dots is reproduced with lower density. In addition, since an isolated missing image is easily broken, a high-density image having many isolated missing images is reproduced with a higher density. However, the correction circuit increases the number of black fine pixels for black pixels in the low-density image area compared to the medium-density image, and decreases the number of black fine pixels for black pixels in the high-density image area than the medium-density image area. As a result, the black dot density of the image data and the reproduced image density can be corrected in a linear relationship.

【0053】次に、図2における補正回路26の第2の
実施例について説明する。図40は補正回路26の第2
の実施例のブロック図である。ランダマイザ42は画素
ごとに平均確率1/2でハイレベルになるランダムな信
号43を出力する。また、ランダマイザ42は画素ごと
に平均確率1/3でハイレベルになるランダムな信号4
4および平均確率1/4でハイレベルになるランダムな
信号45を出力する。図40の組み合わせ論理回路46
の入出力の関係を表1に示す。
Next, a description will be given of a second embodiment of the correction circuit 26 in FIG. FIG. 40 shows the second circuit of the correction circuit 26.
FIG. 4 is a block diagram of an embodiment of FIG. The randomizer 42 outputs a random signal 43 which becomes high level with an average probability of に for each pixel. In addition, the randomizer 42 generates a random signal 4 which becomes high level with an average probability of 1/3 for each pixel.
4 and a random signal 45 which goes high with an average probability of 1/4. Combinational logic circuit 46 of FIG.
Table 1 shows the input / output relationship.

【0054】[0054]

【表1】 [Table 1]

【0055】(表1)においてa〜hは図38の出力微
画素a〜hと同じである。表1からわかるように、例え
ば被処理画素が黒でかつ平均濃度信号の値が4であると
きは、出力微画素の黒微画素の数は1/2の確率で5,
1/2の確率で4になる。このように平均濃度信号の値
に対する1画素当たりの黒微画素数の変化に遷移特性を
持たせることにより、プリンタでの再現画像の偽輪郭を
防ぐことができる。表1においては、平均濃度25の値
が4,6,7,10,11,13および14のとき、黒
微画素の数がランダマイザ42の出力信号により変化
し、微画素への変換特性に遷移特性を持たせている。
In Table 1, a to h are the same as the output fine pixels a to h in FIG. As can be seen from Table 1, for example, when the pixel to be processed is black and the value of the average density signal is 4, the number of black fine pixels of the output fine pixels is 5, with a probability of 1/2.
It becomes 4 with a probability of 1/2. By giving the transition characteristic to the change in the number of black fine pixels per pixel with respect to the value of the average density signal in this way, it is possible to prevent false contours of a reproduced image on a printer. In Table 1, when the value of the average density 25 is 4, 6, 7, 10, 11, 13, and 14, the number of black fine pixels changes according to the output signal of the randomizer 42, and the characteristics change to fine pixels. Has characteristics.

【0056】次に図2の判別回路28について説明す
る。判別回路28には、画素ウインドウ走査回路12の
49画素の出力が入力される。判別回路28は、被処理
画素を中心とする7×7画素ウインドウに含まれる全て
の3×3画素ウインドウに白画素と黒画素が混在してい
る場合、ハイレベルの判定信号29を出力する。図41
のハッチングされた画素は、被処理画素を中心とする7
×7画素ウインドウに含まれる3×3画素ウインドウの
例である。7×7画素ウインドウに含まれる3×3画素
ウインドウは全部で25ある。3×3ウインドウ内の画
素が全て黒画素または全て白画素である3×3画素ウイ
ンドウが1つでも存在するとき、判定信号29はローレ
ベルとなる。すなわち、判定信号29がローレベルであ
るということは、白画素または黒画素の密集領域を7×
7画素ウインドウ内に検地したことを示している。
Next, the determination circuit 28 of FIG. 2 will be described. The output of 49 pixels of the pixel window scanning circuit 12 is input to the determination circuit 28. The determination circuit 28 outputs a high-level determination signal 29 when white and black pixels are mixed in all the 3 × 3 pixel windows included in the 7 × 7 pixel window centered on the pixel to be processed. FIG.
The hatched pixels of 7 are centered on the pixel to be processed.
It is an example of a 3 × 3 pixel window included in a × 7 pixel window. There are a total of 25 3 × 3 pixel windows included in the 7 × 7 pixel window. When at least one 3 × 3 pixel window in which the pixels in the 3 × 3 window are all black pixels or all white pixels is present, the determination signal 29 is at a low level. That is, that the determination signal 29 is at the low level means that the dense area of the white pixels or the black pixels is 7 ×
This indicates that the detection was performed within the 7-pixel window.

【0057】誤差拡散法などを用いて疑似中間調処理さ
れた入力画像信号は、黒画素または白画素が拡散してい
る。よって、疑似中間調処理された入力画素が被処理画
素であるとき、判定信号29はローレベルとなる。また
入力画像信号が文字や白抜け文字などの場合は、必ず被
処理画素周辺に黒画素または白画素の密集領域があるの
で、判定信号29はハイレベルとなる。以上の説明よ
り、判定信号29がハイレベルの時は、被処理画素が疑
似中間調画像に含まれる画素ではないことを示している
ことになる。また、判定信号29がローレベルの時は、
被処理画素が疑似中間調画像に含まれる画素であること
をを示していることになる。図2のセレクタ41は、被
処理画素が疑似中間調画像に含まれない文字画像である
場合はエッジスムージング回路の出力される微画素デー
タ15を、被処理画素が疑似中間調画像に含まれる画素
である場合は補正信号27を選択することとなる。
In the input image signal subjected to the pseudo halftone processing using the error diffusion method or the like, black pixels or white pixels are diffused. Therefore, when the input pixel subjected to the pseudo halftone processing is the pixel to be processed, the determination signal 29 becomes low level. When the input image signal is a character or a blank character, the determination signal 29 is at a high level because there is always a dense area of black or white pixels around the pixel to be processed. As described above, when the determination signal 29 is at the high level, it indicates that the pixel to be processed is not a pixel included in the pseudo halftone image. When the determination signal 29 is at a low level,
This indicates that the pixel to be processed is a pixel included in the pseudo halftone image. When the pixel to be processed is a character image that is not included in the pseudo halftone image, the selector 41 in FIG. 2 outputs the fine pixel data 15 output from the edge smoothing circuit to the pixel in which the pixel to be processed is included in the pseudo halftone image. In this case, the correction signal 27 is selected.

【0058】図2におけるパラレル−シリアル変換器1
6の動作を図面を用いて説明する。図21はパラレル−
シリアル変換器16のブロック図である。図22は、図
21のパラレルシリアル変換器のタイミング図である。
シフトレジスタ61は非同期8ビットパラレルロード入
力,シリアル出力機能を持つ。D−フリップフロップ6
3は画素クロックCLK22をMCLK23の半周期分
遅延すると共に反転する。NANDゲート62は、CL
K22に立ち上がりエッジからMCLK23の半周期分
の時間幅のローパルス信号であるパラレルロード信号6
5を出力する。シフトレジスタ61の8ビットパラレル
ロード入力端子AからHにはセレクタ41からの8つの
微画素データ42が入力される。シフトレジスタ61は
画素クロック22に同期した8つの微画素データ42
を、画素クロックの8倍の周波数を持つMCLK23に
同期してレーザ変調信号17として出力する。
The parallel-serial converter 1 in FIG.
Operation 6 will be described with reference to the drawings. FIG.
FIG. 3 is a block diagram of a serial converter 16. FIG. 22 is a timing chart of the parallel-serial converter of FIG.
The shift register 61 has an asynchronous 8-bit parallel load input and serial output function. D-flip-flop 6
3 delays and inverts the pixel clock CLK22 by a half cycle of MCLK23. NAND gate 62 is connected to CL
A parallel load signal 6 which is a low pulse signal having a time width of a half cycle of the MCLK 23 from the rising edge to K22.
5 is output. To the 8-bit parallel load input terminals A to H of the shift register 61, eight micro pixel data 42 from the selector 41 are input. The shift register 61 stores the eight fine pixel data 42 synchronized with the pixel clock 22.
Is output as a laser modulation signal 17 in synchronization with the MCLK 23 having a frequency eight times the pixel clock.

【0059】図23は、本発明の画像処理装置の第2の
実施例により処理された画像信号に基づき、画像を再現
するLEDプリンタの記録部の概略構成図である。LE
Dアレイ231からの光は、ロッドレンズアレイ245
で集束され感光体ドラム248上を走査する。感光体ド
ラム248は図中矢印の方向に回転する。感光体ドラム
248上には静電潜像が形成される。感光体ドラム24
8上の静電潜像に基づいて、周知の電子写真方式により
記録紙に画像が形成される。
FIG. 23 is a schematic configuration diagram of a recording unit of an LED printer that reproduces an image based on an image signal processed by the image processing apparatus according to the second embodiment of the present invention. LE
The light from the D array 231 is
And scans on the photosensitive drum 248. The photoconductor drum 248 rotates in the direction of the arrow in the figure. An electrostatic latent image is formed on the photosensitive drum 248. Photoconductor drum 24
On the basis of the electrostatic latent image on the image 8, an image is formed on a recording sheet by a known electrophotographic method.

【0060】図24は、本発明の画像処理装置の第2の
実施例の概略ブロック図である。ライン走査された画像
データ311は、画素クロックCLK322の立ち上が
りエッジに同期して画素ウインドウ走査回路312に入
力される。ラインイネーブル信号LEN_321は、画
像データの1ライン間の有効期間を示すアクティブロー
の信号であり、画素ウインドウ走査回路312に入力さ
れる。マスターラインイネーブル信号MLEN_323
は、画素ウインドウ走査回路312が画像データ313
を出力するときの1ライン間の有効期間を示すアクティ
ブローの信号である。ラインイネーブル信号LEN_3
21とマスターラインイネーブルMLEN_323のタ
イミング図を図25に示す。図25からわかるように、
LEN_の1周期の間にMLEN_は8回アクティブに
なる。1つのアクティブ時間は、LEN_およびMLE
N_とも同じである。
FIG. 24 is a schematic block diagram of a second embodiment of the image processing apparatus of the present invention. The line-scanned image data 311 is input to the pixel window scanning circuit 312 in synchronization with the rising edge of the pixel clock CLK322. The line enable signal LEN_321 is an active low signal indicating a valid period between one line of image data, and is input to the pixel window scanning circuit 312. Master line enable signal MLEN_323
Means that the pixel window scanning circuit 312 outputs image data 313
Is an active-low signal indicating a valid period between one line when the signal is output. Line enable signal LEN_3
FIG. 25 shows a timing chart of 21 and the master line enable MLEN_323. As can be seen from FIG.
MLEN_ becomes active eight times during one period of LEN_. One active time is LEN_ and MLE
The same applies to N_.

【0061】画素ウインドウ走査回路312は、中心画
素を被処理画素とする7×7画素の画像データ313を
出力する。画素ウインドウ走査回路については後述す
る。
The pixel window scanning circuit 312 outputs image data 313 of 7 × 7 pixels with the central pixel as a pixel to be processed. The pixel window scanning circuit will be described later.

【0062】回路ブロック314は、図2に示した回路
ブロックAと全く同じであるので説明は省略する。
The circuit block 314 is exactly the same as the circuit block A shown in FIG.

【0063】ラインセレクタ316は、パラレルに入力
される8個の微画素データ42をLEDのライン露光ご
とに順次切り換えて、LED露光データ317を出力す
る。LEDアレイは入力画像データの1ライン周期の間
に8回のライン露光を行う。ラインセレクタ316につ
いては後述する。LED露光データ317は、図示して
いないLEDプリンタのLEDアレイ駆動回路に接続さ
れる。
The line selector 316 sequentially switches the eight pieces of fine pixel data 42 input in parallel for each line exposure of the LED, and outputs LED exposure data 317. The LED array performs eight line exposures during one line cycle of the input image data. The line selector 316 will be described later. The LED exposure data 317 is connected to an LED array driving circuit of an LED printer (not shown).

【0064】図26は画素ウインドウ走査回路312の
ブロック図である。図26を用いて画素ウインドウ走査
回路312について、その動作を説明する。ラインバッ
ファメモリ351は7ビット幅のデータを入出力するバ
ッファメモリである。ラインバッファメモリ351のラ
イトリセット端子には反転されたラインイネーブル信号
LEN_が入力され、リードリセット端子には反転され
たマスターラインイネーブル信号MLEN_が入力され
る。ラインバッファメモリ351のライトイネーブル端
子にはラインイネーブル信号LEN_321が入力さ
れ、リードイネーブル端子にはマスターラインイネーブ
ル信号MLEN_323が入力される。ラインバッファ
メモリ351のリードクロック端子およびライトクロッ
ク端子には、反転された画素クロックが入力される。
FIG. 26 is a block diagram of the pixel window scanning circuit 312. The operation of the pixel window scanning circuit 312 will be described with reference to FIG. The line buffer memory 351 is a buffer memory that inputs and outputs 7-bit data. An inverted line enable signal LEN_ is input to a write reset terminal of the line buffer memory 351, and an inverted master line enable signal MLEN_ is input to a read reset terminal. A line enable signal LEN_321 is input to a write enable terminal of the line buffer memory 351 and a master line enable signal MLEN_323 is input to a read enable terminal. An inverted pixel clock is input to a read clock terminal and a write clock terminal of the line buffer memory 351.

【0065】ラインバッファメモリ351のデータ入力
端子I0には画像データ311が入力され、データ出力
端子O0には1ライン遅延された画像信号が出力され
る。データ出力端子O0からの出力される1ライン遅延
された画像信号は、データ入力端子I1に入力され、デ
ータ出力端子O1には画像データ11に対して2ライン
遅延された画像信号が出力される。同様に、データ出力
端子O2には3ライン、O3には4ライン、O4には5
ライン、O5には6ライン、O6には7ライン遅延され
た画像信号が出力される。7ビット幅のラッチ52〜5
8は、ラインバッファ351から出力されるライン遅延
された画像信号をラッチし1画素ずつ遅延する。ライン
バッファメモリ351のリードイネーブル端子は、入力
される画像信号311が1ライン入力されるとMLEN
_に基づいて8回同じデータを出力することになる。以
上に示した構成により、画素ウインドウ走査回路312
は、7×7画素ウインドウの49個の画像データ313
を出力する。
Image data 311 is input to the data input terminal I0 of the line buffer memory 351 and an image signal delayed by one line is output to the data output terminal O0. The image signal delayed by one line from the data output terminal O0 is input to the data input terminal I1, and an image signal delayed by two lines with respect to the image data 11 is output to the data output terminal O1. Similarly, data output terminal O2 has three lines, O3 has four lines, and O4 has five lines.
An image signal delayed by 6 lines is output to O5, and an image signal delayed by 7 lines is output to O6. 7-bit wide latches 52-5
Reference numeral 8 latches the line-delayed image signal output from the line buffer 351 and delays it by one pixel. The read enable terminal of the line buffer memory 351 receives MLEN when one line of the input image signal 311 is input.
_ Will output the same data eight times. With the configuration shown above, the pixel window scanning circuit 312
Is 49 image data 313 in a 7 × 7 pixel window
Is output.

【0066】第1の実施例では画像を再現するプリンタ
をレーザプリンタとしているので、1画素のデータから
主走査方向に8個の微画素に分割したが、第2の実施例
ではLEDプリンタを用いるので、1画素のデータから
副走査方向に分割した8個の微画素を生成する。よっ
て、エッジスムージング回路の動作は、主走査方向と副
走査方向の関係が逆になるだけの相違である。図2にお
ける7×7画素ウインドウの画像データ13の各画素に
番号を付けたものを図27に示す。図27に示した画像
データ並びを、図28に示す画素並びに変えて図24の
回路ブロックA314に入力することにより、図2の回
路ブロックAと、図24の回路ブロックA314はまっ
たく同じ回路を用いて良いことがわかる。回路ブロック
A314の動作は、図2の第1の実施例と同じであるの
で説明は省略する。
In the first embodiment, a laser printer is used as a printer for reproducing an image. Therefore, one pixel data is divided into eight fine pixels in the main scanning direction. In the second embodiment, an LED printer is used. Therefore, eight fine pixels divided in the sub-scanning direction are generated from one pixel data. Therefore, the operation of the edge smoothing circuit is different only in that the relationship between the main scanning direction and the sub-scanning direction is reversed. FIG. 27 shows each pixel of the image data 13 of the 7 × 7 pixel window in FIG. By inputting the image data sequence shown in FIG. 27 to the pixel shown in FIG. 28 and changing it to the circuit block A314 in FIG. 24, the circuit block A in FIG. 2 and the circuit block A314 in FIG. I understand that it is good. The operation of the circuit block A314 is the same as that of the first embodiment shown in FIG.

【0067】図24におけるラインセレクタ316につ
いて図29を用いて説明する。図29はラインセレクタ
316のブロック図である。図30は図29に示したラ
インセレクタのタイミング図である。ラッチ330は画
素クロックCLK322の立ち上がりで8個の微画素デ
ータ42をラッチする。D−フリップフロップ332は
マスターラインイネーブルMLEN_323を1画素ク
ロック分遅延するとともに反転する。カウンタ333
は、同期クリア入力を備える3ビットバイナリカウンタ
である。カウンタ333のクリア入力にはラインイネー
ブルLEN_321が入力される。カウンタ333は、
LEN_331によりクリアされ、D−フリップフロッ
プの出力信号により0から7までカウントアップする。
セレクタ331は8to1セレクタであり、ラッチ33
0より出力される8つの微画素データを入力とする。セ
レクタ331はカウンタ333の出力値に応じて、8つ
の入力のうち1つを選択してLED露光データ317を
出力する。
The line selector 316 in FIG. 24 will be described with reference to FIG. FIG. 29 is a block diagram of the line selector 316. FIG. 30 is a timing chart of the line selector shown in FIG. The latch 330 latches eight pieces of fine pixel data 42 at the rise of the pixel clock CLK322. The D flip-flop 332 delays and inverts the master line enable MLEN_323 by one pixel clock. Counter 333
Is a 3-bit binary counter with a synchronous clear input. The line enable LEN_321 is input to the clear input of the counter 333. The counter 333 is
It is cleared by LEN_331 and counts up from 0 to 7 by the output signal of the D-flip-flop.
The selector 331 is an 8to1 selector, and the latch 33
Eight micropixel data output from 0 are input. The selector 331 selects one of the eight inputs and outputs the LED exposure data 317 according to the output value of the counter 333.

【0068】以上の説明からわかるように、画素ウイン
ドウ走査回路312は、ラインイネーブルLEN_32
1が次にアクティブになるまでは、マスターラインイネ
ーブルMLEN_323の8ライン走査分は同じ画素ウ
インドウデータ313を出力する。回路ブロックA31
4もMLEN_8ライン走査分は同じ微画素データ42
を出力する。ラインセレクタ316はマスターラインイ
ネーブルMLEN_323にしたがって、入力画像デー
タの1ライン分入力に対して、8つの微画素データ42
を順次選択し、8ライン分のLED露光データを出力す
る。すなわち、1ラインの入力画像データに基づき、8
ライン分の露光データを得る。この8ライン分の露光デ
ータを用いて、LEDアレイは1ラインを8ラインに分
割して露光する。
As can be seen from the above description, the pixel window scanning circuit 312 has the line enable LEN_32
Until 1 becomes the next active state, the same pixel window data 313 is output for eight line scans of the master line enable MLEN_323. Circuit block A31
4 also has the same fine pixel data 42 for the scanning of MLEN_8 lines.
Is output. In accordance with the master line enable MLEN_323, the line selector 316 receives eight micropixel data 42
Are sequentially selected, and LED exposure data for eight lines is output. That is, based on one line of input image data, 8
Obtain exposure data for the line. Using the exposure data for the eight lines, the LED array divides one line into eight lines for exposure.

【0069】第2の実施例のように、レーザプリンタの
代わりにLEDプリンタを画像再現の為のプリンタとし
て用いる場合でも、第1の実施例と同様にエッジスムー
ジング効果と、細線や孤立点の再現性の向上でき、かつ
疑似中間調画像の階調性が向上できる。
Even when an LED printer is used as a printer for image reproduction in place of a laser printer as in the second embodiment, the edge smoothing effect and the reproduction of fine lines and isolated points can be obtained as in the first embodiment. And the gradation of the pseudo halftone image can be improved.

【0070】図31は、本発明の画像処理装置の第3の
実施例の概略ブロック図である。出力モード切り換え信
号MODE424は画像データを再現するプリンタの種
類を設定するための信号である。モード切り換え信号4
24は、レーザプリンタを使用する場合はハイレベル
に、LEDプリンタを使用する場合はローレベルにセッ
トする。ライン走査された画像データ411は、画素ク
ロックCLK422の立ち上がりエッジに同期して画素
ウインドウ走査回路412に入力される。ラインイネー
ブル信号LEN_421は、画像データ411の1ライ
ン間の有効期間を示すアクティブローの信号であり、画
素ウインドウ走査回路412に入力される。マスターラ
インイネーブル信号MLEN_423は、画素ウインド
ウ走査回路412が画像データ413を出力するときの
1ライン間の有効期間を示すアクティブローの信号であ
り、LEDプリンタを使用する場合は第2の実施例にお
けるMLEN_と同じである。出力プリンタにレーザプ
リンタを使用する場合は、MLEN_423はラインイ
ネーブルLEN_421と同じ信号を入力する。画素ウ
インドウ走査回路412は、中心画素を被処理画素とす
る7×7画素の画像データ413を出力する。画素ウイ
ンドウ走査回路413の構成は、図26に示した第2の
実施例における画素ウインドウ走査回路312と同じで
あるので詳しい説明は省略する。
FIG. 31 is a schematic block diagram of a third embodiment of the image processing apparatus according to the present invention. The output mode switching signal MODE424 is a signal for setting the type of a printer for reproducing image data. Mode switching signal 4
24 is set to a high level when a laser printer is used, and set to a low level when an LED printer is used. The line-scanned image data 411 is input to the pixel window scanning circuit 412 in synchronization with the rising edge of the pixel clock CLK422. The line enable signal LEN_421 is an active-low signal indicating a valid period between one line of the image data 411, and is input to the pixel window scanning circuit 412. The master line enable signal MLEN_423 is an active-low signal indicating a valid period between one line when the pixel window scanning circuit 412 outputs the image data 413. When the LED printer is used, the master line enable signal MLEN_423 and the MLEN_ in the second embodiment are used. Is the same. When a laser printer is used as the output printer, MLEN_423 inputs the same signal as line enable LEN_421. The pixel window scanning circuit 412 outputs image data 413 of 7 × 7 pixels whose central pixel is a pixel to be processed. The configuration of the pixel window scanning circuit 413 is the same as that of the pixel window scanning circuit 312 in the second embodiment shown in FIG.

【0071】データ並びセレクト回路425には、7×
7画素ウインドウ内の49画素の画像データ413が入
力される。データ並びセレクト回路425は、モード切
り換え信号MODE424がハイレベルの時は第1の実
施例のような7×7画素のデータ並び(図27)で出力
する。また、MODE424がローレベルの時は第2の
実施例のようなデータ並び(図28)で出力する。デー
タ並びセレクト回路は、モード切り換え信号MODE4
24により決まるデータ並びで7×7画素の画像データ
426を出力する。
The data arrangement select circuit 425 has 7 ×
Image data 413 of 49 pixels in a 7-pixel window is input. When the mode switching signal MODE 424 is at a high level, the data arrangement selection circuit 425 outputs data in a 7 × 7 pixel data arrangement (FIG. 27) as in the first embodiment. When MODE 424 is at the low level, the data is output in the data arrangement (FIG. 28) as in the second embodiment. The data arrangement select circuit outputs the mode switching signal MODE4
The image data 426 of 7 × 7 pixels is output in a data arrangement determined by H.24.

【0072】回路ブロックA414は図2の回路ブロッ
クAと全く同じである。回路ブロックA414には、7
×7画素の画像データ426が入力される。回路ブロッ
クA414は、中心画素1画素の入力データを8個の微
画素データ42に変換しパラレルに出力する。
The circuit block A 414 is exactly the same as the circuit block A in FIG. The circuit block A414 has 7
Image data 426 of × 7 pixels is input. The circuit block A414 converts the input data of one central pixel into eight fine pixel data 42 and outputs them in parallel.

【0073】図32に出力切り換え回路416のブロッ
ク図を示す。パラレル−シリアル変換回路501は第1
の実施例におけるパラレルーシリアル変換回路16と同
じであり、パラレルに入力される8個の微画素データ4
2をシリアルデータ列に変換して、レーザ変調信号50
3を出力する。ラインセレクタ502は第2の実施例に
おけるラインセレクタ316と同じであり、パラレルに
入力される8個の微画素データ42をLEDアレイのラ
イン露光ごとに順次切り換えてLED露光データ504
を出力する。セレクタ505はモード信号MODE42
4がハイレベルの時レーザ変調信号507を選択し、M
ODE424がローレベルの時LED露光データ504
を選択して、データ417を出力する。データ417は
図示していないレーザ駆動回路もしくはLEDアレイ駆
動回路に接続される。レーザプリンタを使用する場合、
すなわちMODE424がハイレベルの時は、出力切り
換え回路416にはLEN_421およびMLEN_4
23を入力する必要はない。また、LEDプリンタを使
用する場合、すなわちMODE424がローレベルの時
は、出力切り換え回路416にはMCLK427を入力
する必要はない。
FIG. 32 is a block diagram of the output switching circuit 416. The parallel-serial conversion circuit 501 is the first
Is the same as the parallel-serial conversion circuit 16 in the embodiment of FIG.
2 is converted into a serial data string, and a laser modulation signal 50
3 is output. The line selector 502 is the same as the line selector 316 in the second embodiment, and sequentially switches the eight pieces of fine pixel data 42 input in parallel for each line exposure of the LED array to obtain the LED exposure data 504.
Is output. The selector 505 outputs the mode signal MODE42
When 4 is at a high level, the laser modulation signal 507 is selected.
LED exposure data 504 when ODE 424 is at low level
Is selected, and data 417 is output. The data 417 is connected to a laser drive circuit or an LED array drive circuit (not shown). When using a laser printer,
That is, when MODE 424 is at a high level, the output switching circuit 416 has LEN_421 and MLEN_4
You do not need to enter 23. When an LED printer is used, that is, when the MODE 424 is at a low level, it is not necessary to input the MCLK 427 to the output switching circuit 416.

【0074】モード信号MODE424を設定すること
により、第3の実施例で示した画像処理装置は、画像の
再現にレーザプリンタとLEDプリンタのどちらでも使
用することができる。特に第3の実施例の画像処理装置
をLSIで構成するときに有利である。
By setting the mode signal MODE424, the image processing apparatus shown in the third embodiment can use either a laser printer or an LED printer to reproduce an image. This is particularly advantageous when the image processing apparatus of the third embodiment is configured by an LSI.

【0075】上記実施例ではLEDプリンタを用いる場
合を説明したが、液晶シャッタアレイやサーマルヘッド
などアレイ状の画像書き込みヘッドを用いるプリンタを
用いる場合でも同様の効果を得ることができる。
In the above embodiment, the case where an LED printer is used has been described. However, the same effect can be obtained when a printer using an array-like image writing head such as a liquid crystal shutter array or a thermal head is used.

【0076】また、実施例では、画像の再現装置として
プリンタを用いたが、CRTを用いる場合でも同様な効
果が得られる。
In the embodiment, a printer is used as an image reproducing device. However, a similar effect can be obtained when a CRT is used.

【0077】[0077]

【発明の効果】以上のように、本発明の画像処理装置を
用いれば、孤立ドットや1ドット幅の細線を忠実に再現
し、かつ、再現したフォント画像が太ったり、つぶれた
りしないで、従来以上のエッジスムージング効果を得る
ことができる。また、入力画像データが疑似中間調画像
である場合でも、疑似輪郭やモアレが発生せずに、階調
再現特性を向上できる。さらに、入力画像データにフォ
ント画像と疑似中間調画像が混在している場合でも、フ
ォント画像に対するエッジスムージング処理と疑似中間
調画像に対する階調再現性向上のための処理を両立する
ことができる。
As described above, by using the image processing apparatus of the present invention, isolated dots and thin lines having a width of 1 dot can be faithfully reproduced, and the reproduced font image can be prevented from becoming thick or crushed. The above edge smoothing effect can be obtained. Further, even when the input image data is a pseudo halftone image, the gradation reproduction characteristics can be improved without generating a pseudo contour or moire. Furthermore, even when the font image and the pseudo halftone image are mixed in the input image data, the edge smoothing process for the font image and the process for improving the tone reproducibility for the pseudo halftone image can be compatible.

【0078】さらに、画像を再現するプリンタとしてレ
ーザビームプリンタもしくはLEDプリンタどちらでも
使用することができる。
Further, as a printer for reproducing an image, either a laser beam printer or an LED printer can be used.

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

【図1】レーザビームプリンタの記録部の概略構成図FIG. 1 is a schematic configuration diagram of a recording unit of a laser beam printer.

【図2】本発明の画像処理装置の第1の実施例の概略ブ
ロック図
FIG. 2 is a schematic block diagram of a first embodiment of the image processing apparatus of the present invention.

【図3】図2における画素ウインドウ走査回路12のブ
ロック図
FIG. 3 is a block diagram of a pixel window scanning circuit 12 in FIG. 2;

【図4】レーザビームの露光エネルギー分布図FIG. 4 is an exposure energy distribution diagram of a laser beam.

【図5】画像データ11の例の図FIG. 5 is a diagram showing an example of image data 11;

【図6】図5に示した画像データをそのままレーザプリ
ンタで再現した画像
6 is an image obtained by reproducing the image data shown in FIG. 5 by a laser printer as it is.

【図7】補正の必要の無い露光画素の場合に生成される
微画素データの図
FIG. 7 is a diagram of fine pixel data generated for an exposure pixel that does not need to be corrected;

【図8】図5の画像データのA部の拡大図8 is an enlarged view of a portion A of the image data of FIG.

【図9】パターンマッチングのためのテンプレートパタ
ーンと、生成される微画素の図
FIG. 9 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図10】図5の画像データのD部の拡大図FIG. 10 is an enlarged view of a portion D of the image data of FIG. 5;

【図11】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 11 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図12】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 12 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図13】1画素幅の副走査方向の細線の画像データの
FIG. 13 is a diagram of image data of a thin line in the sub-scanning direction having a width of one pixel.

【図14】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 14 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図15】1画素幅の主走査方向の細線の画像データの
FIG. 15 is a diagram of image data of a fine line in the main scanning direction having a width of one pixel.

【図16】図15における画像信号圧縮伸長回路817
のブロック図
16 is an image signal compression / expansion circuit 817 in FIG.
Block diagram of

【図17】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 17 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図18】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 18 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図19】反転された1画素幅の細線の画像データの例
の図
FIG. 19 is a diagram illustrating an example of image data of a reversed thin line having a width of one pixel;

【図20】パターンマッチングのためのテンプレートパ
ターンと、生成される微画素の図
FIG. 20 is a diagram of a template pattern for pattern matching and generated fine pixels.

【図21】パラレル−シリアル変換器16のブロック図FIG. 21 is a block diagram of a parallel-serial converter 16;

【図22】図21のパラレルシリアル変換器のタイミン
グ図
FIG. 22 is a timing chart of the parallel-serial converter of FIG. 21;

【図23】LEDプリンタの記録部の概略構成図FIG. 23 is a schematic configuration diagram of a recording unit of the LED printer.

【図24】本発明の画像処理装置の第2の実施例の概略
ブロック図
FIG. 24 is a schematic block diagram of a second embodiment of the image processing apparatus of the present invention.

【図25】ラインイネーブル信号LEN_321とマス
ターラインイネーブルMLEN_323のタイミング図
FIG. 25 is a timing chart of a line enable signal LEN_321 and a master line enable MLEN_323.

【図26】画素ウインドウ走査回路312のブロック図FIG. 26 is a block diagram of a pixel window scanning circuit 312.

【図27】図2における7×7画素ウインドウの画像デ
ータ13の各画素に番号を付けた図
FIG. 27 is a diagram in which each pixel of the image data 13 of the 7 × 7 pixel window in FIG. 2 is numbered;

【図28】図24のブロックA314に入力する画素並
びを示す図
FIG. 28 is a diagram showing an arrangement of pixels input to a block A314 in FIG. 24;

【図29】ラインセレクタ316のブロック図FIG. 29 is a block diagram of a line selector 316.

【図30】図29に示したラインセレクタのタイミング
30 is a timing chart of the line selector shown in FIG. 29;

【図31】本発明の画像処理装置の第3の実施例の概略
ブロック図
FIG. 31 is a schematic block diagram of a third embodiment of the image processing apparatus of the present invention.

【図32】出力切り換え回路416のブロック図FIG. 32 is a block diagram of an output switching circuit 416.

【図33】従来のエッジスムージングを行う画像処理装
置のブロック図
FIG. 33 is a block diagram of a conventional image processing apparatus that performs edge smoothing.

【図34】エッジスムージング処理の図FIG. 34 is a diagram of edge smoothing processing.

【図35】テンプレートパターンの図FIG. 35 is a diagram of a template pattern.

【図36】置換すべき画像データの図FIG. 36 is a diagram of image data to be replaced;

【図37】平均濃度算出回路24に入力される画素を示
す図
FIG. 37 is a diagram showing pixels input to the average density calculation circuit 24;

【図38】平均濃度信号25の値と補正回路26が出力
する8つの微画素の関係を示す図
FIG. 38 is a view showing the relationship between the value of the average density signal 25 and eight fine pixels output by the correction circuit 26;

【図39】補正回路26の第1の実施例のブロック図FIG. 39 is a block diagram of a first embodiment of the correction circuit 26;

【図40】補正回路26の第2の実施例のブロック図FIG. 40 is a block diagram of a second embodiment of the correction circuit 26;

【図41】被処理画素を中心とする7×7画素ウインド
ウに含まれる3×3画素ウインドウの例を示す図
FIG. 41 is a diagram showing an example of a 3 × 3 pixel window included in a 7 × 7 pixel window centered on a pixel to be processed;

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

11 画像データ 13 7×7画素ウインドウデータ 14 エッジスムージング回路 17 レーザ変調信号 24 平均濃度算出回路 26 補正回路 28 判別回路 31 半導体レーザ 41 セレクタ 45 コリメータレンズ 46 ポリゴンミラー 47 fθレンズ 48 感光体ドラム 51 ラインバッファ 100 画像データ 107 セレクタ 231 LEDアレイ 245 ロッドレンズアレイ 11 Image Data 13 7 × 7 Pixel Window Data 14 Edge Smoothing Circuit 17 Laser Modulation Signal 24 Average Density Calculation Circuit 26 Correction Circuit 28 Discrimination Circuit 31 Semiconductor Laser 41 Selector 45 Collimator Lens 46 Polygon Mirror 47 fθ Lens 48 Photosensitive Drum 51 Line Buffer 100 image data 107 selector 231 LED array 245 rod lens array

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46 H04N 1/60

Claims (16)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像画素と非画像画素を表す入力2値画
像データの処理すべき画素と 複数の周辺画素を一時的
に記憶する一時記憶手段と、一時記憶手段に記憶された
画素データを参照して処理すべき入力画素を主走査また
は副走査方向にN個の微画素に変換することにより 前
記2値画像データのエッジをスムージングするエッジス
ムージング手段と、前記記憶手段に記憶された処理すべ
き画素と周辺の画素のいくつかを用いて平均濃度を算出
する平均濃度算出手段と、平均濃度に基づいて入力2値
画像データを補正して複数の微画素を出力する補正手段
と、前記記憶手段に記憶された画素中に 密集した画像
画素の領域もしくは密集した非画像画素の領域が存在す
るか否かを判別する判別手段と、前記判別手段により密
集した画像領域を検知した場合はエッジスムージング手
段の出力を選択し、検知しない場合は補正手段の出力を
選択するセレクタを備えることを特徴とする画像処理装
置。
1. Temporary storage means for temporarily storing pixels to be processed of input binary image data representing image pixels and non-image pixels and a plurality of peripheral pixels, and refer to pixel data stored in the temporary storage means. Edge smoothing means for converting an input pixel to be processed into N fine pixels in the main scanning or sub-scanning direction to smooth edges of the binary image data, and processing to be stored in the storage means. Average density calculating means for calculating an average density using a pixel and some of the peripheral pixels; correcting means for correcting input binary image data based on the average density to output a plurality of fine pixels; Determining means for determining whether there is a dense image pixel area or a dense non-image pixel area in the pixels stored in the memory; and detecting the dense image area by the determining means. An image processing apparatus comprising: a selector for selecting an output of the edge smoothing means when the detection is performed, and selecting an output of the correction means when the detection is not performed.
【請求項2】エッジスムージング手段は、複数の所定の
パターン画像と前記一時的に記憶した入力画像パターン
と 複数の所定のパターンとのマッチングを行う手段
と、処理すべき画素が画像画素であり 前記パターンと
前記一時的に記憶した入力画像がマッチングしないと
き、N個の微画素のうちM(<N)個の画像微画素を含
むN個の微画素データを発生する手段と、前記パターン
のうち少なくとも1つのパターンと前記一時的に記憶し
た入力画像がマッチングしたとき、前記所定のパターン
にあらかじめ対応して決められたN個の微画素データを
発生する手段を備えることを特徴とする請求項1に記載
の画像処理装置。
2. An edge smoothing means for matching a plurality of predetermined pattern images with the temporarily stored input image pattern and a plurality of predetermined patterns, wherein a pixel to be processed is an image pixel. Means for generating N fine pixel data including M (<N) image fine pixels of the N fine pixels when the pattern and the temporarily stored input image do not match; 2. The apparatus according to claim 1, further comprising: means for generating, when at least one pattern matches the temporarily stored input image, N pieces of fine pixel data determined in advance corresponding to the predetermined pattern. An image processing apparatus according to claim 1.
【請求項3】平均濃度算出手段は、処理すべき画素と所
定の周辺画素に含まれる画像画素の数を算出することを
特徴とする請求項1に記載の画像処理装置。
3. An image processing apparatus according to claim 1, wherein the average density calculating means calculates the number of pixels to be processed and the number of image pixels included in predetermined peripheral pixels.
【請求項4】平均濃度算出手段は、処理すべき画素を含
むP×Q画素の領域に含まれる画素中の画像画素の数を
算出することを特徴とする請求項1に記載の画像処理装
置。
4. The image processing apparatus according to claim 1, wherein the average density calculating means calculates the number of image pixels in pixels included in a P × Q pixel area including a pixel to be processed. .
【請求項5】補正手段は、入力画素をN個の微画素に分
割し、入力画像データと前記平均濃度値に基づいてN個
の微画素のうちの画像微画素の数を変えることを特徴と
する請求項1に記載の画像処理装置。
5. The correcting means divides an input pixel into N fine pixels and changes the number of image fine pixels among the N fine pixels based on the input image data and the average density value. The image processing apparatus according to claim 1.
【請求項6】補正手段は、入力画素1画素ごとに所定に
確率で1または0の信号を出力する確率信号発生手段を
具備し、入力画素をN個の微画素に分割し、入力画像デ
ータ、前記平均濃度値およびに基づいてN個の微画素の
うちの画像微画素の数を変えることを特徴とする請求項
1に記載の画像処理装置。
6. A correcting means comprising a probability signal generating means for outputting a signal of 1 or 0 at a predetermined probability for each input pixel, dividing the input pixel into N fine pixels, 2. The image processing apparatus according to claim 1, wherein the number of image fine pixels among the N fine pixels is changed based on the average density value and the average density value.
【請求項7】所定のパターンとのマッチングにより、処
理すべき画素が画像画素でありかつ細線および孤立ドッ
ト画素であることを検出したとき、前記Mより大きいL
個の微画素データを発生することを特徴とする請求項2
に記載の画像処理装置。
7. When a pixel to be processed is an image pixel and a thin line and an isolated dot pixel are detected by matching with a predetermined pattern, L larger than M
3. The method according to claim 2, wherein the generating unit generates a plurality of fine pixel data.
An image processing apparatus according to claim 1.
【請求項8】パターンマッチングにより、処理すべき画
素が画像画素でかつ非画像画素で形成される細線および
孤立した非画像画素に隣接することを検出したとき、前
記Mより小さいI個の微画素データを発生することを特
徴とする請求項2に記載の画像処理装置。
8. When a pixel to be processed is detected as an image pixel and adjacent to a thin line formed by non-image pixels and an isolated non-image pixel by pattern matching, the I fine pixels smaller than M are detected. The image processing apparatus according to claim 2, wherein the apparatus generates data.
【請求項9】画像形成のための露光手段を具備し、前記
露光手段は 前記セレクタの出力する複数の微画素に基
づいて 半導体レーザにより出力されたレーザビームを
偏向してラスタースキャンを行い、半導体レーザの1画
素に相当する発光時間をN分割して露光するすることを
特徴とする請求項1に記載の画像処理装置。
9. An exposure device for image formation, wherein the exposure device performs a raster scan by deflecting a laser beam output from a semiconductor laser based on a plurality of fine pixels output from the selector. 2. The image processing apparatus according to claim 1, wherein a light emission time corresponding to one pixel of the laser is exposed by dividing the light by N.
【請求項10】画像形成のための露光手段を具備し、前
記露光手段は 発光素子をアレイ状に並べたアレイプリ
ントヘッドを用いて、 前記セレクタの出力する複数の
微画素に基づき 1画素に相当するラインをN回に分割
して露光することを特徴とする請求項2に記載の画像処
理装置。
10. An exposure device for forming an image, wherein the exposure device uses an array print head in which light emitting elements are arranged in an array, and corresponds to one pixel based on a plurality of fine pixels output by the selector. 3. The image processing apparatus according to claim 2, wherein a line to be exposed is divided into N times and exposed.
【請求項11】セレクタの出力する複数の微画素をシリ
アルに出力する第1のモードと、前記セレクタの出力す
る複数の微画素をラインごとに一つずつ順次出力する第
2のモードを備えることを特徴とする請求項1に記載の
画像処理装置。
11. A first mode in which a plurality of fine pixels output by a selector are serially output, and a second mode in which a plurality of fine pixels output by the selector are sequentially output one by one for each line. The image processing apparatus according to claim 1, wherein:
【請求項12】画像画素と非画像画素を表す入力2値画
像データの処理すべき画素と複数の周辺画素を一時的に
記憶する一時記憶手段と、前記記憶手段に記憶された処
理すべき画素と周辺の画素のいくつかを用いて平均濃度
を算出する平均濃度算出手段と、平均濃度に基づいて入
力2値画像データを主走査または副走査方向に入力画素
をN個の微画素に変換して補正する補正手段と、処理す
べき画素が疑似中間調処理された画素か否かを判別する
判別手段と、前記判別手段により疑似中間調処理された
画素であると判別した場合は、前記補正手段により入力
画像信号を補正することを特徴とする画像処理装置。
12. Temporary storage means for temporarily storing pixels to be processed of input binary image data representing image pixels and non-image pixels and a plurality of peripheral pixels, and pixels to be processed stored in said storage means. And average density calculating means for calculating an average density using some of the peripheral pixels, and converting the input binary image data into N fine pixels in the main scanning or sub scanning direction based on the average density. Correction means for determining whether the pixel to be processed is a pixel subjected to pseudo halftone processing, and when the determination means determines that the pixel is a pixel subjected to pseudo halftone processing, the correction is performed. An image processing apparatus wherein an input image signal is corrected by means.
【請求項13】平均濃度算出手段は、処理すべき画素と
所定の周辺画素に含まれる画像画素の数を算出すること
を特徴とする請求項12に記載の画像処理装置。
13. The image processing apparatus according to claim 12, wherein the average density calculation means calculates the number of pixels to be processed and the number of image pixels included in predetermined peripheral pixels.
【請求項14】平均濃度算出手段は、処理すべき画素を
含むP×Q画素の領域に含まれる画素中の画像画素の数
を算出することを特徴とする請求項12に記載の画像処
理装置。
14. The image processing apparatus according to claim 12, wherein the average density calculating means calculates the number of image pixels in pixels included in a P × Q pixel area including a pixel to be processed. .
【請求項15】補正手段は、入力画素をN個の微画素に
分割し、入力画像データと前記平均濃度値に基づいてN
個の微画素のうちの画像微画素の数を変えることを特徴
とする請求項12に記載の画像処理装置。
15. The correction means divides an input pixel into N fine pixels and calculates N based on input image data and the average density value.
13. The image processing apparatus according to claim 12, wherein the number of image fine pixels among the fine pixels is changed.
【請求項16】補正手段は、入力画素1画素ごとに所定
に確率で1または0の信号を出力する確率信号発生手段
を具備し、入力画素をN個の微画素に分割し、入力画像
データ、前記平均濃度値およびに基づいてN個の微画素
のうちの画像微画素の数を変えることを特徴とする請求
項12に記載の画像処理装置。
16. A correction means comprising a probability signal generating means for outputting a signal of 1 or 0 at a predetermined probability for each input pixel, dividing the input pixel into N fine pixels, and 13. The image processing apparatus according to claim 12, wherein the number of image fine pixels among the N fine pixels is changed based on the average density value and the average density value.
JP05063693A 1992-11-30 1993-03-23 Image processing device Expired - Fee Related JP3111734B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP05063693A JP3111734B2 (en) 1993-03-23 1993-03-23 Image processing device
US08/158,710 US5450208A (en) 1992-11-30 1993-11-29 Image processing method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05063693A JP3111734B2 (en) 1993-03-23 1993-03-23 Image processing device

Publications (2)

Publication Number Publication Date
JPH06276385A JPH06276385A (en) 1994-09-30
JP3111734B2 true JP3111734B2 (en) 2000-11-27

Family

ID=13236716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05063693A Expired - Fee Related JP3111734B2 (en) 1992-11-30 1993-03-23 Image processing device

Country Status (1)

Country Link
JP (1) JP3111734B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000138833A (en) 1998-08-28 2000-05-16 Toshiba Tec Corp Image processing method and image processing unit
JP2001138572A (en) 1999-11-16 2001-05-22 Fujitsu Ltd Image-forming apparatus

Also Published As

Publication number Publication date
JPH06276385A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
US5450208A (en) Image processing method and image processing apparatus
US5729663A (en) Method and apparatus for gray screening
JPH09139845A (en) Method for improving resolution of gray scale image
US4905022A (en) Image forming apparatus having laser light source
JP3050880B2 (en) Image forming device
US5294996A (en) Image processing apparatus adaptable for use at variable resolution
EP0337427A2 (en) Method of and apparatus for recording halftone image
US5819010A (en) Image recording with adaptation of resolution to printer
US20020067509A1 (en) Method, apparatus and system for dynamic switching of image processing techniques
JPH07193712A (en) Picture enhancement method
US5640191A (en) Resolution transforming raster based imaging system and related transformation method
JP3679621B2 (en) Image forming apparatus
JP3111734B2 (en) Image processing device
JP3111710B2 (en) Image processing method and apparatus
JPS61118069A (en) Picture processing device
JP2866091B2 (en) Image processing device
JP2003305883A (en) Imaging apparatus
JP2839097B2 (en) Image forming device
JP3021073B2 (en) Image processing device
JP2000115540A (en) Image processing unit
JP3010852B2 (en) Image forming device
JP3039662B2 (en) Recording device
JP2683020B2 (en) Image processing device
JPH0730746A (en) Image processor
JPH10123772A (en) Image forming device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees