JP2701310B2 - Halftone image generation method and apparatus - Google Patents

Halftone image generation method and apparatus

Info

Publication number
JP2701310B2
JP2701310B2 JP63095159A JP9515988A JP2701310B2 JP 2701310 B2 JP2701310 B2 JP 2701310B2 JP 63095159 A JP63095159 A JP 63095159A JP 9515988 A JP9515988 A JP 9515988A JP 2701310 B2 JP2701310 B2 JP 2701310B2
Authority
JP
Japan
Prior art keywords
output
image
value
pixel
input image
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
JP63095159A
Other languages
Japanese (ja)
Other versions
JPH01264846A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP63095159A priority Critical patent/JP2701310B2/en
Publication of JPH01264846A publication Critical patent/JPH01264846A/en
Application granted granted Critical
Publication of JP2701310B2 publication Critical patent/JP2701310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は固体撮像素子等によって読み取られた画像情
報を高精細、高階調の画像として電子写真式レーザプリ
ンタ等に出力するための中間調画像生成方法及び装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a halftone image for outputting image information read by a solid-state imaging device or the like as a high-definition, high-gradation image to an electrophotographic laser printer or the like. The present invention relates to a generation method and an apparatus.

〔従来の技術〕[Conventional technology]

一般に中間調画像をドットマトリックスによって再現
する場合においては、階調数と解像度とが相反する関係
となっている。即ち、マトリックスを大きくして、階調
数を上げると解像度が劣化し、一方、解像度を上げると
階調数が低下する。この階調数と解像度の両者を満足さ
せるにはマトリックスを形成する1画素を微細化する必
要がある。このための方法としてレーザビームプリンタ
における輝度変調やパルス幅変調が知られている。輝度
変調はレーザの光量を制御し、パルス幅変調はレーザの
点灯時間を制御するものであり、いずれの変調もレーザ
の走査方向に多値に細分化された微画素を形成させる手
段である。しかし、このような手段によって細分化され
た1ドットを分割した微画素は、細分化されない1ドッ
トの画素に比べて再現性が不安定となるのが一般的であ
る。このため、ドットを極力、集中させながら成長させ
ていく方法、特にドットを万線スクリーン的にストレー
トにつなげるように成長させる方法、によりドット再現
を行うことが知られている(特開昭61-214662号)。そ
して、このドット集中型の再現を行う具体的手段として
は、記録のための出力の解像度を非常に高くするか、
又は、ディザ法の閾値マトリックス内の閾値配置を考
慮して疑似的な万線スクリーンとすることが従来より行
われている。第7図はこののドット再現方法を示す。
同図(a)のように、1画素をレーザの主走査方向に5
分割して1画素内に5つの微画素を有する閾値マトリッ
クスを形成し、各微画素に閾値を分散的に配置してい
る。図中の数字は濃度の閾値の高低を示し、数値の小さ
いものほど濃度が低くなるものである。
Generally, when a halftone image is reproduced by using a dot matrix, the number of gradations and the resolution are in an inverse relationship. That is, when the matrix is enlarged and the number of gradations is increased, the resolution is deteriorated. On the other hand, when the resolution is increased, the number of gradations is reduced. In order to satisfy both the number of gradations and the resolution, it is necessary to miniaturize one pixel forming a matrix. As a method for this, brightness modulation and pulse width modulation in a laser beam printer are known. The luminance modulation controls the amount of light of the laser, and the pulse width modulation controls the lighting time of the laser. Both types of modulation are means for forming fine pixels that are subdivided into multiple values in the laser scanning direction. However, the reproducibility of a fine pixel obtained by dividing one dot subdivided by such means is generally unstable compared to a pixel of one dot not subdivided. For this reason, it is known to reproduce dots by a method of growing dots while concentrating them as much as possible, in particular, a method of growing dots so as to connect them in a straight line like a line screen (Japanese Patent Application Laid-Open No. 61-1986). No. 214662). As a specific means for performing the dot concentration type reproduction, the resolution of the output for recording should be extremely high,
Alternatively, a pseudo line screen has been conventionally performed in consideration of the arrangement of threshold values in a threshold matrix of the dither method. FIG. 7 shows this dot reproduction method.
As shown in FIG. 3A, one pixel is divided into 5 pixels in the main scanning direction of the laser.
A threshold matrix having five fine pixels in one pixel is formed by dividing, and the threshold values are dispersedly arranged in each fine pixel. The numbers in the figure indicate the level of the density threshold, and the lower the numerical value, the lower the density.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかし、従来におけるの方法では記録を行うレーザ
のON、OFF制御のためのビデオ周波数やレーザの走査を
行う回転多面鏡の回転数が非常に多くなるため、制御が
難しく、実用的でない。また、の方法では閾値を分散
的に配置するため、第7図(b)のように、ハイライト
側のドット(即ち、数値の小さな画素)が分散して再現
が不良になったり、レーザの副走査方向に周期構造が発
生してモアレを生じるばかりでなく、同図(c)のよう
に、副走査方向のスクリーンの1部がとぎれるテクスチ
ャが発生するため、ノイズとなり、良質な画素が得られ
ない。なお、これらを回避するため副走査方向に連結す
る閾値を配置することも考えられるが、この場合には階
調数が多くとれないため、画像再現が著しく劣化して好
ましくない。
However, in the conventional method, since the video frequency for ON / OFF control of the laser for recording and the number of rotations of the rotary polygon mirror for scanning the laser are very large, the control is difficult and not practical. In the method (1), since the thresholds are dispersedly arranged, as shown in FIG. 7 (b), dots on the highlight side (that is, pixels with small numerical values) are dispersed and the reproduction becomes poor. In addition to the generation of moire due to the generation of the periodic structure in the sub-scanning direction, a texture in which a part of the screen in the sub-scanning direction is cut off as shown in FIG. I can't. In order to avoid these, it is conceivable to arrange a threshold value connected in the sub-scanning direction. However, in this case, since the number of gradations cannot be increased, image reproduction is significantly deteriorated, which is not preferable.

従って、本発明の目的は高い階調数で、かつ、高い解
像度の高品質の画像を再生する中間調画像生成方法及び
装置を提供することである。
Therefore, an object of the present invention is to provide a halftone image generating method and apparatus for reproducing a high-quality image with a high number of gradations and a high resolution.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は以上述べた目的を実現するため、入力画像の
1画素を主走査方向でN個の微画素に対する出力値を出
力画像とする中間調画像生成方法において、 前記N個の微画素に対応したアドレスに所定の閾値パ
ターンを形成する複数の閾値を記憶した閾値パターンメ
モリを準備し、 前記N個の微画素に対する前記出力値によって定まる
アドレスに出力濃淡値を記憶した出力濃淡メモリを準備
し、 前記入力画像と前記出力画像の誤差に応じた補正値を
前記入力画像に加算して補正入力画像を出力し、 前記補正入力画像と前記複数の閾値を比較して前記補
正入力画像の1画素から前記N個の微画素に対する前記
出力値からなる前記出力画像を生成し、 前記補正入力画像と前記出力濃淡メモリにおいて前記
出力に応じて定められる前記出力濃淡値を比較して前記
誤差を出力し、 前記誤差から現走査位置の画素の近傍の画素の濃淡補
正量を演算し、 前記濃度補正量から前記入力画素を補正して前記補正
入力画像とする前記補正値を演算することを特徴とする
中間調画像生成方法を提供する。
In order to achieve the object described above, the present invention provides a halftone image generation method in which one pixel of an input image is an output image with respect to N fine pixels in a main scanning direction. Preparing a threshold pattern memory storing a plurality of thresholds forming a predetermined threshold pattern at the obtained address, preparing an output density memory storing an output density value at an address determined by the output value for the N fine pixels; Adding a correction value corresponding to an error between the input image and the output image to the input image to output a corrected input image; comparing the corrected input image with the plurality of thresholds; Generating said output image comprising said output values for said N fine pixels; said output gray value determined according to said output in said corrected input image and said output gray memory Output the error by comparing the error, calculate a density correction amount of a pixel near a pixel at the current scanning position from the error, and correct the input pixel from the density correction amount to obtain the correction value as the corrected input image. Is calculated, and a halftone image generation method is provided.

また、本発明は以上述べた目的を実現するため、入力
画像の1画素を主走査方向でN個の微画素に対する出力
値を出力画像とする中間調画像生成装置において、 前記N個の微画素に対応したアドレスに所定の閾値パ
ターンを形成する複数の閾値を記憶した閾値パターンメ
モリと、 前記N個の微画素に対する前記出力値によって定まる
アドレスに出力濃淡値を記憶した出力濃淡メモリと、 前記入力画像と前記出力画像の誤差に応じた補正値を
前記入力画像に加算して補正入力画像を出力する加算器
と、 前記加算器から出力された前記補正入力画像と前記閾
値パターンメモリから読出された前記複数の閾値を比較
して前記補正入力画像の1画素から前記N個の微画素に
対する前記出力値からなる前記出力画像を生成する比較
器と、 前記加算器から出力された前記補正入力画像と前記出
力濃淡メモリから前記比較器によって出力された前記出
力値に応じて読出された前記出力濃淡値を比較して前記
誤差を出力する誤差出力回路と、 前記誤差出力回路から出力される前記誤差から現走査
位置の画素の近傍の画素の濃度補正量を演算し、この濃
度補正量から前記加算器へ出力する前記補正値を演算す
る演算回路を備えたことを特徴とする中間調画像生成装
置を提供する。
According to another aspect of the present invention, there is provided a halftone image generating apparatus which uses one pixel of an input image as an output image with respect to N fine pixels in a main scanning direction. A threshold pattern memory that stores a plurality of threshold values forming a predetermined threshold pattern at an address corresponding to: an output density memory that stores an output density value at an address determined by the output value for the N fine pixels; An adder that adds a correction value corresponding to an error between an image and the output image to the input image to output a corrected input image; and the correction input image output from the adder and read from the threshold pattern memory. A comparator for comparing the plurality of thresholds to generate the output image including the output values for the N fine pixels from one pixel of the corrected input image; An error output circuit that compares the corrected input image output from the output and the output grayscale value read from the output grayscale memory in accordance with the output value output by the comparator, and outputs the error; An arithmetic circuit for calculating a density correction amount of a pixel near a pixel at the current scanning position from the error output from the output circuit, and calculating the correction value to be output to the adder from the density correction amount. A characteristic halftone image generating apparatus is provided.

〔実施例〕〔Example〕

第1図は本発明が適用されるシステムの構成を示すブ
ロック図であり、画像入力装置1からの画像情報が画像
処理装置3によって処理された後、画像出力装置5によ
って記録されるようになっている。画像入力装置1は固
体撮像素子(CCD)等の読み取り手段を備え、原画像
を、例えば、400dot/inch(dpi)の解像度で0〜225の
8ビットの濃淡値として読み取る。読み取られた画像情
報はA4用紙のサイズで1頁分を格納することができる画
像メモリ2に格納される。画像処理装置3では画像メモ
リ2からの画像情報の濃淡値をMTF補正処理、縮拡処理
その他の画像処理を行い、最終的に中間調画像生成処理
によって2値化する。画像出力装置5は、例えば、主走
査方向の解像度が2000dpi、副走査方向の解像度が400dp
iの電子写真式レーザプリンタを有している。この電子
写真式レーザプリンタは画像処理装置から入力された2
値化信号により中間調画像の記録を行う。なお、以上の
ようなシステム全体の信号制御は制御装置4によって行
われる。
FIG. 1 is a block diagram showing the configuration of a system to which the present invention is applied. After image information from an image input device 1 is processed by an image processing device 3, the image information is recorded by an image output device 5. ing. The image input device 1 includes a reading unit such as a solid-state imaging device (CCD), and reads an original image as 8-bit gray values of 0 to 225 at a resolution of, for example, 400 dots / inch (dpi). The read image information is stored in an image memory 2 capable of storing one page in A4 paper size. The image processing device 3 performs MTF correction processing, reduction / enlargement processing, and other image processing on the grayscale values of the image information from the image memory 2, and finally binarizes the data by a halftone image generation processing. The image output device 5 has, for example, a resolution of 2000 dpi in the main scanning direction and a resolution of 400 dpi in the sub-scanning direction.
i has an electrophotographic laser printer. This electrophotographic laser printer receives the image data from the image processing apparatus.
The recording of the halftone image is performed by the digitized signal. The signal control of the entire system as described above is performed by the control device 4.

第2図は本発明の中間調生成方法を実現する装置のブ
ロック図であり、画像処理装置3に組み込まれる。主な
構成は加算器302、比較器303、出力濃淡値格納ROM304、
引算器305および演算回路307であり、演算回路307から
加算器302にフィードバックされるようになっている。
加算器302には画像処理装置3で各種処理が施された8
ビットの濃淡値データ30が入力されると共に、後述する
ように演算回路307で得られた補正量Cが入力され、濃
淡値データ30と補正量Cとの加算を行う。比較器303は
2つの入力部を有しており、一方の入力部には加算器30
2による加算処理で得られた濃淡値データ31が入力され
る。比較器303の他方の入力部には閾値パターンメモリ3
01からの閾値データ32がシフトレジスタ(SR)308で遅
延させられた後、CLK1のクロックでアドレス指定されて
入力される。そして、比較器303では濃淡値データ31と
閾値データ32とを比較し、濃淡値データが閾値データと
等しいかあるいは大きい場合に「1」(又はON)を、小
さい場合に「0」(又はOFF)を出力して2値化する。
FIG. 2 is a block diagram of an apparatus for realizing the halftone generation method of the present invention, which is incorporated in the image processing apparatus 3. The main configuration is adder 302, comparator 303, output gray value storage ROM 304,
A subtractor 305 and an arithmetic circuit 307 are fed back from the arithmetic circuit 307 to the adder 302.
The adder 302 has been subjected to various processes by the image processing device 3.
The gradation value data 30 is input, and the correction amount C obtained by the arithmetic circuit 307 is input as described later, and the gradation value data 30 and the correction amount C are added. Comparator 303 has two inputs, one of which has adder 30.
The gray value data 31 obtained by the addition processing by 2 is input. The other input of the comparator 303 has a threshold pattern memory 3
After the threshold data 32 from 01 is delayed by the shift register (SR) 308, it is addressed and input by the clock CLK1. The comparator 303 compares the gray value data 31 with the threshold data 32, and sets “1” (or ON) when the gray value data is equal to or larger than the threshold data, and “0” (or OFF) when the gray value data is smaller. ) Is output and binarized.

第3図は閾値パターンメモリ301に格納されているパ
ターンの各例を示す。又、これらのパターンによる濃度
をグラフ化して第4図に示す。第3図のように1画素が
レーザビームの主走査方向に5分割されて微画素が形成
され、各微画素に閾値が配置されている。この場合、閾
値は2画素で1サイクルとなっており、このサイクルが
主走査方向に繰り返されている。即ち、自由度10となっ
ており、10個の閾値で1周期のスクリーンを構成してい
る。このうよな自由度の場合には主走査方向の解像度が
2000dpiに対して200線の万線型スクリーンが生成され
る。
FIG. 3 shows examples of the patterns stored in the threshold pattern memory 301. FIG. 4 is a graph showing the densities of these patterns. As shown in FIG. 3, one pixel is divided into five in the main scanning direction of the laser beam to form fine pixels, and a threshold value is arranged for each fine pixel. In this case, the threshold value is one cycle for two pixels, and this cycle is repeated in the main scanning direction. That is, the degree of freedom is 10, and one cycle of the screen is constituted by the ten threshold values. In such a case, the resolution in the main scanning direction is
A 200-line screen is generated for 2000 dpi.

第3図および第4図において、(a)は閾値が1周期
内で階段形状となるのこぎり型パターンであり、(b)
は中央の閾値が最も高くなる三角型パターンである。こ
れら2種のパターンは主走査方向へのドット成長により
階調表現される万線スクリーンを生成する。なお、のこ
ぎり型パターン、三角型パターンの選択は記録装置の特
性により考慮されるが、記録装置の安定性の点では三角
型パターンが良好である。閾値パターンメモリ301では
一周期分の閾値データのみが格納されており、CLK1のク
ロックにより10画素ごとのアドレス指定により比較器30
3に読み出される。なお、このクロックの周波数はCLK2
のクロックのN倍(実施例では5倍)の周波数となって
いる。第2図中、309はシフトレジスタであり、比較器3
03から出力された2値化データを遅延させる。実施例で
はシフトレジスタ309が4段設けられている。出力濃淡
値格納ROM304は8ビットの出力濃淡値を有しており、4
段のシフトレジスタ309により遅延された4画素前まで
の2値化データと、比較器303から原2値化データの合
計5画素(5ビット)分のデータが読み出される。な
お、5画素分を単位として出力濃淡値を求める理由は、
記録装置の主走査方向の解像度(2000dpi)と入力装置
の解像度(400dpi)との比Nが5となるためであり、こ
れらの解像度の比が異なる場合には、その比に合わせた
数の画素を単位とする。従って、シフトレジスタ309の
数もその比に合わせて設けられている。
3A and 4A, FIG. 3A shows a saw-shaped pattern in which the threshold value has a stepped shape within one cycle, and FIG.
Is a triangular pattern with the highest central threshold. These two types of patterns generate a line screen that is expressed in gradation by dot growth in the main scanning direction. The selection of the saw pattern and the triangular pattern is considered depending on the characteristics of the printing apparatus. However, the triangular pattern is preferable in terms of the stability of the printing apparatus. In the threshold pattern memory 301, only the threshold data for one cycle is stored, and the comparator 30 is designated by the address of every ten pixels by the clock of CLK1.
Read to 3. The frequency of this clock is CLK2
The frequency is N times (five times in the embodiment) of the clock of FIG. In FIG. 2, reference numeral 309 denotes a shift register.
Delay the binarized data output from 03. In this embodiment, four stages of shift registers 309 are provided. The output gray value storage ROM 304 has an 8-bit output gray value,
Data of a total of 5 pixels (5 bits) of the binarized data up to four pixels before and the original binarized data delayed by the shift register 309 of the stage is read from the comparator 303. The reason why the output gray value is obtained in units of five pixels is as follows.
This is because the ratio N between the resolution (2000 dpi) of the recording device in the main scanning direction and the resolution (400 dpi) of the input device is 5. If the ratio of these resolutions is different, the number of pixels corresponding to the ratio is determined. Is the unit. Therefore, the number of shift registers 309 is also provided according to the ratio.

第5図は出力濃淡格納ROM304の内部のルックアップテ
ーブルを示す。同図は閾値パターンが三角型パターンの
場合を示す。d1、d2、d3、d4、d5は比較器303で2値化
された2値化データが比較器303から直接あるいは4段
のシフトレジスタ309によって遅延させられた後に入力
されるデータである。本実施例では5画素分が単位とし
て入力され、5画素の内、「1」の数によって出力され
る信号の濃淡値が決定される。これは出力濃淡値は8ビ
ットの入力濃淡値(0〜255)が5分割されて出力され
るためである。従って、例えば、5画素の内の3画素が
「1」の場合は153の出力濃淡値、また、全てが「1」
の場合は255の出力濃淡値となる。引算器305は以上のう
よにして求められた実際の出力濃淡値33と加算器31で補
正処理された入力濃淡値31との間に生じる誤差を求め、
誤差データ34を得る。この誤差データ34はシフトレジス
タ310に直接入力されるものと、ラインバッファ306に入
力されるものとに分けられる。そして、シフトレジスタ
310の誤差値e4は演算回路307に出力される。一方、ラ
インバッファ306は誤差データ34を1画素分遅延して誤
差値e3として演算回路307に出力する。さらにラインバ
ッファ306には2つのシフトレジスタ311、312が直列に
接続されており、各シフトレジスタ311、312によって1
画素ごとに順次、遅延された誤差データe2、e1がそれ
ぞれ演算回路307に出力される。演算回路307には第6図
に図示するウィンドー(Window)7が設けられており、
4つの誤差データe1、e2、e3、e4はこのウィンドド
ー7内に順次、出力される。第6図において、6は現走
査位置の画素であり座標(i、j)に位置する。誤差デ
ータe1、e2、e3、e4は入力タイミングによりウィン
ドー7の各画素に入力される。即ち、シフトレジスタ31
0からの誤差データe4は座標(i−1、j)の画素に、
ラインバッファ306からの誤差データe3は(i+1、j
−1)に、シフトレジスタ311からの誤差データe2
(i、j−1)に、シフトレジスタ312からの誤差デー
タe1は(i−1、j−1)にそれぞれ入力される。演
算回路307はこのうよな誤差データe1、e2、e3、e4
を4つの重み係数W1、W2、W3、W4によって重み付け
演算し、これにより現走査画素6の補正量Cを求め、こ
れを加算器302にフィードバックする。補正量Cは下記
(1)で求められる。
FIG. 5 shows a lookup table inside the output density storage ROM 304. This figure shows a case where the threshold pattern is a triangular pattern. d1, d2, d3, d4, and d5 are data input from the comparator 303 directly after the binary data binarized by the comparator 303 or after being delayed by the four-stage shift register 309. In this embodiment, five pixels are input as a unit, and the gray value of the output signal is determined by the number of “1” among the five pixels. This is because the output grayscale value is output by dividing an 8-bit input grayscale value (0 to 255) into five. Therefore, for example, when three of the five pixels are “1”, the output grayscale value of 153 is obtained, and all of them are “1”.
In the case of, the output gray value is 255. The subtractor 305 obtains an error generated between the actual output gray value 33 obtained as described above and the input gray value 31 corrected by the adder 31,
Error data 34 is obtained. The error data 34 is divided into data directly input to the shift register 310 and data input to the line buffer 306. And the shift register
The error value e 4 of 310 is output to the arithmetic circuit 307. On the other hand, the line buffer 306 is outputted to the arithmetic circuit 307 as an error value e 3 the error data 34 delayed by one pixel. Further, two shift registers 311 and 312 are connected to the line buffer 306 in series, and one shift register 311 and 312
The delayed error data e 2 and e 1 are sequentially output to the arithmetic circuit 307 for each pixel. The arithmetic circuit 307 is provided with a window (Window) 7 shown in FIG.
The four error data e 1 , e 2 , e 3 , and e 4 are sequentially output into the window 7. In FIG. 6, reference numeral 6 denotes a pixel at the current scanning position, which is located at the coordinates (i, j). The error data e 1 , e 2 , e 3 , and e 4 are input to each pixel of the window 7 at an input timing. That is, the shift register 31
Error data e 4 from 0 is assigned to the pixel at coordinates (i−1, j),
The error data e 3 from the line buffer 306 is (i + 1, j
-1), the error data e 2 from the shift register 311 in the (i, j-1), the error data e 1 from the shift register 312 are input to (i-1, j-1 ). The arithmetic circuit 307 calculates such error data e 1 , e 2 , e 3 , e 4
Is weighted by four weighting factors W 1 , W 2 , W 3 , and W 4, thereby obtaining the correction amount C of the current scanning pixel 6, and feeding it back to the adder 302. The correction amount C is obtained by the following (1).

ここで、W1+W2+W3+W4=1.0であり、しかもこの
重み係数W1、W2、W3、W4は現走査画素6に近い程大
きく、遠い程小さくなるようにあらかじめ設定されてい
る。例えば、W1=0.1、W2=0.4、W3=0.1、W4=0.4
のように設定されるが、これに限定されない。また、ウ
ィンドー7の大きさも適宜、変更することができる。こ
のようにして求められた補正量Cが加算器302にフィー
ドバックされ、加算器302では現走査画素の濃淡値デー
タ30と補正量Cとを加算して現走査画素の濃淡値を補正
する。これにより出力パターンの自由度が低い場合にも
ウィンドーサイズに対応した大きさで入力画素と出力画
素の濃度を一致して再現できる。そして以上の処理を繰
り返すことにより高画質の中間調画像を再現することが
可能となる。このことは、自由度が低い場合でも、そこ
で生じた誤差を次画素以降のドット点灯時に分散させる
ため、ある微小領域では誤差を吸収でき、結果として入
力パターン、出力パターン間の濃淡再現を入力濃淡デー
タの量子化数(8ビット)の内で保証できることであ
る。これにより主走査方向のみに変化する高解像のスク
リーンパターンを用いて完全な万線型スクリーンによる
中間調生成を実現できる。
Here, W 1 + W 2 + W 3 + W 4 = 1.0, and the weighting factors W 1 , W 2 , W 3 , and W 4 are set in advance so as to be larger as the pixel is closer to the current scanning pixel 6 and smaller as the pixel is farther away. ing. For example, W 1 = 0.1, W 2 = 0.4, W 3 = 0.1, W 4 = 0.4
, But is not limited to this. In addition, the size of the window 7 can be appropriately changed. The correction amount C thus obtained is fed back to the adder 302, and the adder 302 corrects the gray value of the current scanning pixel by adding the gray value data 30 of the current scanning pixel and the correction amount C. As a result, even when the degree of freedom of the output pattern is low, the density of the input pixel and the output pixel can be matched and reproduced with a size corresponding to the window size. By repeating the above processing, a high-quality halftone image can be reproduced. This means that even if the degree of freedom is low, the errors generated there are dispersed when the dots on the next pixel and on are turned on, so that errors can be absorbed in a certain minute area, and as a result, the grayscale reproduction between the input pattern and output pattern can be reproduced by the input grayscale. This can be guaranteed within the data quantization number (8 bits). As a result, it is possible to realize halftone generation using a complete line screen using a high-resolution screen pattern that changes only in the main scanning direction.

〔発明の効果〕〔The invention's effect〕

以上説明したように、入力画素と出力画素との濃淡値
の誤差から現走査位置近傍の濃淡補正量に基づいて現走
査位置の画素の濃淡値を補正するようにしたため、入力
画素の濃度、画像に一致した出力画像の濃度を得ること
ができる。
As described above, since the gray value of the pixel at the current scanning position is corrected based on the gray correction amount near the current scanning position from the error of the gray value between the input pixel and the output pixel, the density of the input pixel and the image Can be obtained.

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

第1図は本発明が適用されるシステムの構成を示すブロ
ック図、第2図は本発明を実施するための装置を示すブ
ロック図、第3図は閾値パターンを示す図、第4図は閾
値パターンをグラフ化して示す図、第5図は出力濃淡値
格納ROMのルックアップテーブルを示す図、第6図は補
正量を得るための誤差演算ウィンドー(Window)を示す
図、第7図は従来のドット再現における閾値マトリック
スおよびその出力状態を示す図。 符号の説明 1……画像入力装置、2……画像メモリ 3……画像処理装置、4……制御装置 5……画像出力装置、6……現走査画素 7……ウィンドー(Window) 30、31……濃淡値データ 32……閾値データ、33……出力濃淡値 34……誤差データ 301……閾値パターンメモリ 302……加算器、303……比較器 304……出力濃淡値格納ROM 305……引算器 306……ラインバッファ 307……演算回路 308、309、310、311……シフトレジスタ C……補正量 e1、e2、e3、e4……誤差データ
FIG. 1 is a block diagram showing the configuration of a system to which the present invention is applied, FIG. 2 is a block diagram showing an apparatus for implementing the present invention, FIG. 3 is a diagram showing a threshold pattern, and FIG. FIG. 5 is a diagram showing a pattern in a graph, FIG. 5 is a diagram showing a look-up table of an output gradation value storage ROM, FIG. 6 is a diagram showing an error calculation window (Window) for obtaining a correction amount, and FIG. FIG. 7 is a diagram showing a threshold matrix and its output state in dot reproduction of FIG. DESCRIPTION OF SYMBOLS 1 ... Image input device 2 ... Image memory 3 ... Image processing device 4 ... Control device 5 ... Image output device 6 ... Current scanning pixel 7 ... Window 30, 31 … Gray value data 32… Threshold data, 33… Output gray value 34… Error data 301… Threshold pattern memory 302… Adder, 303… Comparator 304… Output gray value storage ROM 305… subtractor 306 ...... line buffer 307 ...... arithmetic circuit 308,309,310,311 ...... shift register C ...... correction amount e 1, e 2, e 3 , e 4 ...... error data

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力画像の1画素を主走査方向でN個の微
画素に対する出力値を出力画像とする中間調画像生成方
法において、 前記N個の微画素に対応したアドレスに所定の閾値パタ
ーンを形成する複数の閾値を記憶した閾値パターンメモ
リを準備し、 前記N個の微画素に対する前記出力値によって定まるア
ドレスに出力濃淡値を記憶した出力濃淡メモリを準備
し、 前記入力画像と前記出力画像の誤差に応じた補正値を前
記入力画像に加算して補正入力画像を出力し、 前記補正入力画像と前記複数の閾値を比較して前記補正
入力画像の1画素から前記N個の微画素に対する前記出
力値からなる前記出力画像を生成し、 前記補正入力画像と前記出力濃淡メモリにおいて前記出
力値に応じて定められる前記出力濃淡値を比較して前記
誤差を出力し、 前記誤差から現走査位置の画素の近傍の画素の濃度補正
量を演算し、 前記濃度補正量から前記入力画素を補正して前記補正入
力画像とする前記補正値を演算することを特徴とする中
間調画像生成方法。
1. A halftone image generating method wherein one pixel of an input image is an output image with respect to N fine pixels in a main scanning direction, wherein a predetermined threshold pattern is assigned to an address corresponding to the N fine pixels. Preparing a threshold pattern memory storing a plurality of threshold values forming the output image, preparing an output density memory storing an output density value at an address determined by the output value for the N fine pixels, the input image and the output image Adding a correction value corresponding to the error of the correction input image to the input image to output a correction input image; comparing the correction input image with the plurality of thresholds; Generating the output image composed of the output value; outputting the error by comparing the corrected input image with the output density value determined according to the output value in the output density memory; Calculating an amount of density correction of a pixel near a pixel at the current scanning position from the error, and calculating the correction value as the corrected input image by correcting the input pixel from the amount of density correction. Halftone image generation method.
【請求項2】入力画像の1画素を主走査方向でN個の微
画素に対する出力値を出力画像とする中間調画像生成装
置において、 前記N個の微画素に対応したアドレスに所定の閾値パタ
ーンを形成する複数の閾値を記憶した閾値パターンメモ
リと、 前記N個の微画素に対する前記出力値によって定まるア
ドレスに出力濃淡値を記憶した出力濃淡メモリと、 前記入力画像と前記出力画像の誤差に応じた補正値を前
記入力画像に加算して補正入力画像を出力する加算器
と、 前記加算器から出力された前記補正入力画像と前記閾値
パターンメモリから読出された前記複数の閾値を比較し
て前記補正入力画像の1画素から前記N個の微画素に対
する前記出力値からなる前記出力画像を生成する比較器
と、 前記加算器から出力された前記補正入力画像と前記出力
濃淡メモリから前記比較器によって出力された前記出力
値に応じて読出された前記出力濃淡値を比較して前記誤
差を出力する誤差出力回路と、 前記誤差出力回路から出力される前記誤差から現走査位
置の画素の近傍の画素の濃度補正量を演算し、この濃度
補正量から前記加算器へ出力する前記補正値を演算する
演算回路を備えたことを特徴とする中間調画像生成装
置。
2. A halftone image generating apparatus in which one pixel of an input image is an output image of output values for N fine pixels in a main scanning direction, wherein a predetermined threshold pattern is assigned to an address corresponding to the N fine pixels. A threshold pattern memory storing a plurality of threshold values forming an output image, an output density memory storing an output density value at an address determined by the output value for the N fine pixels, and a difference between the input image and the output image. An adder that adds the corrected value to the input image to output a corrected input image, and compares the corrected input image output from the adder with the plurality of thresholds read from the threshold pattern memory. A comparator for generating the output image including the output values for the N fine pixels from one pixel of the corrected input image; and the corrected input image output from the adder. An error output circuit that compares the output grayscale value read from the output grayscale memory in accordance with the output value output by the comparator, and outputs the error; and A halftone image generating apparatus, comprising: an arithmetic circuit that calculates a density correction amount of a pixel near a pixel at a current scanning position and calculates the correction value to be output to the adder from the density correction amount.
【請求項3】前記比較器は、前記比較器から逐次的に出
力される前記N個の微画素のうち先行した(N−1)個
の微画素を直列に入力して並列に出力するラッチ手段に
接続され、 前記出力濃淡メモリは、前記ラッチ手段から並列に出力
される前記(N−1)個の微画素とN番目に前記比較器
から出力された微画素より成る前記N個の微画素をアド
レス信号としてアクセスされる構成の請求項2記載の中
間調画像生成装置。
3. A latch for serially inputting and outputting in parallel the preceding (N-1) fine pixels out of the N fine pixels sequentially output from the comparator. The output density memory, wherein the N gray scales are composed of the (N-1) fine pixels output in parallel from the latch means and the Nth fine pixels output from the comparator. 3. The halftone image generating apparatus according to claim 2, wherein the pixel is accessed as an address signal.
JP63095159A 1988-04-18 1988-04-18 Halftone image generation method and apparatus Expired - Fee Related JP2701310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63095159A JP2701310B2 (en) 1988-04-18 1988-04-18 Halftone image generation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63095159A JP2701310B2 (en) 1988-04-18 1988-04-18 Halftone image generation method and apparatus

Publications (2)

Publication Number Publication Date
JPH01264846A JPH01264846A (en) 1989-10-23
JP2701310B2 true JP2701310B2 (en) 1998-01-21

Family

ID=14130002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63095159A Expired - Fee Related JP2701310B2 (en) 1988-04-18 1988-04-18 Halftone image generation method and apparatus

Country Status (1)

Country Link
JP (1) JP2701310B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5208684A (en) * 1990-04-26 1993-05-04 Fujitsu Limited Half-tone image processing system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59204060A (en) * 1983-05-06 1984-11-19 Canon Inc Picture recording device
JPS615677A (en) * 1984-06-20 1986-01-11 Matsushita Electric Ind Co Ltd Variable density image recording method
JPS61118065A (en) * 1984-11-14 1986-06-05 Canon Inc Picture processing device
JPS62139473A (en) * 1985-12-12 1987-06-23 Nec Corp Pseudo halftone image processor
JPS62242473A (en) * 1986-04-15 1987-10-23 Nec Corp Pseudo halftone image processor

Also Published As

Publication number Publication date
JPH01264846A (en) 1989-10-23

Similar Documents

Publication Publication Date Title
US5729663A (en) Method and apparatus for gray screening
JP3105168B2 (en) Image forming apparatus and image processing method
US5339171A (en) Image processing apparatus especially suitable for producing smooth-edged output multi-level tone data having fewer levels than input multi-level tone data
JP3247737B2 (en) Pixel value quantization method in image
JPH08101912A (en) Method for quantization of gray-level pixel data with extended distribution set
US5805738A (en) Image processing apparatus and method
US5289294A (en) Image processing apparatus
JPH11164146A (en) System and method for image data processing
JP4053674B2 (en) Image forming apparatus and image forming method
EP0817466A2 (en) Edge enhanced error diffusion
JP2660004B2 (en) Recording device
JP3396992B2 (en) Image processing method and apparatus
JP2701310B2 (en) Halftone image generation method and apparatus
US20030020935A1 (en) Image processing method and apparatus
JP3679522B2 (en) Image processing method and apparatus
JP2703911B2 (en) Image processing device
JP2683020B2 (en) Image processing device
JP2662402B2 (en) Image processing device
JP3197299B2 (en) Image processing device
JP3124604B2 (en) Image processing device
JP3950871B2 (en) Image processing method and apparatus
JPH06113125A (en) Picture processor
JP2763297B2 (en) Image processing device
JP2714141B2 (en) Pixel density converter
JPS63204375A (en) Half tone picture forming method

Legal Events

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