JP3472289B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3472289B2
JP3472289B2 JP2002085221A JP2002085221A JP3472289B2 JP 3472289 B2 JP3472289 B2 JP 3472289B2 JP 2002085221 A JP2002085221 A JP 2002085221A JP 2002085221 A JP2002085221 A JP 2002085221A JP 3472289 B2 JP3472289 B2 JP 3472289B2
Authority
JP
Japan
Prior art keywords
image
unit
correction
signal
image information
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 - Lifetime
Application number
JP2002085221A
Other languages
Japanese (ja)
Other versions
JP2002330291A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002085221A priority Critical patent/JP3472289B2/en
Publication of JP2002330291A publication Critical patent/JP2002330291A/en
Application granted granted Critical
Publication of JP3472289B2 publication Critical patent/JP3472289B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ラスタスキャンし
て得た多値画像データを二値化する画像処理装置および
1ページ内に2値画像と濃淡画像とが混在している原稿
画像を読み取り、得られた多値画情報の2値画像部分に
対してはMTF補正と一定のしきい値による単純2値化
とを実行する一方、濃淡画像部分に対してはガンマ補正
と疑似中間調による2値化とを実行する画像処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for binarizing multi-valued image data obtained by raster scanning and a document image in which a binary image and a grayscale image are mixed in one page. , MTF correction and simple binarization with a fixed threshold value are performed on the obtained binary image portion of the multivalued image information, while gamma correction and pseudo halftone are performed on the grayscale image portion. The present invention relates to an image processing device that executes binarization.

【0002】[0002]

【従来の技術】例えば、ファクシミリ装置などのよう
に、画像データを処理する画像処理装置では、多値画像
データとして原稿画像を読み取り、その多値画像データ
を二値化処理して得た二値画像データを伝送したり、蓄
積するようにしている。
2. Description of the Related Art For example, in an image processing apparatus for processing image data such as a facsimile machine, a binary image obtained by reading an original image as multi-valued image data and binarizing the multi-valued image data. Image data is transmitted or stored.

【0003】多値画像データを二値化処理するとき、当
然のことながら、情報量が欠落するために、二値画像デ
ータを受信側で記録出力して得た受信原稿や、蓄積した
二値画像データを取り出して出力したときなどの出力画
像は、元の原稿画像に比べて画質が劣化する。
When binarizing multi-valued image data, as a matter of course, since the amount of information is lost, the received original obtained by recording and outputting the binary image data and the stored binary The image quality of the output image when the image data is extracted and output is deteriorated as compared with the original document image.

【0004】このように多値画像データを二値画像デー
タに変換したときに画質が劣化するため、その影響を極
力防止できるように、従来から種々の処理が行われてい
る。例えば、非中間調画像については空間周波数補正
(MTF補正)演算処理が適用されてボケ画像を補正し
たり、あるいは、中間調画像についてはより画質を向上
できる誤差拡散法による二値化処理などが行われてい
る。
Since the image quality deteriorates when the multi-valued image data is converted into the binary image data as described above, various processes have been conventionally performed so as to prevent the influence thereof as much as possible. For example, a spatial frequency correction (MTF correction) calculation process is applied to a non-halftone image to correct a blurred image, or a halftone image may be binarized by an error diffusion method that can further improve the image quality. Has been done.

【0005】また、写真などの濃淡画像(中間調画像)
を読み取る場合には、得られる多値画情報に対してガン
マ補正処理などを行ない、その補正した多値画情報に対
して疑似中間調などの各種処理が実行されている。ガン
マ補正は、画像読取部と画像出力部間の階調特性のずれ
を補正する処理である。
Further, a grayscale image (halftone image) such as a photograph
In the case of reading, the gamma correction processing or the like is performed on the obtained multivalued image information, and various processing such as pseudo halftone is executed on the corrected multivalued image information. The gamma correction is a process of correcting the deviation of the gradation characteristic between the image reading unit and the image output unit.

【0006】ところで、原稿画像1ページ内に、2値画
像と濃淡画像が混在している場合には、それぞれの画像
に対して上記各種補正処理を実行している。
By the way, when a binary image and a grayscale image are mixed in one page of the original image, the above-mentioned various correction processes are executed for each image.

【0007】図23は、このような補正処理を実行する
画像処理装置の一例を示したものである。すなわち、原
稿から1ラインずつ読み取る多値画情報は、ラインバッ
ファ1001とガンマ補正部1002とに入力する。ラ
インバッファ1001は、その画情報を一定ライン数分
一時格納する。MTF補正部1003は、格納された画
情報に対して、MTF補正を実行し、2値化部1004
は、その補正した画情報を2値化する。
FIG. 23 shows an example of an image processing apparatus for executing such correction processing. That is, the multi-valued image information read from the original line by line is input to the line buffer 1001 and the gamma correction unit 1002. The line buffer 1001 temporarily stores the image information for a certain number of lines. The MTF correction unit 1003 performs MTF correction on the stored image information, and the binarization unit 1004
Binarizes the corrected image information.

【0008】一方、ガンマ補正部1002は、読み取ら
れた上記多値画情報をガンマ補正し、ラインバッファ1
005はその補正された画情報を一定ライン数分一時格
納する。疑似中間調処理部1006は、その格納された
画情報を疑似中間調処理により2値化する。画像合成部
1007は、その疑似中間調処理部1006と2値化部
1004とでそれぞれ2値化された画情報の内、1ペー
ジ内の2値画像領域の画情報は2値化部1004から入
力し、濃淡画像の画情報は疑似中間調処理部1006か
ら入力して、1ページの画像を形成する。
On the other hand, the gamma correction unit 1002 gamma-corrects the read multi-valued image information, and the line buffer 1
005 temporarily stores the corrected image information for a certain number of lines. The pseudo halftone processing unit 1006 binarizes the stored image information by pseudo halftone processing. The image synthesizing unit 1007 outputs the image information of the binary image area in one page from the binarizing unit 1004 among the image information binarized by the pseudo halftone processing unit 1006 and the binarizing unit 1004. Image information of the grayscale image is input from the pseudo halftone processing unit 1006 to form a one-page image.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、これら
の従来方法では、二値画像の画質を充分に改善できない
という不都合を生じている。
However, these conventional methods have a disadvantage that the image quality of a binary image cannot be sufficiently improved.

【0010】また、上述した従来装置では、1ページ内
の2値画像と濃淡画像とに対して、それぞれ所定の補正
処理を実行する場合、画情報を一時格納するために2つ
のラインバッファ1001,1005が必要であり、装
置コストが高くなるという不都合があった。
Further, in the above-mentioned conventional apparatus, when the predetermined correction processing is executed for the binary image and the grayscale image in one page, two line buffers 1001 are provided for temporarily storing the image information. Since 1005 is required, there is an inconvenience that the device cost becomes high.

【0011】本発明は、かかる不都合を解消するために
なされたものであり、二値画像の画質を良好にできる画
像処理装置を提供することを目的としている。また、1
ページ内の2値画像と濃淡画像とに対して所定の各種補
正処理を実行するさいに、装置コストを低減することが
できる画像処理装置を提供することを目的としている。
The present invention has been made in order to eliminate such inconvenience, and an object of the present invention is to provide an image processing apparatus capable of improving the image quality of a binary image. Also, 1
An object of the present invention is to provide an image processing apparatus capable of reducing the apparatus cost when performing various predetermined correction processes on a binary image and a grayscale image in a page.

【0012】[0012]

【課題を解決するための手段】本発明は、1ページ内に
2値画像と濃淡画像とが混在している原稿画像を読み取
り、得られた多値画情報の2値画像部分に対してはガン
マ補正とMTF補正と一定のしきい値による単純2値化
とを実行する一方、濃淡画像部分に対してはガンマ補正
と疑似中間調による2値化とを実行する画像処理装置に
おいて、原稿画像を読み取って得た多値画情報を入力
し、その多値画情報の低濃度域と高濃度域とでは同一L
og曲線の非線形で、かつ、中間濃度域では線形である
入出力特性の補正特性によりガンマ補正するガンマ補正
手段と、ガンマ補正した上記多値画情報を一時格納する
バッファメモリと、格納された上記多値画情報に対して
MTF補正と上記単純2値化とを実行する2値化画像処
理手段と、上記バッファメモリに格納された上記多値画
情報の濃淡画像に対して疑似中間調による2値化を実行
する濃淡画像処理手段とを備えたものである。
According to the present invention, a document image in which a binary image and a grayscale image are mixed in one page is read, and the binary image portion of the obtained multivalued image information is read. In the image processing apparatus, which performs gamma correction, MTF correction, and simple binarization with a constant threshold value, while performing gamma correction and binarization with pseudo halftone on a grayscale image portion, an original image Input the multi-valued image information obtained by scanning, and in the low and high density areas of the multi-valued image information, the same L
The gamma correction means for performing gamma correction by the input / output characteristic correction characteristic that is non-linear in the og curve and linear in the intermediate density range, a buffer memory for temporarily storing the gamma-corrected multivalued image information, and the stored Binarized image processing means for performing MTF correction and simple binarization on multi-valued image information, and 2 by pseudo halftone for the grayscale image of the multi-valued image information stored in the buffer memory. And a grayscale image processing means for performing the binarization.

【0013】また、前記ガンマ補正手段は、多値画情報
をデジタル信号で入力してガンマ補正した多値画情報を
デジタル信号で出力する手段からなる。
Further, the gamma correction means comprises means for inputting multivalued image information as a digital signal and outputting gamma-corrected multivalued image information as a digital signal.

【0014】また、前記ガンマ補正手段は、多値画情報
をアナログ信号で入力してガンマ補正した多値画情報を
デジタル信号で出力するアナログ・デジタル変換手段か
らなる。
Further, the gamma correction means comprises analog-digital conversion means for inputting multi-valued image information as an analog signal and outputting gamma-corrected multi-valued image information as a digital signal.

【0015】[0015]

【作用】したがって、多値画情報の中間濃度域において
線形の特性でガンマ補正するので、中間濃度の情報が保
持された多値画情報が得られる。2値画像においては、
その多値画情報に対して、MTF補正と単純2値化とを
実行するので、MTF補正の効果が損なわれることな
く、従来と同等の単純2値化の画情報を得ることができ
る。また、濃淡画像においては、上記ガンマ補正した多
値画情報を疑似中間調により2値化するので、従来と同
等の濃淡画像の画情報を得ることができる。そして、こ
の場合、バッファメモリは1つだけでよいので、装置コ
ストが低減する。
Therefore, since the gamma correction is performed with the linear characteristic in the intermediate density area of the multivalued image information, the multivalued image information holding the intermediate density information can be obtained. In a binary image,
Since the MTF correction and the simple binarization are performed on the multi-valued image information, it is possible to obtain the simple binarized image information equivalent to the conventional one without impairing the effect of the MTF correction. Further, in the grayscale image, since the gamma-corrected multivalued image information is binarized by the pseudo halftone, it is possible to obtain the same grayscale image information as the conventional one. In this case, since only one buffer memory is required, the device cost is reduced.

【0016】[0016]

【発明の実施の形態】以下、添付図面を参照しながら、
本発明の実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE INVENTION Referring to the accompanying drawings,
Embodiments of the present invention will be described in detail.

【0017】誤差拡散法による二値化処理では、例え
ば、図1に示すように、二値化処理の対象となっている
注目画素Aを二値化したときの結果に応じて、元々の注
目画素Aの濃度と二値化結果により注目画素Aに割り当
てられた濃度との誤差を算出し、その誤差を、注目画素
Aよりも後に出現する隣接画素B,C,D,Eに、平均
的に振り分けるようにしたものである。
In the binarization processing by the error diffusion method, for example, as shown in FIG. 1, according to the result of binarizing the target pixel A which is the target of the binarization processing, the original attention is given. An error between the density of the pixel A and the density assigned to the target pixel A is calculated based on the binarization result, and the error is averaged to the adjacent pixels B, C, D, and E appearing after the target pixel A. It is intended to be distributed to.

【0018】この誤差拡散法を式で記述すると、次のよ
うになる。
The error diffusion method is described by the following equation.

【0019】f’(xy)=f(xy)+(1/Σa
(ij))Σa(ij)e(x+iy+j)
F '(xy) = f (xy) + (1 / Σa
(Ij)) Σa (ij) e (x + ii + j)

【0020】 e(xy)=f’(xy)−B (f’(xy)≧T)[0020] e (xy) = f '(xy) -B (f' (xy) ≧ T)

【0021】 e(xy)=f’(xy) (f’(xy)<T)[0021] e (xy) = f '(xy) (f' (xy) <T)

【0022】ここで、f(xy)は入力値(入力濃
度)、f’(xy)は補正値(補正濃度)、a(ij)
は拡散係数、e(xy)は二値化誤差、Tは閾値、Bは
黒濃度レベルである。
Here, f (xy) is an input value (input density), f '(xy) is a correction value (correction density), and a (ij).
Is a diffusion coefficient, e (xy) is a binarization error, T is a threshold, and B is a black density level.

【0023】例えば、入力値のビット数が4ビットで注
目画素Aの入力値が中間濃度の7の場合、閾値Tの値を
中間値(8)に設定すると、このときの二値化誤差e
(xy)の値は7になり、二値化誤差を隣接画素B,
C,D,Eに平均的に振り分ける場合、それぞれの隣接
画素B,C,D,Eに拡散される誤差の値は、(7/
4)になる。
For example, when the number of bits of the input value is 4 bits and the input value of the target pixel A is the intermediate density 7, if the value of the threshold T is set to the intermediate value (8), the binarization error e at this time is set.
The value of (xy) becomes 7, and the binarization error is reduced to the adjacent pixel B,
When averaged to C, D, and E, the error value diffused to each adjacent pixel B, C, D, and E is (7 /
4).

【0024】ここで、例えば、誤差拡散処理演算を行な
う回路の構成を簡単にするために、誤差拡散処理演算を
整数演算で行なうと、この拡散される誤差の値(7/
4)は小数点以下の値が切り捨てられた値すなわち1に
なる。
Here, for example, in order to simplify the configuration of the circuit that performs the error diffusion processing operation, if the error diffusion processing operation is performed by an integer operation, the value of this diffused error (7 /
In 4), the value after the decimal point is rounded down, that is, 1.

【0025】したがって、それぞれの隣接画素B,C,
D,Eに拡散される誤差の値が1になり、それらの総和
は4である。このため、注目画素Aの誤差の値(7)と
一致せず、二値化画像の画質が劣化するという不都合
を、従来生じていた。
Therefore, each adjacent pixel B, C,
The value of the error diffused in D and E becomes 1, and the sum of them is 4. Therefore, the error value (7) of the target pixel A does not match, and the image quality of the binarized image is deteriorated, which has been a conventional problem.

【0026】そこで、本発明では、ラスタスキャンによ
り得られた多値画像データのビット数を増やし、その状
態で誤差拡散演算処理を整数演算回路で行なうようにす
ることで、二値化画像の画質が劣化することを防止して
いる。
Therefore, in the present invention, the bit number of the multi-valued image data obtained by the raster scan is increased, and the error diffusion calculation process is performed by the integer calculation circuit in that state, whereby the image quality of the binary image is obtained. Is prevented from deteriorating.

【0027】図2は、本発明の一実施例にかかる画像処
理装置を示している。
FIG. 2 shows an image processing apparatus according to an embodiment of the present invention.

【0028】同図において、画像入力部1は、読取原稿
(図示略)の画像をラスタスキャンして読み取るもので
あり、それにより得られたアナログ画信号AVは、アナ
ログ/デジタル変換器2により、4ビットのデジタル画
信号PDに変換されて、ビット数変換部3に加えられて
いる。
In FIG. 1, an image input section 1 reads an image of a read document (not shown) by raster scanning, and an analog image signal AV obtained by the raster scanning is obtained by an analog / digital converter 2. It is converted into a 4-bit digital image signal PD and added to the bit number conversion unit 3.

【0029】ビット数変換部3は、4ビットのデジタル
画信号PDを、6ビットの拡張画信号DDに変換するも
のであり、その拡張画信号DDは、誤差補正部4に加え
られている。
The bit number conversion unit 3 converts the 4-bit digital image signal PD into a 6-bit extended image signal DD, and the extended image signal DD is added to the error correction unit 4.

【0030】誤差補正部4、二値化部5、および、誤差
演算部6は、上述した誤差拡散演算処理を、6ビットの
拡張画信号DDについて適用するものであり、その演算
は、整数演算により実現されている。そして、二値化部
5から出力される二値化画信号BWは、データ出力部7
を介して、外部装置(図示略)に出力されている。
The error correction unit 4, the binarization unit 5, and the error calculation unit 6 apply the above-described error diffusion calculation process to the 6-bit extended image signal DD, and the calculation is an integer calculation. It is realized by. The binarized image signal BW output from the binarization unit 5 is output to the data output unit 7.
Via an external device (not shown).

【0031】図3は、ビット数変換部3の一例を示して
いる。
FIG. 3 shows an example of the bit number converter 3.

【0032】このビット数変換部3では、4ビットのデ
ジタル画信号PDを、6ビットの拡張画信号DDの上位
4桁にそのまま設定するとともに、拡張画信号DDの下
位2桁には、データB’00(B’は2進数をあらわ
す;以下同じ)を固定的に設定している。
In the bit number converter 3, the 4-bit digital image signal PD is set as it is in the upper 4 digits of the 6-bit extended image signal DD, and the data B is set in the lower 2 digits of the extended image signal DD. '00 (B 'represents a binary number; the same applies below) is fixedly set.

【0033】したがって、図4に示すように、デジタル
画信号PDの値に応じて、拡張画信号DDの値が変化す
る。
Therefore, as shown in FIG. 4, the value of the extended image signal DD changes according to the value of the digital image signal PD.

【0034】ここで、上述したと同じ条件で誤差拡散処
理を実行した場合を考える。上述した条件では、注目画
素Aの入力値が7であり、それに対応する拡張画信号D
Dの値は、28である(図4参照)。
Here, consider a case where the error diffusion processing is executed under the same conditions as described above. Under the conditions described above, the input value of the target pixel A is 7, and the corresponding extended image signal D
The value of D is 28 (see FIG. 4).

【0035】ここで、二値化部5の二値化閾値を中央値
(32)に設定すると、この注目画素Aの濃度は閾値よ
りも小さいので、誤差値は28となる。この誤差値(2
8)を隣接画素B,C,D,Eに均等に振り分けると、
その値は7=(28/4)となる。この値(7)は、整
数値なので、注目画素Aの濃度誤差は、全て隣接画素
B,C,D,Eに対して拡散されることになる。
If the binarization threshold value of the binarization unit 5 is set to the median value (32), the density of this pixel of interest A is smaller than the threshold value, and the error value is 28. This error value (2
8) is equally distributed to the adjacent pixels B, C, D and E,
The value is 7 = (28/4). Since this value (7) is an integer value, all the density errors of the target pixel A are diffused to the adjacent pixels B, C, D and E.

【0036】このようにして、注目画素Aが中間濃度の
値の場合で、誤差拡散処理演算の演算誤差があらわれな
いので、画像全体を考えると、結果的に、画質劣化を防
止することができる。
In this way, since the calculation error of the error diffusion processing calculation does not appear when the target pixel A has the value of the intermediate density, the deterioration of the image quality can be prevented as a result when the entire image is considered. .

【0037】このようにして、本実施例では、誤差拡散
処理による二値画像の画質をより良好なものにすること
ができる。
In this way, in this embodiment, the image quality of the binary image obtained by the error diffusion processing can be improved.

【0038】図5は、ビット数変換部3の他の例を示し
ている。
FIG. 5 shows another example of the bit number converter 3.

【0039】この場合、4ビットのデジタル画信号PD
が、6ビットの拡張画信号DDの上位4ビットに設定さ
れ、乱数発生器3aから出力される2ビットデータが、
拡張画信号DDの下位2ビットに設定されている。
In this case, the 4-bit digital image signal PD
Is set to the upper 4 bits of the 6-bit extended image signal DD, and the 2-bit data output from the random number generator 3a is
It is set to the lower 2 bits of the extended image signal DD.

【0040】この場合には、図3のものと異なり、下位
2ビットのデータが乱数発生器3aの発生データになる
ので、B’00に固定されない。図3のものでは、誤差
拡散処理における黒濃度Bの値を(63)に設定した場
合、拡張画信号DDの最大濃度が(60)なので、二値
画像の濃度が全体的に低くなり、例えば、黒べた部に白
抜けの画が生じる場合がある。これに対し、図5のもの
では、データB’111111(=63)が確率的に発
生するので、かかる事態を回避することができる。
In this case, unlike the one shown in FIG. 3, the data of the lower 2 bits becomes the data generated by the random number generator 3a, and is not fixed to B'00. In the case of FIG. 3, when the value of the black density B in the error diffusion processing is set to (63), the maximum density of the extended image signal DD is (60), so that the density of the binary image becomes low overall. , A blank image may appear on the black solid part. On the other hand, in the case of FIG. 5, since the data B′111111 (= 63) is stochastically generated, such a situation can be avoided.

【0041】図6は、ビット数変換部3のさらに他の例
を示している。
FIG. 6 shows still another example of the bit number converter 3.

【0042】この場合、4ビットのデジタル画信号PD
が、6ビットの拡張画信号DDの上位4桁に設定される
とともに、アンド回路3bでデジタル画信号PDの各ビ
ットの論理積が形成し、そのアンド回路3bの出力が、
拡張画信号DDの下位2桁に設定されている。
In this case, the 4-bit digital image signal PD
Is set to the upper 4 digits of the 6-bit extended image signal DD, and the AND circuit 3b forms a logical product of each bit of the digital image signal PD, and the output of the AND circuit 3b is
It is set in the lower two digits of the extended image signal DD.

【0043】したがって、この場合、図7に示すよう
に、デジタル画信号PDの値に応じて、拡張画信号DD
の値が変化する。すなわち、デジタル画信号PDの値が
B’1111の場合には、拡張画信号DDの値がB’1
11111になり、黒べた部を再現することができる。
Therefore, in this case, as shown in FIG. 7, the extended image signal DD is changed according to the value of the digital image signal PD.
The value of changes. That is, when the value of the digital image signal PD is B'1111, the value of the extended image signal DD is B'1.
It becomes 11111, and the black solid part can be reproduced.

【0044】図8は、ビット数変換部3のさらに別の例
を示している。
FIG. 8 shows still another example of the bit number converter 3.

【0045】この場合、4ビットのデジタル画信号PD
が、6ビットの拡張画信号DDの上位4桁に設定される
とともに、デジタル画信号PDのビット3の値が拡張画
信号DDのビット1に、デジタル画信号PDのビット2
の値が拡張画信号DDのビット0にそれぞれ設定されて
いる。
In this case, the 4-bit digital image signal PD
Is set to the upper 4 digits of the 6-bit extended image signal DD, and the value of bit 3 of the digital image signal PD is set to bit 1 of the extended image signal DD and bit 2 of the digital image signal PD.
Are set in bit 0 of the extended image signal DD.

【0046】したがって、この場合、図9に示すよう
に、デジタル画信号PDの値に応じて、拡張画信号DD
の値が変化する。すなわち、デジタル画信号PDの値が
0,1,2,3,4,5,6,7,8,9,10,1
1,12,13,14,15のとき、拡張画信号DDの
値がそれぞれ0,4,8,12,17,21,25,2
9,34,38,42,46,51,55,59,63
の値を取り、拡張画信号DDの値が、元のデジタル画信
号PDの値を良好に反映したものとなっている。
Therefore, in this case, as shown in FIG. 9, according to the value of the digital image signal PD, the extended image signal DD
The value of changes. That is, the values of the digital image signal PD are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1.
When 1, 12, 13, 14, and 15, the values of the extended image signal DD are 0, 4, 8, 12, 17, 21, 21, 25, and 2, respectively.
9, 34, 38, 42, 46, 51, 55, 59, 63
The value of the extended image signal DD reflects the value of the original digital image signal PD well.

【0047】なお、上述した各実施例では、4ビットの
デジタル画信号PDの値を6ビットの拡張画信号DDに
変換するようにしているが、これらの画信号のビット数
は、これに限ることはない。
In each of the embodiments described above, the value of the 4-bit digital image signal PD is converted into the 6-bit extended image signal DD, but the number of bits of these image signals is not limited to this. There is no such thing.

【0048】ところで、非中間調画像を二値化画像に変
換するとき、読取光学系などの光学特性によりあらわれ
る画像のボケを解消するために、空間周波数補正処理を
行なう。
By the way, when a non-halftone image is converted into a binarized image, a spatial frequency correction process is performed in order to eliminate the blurring of the image that is caused by the optical characteristics of the reading optical system and the like.

【0049】この空間周波数(MTF)補正処理は、例
えば、図10に示したような画素マトリクスを考え、二
値化対象となる注目画素Eの濃度を、それに隣接する画
素B,D,F,Hの濃度を用いて、次式(I)に示す演
算により補正する。
In this spatial frequency (MTF) correction process, for example, a pixel matrix as shown in FIG. 10 is considered, and the density of the target pixel E to be binarized is set to the adjacent pixels B, D, F, and The concentration of H is used for correction by the calculation shown in the following formula (I).

【0050】 E’=3E−(B+D+F+H)/2 … (I)[0050] E '= 3E- (B + D + F + H) / 2 (I)

【0051】また、この空間周波数補正処理の補正の度
合を大きくする場合には、次式(II)に示す演算を適
用する。
To increase the degree of correction in this spatial frequency correction processing, the calculation shown in the following equation (II) is applied.

【0052】 E’=5E−(B+D+F+H) … (II)[0052] E '= 5E- (B + D + F + H) (II)

【0053】一般に、空間周波数補正の度合を強める
と、文字画像等のエッジが鮮明になり、解像度が向上し
た画像となるが、補正度合を強め過ぎると(過補正)地
肌部のノイズが画像にあらわれて、かえって画質が劣化
する。また、原稿の細かい文字や、細かい模様などを読
み取ると、画像のボケの影響が大きく、画像データにモ
アレなどが生じて、解像度が劣化する。
Generally, when the degree of spatial frequency correction is increased, the edge of a character image or the like becomes clear and the resolution is improved. However, when the correction degree is increased too much (overcorrection), background noise is generated in the image. It appears and the image quality deteriorates. Further, when reading fine characters or fine patterns on a document, the effect of image blurring is large, and moire occurs in image data, resulting in deterioration of resolution.

【0054】したがって、画像の細かい部分には、上式
(II)の演算を適用して空間周波数補正の度合を強
め、地肌部を含むその他の部分には、上式(I)の演算
を適用して空間周波数補正の度合を強くしないようにす
ると、画質の良好な画像を得ることができる。
Therefore, the calculation of the above formula (II) is applied to the fine part of the image to enhance the degree of spatial frequency correction, and the calculation of the above formula (I) is applied to the other part including the background part. If the degree of spatial frequency correction is not increased so that an image with good image quality can be obtained.

【0055】図11は、本発明の他の実施例にかかる画
像処理装置を示している。なお、同図において、図2と
同一部分および相当する部分には同一符号を付してい
る。
FIG. 11 shows an image processing apparatus according to another embodiment of the present invention. In the figure, the same parts as those in FIG. 2 and corresponding parts are designated by the same reference numerals.

【0056】同図において、アナログ/デジタル変換器
2から出力される4ビットのデジタル画信号PDは、M
TF(空間周波数)補正部10およびMTFモード判定
部11に加えられている。MTFモード判定部11は、
注目画素Eの濃度に基づいて、MTF演算のモードを判
定するものであり、その判定結果をモード設定信号MD
としてMTF補正部10に出力している。
In the figure, the 4-bit digital image signal PD output from the analog / digital converter 2 is M
It is added to the TF (spatial frequency) correction unit 10 and the MTF mode determination unit 11. The MTF mode determination unit 11
The mode of MTF calculation is determined based on the density of the target pixel E, and the determination result is used as the mode setting signal MD.
Is output to the MTF correction unit 10.

【0057】MTF補正部10は、MTFモード判定部
11から加えられるモード設定信号MDによりモード1
が設定されているときには、上式(I)の演算を実行
し、また、モード設定信号MDによりモード2が設定さ
れているときには、上式(II)の演算を実行して、注
目画素Eの濃度を補正するものであり、その補正結果
は、補正画信号CDとして二値化部5に加えられてい
る。
The MTF correction unit 10 operates in the mode 1 by the mode setting signal MD added from the MTF mode determination unit 11.
Is set, the calculation of the above formula (I) is executed, and when the mode 2 is set by the mode setting signal MD, the calculation of the above formula (II) is executed to set the target pixel E. The density is corrected, and the correction result is added to the binarization unit 5 as a corrected image signal CD.

【0058】二値化部5は、MTF補正部10から出力
される補正画信号CDを、所定の閾値で二値化するもの
であり、その処理結果は、二値化画信号BWとして、デ
ータ出力部7を介し、外部装置に出力される。
The binarization unit 5 binarizes the corrected image signal CD output from the MTF correction unit 10 with a predetermined threshold value, and the processing result is the binarized image signal BW as data. It is output to an external device via the output unit 7.

【0059】図12は、MTFモード判定部11の処理
例を示している。
FIG. 12 shows an example of processing of the MTF mode determination section 11.

【0060】MTF判定部11は、まず、注目画素Eの
濃度が、値5以上かつ10以下の範囲に入っているかど
うかを調べて(判断101)、判断101の結果がYE
Sになるときには、中間濃度であり、この場合には、細
かい文字などの原稿画像の部分なのでMTF補正の度合
を大きくするために、モード2を設定し(処理10
2)、また、判断101の結果がNOになるときには、
それ以外の部分なのでMTF補正の度合をあまり大きく
しないために、モード1を設定する(処理103)。
First, the MTF judging section 11 checks whether or not the density of the target pixel E is within the range of 5 or more and 10 or less (decision 101), and the result of the judgment 101 is YE.
When it becomes S, it is an intermediate density, and in this case, since it is a portion of the original image such as fine characters, mode 2 is set in order to increase the degree of MTF correction (Processing 10).
2) When the result of judgment 101 is NO,
Since it is the other part, the mode 1 is set so that the degree of MTF correction is not so large (process 103).

【0061】以上の構成で、画像入力部1が細かい画像
の部分を読み取っているときには、アナログ画信号AV
の値が中間領域の値を取るので、MTFモード判定部1
1は、上述した処理によりMTF補正モードをモード2
に設定し、モード設定信号MDによりその旨をMTF補
正部10に通知する。
With the above configuration, when the image input unit 1 is reading a portion of a fine image, the analog image signal AV
Since the value of is in the intermediate area, the MTF mode determination unit 1
1 sets the MTF correction mode to the mode 2 by the above-mentioned processing
The mode setting signal MD is notified to the MTF correction unit 10.

【0062】これにより、MTF補正部10は、上式
(II)に示した演算を実行して、注目画素Eの濃度を
補正し、その補正結果を補正画信号CDとして二値化部
5に出力する。
As a result, the MTF correction unit 10 executes the calculation shown in the above equation (II) to correct the density of the target pixel E, and the correction result is sent to the binarization unit 5 as the corrected image signal CD. Output.

【0063】一方、画像入力部1が細かい画像以外の部
分を読み取っているときには、アナログ画信号AVの値
が小さい領域あるいは大きい領域になるので、MTFモ
ード判定部11は、上述した処理によりMTF補正モー
ドをモード1に設定し、モード設定信号MDによりその
旨をMTF補正部10に通知する。
On the other hand, when the image input unit 1 is reading a portion other than a fine image, the area where the value of the analog image signal AV is small or large becomes large. Therefore, the MTF mode judgment unit 11 performs the MTF correction by the above-described processing. The mode is set to the mode 1, and the MTF correction unit 10 is notified by the mode setting signal MD.

【0064】これにより、MTF補正部10は、上式
(I)に示した演算を実行して、注目画素Eの濃度を補
正し、その補正結果を補正画信号CDとして二値化部5
に出力する。
As a result, the MTF correction unit 10 executes the calculation shown in the above formula (I) to correct the density of the target pixel E, and the correction result is used as the corrected image signal CD in the binarization unit 5.
Output to.

【0065】このようにして、本実施例では、読み取っ
ている画像に応じたMTF補正演算を行なうので、二値
画信号BWの画像の画質を向上することができる。
In this way, in this embodiment, since the MTF correction calculation according to the image being read is performed, the image quality of the image of the binary image signal BW can be improved.

【0066】図13は、MTFモード判定部11の他の
処理例を示している。
FIG. 13 shows another processing example of the MTF mode determination section 11.

【0067】この場合、MTFモード判定部11は、注
目画素Eおよびその隣接画素A,B,C,D,F,G,
H,Iの濃度の平均値J(=(A+B+C+D+E+F
+G+H+I)/9)を算出し(処理201)、この平
均値Jの値が5以上かつ10以下の範囲に入っているか
どうかを調べる(判断202)。
In this case, the MTF mode determining section 11 determines the target pixel E and its adjacent pixels A, B, C, D, F, G, and
Average value of H and I concentrations J (= (A + B + C + D + E + F
+ G + H + I) / 9) is calculated (process 201), and it is checked whether or not the value of the average value J is within the range of 5 or more and 10 or less (decision 202).

【0068】判断202の結果がYESになるときには
中間濃度であり、この場合には、細かい文字などの原稿
画像の部分なのでMTF補正の度合を大きくするため
に、モード2を設定し(処理203)、また、判断20
2の結果がNOになるときには、それ以外の部分なので
MTF補正の度合をあまり大きくしないために、モード
1を設定する(処理204)。
When the result of the determination 202 is YES, the density is intermediate, and in this case, since it is a portion of the original image such as fine characters, mode 2 is set in order to increase the degree of MTF correction (process 203). , Again, judgment 20
When the result of 2 is NO, since it is the other part, the mode 1 is set so that the degree of MTF correction is not so large (process 204).

【0069】また、読み取っている部分が細かい画像で
あるか否かを判定するには、上述したように、注目画素
Eの濃度や、注目画素Eおよびその隣接画素A,B,
C,D,F,G,H,Iの濃度の平均値Jを調べる方法
以外のものもある。
Further, in order to judge whether or not the read portion is a fine image, as described above, the density of the target pixel E, the target pixel E and its adjacent pixels A, B,
There is a method other than the method of examining the average value J of the concentrations of C, D, F, G, H, and I.

【0070】例えば、細かい画像にあらわれる特定のパ
ターンを調べて、かかるパターンを検出した場合には、
読み取っている画像が細かい画像の部分であると判定す
ることもできる。この場合にMTFモード判定部11が
実行する処理例を図14に示す。
For example, when a specific pattern appearing in a fine image is examined and such a pattern is detected,
It is also possible to determine that the image being read is a fine image portion. FIG. 14 shows a processing example executed by the MTF mode determination unit 11 in this case.

【0071】まず、注目画素Eおよびその隣接画素A,
B,C,D,F,G,H,Iのマトリクスデータを入力
して(処理301)、そのマトリクスデータが、細かい
画像に特有のパターン(図示略)に一致するかどうかを
パターンマッチングにより調べ(処理302)、いずれ
かのパターンに一致したかどうかを判断する(判断30
3)。
First, the target pixel E and its adjacent pixels A,
Matrix data of B, C, D, F, G, H, and I is input (process 301), and it is checked by pattern matching whether the matrix data matches a pattern (not shown) peculiar to a fine image. (Processing 302), it is determined whether or not any of the patterns matches (determination 30).
3).

【0072】判断303の結果がYESになるときに
は、細かい画像部分なのでMTF補正の度合を大きくす
るために、モード2を設定し(処理304)、また、判
断303の結果がNOになるときには、それ以外の部分
なのでMTF補正の度合をあまり大きくしないために、
モード1を設定する(処理305)。
When the result of judgment 303 is YES, since it is a fine image portion, mode 2 is set in order to increase the degree of MTF correction (process 304), and when the result of judgment 303 is NO, it is set. Since it is a part other than, in order not to increase the degree of MTF correction too much,
Mode 1 is set (process 305).

【0073】ところで、ファクシミリ装置などで読み取
る原稿の中には、写真のような中間調画像と、活字のよ
うな非中間調画像が混在しているものがある。このよう
に、中間調画像と非中間調画像が混在している混在画像
では、全ての領域についてMTF補正演算を実行する
と、中間調画像の部分の画質が劣化するという不都合が
あり、また、全ての領域について、例えば、誤差拡散処
理などの中間調画像モードの二値化処理を実行すると、
非中間調画像の部分の画質が劣化するという不都合があ
る。
By the way, some originals read by a facsimile machine include a mixture of halftone images such as photographs and non-halftone images such as characters. As described above, in a mixed image in which a halftone image and a non-halftone image are mixed, if the MTF correction calculation is executed for all areas, there is a disadvantage that the image quality of the halftone image part is deteriorated, and For example, when the binarization processing of the halftone image mode such as the error diffusion processing is executed for the area of
There is an inconvenience that the image quality of the non-halftone image part is deteriorated.

【0074】図15は、かかる不都合を解消できる本発
明の別な実施例にかかる画像処理装置を示している。な
お、同図において、図2および図11と同一部分および
相当する部分には同一符号を付している。
FIG. 15 shows an image processing apparatus according to another embodiment of the present invention which can eliminate such inconvenience. In the figure, the same parts as those in FIGS. 2 and 11 and corresponding parts are designated by the same reference numerals.

【0075】同図において、アナログ/デジタル変換器
2から出力される4ビットのデジタル画信号PDは、M
TF補正部10、中間調モード二値化部15、および、
像域判定部16に加えられている。
In the figure, the 4-bit digital image signal PD output from the analog / digital converter 2 is M
TF correction unit 10, halftone mode binarization unit 15, and
It is added to the image area determination unit 16.

【0076】MTF補正部10は、モード設定部17か
ら加えられるモード設定信号MMによりモード1が指定
されているときには上式(I)の演算を実行し、また、
モード設定信号MMによりモード2が指定されていると
きには上式(II)の演算を実行して、注目画素Eの濃
度を補正するものであり、その補正結果は、補正画信号
CDとして二値化部5に加えられている。二値化部5
は、所定の閾値に基づいて補正画信号CDを二値化し、
その二値化結果を二値画信号BWとして画像合成部18
の一方の入力端に出力する。
The MTF correction unit 10 executes the calculation of the above formula (I) when the mode 1 is designated by the mode setting signal MM supplied from the mode setting unit 17, and
When the mode 2 is designated by the mode setting signal MM, the calculation of the above formula (II) is executed to correct the density of the target pixel E, and the correction result is binarized as the corrected image signal CD. Added to Part 5. Binarization unit 5
Is a binarized correction image signal CD based on a predetermined threshold,
The binarization result is used as a binary image signal BW, and the image composition unit 18
Output to one input terminal of.

【0077】中間調モード二値化部15は、入力したデ
ジタル画信号PDに基づいて、上述した誤差拡散演算を
実行するものであり、それにより得られた二値画信号B
Xは、画像合成部18の他方の入力端に加えられてい
る。なお、中間調モード二値化部15の処理のための遅
延時間と、MTF補正部10および二値化部5の処理の
ための遅延時間は一致している。
The halftone mode binarization unit 15 executes the above-mentioned error diffusion calculation based on the inputted digital image signal PD, and the binary image signal B obtained thereby.
X is added to the other input end of the image composition unit 18. Note that the delay time for the processing of the halftone mode binarization unit 15 and the delay time for the processing of the MTF correction unit 10 and the binarization unit 5 match.

【0078】像域判定部16は、入力したデジタル画信
号PDに基づいて、そのデジタル画信号PDに対応した
画素が、中間調領域に属しているか、あるいは、非中間
調領域に属しているかを判定する周知の像域判定演算を
実行するものであり、それにより得られた像域判定信号
KKを画像合成部18に出力する。なお、この場合、像
域判定部16は、画像の文字画像近傍のみを文字領域、
すなわち、非中間調領域として判定する。
Based on the input digital image signal PD, the image area determination unit 16 determines whether the pixel corresponding to the digital image signal PD belongs to the halftone area or the non-halftone area. A well-known image area determination calculation is performed, and the image area determination signal KK obtained by this is output to the image synthesizing unit 18. Note that in this case, the image area determination unit 16 determines that only the vicinity of the character image of the image is
That is, it is determined as a non-halftone area.

【0079】画像合成部18は、モード設定信号MMに
よりモード2が設定されている状態では、像域判定部1
6より加えられている像域判定信号KKが中間調領域を
あらわしているときには、中間調モード二値化部15か
ら出力されている二値画信号BXを選択するとともに、
像域判定信号KKが非中間調領域をあらわしているとき
には、二値化部5が出力する二値画信号BWを選択する
ものであり、その選択した二値画信号は、データ出力部
7を介し、外部装置に出力されている。また、画像合成
部18は、モード設定信号MMによりモード1が設定さ
れている状態では、二値化部5から出力されている二値
画信号BWを常時選択し、データ出力部7に出力してい
る。
In the state where the mode 2 is set by the mode setting signal MM, the image synthesizing section 18 determines the image area determining section 1
When the image area determination signal KK added from 6 represents the halftone area, the binary image signal BX output from the halftone mode binarizing unit 15 is selected, and
When the image area determination signal KK represents a non-halftone area, the binary image signal BW output by the binarizing unit 5 is selected, and the selected binary image signal is output to the data output unit 7. It is output to an external device via the. Further, the image synthesizing unit 18 always selects the binary image signal BW output from the binarizing unit 5 and outputs it to the data output unit 7 in the state where the mode 1 is set by the mode setting signal MM. ing.

【0080】また、モード設定部17は、図示しない外
部制御装置より加えられる画像種別信号SSに基づい
て、モード設定信号MMの値を制御するものであり、そ
のモード設定信号MMは、MTF補正部10および画像
合成部18に加えられている。この場合、画像種別信号
SSにより、混在画像の原稿であることが指定されてい
るときには、モード設定信号MMにモード2をあらわす
内容をセットし、また、画像種別信号SSにより、文字
画像の原稿であることが指定されているときには、モー
ド設定信号MMにモード1をあらわす内容をセットす
る。
The mode setting unit 17 controls the value of the mode setting signal MM based on the image type signal SS supplied from an external control device (not shown), and the mode setting signal MM is the MTF correction unit. 10 and the image composition unit 18. In this case, when the image type signal SS designates a mixed image original, the contents indicating the mode 2 are set in the mode setting signal MM, and the image type signal SS indicates a character image original. If it is specified that the mode 1 is set, the content indicating the mode 1 is set in the mode setting signal MM.

【0081】以上の構成で、画像種別信号SSにより混
在画像の原稿が指定されているときには、モード設定部
17は、モード2をあらわすモード設定信号MMを出力
し、これにより、MTF補正部10は、その原稿につい
ては、モード2のMTF補正演算を適用する。
With the above configuration, when a mixed image original is designated by the image type signal SS, the mode setting section 17 outputs the mode setting signal MM representing the mode 2, whereby the MTF correcting section 10 is caused. The mode 2 MTF correction calculation is applied to the original.

【0082】画像入力部1の画像読取動作が開始される
と、画像入力部1から出力されるアナログ画信号AVが
アナログ/デジタル変換器2により対応するデジタル画
信号PDに変換され、MTF補正部10、中間調モード
二値化部15、および、像域判定部16に加えられる。
When the image reading operation of the image input unit 1 is started, the analog image signal AV output from the image input unit 1 is converted by the analog / digital converter 2 into the corresponding digital image signal PD, and the MTF correction unit. 10, the halftone mode binarization unit 15, and the image area determination unit 16.

【0083】MTF補正部10は、この場合には、モー
ド2のMTF補正演算を実行して補正画信号CDを形成
し、この補正画信号CDに対応した二値画信号BWが二
値化部5より順次出力されて画像合成部18の一方の入
力端に加えられている。
In this case, the MTF correction unit 10 executes the MTF correction calculation of mode 2 to form the corrected image signal CD, and the binary image signal BW corresponding to this corrected image signal CD is converted into the binarization unit. 5 are sequentially output and added to one input end of the image synthesizing unit 18.

【0084】また、中間調モード二値化部15は、デジ
タル画信号PDに基づいて、誤差拡散処理演算を実行
し、それにより得た二値画信号BXが順次出力されて画
像合成部18の他方の入力端に加えられている。
Further, the halftone mode binarization unit 15 executes the error diffusion processing operation based on the digital image signal PD, and the binary image signals BX obtained thereby are sequentially output to the image synthesis unit 18. It is added to the other input.

【0085】この状態で、像域判定部16は、像域判定
処理を実行して、読取中の画像が中間調領域であるか、
あるいは、非中間調領域であるかをあらわす像域判定信
号KKを出力している。
In this state, the image area determination unit 16 executes the image area determination processing to determine whether the image being read is a halftone area.
Alternatively, the image area determination signal KK indicating whether it is a non-halftone area is output.

【0086】したがって、画像合成部18は、この場
合、モード設定信号MMによりモード2が指定されてい
るので、中間調領域であると判定された領域について
は、中間調モード二値化部15から出力される二値画信
号BXを選択し、また、非中間調領域であると判定され
た領域については、二値化部5から出力された二値画信
号BWを選択して、データ出力部7に出力する。
Therefore, in this case, since the mode 2 is designated by the mode setting signal MM, the image synthesizing section 18 determines from the halftone mode binarizing section 15 for the area determined to be the halftone area. The binary image signal BX to be output is selected, and for the region determined to be the non-halftone region, the binary image signal BW output from the binarizing unit 5 is selected to output the data output unit. Output to 7.

【0087】また、画像種別信号SSにより文字画像の
原稿が指定されているときには、モード設定部17は、
モード1をあらわすモード設定信号MMを出力し、これ
により、MTF補正部10は、モード1のMTF補正演
算を実行して補正画信号CDを出力する。
Further, when the original of the character image is designated by the image type signal SS, the mode setting section 17
A mode setting signal MM representing the mode 1 is output, whereby the MTF correction unit 10 executes the MTF correction calculation of the mode 1 and outputs the corrected image signal CD.

【0088】それとともに、この場合には、画像合成部
18は、モード設定信号MMによりモード1が指定され
ているので、二値化部5から出力される二値画信号BW
を選択し、データ出力部7に出力する。
In addition, in this case, since the mode 1 is designated by the mode setting signal MM, the image synthesizing unit 18 outputs the binary image signal BW output from the binarizing unit 5.
Is selected and output to the data output unit 7.

【0089】このようにして、本実施例では、混在画像
における文字画像の近傍については、モード2のMTF
補正演算が適用されるので、そのエッジ部が鮮明とな
り、非常に画質が良好になる。この場合には、それ以外
の部分の画像は、中間調領域として判定されるために、
中間調モード二値化部15から出力される二値画信号B
Xが選択されるので、地肌汚れが目立つような画像が出
力されることが防止される。また、混在画像でない場合
には、モード1のMTF補正演算が適用されるので、適
切な画質の画像が出力される。
As described above, in this embodiment, the vicinity of the character image in the mixed image is the MTF of mode 2.
Since the correction calculation is applied, the edge portion becomes clear and the image quality becomes very good. In this case, since the image of the other part is determined as the halftone area,
Binary image signal B output from the halftone mode binarization unit 15
Since X is selected, it is possible to prevent the output of an image in which the background stain is conspicuous. If the image is not a mixed image, the MTF correction calculation in Mode 1 is applied, so that an image with an appropriate image quality is output.

【0090】ところで、この実施例では、混在画像にお
ける文字画像の近傍でモード2のMTF補正演算を行な
うことで、文字画像のエッジ部を鮮明に再生できるよう
にしているが、二値化処理の閾値を小さい値に設定する
ようにしても、同様の効果を得ることができる。
By the way, in this embodiment, the edge portion of the character image can be reproduced clearly by performing the MTF correction operation of mode 2 in the vicinity of the character image in the mixed image. Even if the threshold value is set to a small value, the same effect can be obtained.

【0091】図16は、本発明のさらに別な実施例にか
かる画像処理装置を示している。なお、同図において、
図15と同一部分および相当する部分には、同一符号を
付している。
FIG. 16 shows an image processing apparatus according to still another embodiment of the present invention. In the figure,
The same parts as those in FIG. 15 and corresponding parts are designated by the same reference numerals.

【0092】同図において、MTF補正部10は、常に
上述したモード1のMTF補正演算を実行するものであ
り、それにより得られた補正画信号CDは、二値化部5
に加えられている。
In the figure, the MTF correction unit 10 always executes the above-described mode 1 MTF correction calculation, and the corrected image signal CD obtained by the MTF correction calculation is the binarization unit 5.
Has been added to.

【0093】二値化部5は、モード設定信号MMにより
モード1が設定されているときには、基準閾値(例え
ば、8)を適用して、補正画信号CDを二値化処理する
とともに、モード設定信号MMによりモード2が設定さ
れているときには、小閾値(例えば、6)を適用して、
補正画信号CDを二値化処理するものであり、その処理
結果は、二値画信号BWとして画像合成部18に加えら
れている。
When the mode 1 is set by the mode setting signal MM, the binarizing unit 5 applies the reference threshold value (for example, 8) to binarize the corrected image signal CD and set the mode. When mode 2 is set by the signal MM, a small threshold value (for example, 6) is applied,
The corrected image signal CD is binarized, and the processing result is added to the image synthesizing unit 18 as a binary image signal BW.

【0094】以上の構成で、画像種別信号SSにより混
在画像の原稿が指定されているときには、モード設定部
17は、モード2をあらわすモード設定信号MMを出力
し、これにより、二値化部5は、その原稿については小
閾値を適用する。
With the above configuration, when the original of the mixed image is designated by the image type signal SS, the mode setting section 17 outputs the mode setting signal MM representing the mode 2, whereby the binarization section 5 is outputted. Applies a small threshold for the original.

【0095】画像入力部1の画像読取動作が開始される
と、画像入力部1から出力されるアナログ画信号AVが
アナログ/デジタル変換器2により対応するデジタル画
信号PDに変換され、MTF補正部10、中間調モード
二値化部15、および、像域判定部16に加えられる。
When the image reading operation of the image input section 1 is started, the analog image signal AV output from the image input section 1 is converted by the analog / digital converter 2 into the corresponding digital image signal PD, and the MTF correction section. 10, the halftone mode binarization unit 15, and the image area determination unit 16.

【0096】MTF補正部10は、モード1のMTF補
正演算を実行して補正画信号CDを形成し、二値化部5
は、この補正画信号CDに小閾値を適用して二値画信号
BWを形成し、この二値画信号BWは、画像合成部18
の一方の入力端に加えられている。
The MTF correction section 10 executes the MTF correction calculation of mode 1 to form the corrected image signal CD, and the binarization section 5
Applies a small threshold value to the corrected image signal CD to form a binary image signal BW.
Has been added to one input end.

【0097】また、中間調モード二値化部15は、デジ
タル画信号PDに基づいて、誤差拡散処理演算を実行
し、それにより得た二値画信号BXが順次出力されて画
像合成部18の他方の入力端に加えられている。
Further, the halftone mode binarization unit 15 executes the error diffusion processing operation based on the digital image signal PD, and the binary image signals BX obtained thereby are sequentially output to the image synthesis unit 18. It is added to the other input.

【0098】この状態で、像域判定部16は、像域判定
処理を実行して、読取中の画像が中間調領域であるか、
あるいは、非中間調領域であるかをあらわす像域判定信
号KKを出力している。
In this state, the image area determination unit 16 executes the image area determination processing to determine whether the image being read is a halftone area.
Alternatively, the image area determination signal KK indicating whether it is a non-halftone area is output.

【0099】したがって、画像合成部18は、この場
合、モード設定信号MMによりモード2が指定されてい
るので、中間調領域であると判定された領域について
は、中間調モード二値化部15から出力される二値画信
号BXを選択し、また、非中間調領域であると判定され
た領域については、二値化部5から出力された二値画信
号BWを選択して、データ出力部7に出力する。
Therefore, in this case, since the mode 2 is designated by the mode setting signal MM, the image synthesizing section 18 determines from the halftone mode binarizing section 15 for the area determined to be the halftone area. The binary image signal BX to be output is selected, and for the region determined to be the non-halftone region, the binary image signal BW output from the binarizing unit 5 is selected to output the data output unit. Output to 7.

【0100】また、画像種別信号SSにより文字画像の
原稿が指定されているときには、モード設定部17は、
モード1をあらわすモード設定信号MMを出力し、これ
により、二値化部5は、標準閾値を用いて補正画信号C
Dを二値化処理する。
Further, when the original of the character image is designated by the image type signal SS, the mode setting section 17
A mode setting signal MM representing the mode 1 is output, whereby the binarization unit 5 uses the standard threshold to correct the corrected image signal C.
Binarize D.

【0101】それとともに、この場合には、画像合成部
18は、モード設定信号MMによりモード1が指定され
ているので、二値化部5から出力される二値画信号BW
を選択し、データ出力部7に出力する。
In addition, in this case, since the mode 1 is designated by the mode setting signal MM, the image synthesizing unit 18 outputs the binary image signal BW output from the binarizing unit 5.
Is selected and output to the data output unit 7.

【0102】このようにして、本実施例では、混在画像
における文字画像の近傍については、小閾値が二値化部
5で適用されるので、そのエッジ部が鮮明となり、非常
に画質が良好になる。この場合には、それ以外の部分の
画像は、中間調領域として判定されるために、中間調モ
ード二値化部15から出力される二値画信号BXが選択
されるので、地肌汚れが目立つような画像が出力される
ことが防止される。
As described above, in the present embodiment, since the small threshold value is applied by the binarizing unit 5 in the vicinity of the character image in the mixed image, its edge portion becomes clear and the image quality becomes very good. Become. In this case, since the image of the other portion is determined as the halftone area, the binary image signal BX output from the halftone mode binarization unit 15 is selected, and thus the background stain is conspicuous. It is possible to prevent such an image from being output.

【0103】なお、上述した実施例では、デジタル画信
号PDのビット数を4に設定しているが、このビット数
はこれに限ることはない。
Although the number of bits of the digital image signal PD is set to 4 in the above embodiment, the number of bits is not limited to this.

【0104】また、上述した実施例では、中間調モード
二値化部が誤差拡散法を適用した二値化処理を行なって
いるが、それ以外の中間調モードの二値化処理、例え
ば、ディザマトリクスを用いた二値化処理を適用するこ
ともできる。
Further, in the above-described embodiment, the halftone mode binarization unit performs the binarization process using the error diffusion method. However, other halftone mode binarization processes, for example, dither. Binarization processing using a matrix can also be applied.

【0105】図17は、本発明の別な実施例にかかる画
像処理装置のブロック構成図を示したものである。図に
おいて、ラインセンサ1101は、原稿画像を1ライン
ずつ読み取ってアナログ信号の画信号を取り出すもので
ある。A/D(アナログ/デジタル)変換部1102
は、その画信号をデジタル信号である多値画情報に変換
するものである。ガンマ補正部1103は、多値画情報
をガンマ補正するもので、ガンマテーブル1104は、
そのガンマ補正における入出力特性を記憶するものであ
る。
FIG. 17 is a block diagram showing the arrangement of an image processing apparatus according to another embodiment of the present invention. In the figure, a line sensor 1101 reads an original image line by line and extracts an image signal of an analog signal. A / D (analog / digital) converter 1102
Is for converting the image signal into multi-valued image information which is a digital signal. The gamma correction unit 1103 performs gamma correction on multi-valued image information, and the gamma table 1104
The input / output characteristic in the gamma correction is stored.

【0106】ラインバッファ1105は、多値画情報を
一定ライン数一時格納するものである。MTF補正部1
106は、多値画情報をMTF補正するもので、2値化
部1107は、多値画情報を一定のしきい値により単純
に2値化するものである。疑似中間調2値化部1108
は、多値画情報をディザ処理あるいは誤差拡散処理など
の既知処理により2値化するものである。
The line buffer 1105 temporarily stores multi-valued image information for a fixed number of lines. MTF correction unit 1
Reference numeral 106 denotes MTF correction of the multi-valued image information, and the binarization unit 1107 simply binarizes the multi-valued image information with a constant threshold value. Pseudo halftone binarization unit 1108
Is for binarizing multi-valued image information by known processing such as dither processing or error diffusion processing.

【0107】像域判別部1109は、多値画情報の各画
素が原稿画像の2値画像領域であるか濃淡画像領域であ
るかを判別するものである。画像合成部1110は、2
値化部1107と疑似中間調2値化部1108とから選
択的に多値画情報を取り出して1ページの画像として合
成するものである。画像出力部1111は、画像を表示
または記録紙に記録するものである。
The image area discriminating section 1109 discriminates whether each pixel of the multivalued image information is a binary image area or a grayscale image area of the original image. The image composition unit 1110 uses 2
Multivalued image information is selectively taken out from the binarizing unit 1107 and the pseudo halftone binarizing unit 1108 and combined as a one-page image. The image output unit 1111 displays or records an image on recording paper.

【0108】図18は、MTF補正部1106のブロッ
ク構成図を示している。図において、画素抽出回路11
06aは、注目する1画素を中心とする9画素の画情報
を抽出するものである。和演算回路1106bは、入力
する4画素の各濃度レベルの和を算出するもので、右シ
フト回路1106cは、入力する2進数のビットデータ
を下位側に1ビットシフトすることにより数値を1/2
にするものである。左シフト回路1106dは、入力す
る2進数のビットデータを上位側に1ビットシフトする
ことにより数値を2倍にするものである。和演算回路1
106eは、2つの濃度信号の和を算出するもので、差
演算回路1106fは、2つの濃度信号の差を算出する
ものである。
FIG. 18 shows a block diagram of the MTF correction unit 1106. In the figure, the pixel extraction circuit 11
Reference numeral 06a is for extracting image information of 9 pixels centered on one pixel of interest. The sum operation circuit 1106b calculates the sum of the respective density levels of the four input pixels, and the right shift circuit 1106c shifts the input binary bit data by 1 bit to the lower side to reduce the numerical value by half.
It is something to do. The left shift circuit 1106d doubles the numerical value by shifting the input binary bit data by 1 bit to the upper side. Sum operation circuit 1
106e is for calculating the sum of two density signals, and the difference calculation circuit 1106f is for calculating the difference between two density signals.

【0109】以上の構成で、いま、本実施例の画像処理
装置が動作を開始したとすると、ラインセンサ1101
は、原稿画像から読み取った画信号を1ラインずつ順次
出力する。A/D変換部1102は、その画信号を一定
ビット数のデジタル信号つまり多値画情報に変換する。
ガンマ補正部1103は、その多値画情報をガンマテー
ブル1104に記憶されている入出力特性にしたがって
ガンマ補正する。
With the above arrangement, if the image processing apparatus of this embodiment starts operation, the line sensor 1101
Outputs the image signals read from the original image one line at a time. The A / D converter 1102 converts the image signal into a digital signal having a fixed number of bits, that is, multi-valued image information.
The gamma correction unit 1103 gamma-corrects the multi-valued image information according to the input / output characteristics stored in the gamma table 1104.

【0110】いま、例えば、A/D変換部1102が、
多値画情報を、白濃度を「0」、黒濃度を「255」と
して256階調で出力し、ガンマ補正部1103は、白
濃度を「0」、黒濃度を「63」として64階調で出力
するものとする。この場合、ガンマ補正部1103は、
図19に示す特性曲線aにしたがって、A/D変換部1
102から入力する多値画情報を濃度補正する。すなわ
ち、同図特性曲線bは、従来の補正特性であり、本実施
例では、画情報濃度が白に近い低濃度域と黒に近い高濃
度域とにおいては、従来と同様に非線形特性で濃度補正
する一方、それらの中間濃度域においては、入力に対し
て出力が比例する線形特性で多値画情報を出力する。
Now, for example, the A / D converter 1102
The multi-valued image information is output in 256 gradations with white density of "0" and black density of "255". The gamma correction unit 1103 sets the white density of "0" and black density of "63" in 64 gradations. Shall be output. In this case, the gamma correction unit 1103
According to the characteristic curve a shown in FIG. 19, the A / D conversion unit 1
The density of the multivalued image information input from 102 is corrected. That is, the characteristic curve b in the figure is a conventional correction characteristic, and in the present embodiment, in the low density region where the image information density is close to white and the high density region where it is close to black, the density is non-linear as in the conventional case. On the other hand, in the intermediate density range, the multi-valued image information is output with a linear characteristic in which the output is proportional to the input.

【0111】ラインバッファ1105は、このような濃
度補正された多値画情報を、例えば、2ライン分という
ような一定ライン数だけ一時記憶する。MTF補正部1
106の画素抽出回路1106aは、原稿画像から読み
取った最新の1ラインとその前の2ライン分の画情報か
ら、図10示したテンプレート(画素マトリクス)にし
たがって、画素A〜Iまでの9画素を順次抽出する。な
お、この抽出画素の中央の画素Eが、処理対象の注目画
素となる。
The line buffer 1105 temporarily stores the density-corrected multi-valued image information for a fixed number of lines such as two lines. MTF correction unit 1
The pixel extraction circuit 1106a of 106 extracts 9 pixels from pixels A to I according to the template (pixel matrix) shown in FIG. 10 from the latest one line read from the original image and the image information of the two lines before that. Extract sequentially. The central pixel E of the extracted pixels is the target pixel to be processed.

【0112】和演算回路1106bは、抽出した画素
B,D,F,Hの4画素の各画素濃度の和を2進数で算
出する。右シフト回路1106cは、算出された2進数
のデータを下位に1ビットシフトすることによりをその
データ値を1/2にする。左シフト回路1106dは、
注目画素Eの濃度データを上位に1ビットシフトするこ
とにより、そのデータ値を2倍する。和演算回路110
6eは、その2倍したデータ値と元のデータ値との和つ
まり元のデータ値の3倍の値を算出する。そして、差演
算回路1106fは、和演算回路1106eが出力する
データ値から、右シフト回路1106cが出力するデー
タ値を引いた値を補正画素E’として算出する。
The sum calculation circuit 1106b calculates the sum of the pixel densities of the four extracted pixels B, D, F and H in binary. The right shift circuit 1106c shifts the calculated binary data to the lower bit by 1 bit to reduce the data value to ½. The left shift circuit 1106d is
By shifting the density data of the pixel of interest E to the upper bit by 1 bit, the data value is doubled. Sum operation circuit 110
6e calculates the sum of the doubled data value and the original data value, that is, the tripled value of the original data value. Then, the difference calculation circuit 1106f calculates a value obtained by subtracting the data value output by the right shift circuit 1106c from the data value output by the sum calculation circuit 1106e, as a correction pixel E ′.

【0113】これにより、上記各画素濃度をB,D,
E,F,Hとすると、次式に示す既知演算にしたがって
MTF補正された補正画素E’が得られる。
As a result, the pixel densities of B, D, and
If E, F, and H are set, the corrected pixel E ′ that has been MTF corrected according to the known calculation shown in the following equation is obtained.

【0114】E’=3・E−(B+D+F+H)/2E '= 3.E- (B + D + F + H) / 2

【0115】MTF補正部1106は、このようにMT
F補正した多値画情報を出力する。2値化部1107
は、その多値画情報を一定のしきい値との比較により単
純に2値化する。
The MTF correction unit 1106 thus sets the MT
The F-corrected multivalued image information is output. Binarization unit 1107
Simply binarizes the multi-valued image information by comparing it with a fixed threshold value.

【0116】一方、疑似中間調2値化部1108は、ラ
インバッファ1105に格納された画情報を所定のディ
ザ処理あるいは誤差拡散処理により2値化する。
On the other hand, the pseudo halftone binarization unit 1108 binarizes the image information stored in the line buffer 1105 by a predetermined dither process or error diffusion process.

【0117】ところで、いま原稿画像の1ページ内に
は、文字などの2値画像と写真などの濃淡画像とが混在
しているものとする。像域判別部1109は、既知技術
により、画情報の各画素が2値画像領域であるか濃淡画
像領域があるかを判別する。
Now, it is assumed that one page of an original image contains a binary image such as characters and a grayscale image such as a photograph. The image area determination unit 1109 determines whether each pixel of the image information is a binary image area or a grayscale image area by a known technique.

【0118】画像合成部1110は、その判別結果に基
づいて、2値画像領域の画情報は2値化部1107から
入力する一方、濃淡画像領域の画情報は疑似中間調2値
化部1108から入力して、1ページの画情報に合成す
る。画像出力部111は、合成された1ページの画情報
を表示あるいは記録する。
Based on the discrimination result, the image synthesizing unit 1110 inputs the image information of the binary image area from the binarizing unit 1107, and the image information of the grayscale image area from the pseudo halftone binarizing unit 1108. Input and combine into one page of image information. The image output unit 111 displays or records the combined image information of one page.

【0119】以上のように、本実施例では、原稿画像を
読み取って得た多値画情報は、濃度の薄い領域と濃い領
域とにおいては、従来と同様に非線形で濃度補正する一
方、中間濃度では、線形特性でガンマ補正している。そ
して、その補正した多値画情報をバッファメモリに一時
格納し、その多値画情報に対して、MTF補正と単純2
値化、および、疑似中間調による2値化を実行してい
る。
As described above, in the present embodiment, the multi-valued image information obtained by reading the original image is subjected to the non-linear density correction in the light density area and the dark area in the same manner as the conventional method, while the intermediate density Then, gamma correction is performed with linear characteristics. Then, the corrected multi-valued image information is temporarily stored in the buffer memory, and the multi-valued image information is subjected to MTF correction and simple 2
Binarization and binarization by pseudo halftone are executed.

【0120】上記ガンマ補正は、多値画情報の中間濃度
域において線形特性で実行するので、中間濃度の情報を
保持した多値画情報が得られる。そして、2値画像領域
では、その多値画情報に対して、MTF補正と単純2値
化とを実行するので、MTF補正の効果が損なわれず、
従来と同等の2値画情報を得ることができる。また、濃
淡画像領域では、ガンマ補正した多値画情報を疑似中間
調により2値化するので、従来と同等の濃淡画像の画情
報を得ることができる。
Since the gamma correction is executed with a linear characteristic in the intermediate density area of the multivalued image information, the multivalued image information holding the intermediate density information can be obtained. In the binary image area, MTF correction and simple binarization are performed on the multi-valued image information, so that the effect of MTF correction is not impaired.
It is possible to obtain the same binary image information as that of the related art. Further, in the grayscale image area, the gamma-corrected multivalued image information is binarized by the pseudo halftone, so that the grayscale image information equivalent to the conventional one can be obtained.

【0121】また、この場合、バッファメモリ1005
(ラインバッファ1105)は、1つだけでよいので、
装置コストを低減することができる。また、ガンマ補正
を実行するためのガンマ補正部1103およびガンマテ
ーブル1104は、A/D変換部1102とは独立した
回路であるので、従来のA/D変換部1102をそのま
ま使用することができる。
In this case, the buffer memory 1005
Since only one (line buffer 1105) is required,
The device cost can be reduced. Further, since the gamma correction unit 1103 and the gamma table 1104 for executing the gamma correction are circuits independent of the A / D conversion unit 1102, the conventional A / D conversion unit 1102 can be used as it is.

【0122】次に、本発明のさらに別な実施例を説明す
る。
Next, another embodiment of the present invention will be described.

【0123】本実施例では、図20に示すように、ライ
ンセンサ1101の出力は、A/D変換部1112に入
力し、そのA/D変換部1112の出力は、直接ライン
バッファ1105に入力するようにしている。
In this embodiment, as shown in FIG. 20, the output of the line sensor 1101 is input to the A / D conversion unit 1112, and the output of the A / D conversion unit 1112 is directly input to the line buffer 1105. I am trying.

【0124】図21は、A/D変換部1112の回路構
成図を示したものである。図において、入力信号は、複
数のコンパレータC1〜Cnの+側入力端子にそれぞれ
入力されている。このコンパレータC1〜Cnの個数n
は、取り出す多値画情報の階調数に等しいものである。
コンパレータC1の−側入力端子とコンパレータC2の
−側入力端子との間には抵抗R1、コンパレータC2と
C3の同端子間には抵抗R2というように、隣接する各
コンパレータ“Ci”と“Ci+1”の−側入力端子間
には、それぞれ抵抗Riが接続されている。そして、コ
ンパレータCnの−側入力端子に接続された抵抗Rnの
他端には、一定の参照電圧Vrが印加されている。
FIG. 21 is a circuit configuration diagram of the A / D converter 1112. In the figure, input signals are input to the + side input terminals of the plurality of comparators C1 to Cn, respectively. The number n of the comparators C1 to Cn
Is equal to the number of gradations of the extracted multivalued image information.
Each of the adjacent comparators "Ci" and "Ci + 1" has a resistor R1 between the negative input terminal of the comparator C1 and the negative input terminal of the comparator C2, and a resistor R2 between the same terminals of the comparators C2 and C3. A resistor Ri is connected between the negative side input terminals of each. Then, a constant reference voltage Vr is applied to the other end of the resistor Rn connected to the-side input terminal of the comparator Cn.

【0125】コンパレータC1〜Cnの各出力は、エン
コーダ回路ENCに入力され、エンコーダ回路ENCか
ら、ビットD0〜D5の6ビットで多値画情報が出力さ
れている。
The outputs of the comparators C1 to Cn are input to the encoder circuit ENC, and the encoder circuit ENC outputs multivalued image information in 6 bits of bits D0 to D5.

【0126】以上の構成で、いま本実施例の画像処理装
置が動作を開始したとすると、ラインセンサ1101
は、原稿画像から読み取った画信号を1ラインずつ順次
出力する。この画信号は、A/D変換部1112内のコ
ンパレータC1〜Cnの+側入力端子にそれぞれ入力さ
れる。
If the image processing apparatus of the present embodiment having the above-described structure starts operation, the line sensor 1101
Outputs the image signals read from the original image one line at a time. This image signal is input to the + side input terminals of the comparators C1 to Cn in the A / D converter 1112, respectively.

【0127】入力される画信号は、画像の“白”で電圧
レベルが高く、“黒”で電圧レベルが低いものである。
この場合の画像“白”の電圧レベルが参照電圧Vrとし
て設定される。この参照電圧Vrが各抵抗R1〜Rnに
より分圧されて、コンパレータC1〜Cnのそれぞれの
−側入力端に印加される。この場合、その−側入力端子
の電圧は、コンパレータCn側が高く、コンパレータC
1側が低くなる。
The input image signal has a high voltage level in "white" and a low voltage level in "black".
The voltage level of the image "white" in this case is set as the reference voltage Vr. The reference voltage Vr is divided by the resistors R1 to Rn and applied to the-side input terminals of the comparators C1 to Cn. In this case, the voltage of the negative side input terminal is high on the side of the comparator Cn,
1 side becomes low.

【0128】これにより、画信号が入力されると、その
画信号の電圧レベルに応じて、コンパレータCから特定
のコンパレータCiまでがオンし、コンパレータ“Ci
+1”からコンパレータCnまでがオフするようにな
る。エンコーダ回路ENCは、オンしたコンパレータの
個数に対応する2進数のデジタル信号を出力する。
As a result, when an image signal is input, the comparator C to a specific comparator Ci are turned on according to the voltage level of the image signal, and the comparator "Ci
From +1 "to the comparator Cn are turned off. The encoder circuit ENC outputs a binary digital signal corresponding to the number of comparators that are turned on.

【0129】本実施例では、この場合、画信号の入力レ
ベルに対し、図22に示す特性曲線cにしたがって、デ
ジタル信号を出力するように設定している。すなわち、
同図特性曲線dは、従来のガンマ補正に相当する特性で
あり、本実施例では、画信号の低濃度域と高濃度域とに
おいては、従来のガンマ補正に相当する非線形特性で、
デジタル信号を出力する。また、それらの中間濃度域に
おいては、入力に対して出力が比例する線形特性でデジ
タル信号を出力する。このような特性は、各抵抗R1〜
Rnのそれぞれの抵抗比を所定の条件に定めることによ
り設定することができる。
In this embodiment, in this case, the digital signal is set to be output according to the characteristic curve c shown in FIG. 22 with respect to the input level of the image signal. That is,
The characteristic curve d in the figure is a characteristic corresponding to the conventional gamma correction, and in the present embodiment, in the low density region and the high density region of the image signal, it is a non-linear characteristic equivalent to the conventional gamma correction.
Output a digital signal. Further, in those intermediate density regions, a digital signal is output with a linear characteristic in which the output is proportional to the input. Such a characteristic is that each resistor R1.
It can be set by setting each resistance ratio of Rn to a predetermined condition.

【0130】なお、同図特性曲線c,dは、図19の特
性曲線a,bとは、曲折方向が反対になっているが、こ
れは、画信号の電圧レベルの最大値が“白”となるため
である。この場合、その“白”がデジタル信号の信号値
「0」として出力されるので、図19の場合と同様の多
値画情報が得られる。
The characteristic curves c and d in the figure are opposite in the bending direction to the characteristic curves a and b in FIG. 19, but the maximum value of the voltage level of the image signal is "white". This is because In this case, the "white" is output as the signal value "0" of the digital signal, so that the multivalued image information similar to the case of FIG. 19 is obtained.

【0131】このように得られた多値画情報をラインバ
ッファ1105に一時格納し、前述の実施例と同様の処
理を実行する。
The multi-valued image information thus obtained is temporarily stored in the line buffer 1105, and the same processing as that of the above-mentioned embodiment is executed.

【0132】このように、本実施例では、A/D変換部
1112において、画信号をデジタル信号に変換するさ
いの入出力特性を、所定のガンマ補正に設定したので、
前述の実施例と同様の作用・効果が得られるようにな
る。そして、この場合、前述の実施例において配設して
いたガンマ補正部1103やガンマテーブル1104が
不要になるため、装置コストをさらに低減することがで
きるようになる。
As described above, in this embodiment, the A / D converter 1112 sets the input / output characteristics when converting an image signal into a digital signal to a predetermined gamma correction.
The same action and effect as those of the above-described embodiment can be obtained. In this case, the gamma correction unit 1103 and the gamma table 1104, which are provided in the above-described embodiment, are unnecessary, so that the device cost can be further reduced.

【0133】なお、以上の各実施例では、A/D変換部
1102が出力する多値画情報の階調数を256、ガン
マ補正部1103の階調数を64にそれぞれ設定してい
るが、当然のことながら、これらの階調数は、任意の値
に設定することができる。
In each of the above embodiments, the number of gradations of the multi-valued image information output from the A / D converter 1102 is set to 256, and the number of gradations of the gamma correction unit 1103 is set to 64. As a matter of course, these gradation numbers can be set to arbitrary values.

【0134】[0134]

【発明の効果】以上説明したように、本発明によれば、
原稿画像を読み取って得た多値画情報を入力して、その
多値画情報の低濃度と高濃度とでは非線形で、中間濃度
域では線形である入出力特性の補正特性によりガンマ補
正を実行し、そのガンマ補正した多値画情報をバッファ
メモリで一時格納し、その格納された多値画情報の内の
2値画像部分に対しては、MTF補正と単純2値化とを
実行するとともに、濃淡画像部分に対しては、疑似中間
調による2値化を実行するようにしたので、従来と同等
の2値画像の画情報および濃淡画像の画情報をそれぞれ
得ることができるとともに、バッファメモリが1つでよ
いので、装置コストが低減するという効果も得る。
As described above, according to the present invention,
Input multi-valued image information obtained by scanning the original image, and perform gamma correction using the input / output characteristic correction characteristics that are non-linear between low density and high density of the multi-valued image information and linear in the middle density range. Then, the gamma-corrected multi-valued image information is temporarily stored in the buffer memory, and MTF correction and simple binarization are performed on the binary image portion of the stored multi-valued image information. Since the grayscale image portion is binarized by pseudo halftone, the image information of the binary image and the image information of the grayscale image, which are equivalent to the conventional one, can be obtained, respectively, and the buffer memory can be obtained. Since only one is required, there is an effect that the device cost is reduced.

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

【図1】誤差拡散法の原理を説明するための概略図。FIG. 1 is a schematic diagram for explaining the principle of an error diffusion method.

【図2】本発明の一実施例にかかる画像処理装置を示す
ブロック図。
FIG. 2 is a block diagram showing an image processing apparatus according to an embodiment of the present invention.

【図3】ビット数変換部の一例を示す回路図。FIG. 3 is a circuit diagram showing an example of a bit number conversion unit.

【図4】図3のビット数変換部の動作を説明するための
データ値対応図。
FIG. 4 is a data value correspondence diagram for explaining the operation of the bit number conversion unit in FIG.

【図5】ビット数変換部の他の例を示す回路図。FIG. 5 is a circuit diagram showing another example of a bit number conversion unit.

【図6】ビット数変換部のさらに他の例を示す回路図。FIG. 6 is a circuit diagram showing still another example of a bit number conversion unit.

【図7】図6のビット数変換部の動作を説明するための
データ値対応図。
7 is a data value correspondence diagram for explaining the operation of the bit number conversion unit of FIG. 6;

【図8】ビット数変換部のまたさらに他の例を示す回路
図。
FIG. 8 is a circuit diagram showing still another example of the bit number conversion unit.

【図9】図8のビット数変換部の動作を説明するための
データ値対応図。
9 is a data value correspondence diagram for explaining the operation of the bit number conversion unit in FIG. 8;

【図10】MTF補正演算時に適用する画素マトリクス
を示す概略図。
FIG. 10 is a schematic diagram showing a pixel matrix applied during MTF correction calculation.

【図11】本発明のさらに他の実施例にかかる画像処理
装置を示すブロック図。
FIG. 11 is a block diagram showing an image processing apparatus according to still another embodiment of the present invention.

【図12】MTFモード判定部の処理の一例を示すフロ
ーチャート。
FIG. 12 is a flowchart showing an example of processing of an MTF mode determination unit.

【図13】MTFモード判定部の処理の他の例を示すフ
ローチャート。
FIG. 13 is a flowchart showing another example of processing of the MTF mode determination unit.

【図14】MTFモード判定部の処理のさらに他の例を
示すフローチャート。
FIG. 14 is a flowchart showing still another example of processing of the MTF mode determination unit.

【図15】本発明の別な実施例にかかる画像処理装置を
示すブロック図。
FIG. 15 is a block diagram showing an image processing apparatus according to another embodiment of the present invention.

【図16】本発明のさらに別な実施例にかかる画像処理
装置を示すブロック図。
FIG. 16 is a block diagram showing an image processing apparatus according to still another embodiment of the present invention.

【図17】本発明のまたさらに別な実施例にかかる画像
処理装置を示すブロック図。
FIG. 17 is a block diagram showing an image processing apparatus according to still another embodiment of the present invention.

【図18】MTF補正部の構成例を示すブロック図。FIG. 18 is a block diagram showing a configuration example of an MTF correction unit.

【図19】ガンマ補正の補正特性の一例を示すグラフ
図。
FIG. 19 is a graph showing an example of a correction characteristic of gamma correction.

【図20】本発明のまたさらに別な実施例にかかる画像
処理装置を示すブロック図。
FIG. 20 is a block diagram showing an image processing apparatus according to still another embodiment of the present invention.

【図21】図20におけるA/D変換部の構成例を示す
ブロック図。
21 is a block diagram showing a configuration example of an A / D conversion unit in FIG.

【図22】図21のA/D変換部の入出力特性を示すグ
ラフ図。
22 is a graph showing the input / output characteristics of the A / D conversion unit shown in FIG.

【図23】画像処理装置の従来例を示すブロック図。FIG. 23 is a block diagram showing a conventional example of an image processing apparatus.

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

1 画像入力部 2 アナログ/デジタル変換器 3 ビット数変換部 3a 乱数発生器 3b アンド回路 4 誤差補正部 5 二値化部 6 誤差演算部 7 データ出力部 10 MTF補正部 11 MTFモード判定部 15 中間調モード二値化部 16 像域判定部 17 モード設定部 18 画像合成部 1101 ラインセンサ 1102,1112 A/D変換部 1103 ガンマ補正部 1104 ガンマテーブル 1105 ラインバッファ 1106 MTF補正部 1106a 画素抽出回路 1106b,1106e 和演算回路 1106c 右シフト回路 1106d 左シフト回路 1106f 差演算回路 1107 2値化部 1108 疑似中間調2値化部 1109 像域判別部 1110 画像合成部 1111 画像出力部 C1〜Cn コンパレータ R1〜Rn 抵抗 ENC エンコーダ回路 1 Image input section 2 analog / digital converter 3-bit number converter 3a random number generator 3b AND circuit 4 Error correction unit 5 Binarization part 6 Error calculator 7 Data output section 10 MTF correction unit 11 MTF mode determination unit 15 Halftone mode binarization unit 16 Image area determination unit 17 Mode setting section 18 Image synthesizer 1101 line sensor 1102, 1112 A / D converter 1103 Gamma correction unit 1104 Gamma table 1105 line buffer 1106 MTF correction unit 1106a Pixel extraction circuit 1106b, 1106e Sum operation circuit 1106c Right shift circuit 1106d Left shift circuit 1106f Difference calculation circuit 1107 Binarization unit 1108 Pseudo halftone binarization unit 1109 image area discrimination unit 1110 image composition section 1111 Image output unit C1-Cn comparator R1-Rn resistance ENC encoder circuit

フロントページの続き (51)Int.Cl.7 識別記号 FI H04N 1/409 H04N 1/40 101D (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60 Front page continuation (51) Int.Cl. 7 identification code FI H04N 1/409 H04N 1/40 101D (58) Fields investigated (Int.Cl. 7 , DB name) H04N 1/40-1/409 H04N 1 / 46 H04N 1/60

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1ページ内に2値画像と濃淡画像とが混
在している原稿画像を読み取り、得られた多値画情報の
2値画像部分に対してはガンマ補正とMTF補正と一定
のしきい値による単純2値化とを実行する一方、濃淡画
像部分に対してはガンマ補正と疑似中間調による2値化
とを実行する画像処理装置において、 原稿画像を読み取って得た多値画情報を入力し、その多
値画情報の低濃度域と高濃度域とでは同一Log曲線の
非線形で、かつ、中間濃度域では線形である入出力特性
の補正特性によりガンマ補正するガンマ補正手段と、 ガンマ補正した上記多値画情報を一時格納するバッファ
メモリと、 格納された上記多値画情報に対してMTF補正と上記単
純2値化とを実行する2値化画像処理手段と、 上記バッファメモリに格納された上記多値画情報の濃淡
画像に対して疑似中間調による2値化を実行する濃淡画
像処理手段とを備えたことを特徴とする画像処理装置。
1. A document image in which a binary image and a grayscale image are mixed in one page is read, and gamma correction and MTF correction are performed on a binary image portion of the obtained multivalued image information. In the image processing apparatus, which performs simple binarization by a threshold value, while performing gamma correction and binarization by pseudo halftone for a grayscale image portion, a multivalued image obtained by reading an original image is obtained. Gamma correction means for inputting information and performing gamma correction by the input / output characteristic correction characteristics that are non-linear in the same Log curve in the low density area and high density area of the multi-valued image information and linear in the intermediate density area A buffer memory for temporarily storing the gamma-corrected multivalued image information; a binarized image processing means for performing MTF correction and simple binarization on the stored multivalued image information; Stored in memory The image processing apparatus characterized by relative gray image of the serial multivalue picture information and a gray-scale image processing means for executing binarization by pseudo-halftone.
【請求項2】 前記ガンマ補正手段は、多値画情報をデ
ジタル信号で入力してガンマ補正した多値画情報をデジ
タル信号で出力する手段であることを特徴とする請求項
1記載の画像処理装置。
2. The image processing according to claim 1, wherein the gamma correction means is means for inputting multivalued image information as a digital signal and outputting gamma-corrected multivalued image information as a digital signal. apparatus.
【請求項3】 前記ガンマ補正手段は、多値画情報をア
ナログ信号で入力してガンマ補正した多値画情報をデジ
タル信号で出力するアナログ・デジタル変換手段である
ことを特徴とする請求項1記載の画像処理装置。
3. The gamma correction means is an analog / digital conversion means for inputting multi-valued image information as an analog signal and outputting the gamma-corrected multi-valued image information as a digital signal. The image processing device described.
JP2002085221A 1991-09-20 2002-03-26 Image processing device Expired - Lifetime JP3472289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002085221A JP3472289B2 (en) 1991-09-20 2002-03-26 Image processing device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP3-268619 1991-09-20
JP26861991 1991-09-20
JP3-329814 1991-11-19
JP32981491 1991-11-19
JP2002085221A JP3472289B2 (en) 1991-09-20 2002-03-26 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14694292A Division JP3313399B2 (en) 1991-09-20 1992-05-13 Image processing device

Publications (2)

Publication Number Publication Date
JP2002330291A JP2002330291A (en) 2002-11-15
JP3472289B2 true JP3472289B2 (en) 2003-12-02

Family

ID=27335652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002085221A Expired - Lifetime JP3472289B2 (en) 1991-09-20 2002-03-26 Image processing device

Country Status (1)

Country Link
JP (1) JP3472289B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011024050A (en) * 2009-07-16 2011-02-03 Canon Inc Image processing apparatus, and image processing method

Also Published As

Publication number Publication date
JP2002330291A (en) 2002-11-15

Similar Documents

Publication Publication Date Title
JP3313399B2 (en) Image processing device
US6285464B1 (en) Apparatus and method for producing a half-tone image
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
JPS6198069A (en) Image processor
JPS60204177A (en) Picture signal processor
US5243445A (en) Picture processing apparatus
US5289294A (en) Image processing apparatus
JPH03248674A (en) Half-tone picture processor
JPS60230767A (en) Binarizing system of picture signal
JP3472289B2 (en) Image processing device
US5200839A (en) Image processing apparatus
JP3215146B2 (en) Image processing device
JP2002330292A (en) Image processor
JP3475606B2 (en) Image processing device
JP3304108B2 (en) Image processing method and apparatus
JP3043033B2 (en) Image processing method
JPH0457274B2 (en)
JP3157870B2 (en) Image processing method
JP2738865B2 (en) Image processing device
JP2702593B2 (en) Isolated point removal device
JP3549475B2 (en) Image processing method
JP3011464B2 (en) Image processing method
JP3178077B2 (en) Binarization processing method
JPS6180971A (en) Picture signal processor
JPH0563965A (en) Original picture reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 9