JPH11355580A - Mtf correcting circuit and image processor - Google Patents

Mtf correcting circuit and image processor

Info

Publication number
JPH11355580A
JPH11355580A JP10175363A JP17536398A JPH11355580A JP H11355580 A JPH11355580 A JP H11355580A JP 10175363 A JP10175363 A JP 10175363A JP 17536398 A JP17536398 A JP 17536398A JP H11355580 A JPH11355580 A JP H11355580A
Authority
JP
Japan
Prior art keywords
enhancement
density
output
coefficient
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10175363A
Other languages
Japanese (ja)
Inventor
Naoko Kusaka
直子 日下
Isato Hagiwara
勇人 萩原
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP10175363A priority Critical patent/JPH11355580A/en
Publication of JPH11355580A publication Critical patent/JPH11355580A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an MTF correcting circuit and an image processor with which a sharp image can be outputted even when image data are inputted without sufficiently following the resolution or amplitude of an input image. SOLUTION: Filters (a) and (b) have different characteristics and respectively output enhancement levels L1 and L2 for enhancing the high frequency component of image data. A maximum value detecting part 32 detects the maximum value of enhancement levels L1 and L2 outputted from the filters (a) and (b). Tables (a) and (b) output enhancement coefficients coefa and coefb corresponding to the density of a concerned pixel. A selector 34 selects either the enhancement coefficient coefa or the enhancement coefficient coefb corresponding to the codes of the enhancement levels L1 and L2. A multiplier circuit 35 multiplies the enhancement level L from the maximum value detecting part 32 and the enhancement coefficient coef outputted from the selector 34. An adding circuit 36 adds a density D0 of the concerned pixel and the output value of the multiplier circuit 35.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファクシミリ装
置、ディジタル複写装置およびスキャナー装置等の読取
画像処理部分に適用されるMTF補正回路および画像処
理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an MTF correction circuit and an image processing apparatus applied to a read image processing portion such as a facsimile machine, a digital copying machine, and a scanner.

【0002】[0002]

【従来の技術】ファクシミリ装置、ディジタル複写装置
およびスキャナー装置等において、画像読取部分から入
力された画像に対して、画像の再現性を向上させるため
に種々の処理が施される。例えば、画像の空間的な高周
波成分を強調して文字エッジ部を浮き立たせるMTF補
正処理が施される。ところが、MTF補正によって空間
的な高周波成分を強調すると、高周波ノイズ成分も強調
されてしまう。そこで、高周波ノイズ成分による画質劣
化を防止するためにエッジ強調をそれほど強くかけない
ようにすることが考えられるが、そのようにすると、細
密な文字や線を鮮明に再現できないおそれがある。
2. Description of the Related Art In a facsimile apparatus, a digital copying apparatus, a scanner apparatus, and the like, various processes are performed on an image input from an image reading portion in order to improve image reproducibility. For example, an MTF correction process for emphasizing a spatial high-frequency component of an image to raise a character edge portion is performed. However, when spatial high-frequency components are enhanced by MTF correction, high-frequency noise components are also enhanced. Therefore, in order to prevent image quality deterioration due to high frequency noise components, it is conceivable not to apply edge emphasis so much. However, in such a case, fine characters and lines may not be clearly reproduced.

【0003】そのような不都合を防止するために、特開
平7−66977号公報には、所定のマトリクスの画素
単位で画像データに対して固定のラプラシアンフィルタ
でエッジ強調を行い、エッジ強調された画像データのう
ちエッジ強調前の画像データにはないレベルの振幅成分
を抑制する方式が開示されている。しかし、そのような
方式であっても、スキャナなどの画像読取装置が入力画
像の解像度や濃度振幅に追従できないような場合には、
エッジ強調が行えず、解像度が十分に得られないためぼ
けた画像が出力される。
In order to prevent such inconvenience, Japanese Patent Application Laid-Open No. 7-66997 discloses an edge-enhanced image in which a fixed Laplacian filter is applied to image data for each pixel of a predetermined matrix. There is disclosed a method of suppressing an amplitude component of a level not present in image data before edge enhancement in data. However, even with such a method, if an image reading device such as a scanner cannot follow the resolution and density amplitude of the input image,
Since edge enhancement cannot be performed and resolution cannot be sufficiently obtained, a blurred image is output.

【0004】特開平7−245709号公報には、エッ
ジ強調のためのディジタルフィルタの出力(エッジ量)
を、エッジ量の正負に応じて変換して強調量を得る方式
が開示されている。その方式は、白抜けを防止するため
に、エッジ量が負の場合、すなわち、注目画素が画像に
おいて高濃度から低濃度に変化する位置にある場合に
は、MTF補正を弱めるように構成されている。する
と、画像の空間周波数が高くなって画像読取装置が入力
画像の解像度や濃度振幅に追従できないような場合に
は、白背景部分のMTF補正が弱くなって、やはり、ぼ
けた画像が再現されてしまう。
Japanese Patent Application Laid-Open No. 7-245709 discloses an output (edge amount) of a digital filter for edge enhancement.
Is converted according to the sign of the edge amount to obtain an enhancement amount. The method is configured to weaken the MTF correction when the edge amount is negative, that is, when the target pixel is located at a position where the density changes from high density to low density in the image, in order to prevent white spots. I have. Then, when the spatial frequency of the image becomes high and the image reading device cannot follow the resolution and the density amplitude of the input image, the MTF correction of the white background part becomes weak, and the blurred image is reproduced again. I will.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来の
画像処理方式では、スキャナなどの画像読取装置が入力
画像の解像度や濃度振幅に追従できないような場合に
は、効果的なエッジ強調が行えず、解像度が十分でない
ぼけた画像が再現されてしまうという課題がある。
As described above, according to the conventional image processing method, when an image reading device such as a scanner cannot follow the resolution and density amplitude of an input image, effective edge enhancement is performed. There is a problem that a blurred image whose resolution is not sufficient cannot be reproduced.

【0006】そこで、本発明は、入力画像の解像度や振
幅に十分追従できていない画像データが入力されても鮮
明な画像を出力することができるMTF補正回路および
画像処理装置を提供することを目的とする。
Accordingly, an object of the present invention is to provide an MTF correction circuit and an image processing apparatus which can output a clear image even when image data which cannot sufficiently follow the resolution and amplitude of an input image is input. And

【0007】[0007]

【課題を解決するための手段】本発明によるMTF補正
回路は、入力画像データの注目画素と周辺画素の濃度差
にもとづいて強調量を算出するフィルタ部と、注目画素
の濃度とフィルタ部が出力する強調量の符号とに応じた
強調係数を出力するものであって注目画素の濃度が中間
レベルである場合には強調量が負であるときに強調量が
正であるときよりも大きい値の強調係数を出力する強調
係数出力部と、フィルタ部が出力する強調量に強調係数
出力部が出力する強調係数を乗算する乗算回路と、乗算
回路による乗算値と注目画素の濃度とを加算して補正さ
れた濃度を出力する加算回路とを備えたものである。
An MTF correction circuit according to the present invention includes a filter section for calculating an enhancement amount based on a density difference between a target pixel and peripheral pixels of input image data, and an output of the density and filter section of the target pixel. Output the enhancement coefficient corresponding to the sign of the enhancement amount to be performed. When the density of the pixel of interest is at an intermediate level, when the enhancement amount is negative, a value larger than that when the enhancement amount is positive is obtained. An enhancement coefficient output unit that outputs an enhancement coefficient, a multiplication circuit that multiplies the enhancement amount output by the filter unit with an enhancement coefficient output by the enhancement coefficient output unit, and a multiplication value obtained by the multiplication circuit and the density of the pixel of interest are added. And an adder circuit for outputting the corrected density.

【0008】フィルタ部は、特性が異なる複数のフィル
タと、各フィルタの出力のうちの最大値を強調量として
出力する最大値検出部とを含む構成であってもよい。ま
た、フィルタ部は2つのフィルタを含み、一方のフィル
タは注目画素に対して斜め45度に位置する周辺画素と
の濃度差を強調する係数を有するフィルタであり、他方
のフィルタは注目画素に対して前後左右の周辺画素との
濃度差を強調する係数を有するフィルタであってもよ
い。強調係数出力部は、強調量の符号が正または零であ
る場合に対応した第1のテーブルと、強調量の符号が負
である場合に対応した第2のテーブルと、強調量の符号
に応じて第1のテーブルの出力と第2のテーブルの出力
とのうちのいずれかを選択するセレクタとを含む構成で
あってもよい。また、第1のテーブルおよび第2のテー
ブルにおいて、低い濃度の注目画素に対して大きな値の
係数が設定されていてもよい。
The filter section may include a plurality of filters having different characteristics, and a maximum value detecting section for outputting the maximum value of the outputs of the filters as an enhancement amount. The filter unit includes two filters. One filter is a filter having a coefficient for enhancing a density difference between a target pixel and a peripheral pixel positioned at an angle of 45 degrees with respect to the target pixel, and the other filter is a filter having a coefficient for enhancing the density difference with respect to the target pixel. Alternatively, the filter may have a coefficient that emphasizes a density difference between peripheral pixels on the front, rear, left, and right sides. The enhancement coefficient output unit includes a first table corresponding to a case where the sign of the enhancement amount is positive or zero, a second table corresponding to a case where the sign of the enhancement amount is negative, and a second table corresponding to the sign of the enhancement amount. And a selector for selecting any one of the output of the first table and the output of the second table. Further, in the first table and the second table, a large value coefficient may be set for the target pixel of low density.

【0009】本発明による画像処理装置は、画像を読み
取ってディジタル画像データを出力する画像読取装置
と、画像読取装置が出力するディジタル画像データの注
目画素を含むラインとその前後数ライン分のディジタル
画像データを保持するラインバッファと、ディジタル画
像データの注目画素と周辺画素の濃度差にもとづいて強
調量を算出するフィルタ部、注目画素の濃度とフィルタ
部が出力する強調量の符号とに応じた強調係数を出力す
るものであって注目画素の濃度が中間レベルである場合
には強調量が負であるときに強調量が正であるときより
も大きい値の強調係数を出力する強調係数出力部、フィ
ルタ部が出力する強調量に強調係数出力部が出力する強
調係数を乗算する乗算回路、および乗算回路による乗算
値と注目画素の濃度とを加算して補正された濃度を出力
する加算回路を含むMTF補正回路とを備えたものであ
る。
An image processing apparatus according to the present invention reads an image and outputs digital image data, a digital image data output from the image reading apparatus including a line including a target pixel, and a digital image corresponding to several lines before and after the line. A line buffer for holding data; a filter unit for calculating an enhancement amount based on a density difference between a target pixel and peripheral pixels of the digital image data; enhancement according to the density of the target pixel and the sign of the enhancement amount output by the filter unit An enhancement coefficient output unit that outputs a coefficient, and outputs a larger enhancement coefficient when the enhancement amount is negative than when the enhancement amount is positive when the density of the target pixel is at an intermediate level, A multiplying circuit for multiplying the emphasis amount output from the filter unit by the emphasis coefficient output from the emphasis coefficient output unit; Those having a MTF correction circuit including an adding circuit for outputting a corrected concentration by adding.

【0010】MTF補正回路におけるフィルタ部は、特
性が異なる複数のフィルタと、各フィルタの出力のうち
の最大値を強調量として出力する最大値検出部とを含む
構成であってもよい。
The filter section in the MTF correction circuit may be configured to include a plurality of filters having different characteristics and a maximum value detecting section for outputting the maximum value of the outputs of the filters as an enhancement amount.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明による画像処理装
置の一例であるファクシミリ装置の送信部の構成を示す
ブロック図である。図において、スキャナ10は、原稿
を読み取るとともに内蔵するA−D変換部によって読み
取り画像データをディジタル画像データに変換し、ライ
ンバッファ20に出力する。ラインバッファ20は、ス
キャナ10からの画像データを保持する。MTF補正回
路30は、各画素についてMTF補正を行う。また、γ
補正部40は、MTF補正後の画像データにγ補正を施
し、2値化部50に出力する。2値化部50は、画像デ
ータを2値化して画像メモリ60に記憶する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a transmission unit of a facsimile apparatus which is an example of an image processing apparatus according to the present invention. In the figure, a scanner 10 reads a document, converts read image data into digital image data by an internal A / D converter, and outputs the digital image data to a line buffer 20. The line buffer 20 holds image data from the scanner 10. The MTF correction circuit 30 performs MTF correction for each pixel. Also, γ
The correction unit 40 performs γ correction on the MTF-corrected image data and outputs the result to the binarization unit 50. The binarization unit 50 binarizes the image data and stores the binarized image data in the image memory 60.

【0012】プリンタ70は、画像メモリ60内の2値
化データを印刷出力する。また、通信部80は、画像メ
モリ60内の2値化データを回線に送出する制御を行
う。
The printer 70 prints out the binarized data in the image memory 60. Further, the communication unit 80 controls to send the binarized data in the image memory 60 to the line.

【0013】この実施の形態におけるMTF補正では、
注目画素の濃度をD0、補正後の注目画素の濃度をD
1、ディジタルフィルタ(一般に、ラプラシアンフィル
タ)の出力(強調量)をL、強調係数をcoefとする
と、 D1=D0+coef×L と表される。そして、この実施の形態では、以下に述べ
るように、強調量Lとしてより適切な値を設定できると
ともに、強調係数coefも、鮮明な画像を出力するた
めのより適切な値に設定できる。
In the MTF correction in this embodiment,
The density of the target pixel is D0 and the density of the corrected target pixel is D0.
1. If the output (enhancement amount) of a digital filter (generally a Laplacian filter) is L and the enhancement coefficient is coef, D1 = D0 + coef × L. In this embodiment, as described below, a more appropriate value can be set as the emphasis amount L, and the emphasis coefficient coef can be set to a more appropriate value for outputting a clear image.

【0014】図2は、MTF補正回路30の構成を示す
ブロック図である。フィルタa31a,フィルタb31
bは、異なる特性を有し、それぞれ画像データの高周波
成分を強調する強調量L1,L2を出力する。最大値検
出部32は、複数のフィルタa31aおよびフィルタb
31bが出力した強調量L1,L2の最大値を検出し最
大値を強調量Lとして出力する。また、強調量Lの符号
を判定する。テーブルa33a,テーブルb33bは、
注目画素の濃度に応じた強調係数coefa,coef
bを出力する。
FIG. 2 is a block diagram showing the configuration of the MTF correction circuit 30. Filter a31a, filter b31
b has different characteristics, and outputs enhancement amounts L1 and L2 for enhancing the high-frequency components of the image data. The maximum value detector 32 includes a plurality of filters a31a and a plurality of filters b
The maximum value of the emphasis amounts L1 and L2 output by 31b is detected, and the maximum value is output as the emphasis amount L. Further, the sign of the enhancement amount L is determined. Table a33a and table b33b are
Enhancement coefficients coefa, coef according to the density of the pixel of interest
b is output.

【0015】セレクタ34は、最大値検出部32の判定
結果に従って強調係数coefaまたは強調係数coe
fbを選択し、強調係数coefとして乗算回路35に
出力する。乗算回路35は、最大値検出部32からの強
調量Lとセレクタ34が出力した強調係数coefとを
乗算する。そして、加算回路36は、注目画素の濃度D
0と乗算回路35の出力値とを加算し、補正値D1を生
成する。
The selector 34 has an emphasis coefficient coefa or an emphasis coefficient coe according to the judgment result of the maximum value detecting section 32.
fb is selected and output to the multiplication circuit 35 as the enhancement coefficient coef. The multiplication circuit 35 multiplies the enhancement amount L from the maximum value detection unit 32 by the enhancement coefficient coef output from the selector 34. Then, the adding circuit 36 calculates the density D of the target pixel.
0 is added to the output value of the multiplication circuit 35 to generate a correction value D1.

【0016】次に、動作について説明する。スキャナ1
0は、原稿内容を読み取り、ディジタル画像データをラ
インバッファ20に出力する。ラインバッファ20は、
注目画素を含むラインとその前後数ライン分の画像デー
タを保持する。
Next, the operation will be described. Scanner 1
0 reads the original contents and outputs digital image data to the line buffer 20. The line buffer 20
A line including the pixel of interest and image data for several lines before and after the line are held.

【0017】この実施の形態では、フィルタa31aと
して、図3に示すラプラシアンフィルタが用いられてい
る。また、フィルタb31bとして、図4に示すラプラ
シアンフィルタが用いられている。図5は、注目画素と
周辺画素の関係を示す説明図である。図5において、D
0は注目画素の濃度、D10〜D33は周辺画素の濃度
であるとする。すると、フィルタa31aが出力する強
調量L1は、図3に示すフィルタ係数を用いると以下の
ように表される。
In this embodiment, a Laplacian filter shown in FIG. 3 is used as the filter a31a. The Laplacian filter shown in FIG. 4 is used as the filter b31b. FIG. 5 is an explanatory diagram illustrating a relationship between a target pixel and peripheral pixels. In FIG. 5, D
It is assumed that 0 is the density of the target pixel, and D10 to D33 are the densities of the peripheral pixels. Then, the enhancement amount L1 output from the filter a31a is expressed as follows using the filter coefficients shown in FIG.

【0018】また、フィルタb31bが出力する強調量
L2は、図4に示すフィルタ係数を用いると以下のよう
に表される。
The enhancement amount L2 output from the filter b31b is expressed as follows by using the filter coefficients shown in FIG.

【0019】ラプラシアンフィルタにおけるフィルタ係
数は低いMTFに起因するぼけを改善するのに効果的で
あるが、フィルタリングを強くかけると画像の中間調部
分の少しの変化でも強調してしまい、画像がざらつく。
また、弱くかけると文字部分での鮮明さが得られない。
この実施の形態では、フィルタa31aの係数は、注目
画素に対して斜め45度に位置する周辺画素との濃度差
を強調する係数であり、フィルタb31bの係数は、注
目画素に対して前後左右の周辺画素との濃度差を強調す
る係数である。最大値検出部32は、フィルタa31a
およびフィルタb31bが出力する強調量L1,L2の
うちの最大値を選択し、強調量Lとして出力する。
The filter coefficients in the Laplacian filter are effective in improving the blur caused by a low MTF. However, when filtering is strongly applied, even a small change in the halftone portion of the image is emphasized, and the image becomes rough.
On the other hand, if it is weakly applied, sharpness in the character portion cannot be obtained.
In this embodiment, the coefficient of the filter a31a is a coefficient that emphasizes the density difference between the target pixel and the peripheral pixels located at an angle of 45 degrees, and the coefficient of the filter b31b is the front, rear, left, and right with respect to the target pixel. This is a coefficient for emphasizing the density difference from the surrounding pixels. The maximum value detection unit 32 includes a filter a31a
And the maximum value of the enhancement amounts L1 and L2 output by the filter b31b is selected and output as the enhancement amount L.

【0020】従って、画像中で斜め方向に濃度差がある
場合には、フィルタa31aによって注目画素が強調さ
れ、前後左右の方向に濃度差がある場合には、フィルタ
b31bによって注目画素が強調される。よって、フィ
ルタ係数を大きくすることなく、どのような濃度変化が
あっても注目画素を効果的に強調することができる。
Therefore, when there is a density difference in an oblique direction in the image, the target pixel is emphasized by the filter a31a, and when there is a density difference in the front, rear, left and right directions, the target pixel is emphasized by the filter b31b. . Therefore, the target pixel can be effectively emphasized regardless of any density change without increasing the filter coefficient.

【0021】そして、この実施の形態では、強調量Lの
正負に応じて、かつ、注目画素D0の濃度に応じて強調
係数coefが決定される。具体的には、テーブルa3
3aおよびテーブルb33bは、注目画素の濃度D0に
応じた係数を出力する。そして、セレクタ34が、強調
量Lが正または零であるときにはテーブルa33aの出
力を選択し、強調量Lが負であるときにはテーブルb3
3bの出力を選択し、選択した値を強調係数coefと
して乗算回路36に出力する。
In this embodiment, the enhancement coefficient coef is determined according to the sign of the enhancement amount L and according to the density of the target pixel D0. Specifically, table a3
3a and the table b33b output a coefficient corresponding to the density D0 of the target pixel. The selector 34 selects the output of the table a33a when the enhancement amount L is positive or zero, and selects the output of the table b3 when the enhancement amount L is negative.
3b is selected, and the selected value is output to the multiplication circuit 36 as the enhancement coefficient coef.

【0022】図6は、テーブルa33aの構成の一例を
示す説明図である。ここでは、ディジタル画像データは
8ビットで表現され、00(H)は白側の最大値を示
し、FF(H)は黒側の最大値を示すとする。テーブル
a33aは、強調量Lが正または零である場合、すなわ
ち、注目画素の濃度D0が周辺画素よりも高濃度(黒
側)に変化するときに使用される。図7は、テーブルb
33bの構成の一例を示す説明図である。テーブルb3
3bは、強調量Lが負である場合、すなわち、注目画素
の濃度D0が周辺画素よりも低濃度(白側)に変化する
ときに使用される。
FIG. 6 is an explanatory diagram showing an example of the configuration of the table a33a. Here, it is assumed that the digital image data is represented by 8 bits, 00 (H) indicates the maximum value on the white side, and FF (H) indicates the maximum value on the black side. The table a33a is used when the enhancement amount L is positive or zero, that is, when the density D0 of the target pixel changes to a higher density (black side) than the surrounding pixels. FIG. 7 shows the table b
It is explanatory drawing which shows an example of a structure of 33b. Table b3
3b is used when the enhancement amount L is negative, that is, when the density D0 of the target pixel changes to a lower density (white side) than the surrounding pixels.

【0023】なお、テーブルa33aおよびテーブルb
33bの各係数は、使用されるスキャナ10などの特性
に応じて決定される。この実施の形態では、一例とし
て、以下の値を採用する。 coef1>coef2>coef4>coef3 coef5>coef6>coef7 coef1=coef5=3 coef2=coef6=2 coef3=0.5 coef4=coef7=1 ただし、これらの値は例であって、実際には、使用され
るスキャナ10などの特性に応じた適切な値に設定され
る。
The table a33a and the table b
Each coefficient of 33b is determined according to characteristics of the scanner 10 or the like to be used. In this embodiment, the following values are adopted as an example. coef1>coef2>coef4> coef3 coef5>coef6> coef7 coef1 = coef5 = 3 coef2 = coef6 = 2 coef3 = 0.5 coef4 = coef7 = 1 However, these values are examples and are actually used. An appropriate value is set according to the characteristics of the scanner 10 and the like.

【0024】次に、図8のフローチャートを参照してM
TF補正回路30の動作をさらに詳しく説明する。最大
値検出部32は、フィルタa31aおよびフィルタb3
1bが出力する強調量L1,L2の絶対値を比較する。
そして、強調量Lとして、 |L1|≧|L2|のときにはL1 |L1|<|L2|のときにはL2 を出力する(ステップS1〜S3)。
Next, referring to the flowchart of FIG.
The operation of the TF correction circuit 30 will be described in more detail. The maximum value detection unit 32 includes a filter a31a and a filter b3.
The absolute values of the enhancement amounts L1 and L2 output by 1b are compared.
When | L1 | ≧ | L2 |, L1 is output as L1 | L1 | <| L2 | (steps S1 to S3).

【0025】このように、この実施の形態では、1つの
フィルタ特性では注目画素D0との濃度差を検出できな
い周辺画素が生ずることを考慮して、特性の異なる複数
のフィルタを使用する。
As described above, in this embodiment, a plurality of filters having different characteristics are used in consideration of the fact that one filter characteristic may cause a peripheral pixel in which the density difference from the target pixel D0 cannot be detected.

【0026】そして、最大値検出部32は、強調量Lが
正または零である場合には、セレクタ34に与えられる
セレクト信号Sを0にする(ステップS4,S5)。ま
た、強調量Lが負である場合には、セレクト信号Sを1
にする(ステップS4,S7)。セレクタ34は、S=
0の場合には、テーブルa33aが出力する強調係数c
oefaを、強調係数coefとして選択する。この実
施の形態では、強調係数coefaは、注目画素の濃度
D0に応じたcoef1〜coef4のうちのいずれか
である。また、セレクタ34は、S=1の場合には、テ
ーブルb33bが出力する強調係数coefbを、強調
係数coefとして選択する。この実施の形態では、強
調係数coefbは、注目画素の濃度D0に応じたco
ef5〜coef7のうちのいずれかである。
When the enhancement amount L is positive or zero, the maximum value detection section 32 sets the select signal S supplied to the selector 34 to 0 (steps S4 and S5). When the enhancement amount L is negative, the select signal S is set to 1
(Steps S4 and S7). The selector 34 determines that S =
In the case of 0, the enhancement coefficient c output from the table a33a
oefa is selected as the enhancement coefficient coef. In this embodiment, the enhancement coefficient coefa is one of coef1 to coef4 corresponding to the density D0 of the target pixel. When S = 1, the selector 34 selects the enhancement coefficient coefb output from the table b33b as the enhancement coefficient coef. In this embodiment, the emphasis coefficient coefb is set to a value corresponding to the density D0 of the target pixel.
ef5 to coef7.

【0027】一例として、強調量Lが正であって、注目
画素D0の濃度が40(H)があった場合には、セレク
タ34は、テーブルa33aが出力するcoef3を選
択する。すなわち、乗算回路35に強調係数coefと
してcoef3が入力される。そして、乗算回路35
は、最大値検出部32が出力した強調量Lと強調係数c
oefとを乗算して乗算値を加算回路36に出力する。
As an example, when the enhancement amount L is positive and the density of the target pixel D0 is 40 (H), the selector 34 selects coef3 output from the table a33a. That is, coef3 is input to the multiplication circuit 35 as the enhancement coefficient coef. Then, the multiplication circuit 35
Is the enhancement amount L and the enhancement coefficient c output by the maximum value detection unit 32.
oef and outputs the multiplied value to the addition circuit 36.

【0028】加算回路36は、注目画素の濃度D0に乗
算回路35が出力した乗算値を加算する。加算回路36
の出力は、MTF補正後の注目画素の濃度D1となる。
The addition circuit 36 adds the multiplied value output from the multiplication circuit 35 to the density D0 of the target pixel. Adder circuit 36
Is the density D1 of the target pixel after MTF correction.

【0029】以上のように、この実施の形態では、MT
F補正回路30は、強調量Lの正負に応じて異なる強調
係数テーブルが用いられる。すなわち、注目画素の濃度
D0が周辺画素よりも高濃度側に変化するときと低濃度
側に変化するときとで異なる種類の強調係数テーブルを
使用することができる。従って、注目画素と周辺画素の
濃度状況に応じた適切な強調係数を設定できることにな
る。
As described above, in this embodiment, the MT
The F correction circuit 30 uses different emphasis coefficient tables depending on the sign of the emphasis amount L. That is, different types of enhancement coefficient tables can be used when the density D0 of the target pixel changes to a higher density side and to a lower density side than the surrounding pixels. Therefore, an appropriate emphasis coefficient can be set according to the density status of the target pixel and the peripheral pixels.

【0030】例えば、画像の空間周波数が高いような場
合、注目画素が黒線上の画素である場合には十分な濃度
が出ているが、注目画素が白背景上にある場合には濃度
が下がりきらず、2値化されたときに黒レベルと判定さ
れるおそれがある。そこで、この実施の形態では、図6
および図7に示すように、濃度が40(H)〜9F
(H)程度の中間レベルにある場合に、強調量Lが負の
場合(注目画素の濃度D0が黒側から白側に変化する場
合)の強調係数coef7を、強調量Lが正または零の
場合(注目画素の濃度D0が白側から黒側に変化する場
合)の強調係数coef3よりも大きくしている。
For example, when the spatial frequency of an image is high, sufficient density is obtained when the pixel of interest is a pixel on a black line, but the density decreases when the pixel of interest is on a white background. In other words, there is a possibility that a black level is determined when binarized. Therefore, in this embodiment, FIG.
As shown in FIG. 7 and FIG.
(H), the enhancement coefficient coef7 when the enhancement amount L is negative (when the density D0 of the target pixel changes from the black side to the white side), and the enhancement amount L is positive or zero. In this case (when the density D0 of the target pixel changes from the white side to the black side), the emphasis coefficient coef3 is set larger.

【0031】すると、濃度が中間レベルであって強調量
Lが負の場合には、[−coef×L]の値がより大き
くなり(絶対値で)、補正後の濃度D1の値が00
(H)側により近づく。換言すれば、白側に強調され
る。その結果、黒線の解像度が上がる。このように、入
力画像の空間周波数が高くなってスキャナ10が入力画
像の解像度や濃度振幅に追従できず白背面のレベルが下
がりきらないような場合には、白背面がより白側に強調
され、かつ、黒線が強調されすぎて白背面を黒くつぶす
こともなく、白黒を明瞭に再現できる。すなわち、入力
画像の空間周波数が高くなってスキャナ10が入力画像
の解像度や濃度振幅に追従できないような場合であって
も、この実施の形態のMTF補正によれば、鮮明な画像
を得ることができる。
When the density is at an intermediate level and the enhancement amount L is negative, the value of [-coef × L] becomes larger (in absolute value), and the value of the corrected density D1 becomes 00.
(H) side closer. In other words, it is emphasized on the white side. As a result, the resolution of the black line increases. As described above, when the spatial frequency of the input image is increased and the scanner 10 cannot follow the resolution and the density amplitude of the input image and the level of the white background cannot be completely reduced, the white back is emphasized to the white side. In addition, black and white can be clearly reproduced without the black line being emphasized too much and the white back surface is not blackened. In other words, even when the spatial frequency of the input image becomes high and the scanner 10 cannot follow the resolution and the density amplitude of the input image, a clear image can be obtained according to the MTF correction of this embodiment. it can.

【0032】さらに、図6および図7に示すように、注
目画素の濃度D0が低濃度の場合に用いられる強調係数
coef1,coef2,coef5,coef6を大
きくしているので、鉛筆文字などの薄い文字原稿を鮮明
に再現することもできる。
Further, as shown in FIGS. 6 and 7, the emphasis coefficients coef1, coef2, coef5, and coef6 used when the density D0 of the target pixel is low are increased, so that a thin character such as a pencil character is used. The manuscript can be reproduced clearly.

【0033】なお、この実施の形態では、特性の異なる
複数のフィルタを使用したが、1つのフィルタを用いた
場合にも、フィルタ出力の正負に応じて2種類の強調係
数テーブルを切替使用することによって、入力画像の空
間周波数が高い場合の画質改善効果は発揮される。
In this embodiment, a plurality of filters having different characteristics are used. However, even when one filter is used, two types of emphasis coefficient tables are switched and used according to the sign of the filter output. Thereby, the effect of improving the image quality when the spatial frequency of the input image is high is exhibited.

【0034】[0034]

【発明の効果】以上のように、本発明によれば、MTF
補正回路および画像処理装置を、注目画素の濃度とフィ
ルタ部が出力する強調量の符号とに応じた強調係数を出
力するものであって注目画素の濃度が中間レベルである
場合には強調量が負であるときに強調量が正であるとき
よりも大きい値の強調係数を出力する強調係数出力部を
備えた構成としたので、入力画像の空間周波数が高くな
って画像読取装置が入力画像の解像度や濃度振幅に追従
できず白背面のレベルが下がりきらないような場合に
は、白背面がより白側に強調され、かつ、黒線が強調さ
れすぎて白背面を黒くつぶすこともなく白黒を明瞭に再
現でき、鮮明な画像を得ることができる効果がある。
As described above, according to the present invention, the MTF
The correction circuit and the image processing device output an enhancement coefficient corresponding to the density of the target pixel and the sign of the enhancement amount output from the filter unit. When the density of the target pixel is at an intermediate level, the enhancement amount is reduced. Since the image processing apparatus includes the enhancement coefficient output unit that outputs an enhancement coefficient having a larger value when the amount of enhancement is negative than when the amount of enhancement is positive, the spatial frequency of the input image is increased, and the image reading apparatus may perform If the level of the white background cannot be reduced due to the inability to follow the resolution or density amplitude, the white background is emphasized more to the white side, and the black line is emphasized too much so that the white background is not blackened. Can be clearly reproduced, and a clear image can be obtained.

【0035】また、フィルタ部が、特性が異なる複数の
フィルタと各フィルタの出力のうちの最大値を強調量と
して出力する最大値検出部とを含むように構成されてい
る場合には、フィルタ係数を大きくすることなく、様々
な濃度変化があっても注目画素を効果的に強調すること
ができる。
In the case where the filter unit is configured to include a plurality of filters having different characteristics and a maximum value detection unit that outputs the maximum value of the outputs of the filters as an enhancement amount, the filter coefficient Can be effectively emphasized even if there are various density changes without increasing.

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

【図1】 本発明による画像処理装置の一例であるファ
クシミリ装置の送信部の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a transmission unit of a facsimile apparatus which is an example of an image processing apparatus according to the present invention.

【図2】 MTF補正回路の構成を示すブロック図であ
る。
FIG. 2 is a block diagram illustrating a configuration of an MTF correction circuit.

【図3】 フィルタaの構成例を示す説明図である。FIG. 3 is an explanatory diagram illustrating a configuration example of a filter a.

【図4】 フィルタbの構成例を示す説明図である。FIG. 4 is an explanatory diagram showing a configuration example of a filter b.

【図5】 注目画素と周辺画素の関係を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a relationship between a target pixel and peripheral pixels.

【図6】 テーブルaの構成の一例を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing an example of the configuration of a table a.

【図7】 テーブルbの構成の一例を示す説明図であ
る。
FIG. 7 is an explanatory diagram illustrating an example of a configuration of a table b.

【図8】 MTF補正回路の動作を示すフローチャート
である。
FIG. 8 is a flowchart illustrating an operation of the MTF correction circuit.

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

10 スキャナ 20 ラインバッファ 30 MTF補正回路 40 γ補正部 50 2値化部 60 画像メモリ 70 プリンタ 80 通信部 31a フィルタa 31b フィルタb 32 最大値検出部 33a テーブルa 33b テーブルb 34 セレクタ 35 乗算回路 36 加算回路 Reference Signs List 10 scanner 20 line buffer 30 MTF correction circuit 40 γ correction section 50 binarization section 60 image memory 70 printer 80 communication section 31a filter a 31b filter b 32 maximum value detection section 33a table a 33b table b 34 selector 35 multiplier circuit 35 addition circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データの注目画素と周辺画素の
濃度差にもとづいて強調量を算出するフィルタ部と、 注目画素の濃度と前記フィルタ部が出力する強調量の符
号とに応じた強調係数を出力するものであって、注目画
素の濃度が中間レベルである場合には強調量が負である
ときに強調量が正であるときよりも大きい値の強調係数
を出力する強調係数出力部と、 前記フィルタ部が出力する強調量に前記強調係数出力部
が出力する強調係数を乗算する乗算回路と、 前記乗算回路による乗算値と注目画素の濃度とを加算し
て、補正された濃度を出力する加算回路とを備えたMT
F補正回路。
1. A filter unit for calculating an enhancement amount based on a density difference between a target pixel and a peripheral pixel of input image data, and an enhancement coefficient corresponding to a density of the target pixel and a sign of the enhancement amount output by the filter unit. And an enhancement coefficient output unit that outputs a larger enhancement coefficient when the enhancement amount is negative than when the enhancement amount is positive when the density of the pixel of interest is at an intermediate level. A multiplying circuit for multiplying the emphasis amount output by the filter unit by the emphasis coefficient output by the emphasis coefficient output unit; and adding the multiplied value by the multiplying circuit and the density of the pixel of interest to output a corrected density. MT provided with an addition circuit
F correction circuit.
【請求項2】 フィルタ部は、特性が異なる複数のフィ
ルタと、各フィルタの出力のうちの最大値を強調量とし
て出力する最大値検出部とを含む請求項1記載のMTF
補正回路。
2. The MTF according to claim 1, wherein the filter unit includes a plurality of filters having different characteristics, and a maximum value detection unit that outputs a maximum value of outputs of the filters as an enhancement amount.
Correction circuit.
【請求項3】 フィルタ部は2つのフィルタを含み、一
方のフィルタは注目画素に対して斜め45度に位置する
周辺画素との濃度差を強調する係数を有するフィルタで
あり、他方のフィルタは注目画素に対して前後左右の周
辺画素との濃度差を強調する係数を有するフィルタであ
る請求項2記載のMTF補正回路。
3. The filter section includes two filters, one filter having a coefficient for enhancing a density difference between a target pixel and a peripheral pixel located at an angle of 45 degrees with respect to the target pixel, and the other filter having a coefficient for enhancing the density difference. 3. The MTF correction circuit according to claim 2, wherein the MTF correction circuit is a filter having a coefficient for enhancing a density difference between a pixel and peripheral pixels on the front, rear, left, and right sides.
【請求項4】 強調係数出力部は、強調量の符号が正ま
たは零である場合の各濃度に応じた各係数が設定され注
目画素の濃度に応じた係数を出力する第1のテーブル
と、強調量の符号が負である場合の各濃度に応じた各係
数が設定され注目画素の濃度に応じた係数を出力する第
2のテーブルと、強調量の符号に応じて第1のテーブル
の出力と第2のテーブルの出力とのうちのいずれかを選
択するセレクタとを含む請求項2または請求項3記載の
MTF補正回路。
4. A first table for setting a coefficient corresponding to each density when the sign of the enhancement amount is positive or zero, and outputting a coefficient corresponding to the density of the pixel of interest, wherein: A second table for setting each coefficient corresponding to each density when the sign of the enhancement amount is negative and outputting a coefficient corresponding to the density of the pixel of interest, and an output of the first table according to the sign of the enhancement amount 4. The MTF correction circuit according to claim 2, further comprising a selector for selecting any one of the output of the second table and the output of the second table.
【請求項5】 第1のテーブルおよび第2のテーブルに
おける各係数は、注目画素の濃度が低い場合には値が大
きくなるように設定されている請求項4記載のMTF補
正回路。
5. The MTF correction circuit according to claim 4, wherein each coefficient in the first table and the second table is set to have a larger value when the density of the pixel of interest is low.
【請求項6】 画像を読み取ってディジタル画像データ
を出力する画像読取装置と、 前記画像読取装置が出力するディジタル画像データの注
目画素を含むラインとその前後数ライン分のディジタル
画像データを保持するラインバッファと、 ディジタル画像データの注目画素と周辺画素の濃度差に
もとづいて強調量を算出するフィルタ部、注目画素の濃
度と前記フィルタ部が出力する強調量の符号とに応じた
強調係数を出力するものであって注目画素の濃度が中間
レベルである場合には強調量が負であるときに強調量が
正であるときよりも大きい値の強調係数を出力する強調
係数出力部、前記フィルタ部が出力する強調量に前記強
調係数出力部が出力する強調係数を乗算する乗算回路、
および前記乗算回路による乗算値と注目画素の濃度とを
加算して補正された濃度を出力する加算回路を含むMT
F補正回路とを備えた画像処理蔵置。
6. An image reading apparatus for reading an image and outputting digital image data, a line including a pixel of interest of the digital image data output by the image reading apparatus, and a line for holding several lines of digital image data before and after the line. A buffer, a filter unit for calculating an enhancement amount based on a density difference between the pixel of interest and peripheral pixels of the digital image data, and an enhancement coefficient corresponding to the density of the pixel of interest and a sign of the enhancement amount output by the filter unit When the density of the target pixel is at an intermediate level, the enhancement coefficient output unit that outputs a larger enhancement coefficient when the enhancement amount is negative than when the enhancement amount is positive, and the filter unit includes: A multiplication circuit that multiplies the enhancement amount to be output by the enhancement coefficient output by the enhancement coefficient output unit;
And an adding circuit for adding a multiplied value by the multiplying circuit and the density of the target pixel to output a corrected density.
An image processing storage provided with an F correction circuit.
【請求項7】 MTF補正回路におけるフィルタ部は、
特性が異なる複数のフィルタと、各フィルタの出力のう
ちの最大値を強調量として出力する最大値検出部とを含
む請求項6記載の画像処理装置。
7. A filter section in the MTF correction circuit,
The image processing apparatus according to claim 6, further comprising: a plurality of filters having different characteristics; and a maximum value detection unit that outputs a maximum value of outputs of the filters as an enhancement amount.
JP10175363A 1998-06-08 1998-06-08 Mtf correcting circuit and image processor Pending JPH11355580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10175363A JPH11355580A (en) 1998-06-08 1998-06-08 Mtf correcting circuit and image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10175363A JPH11355580A (en) 1998-06-08 1998-06-08 Mtf correcting circuit and image processor

Publications (1)

Publication Number Publication Date
JPH11355580A true JPH11355580A (en) 1999-12-24

Family

ID=15994784

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10175363A Pending JPH11355580A (en) 1998-06-08 1998-06-08 Mtf correcting circuit and image processor

Country Status (1)

Country Link
JP (1) JPH11355580A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366946A (en) * 2001-06-08 2002-12-20 Mega Chips Corp Image processor
JP2018207366A (en) * 2017-06-07 2018-12-27 キヤノン株式会社 Image processing apparatus, image formation apparatus, image processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002366946A (en) * 2001-06-08 2002-12-20 Mega Chips Corp Image processor
JP2018207366A (en) * 2017-06-07 2018-12-27 キヤノン株式会社 Image processing apparatus, image formation apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
JP3092024B2 (en) Image processing method
JP3489796B2 (en) Image signal processing device
JPH04356869A (en) Image processor
JP3003799B2 (en) Image sharpness enhancement method and apparatus
JP4099936B2 (en) Image processing apparatus, image processing method, and recording medium storing image processing program
JP2777202B2 (en) Image processing device
JPH11355580A (en) Mtf correcting circuit and image processor
JP2002158872A (en) Image processing method, image processor and recording medium
JP3512581B2 (en) Image filtering method, image filtering device, and image edge enhancement processing device
JPH08305843A (en) Method for converting pixel density of digital image
JP3361355B2 (en) Image processing device
JPH08181864A (en) Picture processor
JP2502928B2 (en) Image signal processor
JP2810897B2 (en) Image signal processing device
JP4084719B2 (en) Image processing apparatus, image forming apparatus including the image processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2738818B2 (en) Image signal processing device
JPH0662230A (en) Image forming device
JP3007102B2 (en) Image processing device
JP2000152006A (en) Smoothing processor
JP2006245938A (en) Image processing apparatus
JP2777476B2 (en) Image processing device
JP2702133B2 (en) Image processing method
JP3288748B2 (en) Image processing method
JPH11331606A (en) Picture processor
JP2001251515A (en) Image processor