JPS6356063A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JPS6356063A
JPS6356063A JP61199486A JP19948686A JPS6356063A JP S6356063 A JPS6356063 A JP S6356063A JP 61199486 A JP61199486 A JP 61199486A JP 19948686 A JP19948686 A JP 19948686A JP S6356063 A JPS6356063 A JP S6356063A
Authority
JP
Japan
Prior art keywords
pixel
density
ratio
interest
gray level
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
JP61199486A
Other languages
Japanese (ja)
Inventor
Yuzuru Suzuki
譲 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP61199486A priority Critical patent/JPS6356063A/en
Publication of JPS6356063A publication Critical patent/JPS6356063A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To identify a fogged character included in a character area or a character of a low density as a character properly by distinguishing a character picture aud an intermediate tone picture based on the ratio of a contrast level of a noted picture element to a mean value of a contrast level of surrounding picture elements. CONSTITUTION:A filter processing circuit 4 receives a density data of picture elements around a noted picture element from a picture memory 2 to obtain an adjacent picture element mean density DaV. An arithmetic circuit 5 obtains a ratio Dcn/Dav of the mean density Dav to the density data Dcn of the noted picture element inputted from the picture element memory 2, a deciding circuit 6 compares the ratio Dcn/Dav with a threshold value and outputs a decision signal SL. An arithmetic circuit 7 uses the adjacent picture element mean density Dav and a center picture element density Dcn to attain the arithmetic operation and to output an arithmetic density Do. A multiplexer 8 selects the density Do according to the decision signal SL, a screen generating section 9 compares the storage data in the dither matrix with the input density data from the multiplexer 8 and outputs the result of comparison to a picture output device 10.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、文字等の2値画像と写真等の中間調画像が
混在する原稿を読取り、これを記録再現する際、前記2
種の画像を適格に識別し、夫々の画像領域に適切な処理
を施し、高品質の出力両件を得るようにした画像処理方
法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for reading a document containing a mixture of binary images such as characters and halftone images such as photographs, and when recording and reproducing the document.
The present invention relates to an image processing method that properly identifies seed images, applies appropriate processing to each image region, and obtains high-quality output.

[従来の技術] 一般の文書原稿中には文字と写真とが混在しているもの
が多数あり、このような原稿を2値化して記録すると文
字は良いが、写真の画質が劣化し、また逆に、ディザ処
理等の中間調生成法により記録すると写真は良好となる
が文字の画質が劣化してしまう。このため、これら両者
の画像品質が良好になるように例えば、文字画像は単純
2値化し、写真画像はディザ処理するためには、これら
2種の画像領域を適格に区別することが必要になる。
[Prior Art] Many general document manuscripts contain a mixture of text and photographs, and when such manuscripts are recorded in binary format, the text is good, but the image quality of the photographs deteriorates, and On the other hand, if the image is recorded using a halftone generation method such as dither processing, the photograph will be good, but the image quality of the text will deteriorate. Therefore, in order to improve the image quality of both, for example, to simply binarize a character image and dither process a photographic image, it is necessary to properly distinguish between these two types of image areas. .

このため、特開昭58−220563号公報および特開
昭58−220564号公報に示される従来技術におい
ては、注目画素の濃度データであるシャープ信号Dsh
と注目画素及び該注目画素の周囲の画素の平均濃度値で
あるアンシャープ信号[) ushとの差の絶対値l 
Dush −Dshlを取り、これがあるしきい値°[
hを超えたときに文字領域と判定するようにしている。
For this reason, in the prior art disclosed in Japanese Patent Laid-Open No. 58-220563 and Japanese Patent Laid-Open No. 58-220564, the sharp signal Dsh, which is the density data of the pixel of interest, is
and the unsharp signal [) ush, which is the average density value of the pixel of interest and pixels surrounding the pixel of interest, l
Take Dush −Dshl and set this to some threshold °[
When it exceeds h, it is determined to be a character area.

これは、第5図に示したように、中間調領域をシャープ
、アンシャープ信号で見たときのfA度レベルの変化は
少ないが(第5図(aHb)参照)、文字領域をシャー
プ、アンシャープ信号で観察したときの濃度レベルの変
化が大きい(第5図(cHd)参照)という、濃度勾配
の違いに着目した手法である。
As shown in Figure 5, there is little change in the fA degree level when looking at the halftone area with sharp and unsharp signals (see Figure 5 (aHb)), but when looking at the text area with sharp and unsharp signals. This method focuses on the difference in concentration gradient, which shows that the change in concentration level is large when observed using a sharp signal (see FIG. 5 (cHd)).

[発明が解決しようとする問題点] しかし、この従来方法ではシャープ信号とアンシャープ
信号との差の絶対値l Du、sh −Dshlがある
しきい値Thより大きいか否かで領域判定を行なうよう
にしているため、文字部の濃度が非常に高く、かつ鮮明
である場合には有効であるが、実際、このような理想的
な文字は少なく、通常は低濃度でぼけた文字が多いため
、かかる従来方法ではかなりの判定誤りを生じてしまう
。また、文字画像がある程度理想的状態に近いものであ
ったとしても、読取り系の特性から読取り後の文字画像
からはその鮮明度がかなり失われ、従来装置においては
このことも判定誤りの原因となる。第6図はこのような
状態を示すものであり、同図(a)。
[Problems to be Solved by the Invention] However, in this conventional method, area determination is performed based on whether the absolute value l Du, sh −Dshl of the difference between the sharp signal and the unsharp signal is greater than a certain threshold Th. This method is effective when the density of the text is very high and clear, but in reality, such ideal characters are rare, and there are usually many blurry characters with low density. , such conventional methods result in considerable judgment errors. Furthermore, even if the character image is close to the ideal state to some extent, due to the characteristics of the reading system, the character image loses a considerable amount of sharpness after being read, and this is also a cause of judgment errors in conventional devices. Become. FIG. 6 shows such a state, and is shown in FIG. 6(a).

(b)及び(C)は大々理想的な鮮明文字についてのシ
ャープ信号D sh、アンシャープ信号D ushおよ
びその差の絶対値l Dush−Dshlを示し、また
同図(d) 、 (e)及び(f)は夫々読取装置を介
して得られたぼけた文字についてのDsh、 Dush
およびl [)ush −Dshlを示している。第6
図(c)および(f)を比較すれば明らかなように、シ
ャープ信号Dsh  とアンシャープ信号Dushとの
差の絶対値I Dush −Dstlは、鮮明文字の場
合はその値が大きくなるが、ぼけた文字の場合はその値
が小さくなり、このため従来装置においてはぼけた文字
部は中間調領域と誤判定されることが多かった。この問
題点は、文字画像の劣化度に応じて閾1aThを変化さ
せればよいと考えられるが、実際にはこのような処理は
不可能に近く、また実現されたとしては非常に複雑な処
理が必要になると考えられる。
(b) and (C) show the sharp signal Dsh, the unsharp signal Dush, and the absolute value of the difference lDush-Dshl for ideal clear characters, and (d) and (e) and (f) are Dsh and Dush for blurred characters obtained through the reading device, respectively.
and l[)ush-Dshl are shown. 6th
As is clear from comparing Figures (c) and (f), the absolute value I Dush - Dstl of the difference between the sharp signal Dsh and the unsharp signal Dush increases in the case of sharp characters, but The value is small in the case of a blurred character, and for this reason, in conventional devices, blurred character portions were often erroneously determined to be halftone areas. It is thought that this problem can be solved by changing the threshold 1aTh according to the degree of deterioration of the character image, but in reality, such processing is almost impossible, and even if it were realized, it would be a very complicated process. is likely to be necessary.

この発明は上記実情に鑑みてなされたもので、低tJ度
あるいはぼけた文字データを文字として適格に識別でき
る画像処理方法を提供しようとするものである。さらに
この発明では、正確な領域識別を行なうとともに、中間
調画像領域のノイズ除去及び輪郭部強調を行なうことに
より、文字領域及び中間領域の双方について高品質の出
力画像を得ることができる画像処理方法を提供しようと
するものである。
The present invention has been made in view of the above-mentioned circumstances, and it is an object of the present invention to provide an image processing method that can properly identify character data with low tJ degree or blur as characters. Furthermore, the present invention provides an image processing method that can obtain high-quality output images for both character areas and intermediate areas by accurately identifying areas, removing noise in halftone image areas, and emphasizing edges. This is what we are trying to provide.

[問題点を解決するための手段および作用]この発明で
は、注目画素を中心とする画素マトリックスを設定し、
該注目画素の濃淡レベルと前記画素マトリックス中の画
素の平均濃淡レベルとの比を求め、該求めた比を所定の
閾値と比較し、その比較結果に基づき注目画素が文字画
像および中間調画性のいずれに含まれるかを判定するよ
うにする。
[Means and effects for solving the problem] In this invention, a pixel matrix is set with the pixel of interest as the center,
The ratio between the gray level of the pixel of interest and the average gray level of the pixels in the pixel matrix is calculated, the calculated ratio is compared with a predetermined threshold, and based on the comparison result, the pixel of interest is determined to be a character image or a halftone image. to determine which of the following it is included in.

上記の比をとることにより、鮮明文字とぼけた文字との
レベル差が小さくなり、このため適当な所定のrJJ値
を設定することで鮮明文字はもちろんぼけた文字につい
ても誤判定なく正確に識別することができる。
By taking the above ratio, the difference in level between clear characters and blurred characters becomes small. Therefore, by setting an appropriate predetermined rJJ value, not only clear characters but also blurred characters can be accurately identified without misjudgment. be able to.

また、この発明では、注目画素を中心と覆る画素マトリ
ックスを設定し、該注目画素の濶淡レベルと前記画素マ
トリックス中の画素の平均濃淡レベルとの比を求め、該
求めた比を2つの異なる第1および第2の閾値と比較し
、比≧第1の閾値である場合は文字領域と判定し、第1
の閾値〉比≧第2の閾値である場合は中間調領域の輪郭
部であると判定し、比〈第2の閾値である場合は中間調
領域の輪郭部以外であると判定し、比≧第1の閾値であ
る場合は、注目画素の出力濃淡レベルを該濃淡レベルが
とり得る最大値又は最小値のいずれかとし、第1の閾値
〉比≧第2の閾値である場合は注目画素の出力濃淡レベ
ルを所定の演算式に従って輪郭強調処理した値とし、比
く第2の閾値である場合は出力濃淡レベルを前記画素マ
トリックス中の画素の平均濃淡レベルとするようにする
Further, in the present invention, a pixel matrix that covers the pixel of interest is set as the center, the ratio of the gray level of the pixel of interest to the average gray level of the pixels in the pixel matrix is determined, and the calculated ratio is divided into two different It is compared with the first and second threshold values, and if the ratio ≧ the first threshold value, it is determined that it is a character area, and the first
If the ratio is equal to or greater than the second threshold, it is determined that the area is the outline of the halftone area, and if the ratio is the second threshold, it is determined that the area is other than the outline of the halftone area. If it is the first threshold, set the output gray level of the pixel of interest to either the maximum value or the minimum value that the gray level can take, and if the ratio of the first threshold > the second threshold, then the output gray level of the pixel of interest The output gradation level is set to a value obtained by contour enhancement processing according to a predetermined arithmetic expression, and when the output gradation level is the second threshold value, the output gradation level is set to the average gradation level of the pixels in the pixel matrix.

[実施例] 第1図はこの発明にかかる画像処理方法を実施する際の
装置構成例を示すものである。
[Embodiment] FIG. 1 shows an example of an apparatus configuration when implementing the image processing method according to the present invention.

第1図において、画像入力装置1は例えばCC・Dライ
ンイメージセンサおよびA/D変換器等で構成され、C
ODイメージセンサによって読取られた原稿画像データ
はA/D変換器によって例えば8ビツトの多値濃度デー
タ(又は反射率データ)に変換して出力される。画像メ
モリ2は例えばページメモリであり、画像入力装@1か
ら入力された多値濃度データを原稿1ペ一ジ分格納する
In FIG. 1, an image input device 1 includes, for example, a CC/D line image sensor, an A/D converter, etc.
The original image data read by the OD image sensor is converted into, for example, 8-bit multi-value density data (or reflectance data) by an A/D converter and output. The image memory 2 is, for example, a page memory, and stores multilevel density data input from the image input device @1 for one page of the original.

画像処理装置3は、フィルタ処理回路4、演算回路5、
判定回路6、演算回路7、マルチプレクサ8およびスク
リーン生成部9で構成され、これら構成要素によって領
域判定処理、エツジ補正及びディザ処理等を行ない、「
1」または「0」の2Vi信号から成る濃度信号を出力
する。画像入力装置10は例えばレーザビームプリンタ
、サーマルプリンタあるいはインクジェットプリンタで
あり、レーザビームプリンタである場合は、画像処理装
置3から入力される2値濃度信号に従ってレーザビーム
をオン・オフすることにより画像記録を行なう。
The image processing device 3 includes a filter processing circuit 4, an arithmetic circuit 5,
It is composed of a determination circuit 6, an arithmetic circuit 7, a multiplexer 8, and a screen generation section 9, and these components perform area determination processing, edge correction, dither processing, etc.
A density signal consisting of a 2Vi signal of "1" or "0" is output. The image input device 10 is, for example, a laser beam printer, a thermal printer, or an inkjet printer. If it is a laser beam printer, image recording is performed by turning the laser beam on and off according to a binary density signal input from the image processing device 3. Do the following.

次に、画像処理装@3の構成等を説明する前に、該画9
処理装置による処理手順を筒中に説明する。
Next, before explaining the configuration of the image processing device @3, the image processing device @3 will be described.
The processing procedure by the processing device will be explained in detail.

まず、第2図に示すように、注目画素Pcnを中心とす
る3×3の画素マトリックスを考える。この実施例では
、ぼけた文字の識別W度を向上させるためシャープ信号
Dshとアンシャープ信号[) ushとの比D sh
/ D ushをとり、この比[)sh/Q ushに
基づき文字領域と中間調領域とを識別するようにする。
First, as shown in FIG. 2, consider a 3×3 pixel matrix centered on the pixel of interest Pcn. In this embodiment, in order to improve the degree of discrimination W of blurred characters, the ratio D sh of the sharp signal Dsh and the unsharp signal [) ush is
/Dush, and the character area and halftone area are identified based on this ratio [)sh/Qush.

このシャープ、アンシャープ信号の比D sh/ D 
ushは原画像の状態に関係なく狭い範囲の値に収まる
ので、従来に比べ領域識別のための閾値の設定が容易と
なり、画質劣化のひどい文字や低温度の文字でも所定の
閾値を設定するのみで正確に識別することができるよう
になる。尚、注目画素Pcnの濃度を[) cn、周囲
の画素P1〜P8の′a度を夫々D1〜D8とすると、
シャープ信号Dshおよびアンシャープ信号Dushは
次式に従って求めるようにした。
This ratio of sharp and unsharp signals D sh/D
Since ush falls within a narrow range of values regardless of the condition of the original image, it is easier to set thresholds for area identification than before, and even for characters with severe image quality deterioration or characters with low temperature, it is only necessary to set a predetermined threshold. can be accurately identified. Incidentally, if the density of the pixel of interest Pcn is [)cn, and the 'a degrees of the surrounding pixels P1 to P8 are D1 to D8, respectively,
The sharp signal Dsh and the unsharp signal Dush were determined according to the following equations.

D sh= D cn =[)aV すなわち、本実施例では文字領域の識別度を上げるため
、アンシャープ信号() ushは注目画素Pcnを除
いた画素マトリックス中の各画素P1〜P8の平均f:
ja値として求めるようにしている。
D sh = D cn = [) aV In other words, in this embodiment, in order to increase the degree of discrimination of character areas, the unsharp signal () ush is the average f of each pixel P1 to P8 in the pixel matrix excluding the pixel of interest Pcn:
It is calculated as the ja value.

第3図にそのフィルタ係数の1例を示す。尚、従来装置
においては、アンシャープ信号[) ushは注目画1
Pcnを含めた画素マトリックス中の各画素に適当な重
みを付けた平均濃度値として求めるようにしている。
FIG. 3 shows an example of the filter coefficients. In the conventional device, the unsharp signal [) ush is the image of interest 1
The average density value is obtained by appropriately weighting each pixel in the pixel matrix including Pcn.

第4図は、鮮明文字およびぼけた文字の夫々についてシ
ャープ信号DCnとアンシャープ信号[)aVとの比D
 cn/ D avをとった1例を示すものであるが、
鮮明文字とぼけた文字とのレベル差が従来に比べ小さく
なり、このため適当な閾値Thを設定しておくことで、
理想的文字はもちろん、ぼけた文字についても誤判定な
く識別ザることができる。
FIG. 4 shows the ratio D of the sharp signal DCn and the unsharp signal [)aV for each of clear characters and blurred characters.
This shows an example of cn/D av.
The level difference between clear characters and blurred characters is smaller than before, so by setting an appropriate threshold Th,
Not only ideal characters but also blurred characters can be identified without misjudgment.

今、シャープ信号とアンシャープ信号との比をrとする
と、この比rは中間調等の濃度変化の緩やかな領域では
r=1となり、文字部のような濃度変化が急な領域では
r=1.3以上となり、また中間調領域の輪郭部ではr
=1.1〜1.3程度の値をとる。
Now, if the ratio between the sharp signal and the unsharp signal is r, this ratio r will be r = 1 in areas where the density changes are gradual, such as halftones, and r = 1 in areas where the density changes are steep, such as text areas. 1.3 or more, and in the contour part of the halftone area, r
= takes a value of about 1.1 to 1.3.

したがって、文字領域と中間調領域を識別するためのr
JJ値−rhは1.3〜1,5程度の値に設定すればよ
い。
Therefore, r for identifying character areas and halftone areas is
The JJ value - rh may be set to a value of about 1.3 to 1.5.

ところで、この実施例では、前記求めたシャープ信号と
アンシャープ信号との比rに基づき中間調領域内の輪郭
部の強調補正及び中間調領域での平滑化処理を以上の条
件式(i) (iiHiii)に基づいて行なうように
する。
By the way, in this embodiment, the emphasis correction of the contour part in the halftone area and the smoothing process in the halftone area are performed based on the ratio r of the sharp signal and the unsharp signal obtained above using the above conditional expression (i) ( iiHiii).

(i)「≧Th1のとき [)0−最大値又は最小値 (ii)Tt+1>r>Th2のとき Do = a (Dcn −Dav) + Dcn(i
ii) r < Th2の仁き Do=Dav 尚、上記条件式において、第1の閾値丁h1は1.3〜
1.5程度の値であり、第2の閾値Th2は1近傍の値
であり、また、DOは出力画素濃度、aは輪郭強調係数
であり、「最大値」、「最小値」は夫々入力濃度データ
がとり得る最高濃度レベル、最低濃度レベルである。
(i) When ≧Th1 [)0 - maximum value or minimum value (ii) When Tt+1>r>Th2, Do = a (Dcn -Dav) + Dcn(i
ii) Do = Dav where r < Th2 In the above conditional expression, the first threshold value h1 is 1.3 to
1.5, the second threshold Th2 is a value close to 1, DO is the output pixel density, a is the edge enhancement coefficient, and the "maximum value" and "minimum value" are the input values, respectively. These are the highest and lowest concentration levels that the concentration data can take.

すなわち、上記条件式において、 (i)の場合は、注目画素Pcnが文字領域に含まれる
と判定し、その出力濃度DOを最高濃度レベル又は最低
濃度レベルとする。
That is, in the case of (i) in the above conditional expression, it is determined that the pixel of interest Pcn is included in the character area, and its output density DO is set to the highest density level or the lowest density level.

(11)の場合は、注目画素Pcnが中間調領域のエツ
ジ部分に含まれると判定し、式a (Dcn −Dav
)+Dcnに従って出力濃度Qoを決定することにより
、エツジ部分の強調を行なう。
In the case of (11), it is determined that the pixel of interest Pcn is included in the edge part of the halftone area, and the formula a (Dcn −Dav
)+Dcn, the edge portion is emphasized by determining the output density Qo.

(iii)の場合は、注目画素panが中間調領域のエ
ツジ以外の部分に含まれると判定し、入力濃度[)cn
を周囲画素の平均値[)aVと置き変えて出力すること
により、平滑化を行ない、高解像の網点画像が入力され
たときに発生するノイズを除去する。
In the case of (iii), it is determined that the pixel of interest pan is included in a part other than the edge of the halftone area, and the input density [)cn
By replacing and outputting the average value [)aV of surrounding pixels, smoothing is performed and noise that occurs when a high-resolution halftone image is input is removed.

尚、この平均値[)ayは注目画素を除いたものあるい
は注目画素を含めたもののいずれでもよい。
Note that this average value [)ay may be either one excluding the pixel of interest or one including the pixel of interest.

次にかかる作用を成す画像処理装置3の内部構成例を示
す。
Next, an example of the internal configuration of the image processing device 3 that performs the above operation will be shown.

演算回路7に画像メモリ2から注目画素Pcnの濃度デ
ータDcnが入力されているとき、フィルタ98理回路
4には画像メモリ2から注目画素Pcnの周囲の面木P
1乃至P8の濃度データD1乃至D8が入力されている
。フィルタ処理回路4では、入力された濃度データD1
乃至D8に第3図に示したフィルタをかけることにより
隣接画素平均濃只 れた平均濃度[)aVは演算回路5および演算回路7に
入力される。演算回路5は、該入力された平均濃度[)
aVと画像メモリ2から入力された注目画素の濃度デー
タ[)cnとの比D cn/ D avを求め、その値
D cn/ D aVを判定回路6に入力する。判定回
路6は入力されたUni D cn/ D ayを前述
の2つの閾値Th1及びTh2と比較し、当該注目画素
Pcnが前述の条件式(i)(肖)及び(iii)のい
ずれに属するのかを判定し、その判定信号SLをマルチ
プレクサ8に入力する。
When the density data Dcn of the pixel of interest Pcn is input from the image memory 2 to the arithmetic circuit 7, the filter 98 logic circuit 4 receives the surface tree P around the pixel of interest Pcn from the image memory 2.
Density data D1 to D8 of numbers 1 to P8 are input. In the filter processing circuit 4, the input density data D1
By applying the filter shown in FIG. 3 to D8 to D8, the average density [)aV of the adjacent pixels is inputted to the calculation circuit 5 and the calculation circuit 7. The arithmetic circuit 5 calculates the input average concentration [)
The ratio D cn/D av between aV and the density data [ ) cn of the pixel of interest inputted from the image memory 2 is determined, and the value D cn/D aV is inputted to the determination circuit 6 . The determination circuit 6 compares the input Uni D cn/D ay with the aforementioned two threshold values Th1 and Th2, and determines which of the aforementioned conditional expressions (i) and (iii) the pixel of interest Pcn belongs to. is determined, and the determined signal SL is input to the multiplexer 8.

かかる処理に並行してPf4g回路7では、入力される
隣接画素平均濃度値[)ay及び中心画素濃度[)cn
を用い、前述の条件式(iHii)及び(iii)の各
演算を並行して行ない、各演算値をマルチプレクサ8に
入力する。
In parallel with this processing, the Pf4g circuit 7 receives input adjacent pixel average density value [)ay and center pixel density [)cn.
, the calculations of the above-mentioned conditional expressions (iHii) and (iii) are performed in parallel, and each calculation value is input to the multiplexer 8.

すなわち、入力データ[)cnの濃度レベルが例えばO
〜255までの256レベルであるとした場合、(1)
の演算においては、入力データDcnと所定の閾値との
比較により黒画素と判定されたとぎは入力データDcn
を最高潤度レベルr255Jに置換え、また白画素と判
定されたときには入力データDcnを最低潤度レベルr
OJに置換えて出力するようにする。これはスクリーン
生成部9におけるその後のディザ処理において、白黒画
素の誤反転出力を防止するためである。
That is, if the concentration level of the input data [)cn is, for example, O
If there are 256 levels from ~255, (1)
In the calculation, when the input data Dcn is determined to be a black pixel by comparing it with a predetermined threshold value, the input data Dcn
is replaced with the highest moisture level r255J, and when the pixel is determined to be white, the input data Dcn is replaced with the lowest moisture level r255J.
Replace it with OJ and output it. This is to prevent erroneously inverted output of black and white pixels in the subsequent dither processing in the screen generation section 9.

また、(11)の演算においては、前述の式a(Dcr
+ −Dav) 十Dcnに従って濃度値[)oを求め
、該濃度値DOを出力する。
In addition, in the calculation of (11), the above-mentioned formula a(Dcr
+ -Dav) The density value [)o is determined according to 10Dcn, and the density value DO is output.

また、(iii)の演等においては、入力C度Dcnを
注目画素を含めた周囲画素の平均濃度Qav’ と置き
換え、これを出力濃度値DOとして出力する。
In the performance (iii), the input C degree Dcn is replaced with the average density Qav' of surrounding pixels including the pixel of interest, and this is output as the output density value DO.

マルチプレクサ8においては、判定回路6から入力され
た判定信号SLに従ってこれら3つの出力濃度値のうち
のいずれか1つを選択し、該選択した値をスクリーン生
成部9へ入力する。
The multiplexer 8 selects one of these three output density values according to the judgment signal SL input from the judgment circuit 6 and inputs the selected value to the screen generation section 9 .

スクリーン生成部9は、nxngのIdllから成るデ
ィザマトリックスを記憶するメモリ、及び比較部等で構
成され、該比較部でディザマトリックスの記憶データと
マルチプレクサ8からの入力濃度データとを比較し、そ
の大小2値から成る比較結果を画像出力装置10へ出力
する。画像出力装置10はスクリーン生成部9から入力
された2値濃度信号に従って例えばレーザビームをオン
・オフすることにより原稿像を再現する。
The screen generation section 9 includes a memory for storing a dither matrix consisting of nxng Idlls, a comparison section, etc. The comparison section compares the stored data of the dither matrix with the input density data from the multiplexer 8, and determines the magnitude. The comparison result consisting of binary values is output to the image output device 10. The image output device 10 reproduces the original image by, for example, turning on and off a laser beam according to the binary density signal input from the screen generation section 9.

画像処理装置3においては、かかる動作98理を画像メ
モリ2内の全画素について繰返し実行する。
In the image processing device 3, these 98 operations are repeatedly executed for all pixels in the image memory 2.

以上のような処理を施すことによって、中間調と文字と
いう異なった画像が混在する原稿のそれぞれに対して忠
実な再現が可能になり、なおかつ中間調内のエツジ部を
鮮鋭に強調でき、さらに、中間調のそれ以外の部分では
ノイズ成分が除去された滑らかな画質とすることができ
る。
By performing the above processing, it is possible to faithfully reproduce each document containing different images such as halftones and text, and it is also possible to sharply emphasize the edges within the halftones. In other halftone areas, noise components are removed and smooth image quality can be achieved.

[発明の効果] 以上説明したようにこの発明によれば、注目画素の濃淡
レベルと周囲画素の濃淡レベルの平均値との比によって
文字画像と中間調画像とを区別するようにしたので、画
像内容及び読取系の性能に関係なく文字領域に含まれる
ぼけた文字あるいは低濃度の文字を文字として適格に識
別することができるようになる。
[Effects of the Invention] As explained above, according to the present invention, character images and halftone images are distinguished from each other based on the ratio of the gray level of the pixel of interest to the average value of the gray levels of surrounding pixels. It becomes possible to properly identify blurred characters or low-density characters included in a character area as characters, regardless of the content and the performance of the reading system.

また、この発明では、前記求めた比を2つの異なる閾値
と比較し、この比較結果に基づき注目画素が文字画像領
域、中間調画像領域の輪郭部、及び該輪郭部以外の中間
調画像領域のうちのいずれに含まれるかを判定し、該判
定結果に応じて輪郭強調処理、平滑化処理を施すように
したので、中間調画像についてもボケ修正及び雑音除去
が行なわれ、文字画像及び中間調画像の双方の画像品質
を向上させることができる。
Further, in the present invention, the obtained ratio is compared with two different threshold values, and based on the comparison result, the pixel of interest is in the character image area, the outline of the halftone image area, and the halftone image area other than the outline. Since it is determined which of these images it is included in, and contour enhancement processing and smoothing processing are performed according to the judgment result, blur correction and noise removal are also performed on halftone images, and character images and halftone images are The image quality of both images can be improved.

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

第1図はこの発明にかかる画像処理方法を実施する場合
の一構成例を示すブロック図、第2図は画素マトリック
スの1例を示す図、第3図はアンシャープ信号用のフィ
ルタ係数の一例を示す図、第4図はこの発明の作用効果
を説明するためのグラフ、第5図は中間調画像及び文字
画像についてのシャープ・アンシャープ信号の変化態様
を示すグラフ、第6図は従来装置の作用を説明するため
のグラフである。 1・・・画像入力装置、2・・・画像メモリ、3・・・
画像!133!I!装置、4・・・フィルタ処理回路、
5.7・・・演算回路、6・・・判定回路、8・・・マ
ルチプレクサ、9・・・スクリーン生成部、10・・・
画像出力装置。 −、ユ!−・I 第10 第4コ
FIG. 1 is a block diagram showing an example of a configuration when implementing the image processing method according to the present invention, FIG. 2 is a diagram showing an example of a pixel matrix, and FIG. 3 is an example of filter coefficients for unsharp signals. , FIG. 4 is a graph for explaining the effects of the present invention, FIG. 5 is a graph showing changes in sharp/unsharp signals for halftone images and character images, and FIG. 6 is a graph for explaining the effects of the present invention. This is a graph for explaining the effect of . 1... Image input device, 2... Image memory, 3...
image! 133! I! Device, 4... filter processing circuit,
5.7... Arithmetic circuit, 6... Judgment circuit, 8... Multiplexer, 9... Screen generation unit, 10...
Image output device. -, Yu! -・I No. 10 No. 4

Claims (3)

【特許請求の範囲】[Claims] (1)注目画素を中心とする画素マトリックスを設定し
、該注目画素の濃淡レベルと前記画素マトリックス中の
画素の平均濃淡レベルとの比を求め、該求めた比を所定
の閾値と比較し、その比較結果に基づき注目画素が文字
画像および中間調画像のいずれに含まれるかを判定する
ようにしたことを特徴とする画像処理方法。
(1) Setting a pixel matrix centered on the pixel of interest, determining the ratio between the gray level of the pixel of interest and the average gray level of the pixels in the pixel matrix, and comparing the calculated ratio with a predetermined threshold; An image processing method characterized in that it is determined whether a pixel of interest is included in a character image or a halftone image based on the comparison result.
(2)注目画素を中心とする画素マトリックスを設定し
、該注目画素の濃淡レベルと前記画素マトリックス中の
画素の平均濃淡レベルとの比を求め、該求めた比を2つ
の異なる第1及び第2の閾値と比較し、比≧第1の閾値
である場合は文字領域と判定し、第1の閾値>比≧第2
の閾値である場合は中間調領域の輪郭部であると判定し
、比<第2の閾値である場合は中間調領域の輪郭部以外
であると判定し、比≧第1の閾値である場合は、注目画
素の出力濃淡レベルを該濃淡レベルがとり得る最大値又
は最小値のいずれかとし、第1の閾値>比≧第2の閾値
である場合は注目画素の出力濃淡レベルを所定の演算式
に従って輪郭強調処理した値とし、比<第2の閾値であ
る場合は出力濃淡レベルを前記画素マトリクス中の画素
の平均濃淡レベルとするようにしたことを特徴とする画
像処理方法。
(2) Set a pixel matrix centered on the pixel of interest, find the ratio between the gray level of the pixel of interest and the average gray level of the pixels in the pixel matrix, and apply the calculated ratio to two different first and second pixels. 2, and if the ratio ≧ the first threshold, it is determined to be a text area, and if the first threshold > the ratio ≧ the second
If it is the threshold value, it is determined that it is the outline of the halftone area, if the ratio < the second threshold, it is determined that it is other than the outline of the halftone area, and if the ratio ≧ the first threshold sets the output gray level of the pixel of interest to either the maximum value or the minimum value that the gray level can take, and if the first threshold > ratio ≧ second threshold, the output gray level of the pixel of interest is subjected to a predetermined calculation. An image processing method characterized in that the output gray level is set to a value subjected to contour enhancement processing according to the formula, and when ratio<second threshold value, the output gray level is set to the average gray level of pixels in the pixel matrix.
(3)前記平均濃淡レベルは注目画素を除いた画素マト
リックス中の各画素の濃淡レベルの平均値である特許請
求の範囲第(1)項または第(2)項記載の画像処理方
法。
(3) The image processing method according to claim (1) or (2), wherein the average gray level is an average value of gray levels of each pixel in the pixel matrix excluding the pixel of interest.
JP61199486A 1986-08-26 1986-08-26 Picture processing method Pending JPS6356063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61199486A JPS6356063A (en) 1986-08-26 1986-08-26 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61199486A JPS6356063A (en) 1986-08-26 1986-08-26 Picture processing method

Publications (1)

Publication Number Publication Date
JPS6356063A true JPS6356063A (en) 1988-03-10

Family

ID=16408605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61199486A Pending JPS6356063A (en) 1986-08-26 1986-08-26 Picture processing method

Country Status (1)

Country Link
JP (1) JPS6356063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0315706A (en) * 1989-03-01 1991-01-24 Hamamatsu Photonics Kk Two-dimensional incident position detecting device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0315706A (en) * 1989-03-01 1991-01-24 Hamamatsu Photonics Kk Two-dimensional incident position detecting device
JPH0749925B2 (en) * 1989-03-01 1995-05-31 浜松ホトニクス株式会社 Two-dimensional incident position detector

Similar Documents

Publication Publication Date Title
US7411699B2 (en) Method and apparatus to enhance digital image quality
JPH05328121A (en) Method and device for picture processing
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2002300402A (en) Image processor, processing method and recording medium
JP2003219191A (en) Image processor and image forming apparatus comprising it
JPS6348225B2 (en)
US20020041397A1 (en) Method of processing pixels with binary or multibit error diffusion
JP2004104635A (en) Image processing apparatus
JPS6356063A (en) Picture processing method
JP2006287623A (en) Input image correction device, method, and program, image processor, image formation apparatus, and recording medium
JPH09212642A (en) Image processor
JPH0370433B2 (en)
JP4740913B2 (en) Image processing apparatus, image processing method, image forming apparatus and program, and recording medium
JPS6359272A (en) Picture processor
JPH0457274B2 (en)
JP2702133B2 (en) Image processing method
JP2857906B2 (en) Halftone binarization processor
JP2001169099A (en) Picture reproducing device
JPS6180964A (en) Picture signal processing method
JPH0561677B2 (en)
JPS6356064A (en) Picture processing method
JPH03219774A (en) Picture processor
JPH02186876A (en) Picture processor
JP2001223912A (en) Image processor and storage medium
JPS6180970A (en) Picture signal processor