JPH04265072A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH04265072A
JPH04265072A JP3025967A JP2596791A JPH04265072A JP H04265072 A JPH04265072 A JP H04265072A JP 3025967 A JP3025967 A JP 3025967A JP 2596791 A JP2596791 A JP 2596791A JP H04265072 A JPH04265072 A JP H04265072A
Authority
JP
Japan
Prior art keywords
data
density
error
pixel
average density
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.)
Withdrawn
Application number
JP3025967A
Other languages
Japanese (ja)
Inventor
Kunihiro Yamamoto
邦浩 山本
Yuichi Sakauchi
祐一 坂内
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3025967A priority Critical patent/JPH04265072A/en
Publication of JPH04265072A publication Critical patent/JPH04265072A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a reproduced picture of high quality by performing gamma correction without degrading the gradient of a low-density area in a printer having any gradation characteristic. CONSTITUTION:An average density calculating circuit 2 calculates an average density based on plural binary data, and an average density correcting circuit 3 corrects this calculated average density based on a prescribed gradation characteristic corresponding to density data of a noticed picture element, and a binarizing circuit 1 calculates the error based on the average density corrected by the average density correcting circuit 3 and distributes the calculated error to density data of unbinarized picture elements following the noticed picture element and binarizes data, where the error obtained from picture elements preceding the noticed picture element and density data of the noticed picture element are added, with the average density as the threshold.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は画像処理装置に関し、例
えば、多値(階調)画像データを2値化して出力する画
像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and, for example, to an image processing apparatus that binarizes and outputs multivalued (gradation) image data.

【0002】0002

【従来の技術】従来、この種の装置においては、多値画
像データを2値化する手段としてデイザ法があつた。通
常、デイザ法ではm×n(m,nは自然数)のデイザマ
トリクスを用意し、多値データを対応するマトリクス要
素中の閾値と比較して2値判定を行ないm×nの2値化
ブロツクを形成し、これによつて疑似的に中間調画像を
再現するものである。しかしながら、デイザ法において
は、表現できる階調数はm×n+1に限られるため、解
像度に関しては良好とはいえなかつた。
2. Description of the Related Art Conventionally, in this type of apparatus, a dither method has been used as a means for binarizing multivalued image data. Normally, in the dither method, an m×n dither matrix (m and n are natural numbers) is prepared, and multivalued data is compared with a threshold value in the corresponding matrix element to perform binary judgment, resulting in m×n binarization. This method forms blocks to reproduce a pseudo-halftone image. However, in the dither method, the number of gradations that can be expressed is limited to m×n+1, so the resolution cannot be said to be good.

【0003】このデイザ法に対して、1975年にフロ
イドとスタインバーグにより“ An Adoptiv
e Algorithm for Spatial G
rayscale ”SID  DIGESTという論
文の中で提案された誤差拡散法は、解像度、階調共にデ
イザ法より優れた手法であり最近特に注目されている手
法である。この誤差拡散法は、固定の閾値で2値化を行
ない、着目画素濃度を8ビツトで表現したとき、2値化
結果が1(黒)の場合255、0(白)の場合0)との
差を新たな誤差として着目画素周辺の未処理領域に拡散
させる処理であり、大域的に原画像の濃度を保存すると
いう特性を有する。しかしながら、現実には、図8に示
すように、プリンタの階調特性が非線形であつて、高濃
度部で階調を再現することが困難であるため、2値化の
前に原画像全体の濃度が下がるようにγ補正を行なうの
が一般的である。
[0003] Regarding this dither method, in 1975, Floyd and Steinberg proposed “An Adaptive
e Algorithm for Spatial G
The error diffusion method proposed in the paper ``rayscale ``SID DIGEST'' is a method that is superior to the dither method in terms of resolution and gradation, and is a method that has recently attracted particular attention.This error diffusion method uses a fixed threshold value. When binarization is performed and the pixel density of interest is expressed in 8 bits, the difference from 255 if the binarization result is 1 (black) and 0 if it is 0 (white) is used as a new error and the density of the pixel of interest is expressed as a new error. This process diffuses the image into an unprocessed area, and has the characteristic of preserving the density of the original image in a global area.However, in reality, as shown in Figure 8, the gradation characteristics of printers are non-linear, and Since it is difficult to reproduce gradation in the density area, it is common to perform γ correction to lower the density of the entire original image before binarization.

【0004】0004

【発明が解決しようとしている課題】しかしながら、こ
のγ補正の併用による誤差拡散法においては、高濃度部
での階調は再現されるものの、補正を強く掛けるほど低
濃度部での階調再現性が劣化するという欠点があり、原
理的には連続した階調表現が可能であるという誤差拡散
法の特徴を生かすことができなかつた。γ補正は、例え
ば、図9(画像が16階調で表現されている場合)に示
すグラフの如く行なわれるのであるが、原濃度0〜4の
範囲の画素は全て濃度0に変換されてしまうため、上記
範囲の階調性は全く失われてしまうという欠点があつた
[Problem to be Solved by the Invention] However, in the error diffusion method that uses γ correction in combination, although the gradation in high density areas is reproduced, the stronger the correction is applied, the worse the gradation reproducibility in low density areas becomes. This method has the disadvantage of degrading the image quality, and the error diffusion method cannot take advantage of its ability to express continuous gradations in principle. γ correction is performed, for example, as shown in the graph shown in Figure 9 (when the image is expressed in 16 gradations), but all pixels in the range of original density 0 to 4 are converted to density 0. Therefore, there was a drawback that the gradation in the above range was completely lost.

【0005】本発明は、上記従来例の欠点に鑑みてなさ
れたものであり、その目的とするところは、全濃度領域
において原画像が持つていた階調性を良好に再現するこ
とができる画像処理装置を提供する点にある。
The present invention has been made in view of the above-mentioned drawbacks of the conventional example, and its purpose is to create an image that can satisfactorily reproduce the gradation characteristics of the original image in the entire density range. The object of the present invention is to provide a processing device.

【0006】[0006]

【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、本発明に係る画像処理装置は、入
力した多値の濃度データを2値化して、該2値化したデ
ータを2値データとして出力する画像処理装置において
、複数の2値データを記憶する記憶手段と、前記記憶手
段で記憶した複数の2値データに基づいて平均濃度を算
出する算出手段と、前記算出手段で算出した平均濃度を
注目画素の濃度データに対応する所定の階調特性に基づ
いて補正する補正手段と、前記補正手段で補正した平均
濃度に基づいて誤差を算出し、該算出した誤差を前記注
目画素以降の未2値化画素の濃度データに配分する誤差
配分手段と、前記誤差配分手段により配分された前記注
目画素以前の画素から得た誤差と前記注目画素の濃度デ
ータとを加算したデータと、前記平均濃度を閾値として
2値化する2値化手段とを備えることを特徴とする。
[Means for solving the problem] Solving the above problems,
In order to achieve the object, an image processing apparatus according to the present invention binarizes input multi-valued density data and outputs the binarized data as binary data. a storage means for storing data; a calculation means for calculating an average density based on a plurality of binary data stored in the storage means; and a calculation means for calculating an average density based on a plurality of binary data stored in the storage means; a correction means for correcting based on gradation characteristics; and an error for calculating an error based on the average density corrected by the correction means, and distributing the calculated error to density data of non-binarized pixels after the pixel of interest. a binarization unit that binarizes data obtained by adding an error obtained from a pixel before the pixel of interest distributed by the error allocation unit and the density data of the pixel of interest, and the average density as a threshold; It is characterized by comprising:

【0007】[0007]

【作用】かかる構成によれば、記憶手段は複数の2値デ
ータを記憶し、算出手段は記憶手段で記憶した複数の2
値データに基づいて平均濃度を算出し、補正手段は算出
手段で算出した平均濃度を注目画素の濃度データに対応
する所定の階調特性に基づいて補正し、誤差配分手段は
、補正手段で補正した平均濃度に基づいて誤差を算出し
、算出した誤差を注目画素以降の未2値化画素の濃度デ
ータに配分し、2値化手段は、前記誤差配分手段により
配分された前記注目画素以前の画素から得た誤差と前記
注目画素の濃度データとを加算したデータと、平均濃度
を閾値として2値化する。
[Operation] According to this configuration, the storage means stores a plurality of binary data, and the calculation means stores a plurality of binary data stored in the storage means.
The correction means calculates the average density based on the value data, the correction means corrects the average density calculated by the calculation means based on a predetermined gradation characteristic corresponding to the density data of the pixel of interest, and the error distribution means corrects it with the correction means. The binarization means calculates an error based on the average density, allocates the calculated error to the density data of unbinarized pixels after the pixel of interest, and the binarization means calculates the error based on the density data of the unbinarized pixels after the pixel of interest, The data obtained by adding the error obtained from the pixel and the density data of the pixel of interest and the average density are used as a threshold value to binarize the data.

【0008】[0008]

【実施例】以下に、添付図面を参照して、本発明にかか
わる好適な実施例を詳細に説明する。 <第1の実施例>図1は本発明に係る画像処理装置の第
1の実施例の構成を示すブロツク図である。以下、順に
構成要素を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. <First Embodiment> FIG. 1 is a block diagram showing the configuration of a first embodiment of an image processing apparatus according to the present invention. The constituent elements will be explained in order below.

【0009】100は本装置に入力されるデータ線で、
8ビツト(256階調)の濃度を表わすデジタルデータ
が入力される。200は2値化されたデータを出力する
データ線を示している。1は本実施例の2値化回路、2
は本実施例の平均濃度算出回路、そして、3は本実施例
の平均濃度補正回路をそれぞれ示している。また400
,500,600はデータ線をそれぞれ示している。
100 is a data line input to this device,
Digital data representing 8-bit (256 gradations) density is input. Reference numeral 200 indicates a data line that outputs binarized data. 1 is the binarization circuit of this embodiment, 2
3 indicates an average density calculation circuit of this embodiment, and 3 indicates an average density correction circuit of this embodiment. 400 again
, 500, and 600 indicate data lines, respectively.

【0010】上記構成による動作として、2値化回路1
は、データ線100から前述した8ビツトで表わされる
デジタルデータを、平均濃度算出回路2及び平均濃度補
正回路3からの情報に従つて2値化し、その結果の1(
黒)または0(白)をデータ線200へ出力する。平均
濃度算出回路2は、注目画素の周囲の2値化済の画素か
らなる領域を参照し、この領域内の各画素に対応する重
みマスクで重み付けした平均濃度を算出し、データ線5
00へ出力する。平均濃度補正回路3は、階調を示すデ
ジタルデータ(データ線100)、2値化済の平均濃度
データ(データ線500)に基づいて補正平均濃度を算
出し、データ線400へ出力する。
As an operation of the above configuration, the binarization circuit 1
converts the digital data expressed by the aforementioned 8 bits from the data line 100 into binarized data according to the information from the average density calculation circuit 2 and the average density correction circuit 3, and converts the resulting 1(
(black) or 0 (white) is output to the data line 200. The average density calculation circuit 2 refers to a region consisting of binarized pixels surrounding the pixel of interest, calculates the average density weighted with a weight mask corresponding to each pixel in this region, and calculates the average density by weighting it with a weight mask corresponding to each pixel in this region.
Output to 00. The average density correction circuit 3 calculates a corrected average density based on digital data indicating gradation (data line 100) and binarized average density data (data line 500), and outputs it to a data line 400.

【0011】以上の構成からなる本実施例の詳細を図面
を用いながら説明する。図2は図1に示す2値化回路1
の具体的な構成の一例を示すブロツク図、図3は注目画
素と誤差を配分する画素との関係を示す図、そして、図
4は図2による誤差配分制御回路16の構成を示すブロ
ツク図である。図2において、11a〜11dはデータ
をラツチするフリツプフロツプ(以下「F/F」という
)、12a〜12dは加算器、13は1ライン遅延用の
ラインメモリである。また14は比較器、16は誤差配
分制御回路をそれぞれ示している。
The details of this embodiment having the above configuration will be explained with reference to the drawings. Figure 2 shows the binarization circuit 1 shown in Figure 1.
3 is a diagram showing the relationship between the pixel of interest and the pixel to which errors are distributed, and FIG. 4 is a block diagram showing the configuration of the error distribution control circuit 16 shown in FIG. be. In FIG. 2, 11a to 11d are flip-flops (hereinafter referred to as "F/F") for latching data, 12a to 12d are adders, and 13 is a line memory for one line delay. Further, 14 indicates a comparator, and 16 indicates an error distribution control circuit.

【0012】この2値化回路1における動作を説明する
。まず、データ線100を介して入力したデータ(注目
画素位置(i,j) に対応する原画像濃度データ)は
、当該画素位置に配分される誤差の総和と加算器12d
で加算され、その値が信号線300を介して比較器14
と誤差配分制御回路16へ出力される。そして比較器1
4では、信号線300上のデータと平均濃度算出回路2
よりの閾値となるデータ(信号線500)との比較を行
ない、データ線300上のデータが閾値より大きければ
1(黒)、小さければ0(白)を信号線200に出力す
る。
The operation of this binarization circuit 1 will be explained. First, data input via the data line 100 (original image density data corresponding to the pixel position of interest (i, j)) is combined with the sum of errors allocated to the pixel position and the adder 12d.
The value is added to the comparator 14 via the signal line 300.
and is output to the error distribution control circuit 16. and comparator 1
4, the data on the signal line 300 and the average concentration calculation circuit 2
A comparison is made with the data (signal line 500) serving as a threshold value, and if the data on the data line 300 is larger than the threshold value, 1 (black) is output, and if it is smaller, 0 (white) is output to the signal line 200.

【0013】次に、誤差配分制御回路16では、原画像
濃度に配分誤差を加えた補正濃度信号300と、注目画
素周辺の2値データによる補正された平均濃度(平均濃
度補正回路3からの信号400)との差分が誤差として
計算され、周囲の画素に配分する誤差量160〜190
を制御する。誤差量信号160〜190は第3図に示す
ように注目画素位置を(i,j) としたとき、その周
囲画素(i−1,j+1) ,(i,j+1) ,(i
+1,j+1) ,(i+1,j) に既に配分された
誤差量と加算器12a〜12dで加算される。またここ
では誤差を配分する画素数を注目画素の周囲4画素とし
ているが、これに限るものではなく、上記と同様の考え
方によつて容易に増減できる。
Next, the error distribution control circuit 16 outputs a corrected density signal 300 obtained by adding the distribution error to the original image density, and a corrected average density (signal from the average density correction circuit 3) based on the binary data around the pixel of interest. 400) is calculated as an error, and the error amount 160 to 190 is distributed to surrounding pixels.
control. As shown in FIG. 3, the error amount signals 160 to 190 are calculated from surrounding pixels (i-1, j+1), (i, j+1), (i
+1,j+1), (i+1,j) and the error amount already allocated to the adders 12a to 12d. Further, here, the number of pixels to which the error is distributed is set to four surrounding the pixel of interest, but the number is not limited to this, and can be easily increased or decreased using the same concept as above.

【0014】ここで、誤差配分制御回路16の詳細を図
4に示し、以下に説明する。図中、161は減算器、1
65a〜165dは所定の乗算を行なう乗算器である。 減算器161では、原画像濃度に配分誤差を加えた補正
濃度の信号300と注目画素周辺の2値化済画素の平均
濃度である平均濃度補正回路3からの進行400との差
分(信号300−信号400)が算出され乗算器165
a〜165dへ出力される。ここで乗算器165a〜1
65dは、第3図に示すように注目画素(i,j) に
対して各々w1〜w4の重みをもつ周辺画素(i,j−
1,j+1) ,(i,j+1) ,(i+1,j+1
) ,(i+1,j) に対応していて、重みに応じて
下に示すような乗算を行なつて信号線160,170,
180、及び190へ結果を出力する。乗算は、例えば
Details of the error distribution control circuit 16 are shown in FIG. 4 and will be described below. In the figure, 161 is a subtracter, 1
65a to 165d are multipliers that perform predetermined multiplication. The subtracter 161 calculates the difference (signal 300 - signal 400) is calculated and multiplier 165
It is output to a to 165d. Here, multipliers 165a to 1
65d, as shown in FIG. 3, surrounding pixels (i, j-
1, j+1) , (i, j+1) , (i+1, j+1
), (i+1, j), and by performing the multiplication shown below according to the weight, the signal lines 160, 170,
The results are output to 180 and 190. Multiplication is, for example,

【0015】[0015]

【数1】[Math 1]

【0016】の如く行なう。図5は注目画素と平均濃度
を算出するための画素との関係を示す図であり、図6は
本実施例における平均濃度算出回路2の構成を示すブロ
ツク図である。図6において、22は加算器、23は1
ライン遅延用のラインメモリ、25a〜25eは入力デ
ータに対してある定数を乗ずる乗算器、26a〜26e
はデータをラツチするF/Fをそれぞれ示している。
Proceed as follows. FIG. 5 is a diagram showing the relationship between the pixel of interest and the pixel for calculating the average density, and FIG. 6 is a block diagram showing the configuration of the average density calculation circuit 2 in this embodiment. In FIG. 6, 22 is an adder, 23 is 1
Line memory for line delay; 25a to 25e are multipliers for multiplying input data by a certain constant; 26a to 26e;
indicate F/Fs that latch data.

【0017】本回路においては、まず2値化されたデー
タ(“黒”=1or“白”=0)がデータ線200を介
してラインメモリ23とF/F26dへ入力される。図
5に示すように注目画素を(i,j) としたとき、F
/F26a〜26eには順に(i,j−1),(i−1
,j−1) ,(i−2,j−1) ,(i−1,j)
 および(i−2,j)の位置に対応する2値化済デー
タ(“黒”=1or“白”=0)が格納されており、こ
れらのデータが乗算器25a〜25eで重み付けされ加
算器22への入力となる。ここで、周辺画素に対する重
みは、図5に示すように、
In this circuit, first, binary data ("black"=1 or "white"=0) is inputted to the line memory 23 and the F/F 26d via the data line 200. As shown in Figure 5, when the pixel of interest is (i, j), F
/F26a to 26e have (i, j-1), (i-1
, j-1) , (i-2, j-1) , (i-1, j)
Binarized data (“black” = 1 or “white” = 0) corresponding to the position (i-2, j) is stored, and these data are weighted by multipliers 25a to 25e and sent to 22. Here, the weights for surrounding pixels are as shown in FIG.

【0018】[0018]

【数2】[Math 2]

【0019】が加算器22への出力となる。この加算器
22からの出力(信号線500)は、平均濃度補正回路
3への入力となると同時に、2値化回路1で2値化する
時の閾値となる。この値は注目画素の周囲の2値化済平
均濃度であつて、注目画素周辺の画像の濃度の状態を示
すものである。本実施例では閾値を算出するために注目
画素の周囲の2値化済画素を5画素としたが、これに限
られるものでなく容易に増減できるものである。
is the output to the adder 22. The output from the adder 22 (signal line 500) is input to the average density correction circuit 3 and at the same time serves as a threshold value when binarizing in the binarizing circuit 1. This value is the binarized average density around the pixel of interest, and indicates the state of the density of the image around the pixel of interest. In this embodiment, in order to calculate the threshold value, the number of binarized pixels around the pixel of interest is set to five, but the number is not limited to this and can be easily increased or decreased.

【0020】図7は本実施例における平均濃度補正回路
3の構成を示すブロツク図であり、図10は本実施例に
おける「黒濃度」テーブルの一部を説明する図である。 同図において、61はLUT(ルツクアツプテーブル)
で、0〜255の各濃度値に応じた「黒」濃度レベルが
格納されている。62は乗算器を示し、63は所定の除
算を行なう除算器を示している。
FIG. 7 is a block diagram showing the configuration of the average density correction circuit 3 in this embodiment, and FIG. 10 is a diagram illustrating a part of the "black density" table in this embodiment. In the same figure, 61 is an LUT (lookup table)
, "black" density levels corresponding to each density value from 0 to 255 are stored. 62 represents a multiplier, and 63 represents a divider that performs a predetermined division.

【0021】ここで、「黒」濃度レベルという言葉の意
味を説明する。通常、0〜255の範囲の値をもつ階調
画像を上述した2値化回路で2値化する場合、出力0(
白)の濃度レベルを0、出力1(黒)の濃度レベルを2
55とするのが一般的である。ところが、図8に示すよ
うに、実際のプリンタは非線形の階調特性を有し、周囲
に黒画素が多い場合と少ない場合とでは1個の黒画素が
周囲の濃度に及ぼす影響の度合いが異なる。即ち、前者
の場合においては、1個の画素が白黒どちらであつても
、着目画素周辺を大局的に見た場合の濃度は大きな差異
を生じないが、後者の場合では濃度に大きな影響を及ぼ
す。従つて黒画素の濃度レベルを一律255としてしま
うべきではなく、画像の濃度に応じて濃度が低い場合に
は黒画素の濃度レベルを高くするのがよい。こうして通
常の平均濃度を用いる方法に比べて閾値を高くし、かつ
負の発生誤差を大きくすることにより、黒画素の発生を
抑えることができ、プリンタの特性に合わせたγ補正が
可能となる。この考えに基づいて出力プリンタの特性に
あわせて算出した黒画素の濃度レベルを、ここでは「黒
」濃度レベルと呼ぶ。図10に、「黒」濃度テーブルの
具体例の一部を示す。例えば原画像濃度1の画素を2値
化する場合周囲画素の2値化済平均濃度が35であつた
とすると、従来方式では閾値を35として0(白)と判
定し、発生誤差=1−35=−34の誤差が周囲誤差に
拡散されるが、本方式では図10のテーブルを参照する
ことにより平均濃度を、平均濃度=35×1416/2
55=194とすることにより、発生誤差=1−194
=−193と、約6倍の負誤差が発生するため、大局的
には黒画素の数が約1/6になり、濃度を下げることが
できる。(従来方式では2値化前のγ補正により、濃度
0の画素として扱われてしまうため原濃度0の画素と区
別できず、全く階調が再現されない。)全濃度に対し、
同様に処理を行なうことでγ補正が実現できる。また、
テーブルの値を変更することにより、どのようなプリン
タに対してもその特性に応じた最適なγ補正が可能であ
る。
The meaning of the term "black" density level will now be explained. Normally, when a gradation image having values in the range of 0 to 255 is binarized by the above-mentioned binarization circuit, the output is 0 (
Set the density level of output 1 (white) to 0, and set the density level of output 1 (black) to 2.
Generally, it is set to 55. However, as shown in Figure 8, actual printers have nonlinear gradation characteristics, and the degree of influence that a single black pixel has on the surrounding density differs depending on whether there are many black pixels or few surrounding black pixels. . That is, in the former case, whether a single pixel is black or white, there is no big difference in the density when looking at the area around the pixel of interest, but in the latter case, it has a large effect on the density. . Therefore, the density level of black pixels should not be uniformly set to 255, but it is better to increase the density level of black pixels when the density is low depending on the density of the image. In this way, by setting a higher threshold value and increasing the negative occurrence error compared to a method using a normal average density, it is possible to suppress the occurrence of black pixels, and it is possible to perform γ correction in accordance with the characteristics of the printer. The density level of a black pixel calculated based on this idea in accordance with the characteristics of the output printer is herein referred to as a "black" density level. FIG. 10 shows a part of a specific example of a "black" density table. For example, when binarizing a pixel with an original image density of 1, if the binarized average density of surrounding pixels is 35, in the conventional method, the threshold value is set to 35 and it is determined as 0 (white), and the generated error = 1-35 = -34 error is diffused into surrounding errors, but in this method, by referring to the table in Fig. 10, the average density is calculated as average density = 35 x 1416/2.
By setting 55=194, the generated error=1-194
= -193, which is about 6 times the negative error, so overall, the number of black pixels becomes about 1/6, and the density can be lowered. (In the conventional method, due to γ correction before binarization, pixels are treated as pixels with a density of 0, so they cannot be distinguished from pixels with an original density of 0, and no gradation is reproduced.) For all densities,
γ correction can be achieved by performing similar processing. Also,
By changing the values in the table, it is possible to perform optimal γ correction for any printer according to its characteristics.

【0022】さて、図7において、LUT61は、原画
像濃度(信号線100)に応じた「黒」濃度レベルの積
を算出し、信号線120を通して除算器63に出力する
。除算器63は入力信号を255で割つた値を信号線4
00へ出力する。即ち、本平均濃度補正回路2は、(平
均濃度)×(「黒」濃度レベル/255)を、黒画素の
発生を抑える、即ち、プリンタの特性を考慮したγ補正
を行うための情報として、2値化回路1へ出力する。
Now, in FIG. 7, the LUT 61 calculates the product of the "black" density level according to the original image density (signal line 100), and outputs it to the divider 63 through the signal line 120. The divider 63 divides the input signal by 255 and sends the value to the signal line 4.
Output to 00. That is, the present average density correction circuit 2 uses (average density) x ("black" density level/255) as information for suppressing the occurrence of black pixels, that is, performing γ correction taking into account the characteristics of the printer. Output to the binarization circuit 1.

【0023】本構成の回路により、低濃度部での階調性
を損なうことなく、出力プリンタの特性に合わせたγ補
正を行なうことが可能となる。さて、本実施例では画像
データはモノクロとしたが、例えばY(イエロー),M
(マゼンタ),C(シアン)、及びK(黒)からなるカ
ラー画像データに対してもY,M,C,Kの各々のデー
タに対して本実施例を適用することができ本発明の効果
を損なうものではない。 <第2の実施例>さて、前述した第1の実施例では、平
均濃度補正回路3で求める補正濃度を濃度を表す入力デ
ータと平均濃度算出回路2で算出された平均濃度とによ
り求めていたが、本発明はこれに限定されるものではな
く、補正濃度を平均濃度算出回路で求める黒画数と平均
濃度とにより求めても良い。
With the circuit of this configuration, it is possible to perform γ correction in accordance with the characteristics of the output printer without impairing the gradation in low density areas. Now, in this example, the image data is monochrome, but for example, Y (yellow), M
This embodiment can also be applied to color image data consisting of (magenta), C (cyan), and K (black), and the effects of the present invention can be applied to each of Y, M, C, and K data. It does not impair. <Second Embodiment> Now, in the first embodiment described above, the corrected density determined by the average density correction circuit 3 was obtained from the input data representing the density and the average density calculated by the average density calculation circuit 2. However, the present invention is not limited to this, and the corrected density may be calculated from the number of black strokes and the average density calculated by an average density calculation circuit.

【0024】図11は本発明に係る画像処理装置の第2
の実施例の構成を示すブロツク図である。同図において
、910は本装置に入力されるデータ線で、8ビツト(
256階調)の濃度を表わすデジタルデータが入力され
る。920は2値化されたデータを出力するデータ線を
示している。901は本実施例の2値化回路、902は
本実施例の平均濃度算出回路、そして、903は本実施
例の平均濃度補正回路をそれぞれ示している。また94
0,950,960はデータ線をそれぞれ示している。
FIG. 11 shows a second image processing apparatus according to the present invention.
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 910 is a data line input to this device, which is an 8-bit (
Digital data representing density (256 gradations) is input. Reference numeral 920 indicates a data line that outputs binarized data. Reference numeral 901 indicates a binarization circuit of this embodiment, 902 an average density calculation circuit of this embodiment, and 903 an average density correction circuit of this embodiment. Also 94
0,950,960 indicate data lines, respectively.

【0025】上記構成による動作として、2値化回路9
01は、データ線910から前述した8ビツトで表わさ
れるデジタルデータを、平均濃度算出回路902及び平
均濃度補正回路903からの情報に従つて2値化し、そ
の結果の1(黒)または0(白)をデータ線920へ出
力する。平均濃度算出回路902は、注目画素の周囲の
2値化済の画素からなる領域を参照し、この領域内の各
画素に対応する重みマスクで重み付けした平均濃度を算
出し、データ線950へ出力し、また前記参照領域内の
黒画素の数を計数し、データ線960へ出力する。平均
濃度補正回路903は、2値化済の平均濃度データ(デ
ータ線950)及び黒画素数のデータ(データ線960
)に基づいて補正平均濃度を算出し、データ線940へ
出力する。
As for the operation of the above configuration, the binarization circuit 9
01 binarizes the aforementioned 8-bit digital data from the data line 910 according to information from the average density calculation circuit 902 and the average density correction circuit 903, and converts the result to 1 (black) or 0 (white). ) is output to data line 920. The average density calculation circuit 902 refers to a region consisting of binarized pixels surrounding the pixel of interest, calculates the average density weighted with a weight mask corresponding to each pixel in this region, and outputs it to a data line 950. It also counts the number of black pixels within the reference area and outputs it to the data line 960. The average density correction circuit 903 collects binarized average density data (data line 950) and black pixel number data (data line 960).
) is used to calculate the corrected average density and output it to the data line 940.

【0026】以上の構成からなる本実施例の詳細を図面
を用いながら説明する。尚、以下の説明で第1の実施例
と同様の図を参照する場合には、説明を省略する。特に
、2値化回路901については、第1の実施例の2値化
回路1と同様の構成及び機能を有しているため、説明を
省略する。図12は本実施例における平均濃度算出回路
902の構成を示すブロツク図である。図12において
、922a,922bは加算器、923は1ライン遅延
用のラインメモリ、925a〜925eは入力データに
対してある定数を乗ずる乗算器、926a〜926eは
データをラツチするF/Fをそれぞれ示している。
The details of this embodiment having the above configuration will be explained with reference to the drawings. Note that in the following description, when referring to figures similar to those in the first embodiment, the description will be omitted. In particular, the binarization circuit 901 has the same configuration and function as the binarization circuit 1 of the first embodiment, so a description thereof will be omitted. FIG. 12 is a block diagram showing the configuration of the average density calculation circuit 902 in this embodiment. In FIG. 12, 922a and 922b are adders, 923 is a line memory for one line delay, 925a to 925e are multipliers that multiply input data by a certain constant, and 926a to 926e are F/Fs that latch data. It shows.

【0027】本回路においては、まず2値化されたデー
タ(“黒”=1or“白”=0)がデータ線920を介
してラインメモリ923とF/F926dへ入力される
。図5に示すように注目画素を(i,j) としたとき
、F/F926a〜926eには順に(i,j−1),
(i−1,j−1) ,(i−2,j−1) ,(i−
1,j) および(i−2,j)の位置に対応する2値
化済データ(“黒”=1or“白”=0)が格納されて
おり、これらのデータが乗算器925a〜925eで重
み付けされ加算器922aへの入力となる。ここで、周
辺画素に対する重みは、図5に示すように、
In this circuit, first, binarized data ("black"=1 or "white"=0) is inputted to the line memory 923 and the F/F 926d via the data line 920. As shown in FIG. 5, when the pixel of interest is (i, j), F/Fs 926a to 926e have (i, j-1),
(i-1, j-1) , (i-2, j-1) , (i-
Binarized data (“black” = 1 or “white” = 0) corresponding to the positions of (1, j) and (i-2, j) are stored, and these data are processed by multipliers 925a to 925e. It is weighted and becomes an input to adder 922a. Here, the weights for surrounding pixels are as shown in FIG.

【0028】[0028]

【数3】[Math 3]

【0029】が加算器22aへの出力となる。この加算
器22aからの出力(信号線500)は、閾値設定回路
3への入力となる。この値は注目画素の周囲の2値化済
平均濃度であつて、注目画素周辺の画像の濃度の状態を
示すものである。また、F/F926a〜926eのデ
ータは加算器922bにも入力される。加算器922b
への入力には重み付けがなされないため、信号線600
には注目画素周囲の参照領域内の黒画素の個数が現れる
。これは後述する平均濃度補正回路903に入力されて
、平均濃度を補正する目的に用いられる。
##EQU1## becomes the output to the adder 22a. The output from this adder 22a (signal line 500) becomes an input to the threshold value setting circuit 3. This value is the binarized average density around the pixel of interest, and indicates the state of the density of the image around the pixel of interest. Further, the data of F/Fs 926a to 926e are also input to an adder 922b. Adder 922b
Since the input to signal line 600 is not weighted,
shows the number of black pixels in the reference area around the pixel of interest. This is input to an average density correction circuit 903, which will be described later, and is used for the purpose of correcting the average density.

【0030】本実施例では、閾値を算出するために注目
画素の周囲の2値化済画素を5画素としたが、これに限
られるものでなく容易に増減できるものである。図13
は第2の実施例による「黒」濃度テーブルの一部を説明
する図である。第2の実施例による平均濃度補正回路9
03の構成は、第1の実施例の図7と同様のために説明
を省略するが、使用するデータは異なるため、この点に
ついて以下に説明する。また、各ユニツトの番号は、図
示せぬが、図7で用いた番号にダツシユを付加して説明
する。本実施例において、平均濃度補正回路903の入
力データは、データ線950及び960よりの平均濃度
と黒画素数である。
In this embodiment, in order to calculate the threshold value, the number of binarized pixels around the pixel of interest is set to five, but the number is not limited to this and can be easily increased or decreased. Figure 13
FIG. 3 is a diagram illustrating a part of a "black" density table according to the second embodiment. Average density correction circuit 9 according to second embodiment
The configuration of 03 is the same as that of the first embodiment shown in FIG. 7, so its explanation will be omitted, but since the data used is different, this point will be explained below. Further, although the numbers of each unit are not shown in the drawings, the numbers used in FIG. 7 will be explained with dashes added. In this embodiment, the input data to the average density correction circuit 903 are the average density and the number of black pixels from data lines 950 and 960.

【0031】例えば、原画像濃度1の画素を2値化する
場合周囲画素の2値化済平均濃度が35であつたとする
と、従来方式では閾値を35として0(白)と判定し、
発生誤差=1−35=−34の誤差が周囲誤差に拡散さ
れるが、本方式では図13のテーブルを参照することに
より平均濃度を、平均濃度=35×1272/255=
174とすることにより、発生誤差=1−174=−1
73と、約5倍の負誤差が発生するため、大局的には黒
画素の数が約1/5になり、濃度を下げることができる
。従来方式では、2値化前のγ補正により、濃度0の画
素として扱われてしまうため、原濃度0の画素と区別で
きず、全く諧調が再現されない。全濃度に対し、同様に
処理を行うことで、γ補正が実現できる。  また、テ
ーブルの値を変更することにより、どの様なプリンタに
対してもその特性に応じた最適なγ補正が可能である。
For example, when a pixel with an original image density of 1 is to be binarized, if the binarized average density of surrounding pixels is 35, in the conventional method, the threshold value is set to 35 and it is determined to be 0 (white).
The generated error = 1-35 = -34 error is diffused to the surrounding errors, but in this method, by referring to the table in Fig. 13, the average density is calculated as average density = 35 x 1272/255 =
By setting it to 174, the generated error = 1-174 = -1
73, which is about a five-fold negative error, so overall the number of black pixels is reduced to about 1/5, and the density can be lowered. In the conventional method, the pixels are treated as pixels with a density of 0 due to γ correction before binarization, so they cannot be distinguished from pixels with an original density of 0, and no gradation is reproduced. γ correction can be achieved by performing similar processing on all densities. Furthermore, by changing the values in the table, it is possible to perform optimal γ correction for any printer according to its characteristics.

【0032】第1の実施例の図7と照らし合わせると、
第2の実施例では、LUT61’は、黒画素数(信号線
960)に応じた「黒」濃度レベルを信号線110’に
出力する。乗算器62’は、平均濃度と「黒」濃度レベ
ルとの積を算出し、信号線120’を通して、除算器6
3’に出力する。除算器63’は入力信号を255で割
つた値を信号線400へ出力する。即ち、本平均濃度補
正回路940は、(平均濃度)×(「黒」濃度レベル/
255)を2値化のための閾値として2値化回路901
へ出力する。
When compared with FIG. 7 of the first embodiment,
In the second embodiment, the LUT 61' outputs a "black" density level corresponding to the number of black pixels (signal line 960) to the signal line 110'. Multiplier 62' calculates the product of the average density and the "black" density level and outputs the product to divider 6 through signal line 120'.
Output to 3'. The divider 63' divides the input signal by 255 and outputs the result to the signal line 400. That is, the present average density correction circuit 940 calculates (average density) x (“black” density level/
255) as a threshold for binarization, the binarization circuit 901
Output to.

【0033】本構成の回路により、低濃度部での階調性
を損なうことなく、出力プリンタの特性に合わせたγ補
正を行うことができる。 (第2の実施例の変形例)さて、第2の実施例では、平
均濃度と黒画素数とを別々に算出したが、本発明はこれ
に限定されるものではなく、回路構成を簡単にするため
、黒画素数を算出しないで、平均濃度を黒画素数の代わ
りに用いても良い。
With the circuit of this configuration, it is possible to perform γ correction in accordance with the characteristics of the output printer without impairing the gradation in low density areas. (Modification of Second Embodiment) Now, in the second embodiment, the average density and the number of black pixels are calculated separately, but the present invention is not limited to this, and the circuit configuration can be simplified. Therefore, the average density may be used instead of the number of black pixels without calculating the number of black pixels.

【0034】図14は第2の実施例の変形例による平均
濃度補正回路の構成を示すブロツク図である。平均濃度
補正回路903は、図14に示すように、LUTを1個
用いることで構成できる。LUTには、周囲画素の平均
濃度に対応した補正平均濃度が格納される。図15にこ
の濃度補正テーブルの具体例の一部を示す。この方式に
よれば、例えば、着目画素の濃度が1で2値化済平均濃
度が5であつたとすると、従来方式では、発生誤差=1
−5=−4の誤差が周辺画素に拡散されるところを、ま
ず補正テーブルを参照することにより、平均濃度=27
として、発生誤差=1−27=−26と、約6倍の負誤
差が発生するため、大局的には黒画素の数が約1/6に
なり、濃度を下げることができる。
FIG. 14 is a block diagram showing the configuration of an average density correction circuit according to a modification of the second embodiment. The average density correction circuit 903 can be configured by using one LUT, as shown in FIG. The corrected average density corresponding to the average density of surrounding pixels is stored in the LUT. FIG. 15 shows a part of a specific example of this density correction table. According to this method, for example, if the density of the pixel of interest is 1 and the binarized average density is 5, in the conventional method, the generated error = 1
By first referring to the correction table, the error of -5=-4 is diffused to the surrounding pixels, and the average density is
As a result, a negative error of approximately 6 times is generated (error = 1-27 = -26), so overall, the number of black pixels is reduced to approximately 1/6, and the density can be lowered.

【0035】また、第2の実施例では、画像データはモ
ノクロとしたが、例えば、Y(イエロー)、M(マゼン
ダ)、C(シアン)、K(ブラツク)からなるカラー画
像データに対してもY、M、C、Kの各々のデータに対
して本実施例を適用することができる本発明の効果を損
なうものではない。以上説明したように、第2の実施例
によれば、いかなる階調性を有するプリンタにおいても
低濃度領域の階調性を劣化させることなくγを補正でき
るため、高品位な再生画像を得ることができる。 <第3の実施例>第1の実施例では、平均濃度を、2値
化時の閾値として、及び、誤差配分に係わるデータとし
て扱つていたが、第3の実施例では、平均濃度は飽くま
でも閾値を算出するためのデータとして扱い、このとき
、注目画素の濃度により階調特性が決定する。
In the second embodiment, the image data is monochrome; however, for example, color image data consisting of Y (yellow), M (magenta), C (cyan), and K (black) may also be used. This does not impair the effect of the present invention, which allows the present embodiment to be applied to each of Y, M, C, and K data. As explained above, according to the second embodiment, it is possible to correct γ without deteriorating the gradation in the low-density area in any printer with any gradation, so it is possible to obtain a high-quality reproduced image. Can be done. <Third Example> In the first example, the average density was treated as a threshold value during binarization and as data related to error allocation, but in the third example, the average density is It is treated as data for calculating a threshold value, and at this time, the tone characteristics are determined by the density of the pixel of interest.

【0036】図16は本発明に係る画像処理装置の第3
の実施例の構成を示すブロツク図である。同図において
、1100は本装置に入力されるデータ線で、8ビツト
(256階調)の濃度を表わすデジタルデータが入力さ
れる。1200は2値化されたデータを出力するデータ
線を示している。1001は本実施例の2値化回路、1
002は本実施例の平均濃度算出回路、そして、100
3は本実施例の閾値設定回路をそれぞれ示している。 また1400,1500はデータ線をそれぞれ示してい
る。
FIG. 16 shows the third image processing apparatus according to the present invention.
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, reference numeral 1100 is a data line input to the apparatus, into which digital data representing 8-bit (256 gradations) density is input. Reference numeral 1200 indicates a data line that outputs binarized data. 1001 is the binarization circuit of this embodiment, 1
002 is the average density calculation circuit of this embodiment, and 100
3 indicates a threshold value setting circuit of this embodiment. Further, 1400 and 1500 indicate data lines, respectively.

【0037】上記構成による動作として、2値化回路1
001は、データ線1100から前述した8ビツトで表
わされるデジタルデータを閾値設定回路1003からの
情報に従つて2値化し、その結果の1(黒)または0(
白)をデータ線1200へ出力する。平均濃度算出回路
1002は、注目画素の周囲の2値化済の画素からなる
領域を参照し、この領域内の各画素に対応する重みマス
クで重み付けした平均濃度を算出し、データ線1500
へ出力する。閾値設定回路1003は、入力されたデー
タ(データ線1100)及び2値化済みの平均濃度デー
タ(データ線1500)に基づいて2値化閾値を算出し
、データ線1400へ出力する。
As for the operation of the above configuration, the binarization circuit 1
001 binarizes the aforementioned 8-bit digital data from the data line 1100 according to information from the threshold value setting circuit 1003, and converts the resulting 1 (black) or 0 (
white) is output to the data line 1200. The average density calculation circuit 1002 refers to a region consisting of binarized pixels surrounding the pixel of interest, calculates the average density weighted with a weight mask corresponding to each pixel in this region, and calculates the average density by weighting the data line 1500.
Output to. The threshold setting circuit 1003 calculates a binarization threshold based on the input data (data line 1100) and the binarized average density data (data line 1500), and outputs it to the data line 1400.

【0038】以上の構成からなる本実施例の詳細を図面
を用いながら説明する。尚、以下の説明で第1の実施例
と同様の図を参照する場合には、説明を省略する。図1
7は図16に示す2値化回路1001の具体的な構成の
一例を示すブロツク図である。2値化回路1001の構
成については、図2と殆ど同様のため、同様の番号にダ
ツシユを付しており、特に、異なる点は、比較器14’
で比較するデータが、第1の実施例のように平均濃度を
用いるのでは無く、閾値設定回路1003からの閾値の
データを使用している点にある。比較器14’の全体的
な動作は、図2と同様であるため、全体の説明は省略す
る。
The details of this embodiment having the above configuration will be explained with reference to the drawings. Note that in the following description, when referring to figures similar to those in the first embodiment, the description will be omitted. Figure 1
7 is a block diagram showing an example of a specific configuration of the binarization circuit 1001 shown in FIG. 16. The configuration of the binarization circuit 1001 is almost the same as that in FIG.
The data to be compared in this embodiment is not the average density as in the first embodiment, but the threshold value data from the threshold value setting circuit 1003 is used. The overall operation of the comparator 14' is the same as that in FIG. 2, so the overall explanation will be omitted.

【0039】2値化回路1001の誤差配分制御回路1
6の動作としては、原画像濃度に配分誤差を加えた補正
濃度信号300’と、注目画素周辺の2値データの平均
濃度である閾値設定回路1003からの信号(データ線
1400)との差分が誤差として計算され、周囲の画素
に配分する誤差量160’〜190’を制御する。誤差
量信号160’〜190’は、図3に示すように、注目
画素位置を(i,j)としたとき、その周囲画素(i−
1,j+1),(i,j+1),(i+1,j+1),
(i+1,j)に既に配分された誤差量と加算器12a
’〜12d’で加算される。またここでは誤差を配分す
る画素数を注目画素の周囲4画素としているが、これに
限定されるものでは無く、上記と同様に増減可能である
。誤差配分制御回路16’の詳細は、図1と同様のため
、説明を省略する。
Error distribution control circuit 1 of binarization circuit 1001
6, the difference between the corrected density signal 300', which is the original image density plus the distribution error, and the signal from the threshold setting circuit 1003 (data line 1400), which is the average density of binary data around the pixel of interest, is calculated. The error amount 160' to 190' calculated as an error and distributed to surrounding pixels is controlled. As shown in FIG. 3, the error amount signals 160' to 190' are calculated based on the surrounding pixels (i-
1, j+1), (i, j+1), (i+1, j+1),
The amount of error already allocated to (i+1,j) and the adder 12a
'~12d' is added. Further, here, the number of pixels to which the error is distributed is set to four pixels around the pixel of interest, but the number is not limited to this, and can be increased or decreased in the same manner as described above. The details of the error distribution control circuit 16' are the same as those in FIG. 1, so the explanation will be omitted.

【0040】また、平均濃度算出回路1002,閾値設
定回路1003の構成及び機能は、第1の実施例の図1
で説明した平均濃度算出回路2,平均濃度補正回路3と
同様のため、説明を省略する。以上説明したように、第
3の実施例によれば、いかなる階調特性を有するプリン
タにおいても、低濃度領域の階調性を劣化させることな
くγ補正できるため、高品位な再生画像を得ることがで
きる。 <第4の実施例>第3の実施例では、階調特性の決定を
注目画素の濃度に基づいていたが、第4の実施例では、
2値化済みの周辺画素の黒画素数に基づいている。
The configuration and functions of the average density calculation circuit 1002 and the threshold value setting circuit 1003 are as shown in FIG. 1 of the first embodiment.
Since this circuit is similar to the average density calculation circuit 2 and the average density correction circuit 3 described in Section 3, the description thereof will be omitted. As explained above, according to the third embodiment, it is possible to obtain a high-quality reproduced image because it is possible to perform γ correction without deteriorating the gradation characteristics in the low density area even in a printer having any gradation characteristics. Can be done. <Fourth Example> In the third example, the gradation characteristics were determined based on the density of the pixel of interest, but in the fourth example,
It is based on the number of black pixels of the surrounding pixels that have been binarized.

【0041】図18は本発明に係る画像処理装置の第4
の実施例の構成を示すブロツク図である。同図において
、2100は本装置に入力されるデータ線で、8ビツト
(256階調)の濃度を表わすデジタルデータが入力さ
れる。2200は2値化されたデータを出力するデータ
線を示している。2001は本実施例の2値化回路、2
002は本実施例の平均濃度算出回路、そして、200
3は本実施例の閾値設定回路をそれぞれ示している。 また2400,2500,2600はデータ線をそれぞ
れ示している。
FIG. 18 shows a fourth image processing apparatus according to the present invention.
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, reference numeral 2100 is a data line input to the apparatus, into which digital data representing 8-bit (256 gradation) density is input. 2200 indicates a data line that outputs binarized data. 2001 is the binarization circuit of this embodiment, 2
002 is the average density calculation circuit of this embodiment, and 200
3 indicates a threshold value setting circuit of this embodiment. Further, 2400, 2500, and 2600 indicate data lines, respectively.

【0042】上記構成による動作として、2値化回路2
001は、データ線2100から前述した8ビツトで表
わされるデジタルデータを、後述の閾値設定回路200
3からの情報を元に2値化し、その結果の1(黒)また
は0(白)をデータ線2200へ出力する。平均濃度算
出回路902は、注目画素の周囲の2値化済の画素から
なる領域を参照し、この領域内の各画素に対応する重み
マスクで重み付けした平均濃度を算出し、データ線25
00へ出力し、また前記参照領域内の黒画素の数を計数
し、データ線2600へ出力する。閾値設定回路200
3は、2値化済の平均濃度データ(データ線2500)
及び黒画素数のデータ(データ線2600)に基づいて
2値化閾値を算出し、データ線2400へ出力する。
As for the operation of the above configuration, the binarization circuit 2
001 transfers digital data expressed in 8 bits from the data line 2100 to a threshold value setting circuit 200 (described later).
The information from 3 is binarized and the resulting 1 (black) or 0 (white) is output to the data line 2200. The average density calculation circuit 902 refers to a region consisting of binarized pixels surrounding the pixel of interest, calculates the average density weighted with a weight mask corresponding to each pixel in this region,
00, and also counts the number of black pixels in the reference area and outputs it to the data line 2600. Threshold setting circuit 200
3 is binarized average density data (data line 2500)
A binarization threshold is calculated based on the data on the number of black pixels (data line 2600), and is output to the data line 2400.

【0043】以上の構成からなる本実施例の詳細を図面
を用いながら説明する。尚、以下の説明で第2の実施例
と同様の図を参照する場合には、説明を省略する。特に
、平均濃度算出回路2002,閾値設定回路2003に
ついては、それぞれ第2の実施例の平均濃度算出回路9
02,平均濃度補正回路903と同様の構成及び機能を
有し、また2値化回路2001については、第3の実施
例の2値化回路1001と同様の構成及び機能を有して
いるため、詳細な説明を省略する。
The details of this embodiment having the above configuration will be explained with reference to the drawings. Note that in the following description, when referring to figures similar to those in the second embodiment, the description will be omitted. In particular, the average density calculation circuit 2002 and the threshold value setting circuit 2003 are respectively similar to the average density calculation circuit 9 of the second embodiment.
02, has the same configuration and function as the average density correction circuit 903, and the binarization circuit 2001 has the same configuration and function as the binarization circuit 1001 of the third embodiment, Detailed explanation will be omitted.

【0044】特に、閾値設定回路2003は、構成とし
ては図7と同様であるが、LUTに入力されるデータが
平均濃度算出回路2002よりの黒画素数のデータであ
る点に差異がある。従つて、第4の実施例によれば、い
かなる階調特性を有するプリンタにおいても、低濃度領
域の階調性を劣化させることなく、γを補正できるため
、高品位な再生画像を得ることができる。
In particular, the threshold value setting circuit 2003 has the same configuration as that shown in FIG. Therefore, according to the fourth embodiment, it is possible to correct γ without deteriorating the gradation properties in the low density area in any printer having any gradation characteristics, so it is possible to obtain high-quality reproduced images. can.

【0045】さて、第4の実施例による変形例は、第2
の実施例の変形例と同様のため、説明を省略する。 <第5の実施例>第5の実施例では、配分誤差を補正し
て出力機器の階調を制御する方法に基づいている。
Now, a modification of the fourth embodiment is the second
Since this is the same as the modification of the embodiment, the explanation will be omitted. <Fifth Embodiment> The fifth embodiment is based on a method of controlling the gradation of an output device by correcting distribution errors.

【0046】図19は本発明に係る画像処理装置の第5
の実施例の構成を示すブロツク図である。同図において
、3100は本実施例の装置に入力されるデータ線で、
8ビツト(256階調)の濃度を表すデジタルデータが
入力される。3200は2値化されたデータを出力する
データ線を示している。3001は2値化回路を示し、
3002は誤差算出回路を示している。
FIG. 19 shows the fifth image processing apparatus according to the present invention.
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, 3100 is a data line input to the device of this embodiment,
Digital data representing 8-bit (256 gradations) density is input. 3200 indicates a data line that outputs binarized data. 3001 indicates a binarization circuit,
3002 indicates an error calculation circuit.

【0047】2値化回路3001は、データ線3100
から8ビツトで表されるデータを後述する誤差算出回路
3002からの情報を元に2値化し、その結果1(黒)
または0(白)をデータ線200へ出力する。誤差算出
回路3002は、階調を表す入力データ(データ線31
00)、2値化済みの出力データ(データ線3200)
そして補正済みの入力データ(データ線3300)に基
づいて注目画素を2値化した際に発生する2値化誤差を
算出して、データ線3400に出力する。
The binarization circuit 3001 connects the data line 3100
The data expressed in 8 bits is binarized based on information from the error calculation circuit 3002, which will be described later, and the result is 1 (black).
Or outputs 0 (white) to the data line 200. The error calculation circuit 3002 receives input data (data line 31
00), binarized output data (data line 3200)
Then, the binarization error that occurs when the pixel of interest is binarized based on the corrected input data (data line 3300) is calculated and output to the data line 3400.

【0048】以上の構成からなる本実施例の詳細を以下
に説明する。図20は図19に示す2値化回路3001
の具体的な構成例を示すブロツク図である。本実施例の
2値化回路3001では、前述した第1の実施例と同様
のユニツトに対し、同一番号にツーダツシユを付した番
号を与えている。2値化回路3001は、まずデータ線
3100を介して入力したデータ(注目画素位置(i,
j)に対する原画像濃度データ)は、当該画素値に配分
される誤差の総和と加算器12d”で加算され、その値
は信号線3300を介して誤差算出回路3002と比較
器14”とに出力される。そして比較器14”では、信
号線3300上のデータと信号線3500からの2値化
閾値T(Tは所定値)との比較を行い、データ線330
0上のデータが閾値Tより大きければ“1”、小さけれ
ば“0”を信号線320に出力する。
The details of this embodiment having the above configuration will be explained below. FIG. 20 shows the binarization circuit 3001 shown in FIG.
FIG. 2 is a block diagram showing a specific example of the configuration. In the binarization circuit 3001 of this embodiment, the same number as the first embodiment described above is given the same number with a double dot. The binarization circuit 3001 first processes data input via the data line 3100 (target pixel position (i,
The original image density data for j) is added to the sum of errors allocated to the pixel value in an adder 12d'', and the value is output to an error calculation circuit 3002 and a comparator 14'' via a signal line 3300. be done. Then, the comparator 14'' compares the data on the signal line 3300 with the binarization threshold T (T is a predetermined value) from the signal line 3500.
If the data above 0 is larger than the threshold T, "1" is output to the signal line 320, and if it is smaller, "0" is output to the signal line 320.

【0049】次に、誤差配分制御回路16”では、誤差
算出回路3002よりの発生誤差(信号線400)を元
に、周囲の画素に配分する誤差量(誤差量信号160”
〜190”)を制御する。誤差量信号160”〜190
”は、図3に示すように(第1の実施例と同様)、注目
画素位置を(i,j)としたとき、その周辺画素(i−
j,j+1),(i,j+1),(i+1,j+1),
(i+1,j)に、それぞれ図に示す重みW1,W2,
W3,W4により重み付けされ、既に配分された誤差量
と加算器12a”〜12d”で加算される。またここで
は誤差を配分する画素数を注目画素の周囲4画素として
いるが、これに限定されるものではなく、上記と同様に
増減可能である。
Next, the error distribution control circuit 16'' calculates the error amount (error amount signal 160'') to be distributed to surrounding pixels based on the generated error (signal line 400) from the error calculation circuit 3002.
~190'').Error amount signal 160''~190
As shown in FIG. 3 (same as the first embodiment), when the pixel position of interest is (i, j), the surrounding pixel (i-
j, j+1), (i, j+1), (i+1, j+1),
(i+1, j) are given weights W1, W2, respectively, as shown in the figure.
It is weighted by W3 and W4 and added to the already distributed error amount by adders 12a'' to 12d''. Further, here, the number of pixels to which the error is distributed is set to four pixels around the pixel of interest, but the number is not limited to this and can be increased or decreased in the same manner as above.

【0050】ここで、誤差配分制御回路16”の詳細な
構成を図21に示し、以下に説明する。同図において、
3165a〜3165dは、図3に示すように、注目画
素(i,j)に対して各々W1〜W4の重みを持つた周
辺画素(i−j,j+1),(i,j+1),(i+1
,j+1),(i+1,j)に対応しており、重みに応
じて以下の乗算を行い、信号線160”,170”,1
80”及び190”へ結果を出力する。乗算は、例えば
The detailed configuration of the error distribution control circuit 16'' is shown in FIG. 21 and will be explained below.
3165a to 3165d, as shown in FIG.
, j+1), (i+1, j), the following multiplication is performed according to the weight, and the signal lines 160'', 170'', 1
Output the results to 80" and 190". Multiplication is, for example,

【0051】[0051]

【数4】[Math 4]

【0052】のごとく行う。図22は第5の実施例によ
る誤差算出回路3002の構成を示すブロツク図である
。同図において、3051はLUTで、0〜255の各
濃度値に応じた「黒」濃度レベルが格納されている。 3052は減算器を示し、3053はセレクタを示して
いる。本実施例でも第1の実施例と同様に約6倍の負誤
差が生じ、大局的には黒画素の数が約1/6になり、濃
度を下げることができる。
Proceed as follows. FIG. 22 is a block diagram showing the configuration of an error calculation circuit 3002 according to the fifth embodiment. In the figure, 3051 is an LUT in which "black" density levels corresponding to each density value from 0 to 255 are stored. 3052 indicates a subtracter, and 3053 indicates a selector. In this embodiment, as in the first embodiment, a negative error of about 6 times occurs, and overall, the number of black pixels is reduced to about 1/6, and the density can be lowered.

【0053】さて、図22において、LUT3051は
、原画像濃度(信号線3100)に応じた「黒」濃度レ
ベルを信号線3110に出力する。減算器3052は、
補正済みの画像濃度(信号3300)と信号3110と
の差分(信号3300−信号3110)を算出し、信号
線3120を通つてセレクタ3053に出力する。 セレクタ3053は、2値信号3200が“1”、即ち
、2値化の結果が黒であれば、上述のようにして算出し
た誤差(信号線3120からの入力)を信号線3400
へ、また“0”、即ち、2値化の結果が白であれば、原
画像濃度(=信号線3300からの入力)を発生誤差と
して信号線3400に切り換え出力する。
Now, in FIG. 22, LUT 3051 outputs a "black" density level corresponding to the original image density (signal line 3100) to signal line 3110. The subtracter 3052 is
The difference between the corrected image density (signal 3300) and the signal 3110 (signal 3300-signal 3110) is calculated and output to the selector 3053 through the signal line 3120. If the binary signal 3200 is "1", that is, the result of the binarization is black, the selector 3053 transfers the error calculated as described above (input from the signal line 3120) to the signal line 3400.
Also, if it is "0", that is, the result of binarization is white, the original image density (=input from the signal line 3300) is regarded as a generated error and is switched to the signal line 3400 and output.

【0054】以上の構成により、第5の実施例では、低
濃度部での階調性を損なうことなく、出力プリンタの特
性にあわせたγ補正を行うことができる。さて、上述し
た第5の実施例における誤差算出回路3002において
、「黒」濃度レベルを着目画素の濃度に応じて可変とし
たが、他の方法でも良い。例えば、着目画素周辺に位置
する2値化済みの出力画素を記憶しておき、着目画素近
傍の出力画素中の黒画素の数に応じて「黒」濃度レベル
を制御することにしても良い。この場合、ハードウエア
として、2値のラインバツフアを追加すれば良い。
With the above configuration, in the fifth embodiment, it is possible to perform γ correction in accordance with the characteristics of the output printer without impairing gradation in low density areas. Now, in the error calculation circuit 3002 in the fifth embodiment described above, the "black" density level is made variable according to the density of the pixel of interest, but other methods may be used. For example, the binarized output pixels located around the pixel of interest may be stored, and the "black" density level may be controlled according to the number of black pixels among the output pixels near the pixel of interest. In this case, a binary line buffer may be added as hardware.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
いかなる階調特性を有するプリンタにおいても低濃度領
域の階調性を劣化させることなくγを補正できるため高
品位な再生画像を得ることができる。
[Effects of the Invention] As explained above, according to the present invention,
Since γ can be corrected without deteriorating the gradation properties in low-density areas in any printer having any gradation characteristics, a high-quality reproduced image can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明に係る画像処理装置の第1の実施例の構
成を示すブロツク図である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of an image processing apparatus according to the present invention.

【図2】図1に示す2値化回路1の具体的な構成の一例
を示すブロツク図である。
2 is a block diagram showing an example of a specific configuration of the binarization circuit 1 shown in FIG. 1. FIG.

【図3】注目画素と誤差を配分する画素との関係を示す
図である。
FIG. 3 is a diagram showing the relationship between a pixel of interest and pixels to which errors are allocated.

【図4】図2による誤差配分制御回路16の構成を示す
ブロツク図である。
4 is a block diagram showing the configuration of the error distribution control circuit 16 shown in FIG. 2. FIG.

【図5】注目画素と平均濃度を算出するための画素との
関係を示す図である。
FIG. 5 is a diagram showing the relationship between a pixel of interest and pixels for calculating average density.

【図6】本実施例における平均濃度算出回路2の構成を
示すブロツク図である。
FIG. 6 is a block diagram showing the configuration of the average density calculation circuit 2 in this embodiment.

【図7】本実施例における平均濃度補正回路3の構成を
示すブロツク図である。
FIG. 7 is a block diagram showing the configuration of the average density correction circuit 3 in this embodiment.

【図8】プリンタの非線型階調特性により黒画素の濃度
レベルが一定ではなくなる場合を説明する図である。
FIG. 8 is a diagram illustrating a case where the density level of a black pixel is not constant due to nonlinear gradation characteristics of the printer.

【図9】通常のγ補正により低濃度部で階調が失われる
場合を説明する図である。
FIG. 9 is a diagram illustrating a case where gradation is lost in a low density area due to normal γ correction.

【図10】本実施例における「黒濃度」テーブルの一部
を説明する図である。
FIG. 10 is a diagram illustrating part of a "black density" table in this embodiment.

【図11】本発明に係る画像処理装置の第2の実施例の
構成を示すブロツク図である。
FIG. 11 is a block diagram showing the configuration of a second embodiment of the image processing apparatus according to the present invention.

【図12】本実施例における平均濃度算出回路902の
構成を示すブロツク図である。
FIG. 12 is a block diagram showing the configuration of an average density calculation circuit 902 in this embodiment.

【図13】第2の実施例による「黒」濃度テーブルの一
部を説明する図である。
FIG. 13 is a diagram illustrating a part of a “black” density table according to the second example.

【図14】第2の実施例の変形例による平均濃度補正回
路の構成を示すブロツク図である。
FIG. 14 is a block diagram showing the configuration of an average density correction circuit according to a modification of the second embodiment.

【図15】第2の実施例の変形例による濃度補正テーブ
ルの具体例の一部を示す図である。
FIG. 15 is a diagram showing a part of a specific example of a density correction table according to a modification of the second embodiment.

【図16】本発明に係る画像処理装置の第3の実施例の
構成を示すブロツク図である。
FIG. 16 is a block diagram showing the configuration of a third embodiment of the image processing apparatus according to the present invention.

【図17】図16に示す2値化回路1001の具体的な
構成の一例を示すブロツク図である。
17 is a block diagram showing an example of a specific configuration of the binarization circuit 1001 shown in FIG. 16. FIG.

【図18】本発明に係る画像処理装置の第4の実施例の
構成を示すブロツク図である。
FIG. 18 is a block diagram showing the configuration of a fourth embodiment of the image processing apparatus according to the present invention.

【図19】本発明に係る画像処理装置の第5の実施例の
構成を示すブロツク図である。
FIG. 19 is a block diagram showing the configuration of a fifth embodiment of an image processing apparatus according to the present invention.

【図20】図19に示す2値化回路3001の具体的な
構成例を示すブロツク図である。
20 is a block diagram showing a specific example of the configuration of the binarization circuit 3001 shown in FIG. 19. FIG.

【図21】第5の実施例による誤差配分制御回路16”
の詳細な構成を示すブロツク図である。
FIG. 21: Error distribution control circuit 16'' according to the fifth embodiment.
FIG. 2 is a block diagram showing the detailed configuration of the device.

【図22】第5の実施例による誤差算出回路3002の
構成を示すブロツク図である。
FIG. 22 is a block diagram showing the configuration of an error calculation circuit 3002 according to a fifth embodiment.

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

1,901,1001,2001,3001  2値化
回路 2,902,1002,2002  平均濃度算出回路
3,903  平均濃度補正回路 11a〜11d,11a’〜11d’,11a”〜11
d”  F/F 12a〜12d,12a’〜12d’,12a”〜12
d”  加算器 13,13’,23,923  ラインメモリ14,1
4’,14”  比較器 16,16’,16”  誤差配分制御回路22,92
2a,922b  加算器 25a〜25e,62,165a〜165d,925a
〜925e  乗算器 26a〜26e,926a〜926e  F/F61,
71,3051  LUT 63  除算器 100,200,300,400,500,600  
データ線 161,3052  減算器 1003,2003  閾値設定回路 3002  誤差算出回路 3053  セレクタ 3165a〜3165d  乗算器
1,901,1001,2001,3001 Binarization circuit 2,902,1002,2002 Average density calculation circuit 3,903 Average density correction circuit 11a-11d, 11a'-11d', 11a"-11
d” F/F 12a~12d, 12a'~12d', 12a''~12
d" Adder 13, 13', 23, 923 Line memory 14, 1
4', 14" comparator 16, 16', 16" error distribution control circuit 22, 92
2a, 922b Adders 25a to 25e, 62, 165a to 165d, 925a
~925e Multipliers 26a~26e, 926a~926e F/F61,
71,3051 LUT 63 Divider 100,200,300,400,500,600
Data lines 161, 3052 Subtracters 1003, 2003 Threshold setting circuit 3002 Error calculation circuit 3053 Selectors 3165a to 3165d Multiplier

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】入力した多値の濃度データを2値化して、
該2値化したデータを2値データとして出力する画像処
理装置において、複数の2値データを記憶する記憶手段
と、前記記憶手段で記憶した複数の2値データに基づい
て平均濃度を算出する算出手段と、前記算出手段で算出
した平均濃度を注目画素の濃度データに対応する所定の
階調特性に基づいて補正する補正手段と、前記補正手段
で補正した平均濃度に基づいて誤差を算出し、該算出し
た誤差を前記注目画素以降の未2値化画素の濃度データ
に配分する誤差配分手段と、前記誤差配分手段により配
分された前記注目画素以前の画素から得た誤差と前記注
目画素の濃度データとを加算したデータを、前記平均濃
度を閾値として2値化する2値化手段とを備えることを
特徴とする画像処理装置。
Claim 1: Binarize input multi-value density data,
In an image processing device that outputs the binarized data as binary data, a storage means for storing a plurality of binary data, and a calculation for calculating an average density based on the plurality of binary data stored in the storage means. means, a correction means for correcting the average density calculated by the calculation means based on a predetermined gradation characteristic corresponding to density data of the pixel of interest, and calculating an error based on the average density corrected by the correction means, error allocation means for allocating the calculated error to density data of non-binarized pixels after the pixel of interest, and errors obtained from pixels before the pixel of interest distributed by the error allocation means and the density of the pixel of interest; An image processing apparatus comprising: binarization means for binarizing the data obtained by adding the data, using the average density as a threshold value.
【請求項2】前記所定の階調特性は、出力デバイスの階
調特性に対応することを特徴とする請求項1記載の画像
処理装置。
2. The image processing apparatus according to claim 1, wherein the predetermined gradation characteristic corresponds to a gradation characteristic of an output device.
【請求項3】前記補正手段は、前記階調特性を記憶した
テーブルを有することを特徴とする請求項2記載の画像
処理装置。
3. The image processing apparatus according to claim 2, wherein the correction means has a table storing the tone characteristics.
【請求項4】入力した多値の濃度データを2値化して、
該2値化したデータを2値データとして出力する画像処
理装置において、複数の2値データを記憶する記憶手段
と、前記記憶手段で記憶した複数の2値データに基づい
て平均濃度を算出する第1の算出手段と、前記記憶手段
で記憶した複数の2値データに基づいて黒画素数を算出
する第2の算出手段と、前記第1の算出手段で算出した
平均濃度を前記第2の算出手段で算出した黒画素数と所
定の階調特性とに基づいて補正する補正手段と、前記補
正手段で補正した平均濃度に基づいて誤差を算出し、該
算出した誤差を注目画素以降の未2値化画素の濃度デー
タに配分する誤差配分手段と、前記誤差配分手段により
配分された前記注目画素以前の画素から得た誤差と前記
注目画素の濃度データとを加算したデータを、前記平均
濃度を閾値として2値化する2値化手段とを備えること
を特徴とする画像処理装置。
Claim 4: Binarize the input multivalue density data,
An image processing device that outputs the binarized data as binary data includes a storage unit for storing a plurality of binary data, and a storage unit for calculating an average density based on the plurality of binary data stored in the storage unit. a second calculation means for calculating the number of black pixels based on a plurality of binary data stored in the storage means; and a second calculation means for calculating the average density calculated by the first calculation means. a correction means for correcting based on the number of black pixels calculated by the means and a predetermined gradation characteristic; an error is calculated based on the average density corrected by the correction means; An error allocation means that allocates the density data of the valued pixel, and data obtained by adding the error obtained from the pixels before the pixel of interest distributed by the error allocation means and the density data of the pixel of interest, is added to the average density. An image processing device comprising: binarization means for binarizing as a threshold value.
【請求項5】前記所定の階調特性は、出力デバイスの階
調特性に対応することを特徴とする請求項4記載の画像
処理装置。
5. The image processing apparatus according to claim 4, wherein the predetermined gradation characteristics correspond to gradation characteristics of an output device.
【請求項6】前記補正手段は、前記階調特性を記憶した
テーブルを有することを特徴とする請求項5記載の画像
処理装置。
6. The image processing apparatus according to claim 5, wherein said correction means has a table storing said gradation characteristics.
【請求項7】入力した多値の濃度データを2値化して、
該2値化したデータを2値データとして出力する画像処
理装置において、複数の2値データを記憶する記憶手段
と、前記記憶手段で記憶した複数の2値データに基づい
て平均濃度を算出する算出手段と、前記算出手段で算出
した平均濃度を注目画素の濃度データに対応する所定の
階調特性に基づいて補正する補正手段と、前記補正手段
で補正した平均濃度に基づいて誤差を算出し、該算出し
た誤差を前記注目画素以降の未2値化画素の濃度データ
に配分する誤差配分手段と、前記誤差配分手段により配
分された前記注目画素以前の画素から得た誤差と前記注
目画素の濃度データとを加算したデータを、前記補正手
段で補正した平均濃度を閾値として2値化する2値化手
段とを備えることを特徴とする画像処理装置。
Claim 7: Binarize the input multivalue density data,
In an image processing device that outputs the binarized data as binary data, a storage means for storing a plurality of binary data, and a calculation for calculating an average density based on the plurality of binary data stored in the storage means. means, a correction means for correcting the average density calculated by the calculation means based on a predetermined gradation characteristic corresponding to density data of the pixel of interest, and calculating an error based on the average density corrected by the correction means, error allocation means for allocating the calculated error to density data of non-binarized pixels after the pixel of interest, and errors obtained from pixels before the pixel of interest distributed by the error allocation means and the density of the pixel of interest; an image processing apparatus comprising: binarization means for binarizing the data obtained by adding the data, using the average density corrected by the correction means as a threshold value.
【請求項8】前記所定の階調特性は、出力デバイスの階
調特性に対応することを特徴とする請求項7記載の画像
処理装置。
8. The image processing apparatus according to claim 7, wherein the predetermined gradation characteristic corresponds to a gradation characteristic of an output device.
【請求項9】前記補正手段は、前記階調特性を記憶した
テーブルを有することを特徴とする請求項8記載の画像
処理装置。
9. The image processing apparatus according to claim 8, wherein the correction means has a table storing the tone characteristics.
【請求項10】入力した多値の濃度データを2値化して
、該2値化したデータを2値データとして出力する画像
処理装置において、複数の2値データを記憶する記憶手
段と、前記記憶手段で記憶した複数の2値データに基づ
いて平均濃度を算出する第1の算出手段と、前記記憶手
段で記憶した複数の2値データに基づいて黒画素数を算
出する第2の算出手段と、前記第1の算出手段で算出し
た平均濃度を前記第2の算出手段で算出した黒画素数と
注目画素の濃度データに対応する所定の階調特性とに基
づいて補正する補正手段と、前記補正手段で補正した平
均濃度に基づいて誤差を算出し、該算出した誤差を前記
注目画素以降の未2値化画素の濃度データに配分する誤
差配分手段と、前記誤差配分手段により配分された前記
注目画素以前の画素から得た誤差と前記注目画素の濃度
データとを加算したデータを、前記補正手段で補正した
平均濃度を閾値として2値化する2値化手段とを備える
ことを特徴とする画像処理装置。
10. An image processing device that binarizes input multivalued density data and outputs the binarized data as binary data, comprising: a storage means for storing a plurality of binary data; a first calculation means for calculating an average density based on a plurality of binary data stored in the storage means; a second calculation means for calculating the number of black pixels based on a plurality of binary data stored in the storage means; , a correction means for correcting the average density calculated by the first calculation means based on the number of black pixels calculated by the second calculation means and a predetermined gradation characteristic corresponding to the density data of the pixel of interest; error distribution means for calculating an error based on the average density corrected by the correction means, and distributing the calculated error to density data of non-binarized pixels subsequent to the pixel of interest; and The present invention is characterized by comprising a binarization means for binarizing data obtained by adding an error obtained from a pixel before the pixel of interest and the density data of the pixel of interest, using the average density corrected by the correction means as a threshold value. Image processing device.
【請求項11】前記所定の階調特性は、出力デバイスの
階調特性に対応することを特徴とする請求項10記載の
画像処理装置。
11. The image processing apparatus according to claim 10, wherein the predetermined gradation characteristic corresponds to a gradation characteristic of an output device.
【請求項12】前記補正手段は、前記階調特性を記憶し
たテーブルを有することを特徴とする請求項11記載の
画像処理装置。
12. The image processing apparatus according to claim 11, wherein said correction means has a table storing said gradation characteristics.
【請求項13】多値画像データを入力して2値画像デー
タを出力する2値化装置であって、注目画素の2値化誤
差を未処理画素へ配分する誤差配分手段と、前記誤差配
分手段により配分された誤差と原多値画像濃度に基づい
て注目画素の2値判定を行う2値判定手段と、出力機器
の諧調特性を記憶する記憶手段とを備え、前記記憶手段
内のデータに基づき前記誤差配分手段における配分誤差
を補正して出力機器の諧調を制御することを特徴とする
2値化装置。
13. A binarization device for inputting multivalued image data and outputting binary image data, comprising: error allocation means for allocating a binarization error of a pixel of interest to unprocessed pixels; Binary determination means for performing binary determination of a pixel of interest based on the error distributed by the means and the original multilevel image density, and storage means for storing gradation characteristics of an output device; 2. A binarization device, characterized in that the gradation of an output device is controlled by correcting the distribution error in the error distribution means based on the error distribution means.
【請求項14】前記階調特性を記憶したテーブルを有す
ることを特徴とする請求項13記載の画像処理装置。
14. The image processing apparatus according to claim 13, further comprising a table storing the tone characteristics.
JP3025967A 1991-02-20 1991-02-20 Picture processor Withdrawn JPH04265072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3025967A JPH04265072A (en) 1991-02-20 1991-02-20 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3025967A JPH04265072A (en) 1991-02-20 1991-02-20 Picture processor

Publications (1)

Publication Number Publication Date
JPH04265072A true JPH04265072A (en) 1992-09-21

Family

ID=12180502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3025967A Withdrawn JPH04265072A (en) 1991-02-20 1991-02-20 Picture processor

Country Status (1)

Country Link
JP (1) JPH04265072A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071694A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Image processing device, image recording apparatus, program and record medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009071694A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Image processing device, image recording apparatus, program and record medium

Similar Documents

Publication Publication Date Title
JP2500837B2 (en) Pixel value quantization method
US6118547A (en) Image processing method and apparatus
JPH05252386A (en) Halftone processing by error feedback and image dependent enhancement
JPH10271331A (en) Image processing method and device therefor
EP0781034B1 (en) Image processing apparatus and method
JPH08101912A (en) Method for quantization of gray-level pixel data with extended distribution set
EP0591977B1 (en) Image processor and printing apparatus
US5493416A (en) Method combining error diffusion and traditional halftoning with arbitrary screen orientation
EP0725533B1 (en) Processing halftone color images
JPH03286680A (en) Picture processing unit
US6124844A (en) Force field halftoning
US6707578B1 (en) Method and apparatus for improving image presentation in a digital copier
JPH0738767A (en) Image binarizing processor
JP2683085B2 (en) Image processing device
JPH04265072A (en) Picture processor
JP2000270210A (en) Picture processor
JP2851662B2 (en) Image processing device
JP2733314B2 (en) Image processing device
JP2810395B2 (en) Image processing device
JP3708465B2 (en) Image processing method and image processing program
JP2779259B2 (en) Binarization device
JPH02210960A (en) Picture processor
JP2810396B2 (en) Image processing device
JPH04219071A (en) Binarizing device
JPH0318177A (en) Picture processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514