JPS6340465A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS6340465A
JPS6340465A JP61184840A JP18484086A JPS6340465A JP S6340465 A JPS6340465 A JP S6340465A JP 61184840 A JP61184840 A JP 61184840A JP 18484086 A JP18484086 A JP 18484086A JP S6340465 A JPS6340465 A JP S6340465A
Authority
JP
Japan
Prior art keywords
area
halftone
sum
image
character
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
JP61184840A
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 JP61184840A priority Critical patent/JPS6340465A/en
Publication of JPS6340465A publication Critical patent/JPS6340465A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent the occurrence of the inside omission and the error of a halftone part, etc., by obtaining the sum of picture elements judged to be each region in a window and correcting a primary decision according to the comparison result of each sum. CONSTITUTION:In an error correcting device 7, the sum Tt of the variable density values of the picture elements decided to be the character region in a window at the primary decision, and the sum Ti of the density values of the picture elements decided to be the intermediate tone region are obtained. Then, if each of the sum Tt and Ti is under the following relation, the decision state of a marked picture element is made to be reversed. Namely, if the marked picture element is the character region and besides, Tt<Ti is realized, the marked picture element is corrected so as to be the halftone region, and if the marked picture element is the halftone region and besides Tt>Ti is realized, the marked picture element is corrected so as to be the character region. For instance, in the case of a state shown in a figure, though the marked picture element is the halftone region, the sum Tt of the density values of the picture elements decided to be the character region is 200, and the sum Ti of the variable density values of the picture elements decided to be the halftone region is 120. Therefore, because of Tt>Ti, it is decided to be the character region and the primary decision is corrected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デジタル複写機、ファクシミリ等において使
用される原稿読取装置に関し、特に文字等の2値画像領
域と写真等の中間調画像領域とが混在する原稿を読み取
った後に、両領域を識別し、それぞれの領域に適切な処
理を施す画像処理方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document reading device used in a digital copying machine, a facsimile machine, etc. The present invention relates to an image processing method that identifies both areas after reading a document containing a mixture of areas, and performs appropriate processing on each area.

〔従来の技術及びその問題点〕[Conventional technology and its problems]

一般の文書原稿中には、文字等の2値画像と写真や印刷
等の中間調画像とが混在しているものが多数ある。
Many common documents contain a mixture of binary images such as characters and halftone images such as photographs and prints.

この様な原稿を単純に2値化して記録すると、文字の品
質は良いが写真の品質が劣化し、また逆にデイザ等の中
間調生成法により2値化して記録すると、写真の品質は
良好となるが文字の品質が劣化してしまう。文字及び写
真のそれぞれに対して品質が良好となるようにするため
には、異なった2種の領域を識別し、例えば文字は単純
2値化し、写真はデイザ処理することが必要になる。
If such a document is simply converted into a binary value and recorded, the quality of the text is good, but the quality of the photograph deteriorates.On the other hand, if the document is converted into a binary value and recorded using halftone generation methods such as dithering, the quality of the photograph is good. However, the quality of the characters deteriorates. In order to obtain good quality for each of text and photographs, it is necessary to identify two different types of areas, and for example, it is necessary to perform simple binarization for characters and dither processing for photographs.

この文字画像領域(以下文字領域と略称する)と中間調
画像領域(以下中間調領域と略称する)を識別するだめ
の方式として、特開昭58−220563号公報で示さ
れるように、注目画素のデータであるフォーカス値と、
注目画素の周囲の画素の平均値であるデフォーカス値の
差の絶対値をとり、これがある闇値を越えたときに文字
領域と判定する方法がある。これは文字部には急峻なエ
ツジが多く存在するごとに着目しているものである。す
なわち、第6図に示したように、3×3の窓で画像の濃
淡値を走査したときのフォーカス値fを、f=E とし、デフォーカス値dfを、 dr=]/9(へ十B+C+D十E十F+G峠旧I)と
し、更に両者の差の絶対値d−11’−dfiを求める
。そして、第7図に示すように、両者の差の絶対値d=
lf−dflが成る閾値thを越えたときに文字領域と
判定するものである。
As a method for identifying the character image area (hereinafter referred to as the character area) and the halftone image area (hereinafter referred to as the halftone area), as shown in Japanese Patent Laid-Open No. 58-220563, the pixel of interest is The focus value, which is the data of
There is a method of taking the absolute value of the difference between the defocus values, which are the average values of the pixels surrounding the pixel of interest, and determining that the pixel is a text area when this value exceeds a certain darkness value. We focused on this because there are many steep edges in the text. That is, as shown in FIG. 6, the focus value f when scanning the grayscale values of an image with a 3×3 window is f=E, and the defocus value df is dr=]/9( B+C+D1E1F+G Pass Old I), and further find the absolute value d-11'-dfi of the difference between the two. Then, as shown in FIG. 7, the absolute value of the difference between the two is d=
When lf-dfl exceeds the threshold th, it is determined that the area is a character area.

また、特開昭58−3374号公報で示されるように、
窓内の最大値maxと最小値minとの差で判定するも
のもある。これは、画像を第6図に示す窓で走査した場
合の最大値max =MAX(A、)1.c、D、E、
F、G、II。
Additionally, as shown in Japanese Patent Application Laid-Open No. 58-3374,
In some cases, the determination is made based on the difference between the maximum value max and the minimum value min within the window. This is the maximum value max = MAX (A,) 1. when the image is scanned with the window shown in FIG. c, D, E,
F, G, II.

■)、最小値min =MIN(A、B、C,D、E、
F、G、l+、 I)を求め、両者の差may−min
が成る閾値thを越えたときに文字領域と判定するもの
である。
■), minimum value min = MIN (A, B, C, D, E,
F, G, l+, I), and the difference between them may-min
It is determined that the area is a character area when it exceeds a threshold value th.

しかし、これらの方法は、文字領域に多く存在する急峻
なエツジに着目して判定を行っているため、文字部に中
抜けが生じるという問題がある。
However, since these methods make determinations by focusing on steep edges that are often present in character areas, there is a problem in that hollow portions occur in character areas.

すなわち、第7図に示されるような濃淡分布を有する文
字が入力されたときは、フォーカス値とデフォーカス値
の差の絶対値1f−dflは、点線で示されるように文
字のエツジ部(図において左下がり斜線部■で示される
)の両端部分が山状になる。この差の絶対値1f−df
 lが閾4fi:thを越えた領域のみが文字領域(図
において右下がり斜線部■で示される)と見做されるた
め、本来文字として認識されるべき部分が欠落し、この
中抜は領域(図において■で示される)では中間1Jj
l 領域として処理されてしまう。したがって、本来単
純2値化されるべき文字部がデイザ処理されてしまい文
字の質が劣化する。
That is, when a character having a density distribution as shown in FIG. 7 is input, the absolute value 1f-dfl of the difference between the focus value and defocus value is Both end portions of the left-sloping diagonal line (indicated by a diagonal line ■) are mountain-shaped. Absolute value of this difference 1f-df
Only the area where l exceeds the threshold 4fi:th is considered to be a character area (indicated by the diagonal line downward to the right in the figure), so the part that should originally be recognized as a character is missing, and this hollow area is (indicated by ■ in the figure), the middle 1Jj
l area. Therefore, the character portion that should originally be simply binarized is dithered, resulting in a deterioration in the quality of the character.

また、図示による説明は行わないが、中間調領域におい
て、ノイズの影響等もあり、孤立したごま塊状の誤りが
出力画像に発生する。
Further, although not explained with illustrations, in the halftone region, isolated block-like errors occur in the output image due to the influence of noise and the like.

これらの不都合は、フォーカス値とデフォーカス値の差
の絶対値を検出する方法に限らず、上述の特開昭58−
3374号公報で示されるような窓内の濃淡値の最大値
と最小値との差をとる方法においても同様に生しる。
These inconveniences are not limited to the method of detecting the absolute value of the difference between the focus value and the defocus value, and are not limited to the method of detecting the absolute value of the difference between the focus value and defocus value.
The same problem occurs in a method that calculates the difference between the maximum and minimum gradation values within a window, as disclosed in Japanese Patent No. 3374.

本発明は、」1記欠点を解決するために案出されたもの
であって、画素ごとに領域を一次判定した後に、所定窓
で画像を再度走査して判定を補正することにより、各領
域の判定誤りを防止することを目的とする。
The present invention has been devised in order to solve the drawback described in 1. After primary determination of the area for each pixel, the image is scanned again through a predetermined window to correct the determination. The purpose is to prevent judgment errors.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の画像処理処理方法は、上記目的を達成するため
、2値画像領域と中間調画像領域が混在する原稿を読み
取って画像情報を記録する原稿読取装置において、読み
取った画像について画素ごとに上記各領域のいずれであ
るかの一次判定を行い、その後領域判定用の窓で再び上
記画像を走査し、上記窓内の2値画像領域と判定された
画素の濃淡値の総和と、中間調画像領域と判定された画
素の濃淡値の総和とを比較し、この比較結果に基づいて
、上記一次判定の結果を補正することを特徴とする。
In order to achieve the above object, the image processing method of the present invention uses a document reading device that reads a document containing a mixture of binary image areas and halftone image areas and records image information. A primary judgment is made as to which of the areas it is, and then the above image is scanned again using the area judgment window, and the sum of the gray values of the pixels judged to be binary image areas within the above window and the halftone image are calculated. The method is characterized in that the region is compared with the total sum of gray values of the determined pixels, and the result of the primary determination is corrected based on the comparison result.

上記補正の例としては、2値画像領域と一次判定された
画素の濃淡値の総和をTtとし、中間調画像領域と一次
判定された画素の濃淡値の総和をT8 としたとき、注
目画素が2値画像領域であり且つTt < Trである
場合は判定結果を中間調画像領域に補正し、注目画素が
中間調画像領域であり且つTt> Tiである場合は判
定結果を2値画像領域に補正することが挙げられる。
As an example of the above correction, let Tt be the sum of the gray scale values of the binary image area and the pixels that have been primarily determined, and let T8 be the sum of the gray values of the halftone image area and the pixels that have been primarily determined. If the pixel of interest is a binary image area and Tt < Tr, the determination result is corrected to a halftone image area, and if the pixel of interest is a halftone image area and Tt > Ti, the determination result is corrected to a binary image area. One example is correction.

〔実施例〕〔Example〕

以下、図面を参照しながら実施例に基づいて本発明の特
徴を具体的に説明する。
DETAILED DESCRIPTION OF THE INVENTION Hereinafter, features of the present invention will be specifically described based on examples with reference to the drawings.

第2図に本発明を適用した画像処理装置全体のブロック
図を示す。
FIG. 2 shows a block diagram of the entire image processing apparatus to which the present invention is applied.

図中1は、たとえばドラム型スキャナ構成の入力装置で
あり、原稿情報を400 ドツト/インチの解像度で7
ビツトの濃淡値データとして読み取る。
Reference numeral 1 in the figure is an input device having a drum-type scanner configuration, for example, which inputs document information at a resolution of 400 dots/inch.
Read as bit gray value data.

2は8ピツI・の画像メモリであり、読み取った原稿の
、たとえばへ4サイズ1頁分のデータを格納できる容量
を有している。3は画像処理装置であり、後述するよう
に、読み取った原稿の領域を識別し、更に誤りを補正し
た後、中間調画像に対してはデイザ処理を、また文字画
像に対しては単純2値化を施して0.1の2値データを
生成し出力装置5へ送り出す。4は制御装置であり、装
置全体の信号制御を行うものである。出力装置5は、4
00 ドツト/インチの解像度で2値画像の記録を行う
もので、ここでは電子写真式レーザビームプリンタを例
としてあげているが、サーマルプリンタ、インクジェッ
トプリンタ等を使用することも可能である。
Reference numeral 2 denotes an 8-pixel image memory, which has a capacity to store data for one page of a read original, for example, F4 size. 3 is an image processing device which, as will be described later, identifies the area of the scanned document, corrects errors, and performs dither processing on halftone images, and simple binary processing on character images. to generate binary data of 0.1 and send it to the output device 5. 4 is a control device that performs signal control of the entire device. The output device 5 includes 4
It records a binary image with a resolution of 0.00 dots/inch, and although an electrophotographic laser beam printer is taken as an example here, it is also possible to use a thermal printer, an inkjet printer, etc.

次に、上記画像処理装置3の詳細について、第1図を参
照して説明する。
Next, details of the image processing device 3 will be explained with reference to FIG. 1.

図において6は領域判定装置を示し、先に述べた特開昭
58−220563号に記載のものと同様に、7ビツト
で入力された画像の濃淡値のフォーカス値とデフォーカ
ス値の差の絶対値により領域判定を行う。すなわち、こ
の差の絶対値が成る闇値を越えたら文字領域であると一
次判定し、第3図に示すように、7ビツトの濃淡値デー
タの先頭に付加された判定フラグ用のビット(MSB)
を1にする。
In the figure, reference numeral 6 indicates an area determination device, which, like the device described in Japanese Patent Application Laid-Open No. 58-220563 mentioned above, determines the absolute difference between the focus value and defocus value of the gradation value of an image input with 7 bits. Area determination is performed based on the value. That is, if the absolute value of this difference exceeds the darkness value, it is determined that it is a character area, and as shown in FIG. )
Set to 1.

また、差の絶対値が闇値未満であるときは中間調領域で
あると一次判定し、判定フラグを0にする。
Further, when the absolute value of the difference is less than the dark value, it is primarily determined that the image is in the halftone area, and the determination flag is set to 0.

7は本発明の特徴部分である誤り補正装置であり、領域
判定装置6において一次判定された結果を再度検討し、
より確度の高い領域判定を行う。
7 is an error correction device which is a characteristic part of the present invention, and it reconsiders the result of the primary judgment in the area judgment device 6,
Perform more accurate region determination.

すなわち、領域判定装置6からの出力には、先に説明し
たように誤りが含まれているためこれを補正する。
That is, since the output from the area determination device 6 includes errors as described above, this is corrected.

このように、領域判定装置6による判定だけでは、それ
ぞれの領域内でまだかなりの判定誤りが生じる。したが
って、この結果を一次判定結果として、更に処理を施し
て判定結果を補正する手法が必要となる。
In this way, the determination by the region determination device 6 alone still causes considerable determination errors within each region. Therefore, a method is required that uses this result as a primary determination result and performs further processing to correct the determination result.

第7図に示されるような文字部の中抜けを補正するため
の一つの方法としては、窓内の対角画素の状態を検出し
て注目画素の状態を決定することが考えられる。たとえ
ば、第5図(a)のように対角両端の画素が共に文字領
域であるとき、すなわち、判定フラグが1であるときは
、注目画素の状態がいかなる場合でも文字領域とするも
のである。
One possible method for correcting the hollow character part shown in FIG. 7 is to detect the states of diagonal pixels within the window and determine the state of the pixel of interest. For example, when the pixels at both ends of the diagonal are both character areas as shown in FIG. 5(a), that is, when the determination flag is 1, the pixel of interest is considered to be a character area no matter what the state of the pixel is. .

このように補正を加えることにより文字部の中抜は領域
がなくなる。しかしこの補正方法は、第5図(a)のよ
うなパターンの場合は有効であるが、第5図(b)のよ
うなパターンに対しては中間調である注目画素を逆に文
字と判定して、誤りを増幅してしまう。
By applying the correction in this way, there is no hollow area in the character part. However, although this correction method is effective in the case of the pattern shown in Fig. 5(a), in the case of the pattern shown in Fig. 5(b), the pixel of interest, which is an intermediate tone, is determined to be a character. and amplify the error.

また、窓内のフラグの多数決によって補正することも考
えられるが、この場合第5図軸)のようなパターンの場
合、文字領域であるにも関わらず中間調領域であると判
定され、誤りが生じてしまう。
It is also possible to correct by majority vote of the flags in the window, but in this case, in the case of a pattern like the one shown in Fig. It will happen.

ここで本実施例においては、窓内の判定フラグのみなら
ず、同時に濃淡値の状態に着目して補正を行う。すなわ
ち、中間調画像では濃淡値の変化が少なく、文字部では
文字と背景との差が大きいことを利用する。この補正を
実現するために、誤り補正装置7を領域判定装置6の後
段に設け、一次判定の誤りを補正する。
Here, in this embodiment, correction is performed by paying attention not only to the determination flag within the window but also to the state of the grayscale value. In other words, it takes advantage of the fact that there is little change in gradation values in halftone images, and there is a large difference between the characters and the background in text areas. In order to realize this correction, an error correction device 7 is provided after the area determination device 6 to correct errors in the primary determination.

誤り補正装置7における誤り補正方法を第4図を参照し
て説明する。
The error correction method in the error correction device 7 will be explained with reference to FIG.

第4図は、領域判定装置6により一次判定された判定フ
ラグを含む8ビツトのデータを、3×3の窓で観測した
場合を示すものである。各画素は第3図に示されるよう
に、1ビツトの判定フラグと7ビツトの濃淡値の合計8
ビツトで構成されている。なお第4図においては、濃淡
値は10進で表示しである。
FIG. 4 shows a case in which 8-bit data including a determination flag that has been primarily determined by the area determination device 6 is observed in a 3×3 window. As shown in Figure 3, each pixel has a 1-bit judgment flag and a 7-bit gray value, totaling 8 pixels.
Consists of bits. In FIG. 4, the gradation values are expressed in decimal notation.

誤り補正装置7では、一次判定において窓内の文字領域
と判定された画素の濃淡値の総和Ttと、中間調領域と
判定された画素の濃淡値の総和T8とを求める。そして
、この各総和Ti、Tiが次に示す関係にあるとき、注
目画素の判定状態を逆転させる。すなわち、具体的には
判定フラグを反転させる。
The error correction device 7 calculates a total sum Tt of gray values of pixels determined to be a character area within the window in the primary determination, and a total sum T8 of gray values of pixels determined to be a halftone area. Then, when the total sums Ti and Ti have the following relationship, the determination state of the pixel of interest is reversed. That is, specifically, the determination flag is inverted.

■もし、注目画素が文字領域で且つTt<Tiであると
きは、注目画素が中間調領域であると補正し、 ■もし、注目画素が中間調領域で且つTt > Tjで
あるときは、注目画素が文字領域であると補正する。
■If the pixel of interest is in a character area and Tt<Ti, the pixel of interest is corrected to be in a halftone area.■If the pixel of interest is in a halftone area and Tt>Tj, the pixel of interest is corrected as being in a halftone area. Correct that the pixel is in a character area.

たとえば、第4図に示す状態の場合、注目画素は中間調
領域であるが、文字領域と判定された画素の濃淡値の総
和Ttが200で、中間調領域と判定された画素の濃淡
値の総和T1 が120である。
For example, in the case of the state shown in FIG. 4, the pixel of interest is in a halftone region, but the total sum Tt of the grayscale values of pixels determined to be a character region is 200, and the grayscale value of pixels determined to be a halftone region is 200. The total sum T1 is 120.

したがって、Tt> Tiであるので文字領域と判定し
、一次判定を補正する。
Therefore, since Tt>Ti, it is determined that it is a character area, and the primary determination is corrected.

この補正方法による誤り補正の例について、第5図を参
照して説明する。
An example of error correction using this correction method will be explained with reference to FIG.

たとえば、第5図(a)に示す状態の場合、注目画素は
本来は文字領域であるにも拘わらず、一次判定では中間
調領域と判定され、判定フラグが0となっている。ここ
でTi及びTiを求めると、それぞれ180及び140
となる。すなわち、Ti >Tiとなるので、注目画素
の判定を中間調領域から文字領域に補正する。これによ
り、文字領域が正しく文字領域と判定され、文字の中抜
けが生じることがなくなる。
For example, in the case of the state shown in FIG. 5(a), although the pixel of interest is originally a character area, it is determined to be a halftone area in the primary determination, and the determination flag is set to 0. Here, Ti and Ti are found to be 180 and 140, respectively.
becomes. That is, since Ti > Ti, the determination of the pixel of interest is corrected from the halftone area to the character area. As a result, the character area is correctly determined to be a character area, and hollow characters do not occur.

また、第5図(b)に示す状態の場合、注目画素が中間
調領域であり、Ti<Tiであるので、一次判定をその
まま採用する。第5図(c)の場合、注目画素が中間調
領域であるが、Tt>Tiであるので、第5図(a)の
場合と同様に、一次判定の結果を文字領域に補正する。
Furthermore, in the case of the state shown in FIG. 5(b), the pixel of interest is in the halftone area and Ti<Ti, so the primary determination is adopted as is. In the case of FIG. 5(c), the pixel of interest is in the halftone area, but since Tt>Ti, the result of the primary determination is corrected to the text area as in the case of FIG. 5(a).

第5図(d)の場合、注目画素が文字領域であるが、T
t<Tiであるので、一次判定の結果を中間調領域に補
正する。
In the case of FIG. 5(d), the pixel of interest is a character area, but T
Since t<Ti, the result of the primary determination is corrected to the halftone region.

したがって、本来は中間調領域であるべき注目画素が、
ノイズ等の影響により文字領域と誤って一次判定された
場合でも、判定を中間調領域に正しく補正することがで
きる。
Therefore, the pixel of interest, which should originally be in the halftone area, is
Even if the primary determination is made incorrectly as a character area due to the influence of noise or the like, the determination can be correctly corrected to a halftone area.

これらの補正により、文字領域及び中間調領域が最終的
にそれぞれ正しく判定され、文字部の中抜けや中間調部
に発生したノイズによる誤りを補正することができる。
Through these corrections, the character area and the halftone area are finally determined correctly, and errors caused by hollow parts in the character part and noise occurring in the halftone part can be corrected.

このようにして補正された8ビツトのデータは第1Mに
示す文字領域2値化回路8において、判定フラグである
MSBが除去され7ビツトのデータに変換される。
The 8-bit data thus corrected is converted into 7-bit data by removing the MSB, which is a determination flag, in the character area binarization circuit 8 shown in the first M.

文字領域2値化回路8においては、領域判定フラグに基
づいて文字領域画素のめを抽出し、その濃淡値が予め設
定された文字2値化用闇値と比較され、濃淡値が大きけ
れば、その値を7ビツト表現の最大値である127に変
換する。また、濃淡値が闇値より小さい場合は濃淡値は
0にしておく。
In the character area binarization circuit 8, the pixels of the character area are extracted based on the area determination flag, and the gradation value thereof is compared with a preset darkness value for character binarization. If the gradation value is large, The value is converted to 127, which is the maximum value in 7-bit representation. Further, if the gradation value is smaller than the darkness value, the gradation value is set to 0.

上述の操作により判定フラグであるMSBが除去され、
8ビツトのデータを7ビツトの濃淡データとして次段の
デイザ処理回路9に送ることができる。
The above operation removes the MSB, which is the determination flag,
The 8-bit data can be sent to the dither processing circuit 9 at the next stage as 7-bit gray data.

デイザ処理回路9においては、文字領域、中間調領域に
拘わらすデイザ処理が行われ、1ビツトの2僅出力が得
られる。このデイザ処理により、文字領域については単
純2値化と同等の画像を、また中間調令頁域については
デイザ画像を、簡単に得ることができる。なお、文字領
域画素の濃淡値は、文字領域2値化回路8において最大
値に変換されているのでデイザ処理を行っても文字の質
が劣化することはない。
In the dither processing circuit 9, dither processing is performed on both the character area and the halftone area, and two 1-bit outputs are obtained. By this dither processing, it is possible to easily obtain an image equivalent to simple binarization for character areas, and a dither image for halftone page areas. It should be noted that since the grayscale value of the character area pixel is converted to the maximum value in the character area binarization circuit 8, the quality of the character will not deteriorate even if dither processing is performed.

なお本実施例においては、領域判定装置6、誤り補正装
置7の双方において、3×3の窓を使用したが、これに
限らず独立に任意のnXm或いはn’  xm”の窓を
使用してもよい。なお、誤り補正用の窓に関しては、サ
イズが大きい程、高い効果を得ることができる。また、
ブロック別判定にも用いることが可能である。
In this embodiment, a 3x3 window is used in both the area determination device 6 and the error correction device 7, but the window is not limited to this, and any nXm or n'xm'' window may be used independently. As for the error correction window, the larger the size, the better the effect can be obtained.
It can also be used for block-by-block determination.

また、本発明による誤り補正は、一次判定の方法がどの
ようなものであっても適用することができるので応用範
囲が広く、種々の装置に適用することができる。
Further, since the error correction according to the present invention can be applied to any method of primary determination, it has a wide range of applications and can be applied to various devices.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明においては、画像の文字領域
画像及び中間調画像領域を一旦判定したのちに、所定の
窓で再度走査し、窓内の各領域と判定されたそれぞれの
画素の総和を求める。そして、この各総和を比較し、そ
の比較結果に応して一次判定を補正する。これにより、
画像の各領域が正確に判別でき、文字部の中抜け、中間
調部の誤り等が発生ずることがない。したがって、各領
域に応じた画像処理を正しく行うことが可能となり、品
質の高い出力画像を得ることができる。
As described above, in the present invention, after once determining the character area image and halftone image area of an image, scanning is performed again using a predetermined window, and the total sum of each pixel determined to be in each area within the window is seek. Then, these sums are compared, and the primary determination is corrected according to the comparison result. This results in
Each area of the image can be accurately identified, and there will be no omissions in text areas, errors in halftone areas, etc. Therefore, it is possible to correctly perform image processing according to each area, and it is possible to obtain a high-quality output image.

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

第1図は本発明が適用された画像処理装置のブロック図
、第2図は画像処理装置全体を示すブロック図、第3図
はデータ構造を示す説明図、第4図は本発明に係る誤り
補正を説明する図、第5図は誤り補正の例を示す図、第
6図は3×3窓による走査例を示す図、第7図は領域判
定処理を説明するための図である。 1:入力装置    2:画像メモリ 3:画像処理装置  4:制御装置 5:出力装置    6:領域判定装置7:誤り補正装
置  8:文字領域2値化回路9:デイザ処理回路 特許出願人   富士ゼロックス 株式会社代理人  
小堀 益(ほか2名) 第1゛図 第2図 第3図 1、文 宇傾力(8ヒ゛ット 0中藺言I@%力( 第4図 濃lit函嶽 第5図 第6図 第7図 ■■■■■■■ エツジ@ エフシ祁 文字部
Fig. 1 is a block diagram of an image processing device to which the present invention is applied, Fig. 2 is a block diagram showing the entire image processing device, Fig. 3 is an explanatory diagram showing the data structure, and Fig. 4 is an error related to the present invention. 5 is a diagram illustrating an example of error correction, FIG. 6 is a diagram illustrating an example of scanning using a 3×3 window, and FIG. 7 is a diagram illustrating area determination processing. 1: Input device 2: Image memory 3: Image processing device 4: Control device 5: Output device 6: Area determination device 7: Error correction device 8: Character area binarization circuit 9: Dither processing circuit Patent applicant Fuji Xerox Co., Ltd. company agent
Masu Kobori (and 2 others) Figure 1, Figure 2, Figure 3, Figure 1, text (8 bits 0, meaning I @% power) (Figure 4, dark lit box, Figure 5, Figure 6, Figure 7) Diagram ■■■■■■■

Claims (1)

【特許請求の範囲】 1、2値画像領域と中間調画像領域が混在する原稿を読
み取って画像情報を記録する原稿読取装置において、読
み取った画像について画素ごとに上記各領域のいずれで
あるかの一次判定を行い、その後領域判定用の窓で再び
上記画像を走査し、上記窓内の2値画像領域と判定され
た画素の濃淡値の総和と、中間調画像領域と判定された
画素の濃淡値の総和とを比較し、この比較結果に基づい
て、上記一次判定の結果を補正することを特徴とする画
像処理方法。 2、2値画像領域と一次判定された画素の濃淡値の総和
をT_tとし、中間調画像領域と一次判定された画素の
濃淡値の総和をT_iとしたとき、注目画素が2値画像
領域であり且つT_t<T_iである場合は判定結果を
中間調画像領域に補正し、注目画素が中間調画像領域で
あり且つT_t>T_iである場合は判定結果を2値画
像領域に補正することを特徴とする特許請求の範囲第1
項記載の画像処理方法。
[Claims] In a document reading device that reads a document containing a mixture of monochrome image areas and halftone image areas and records image information, it is possible to determine which of the above areas each pixel of the read image is. After performing the primary determination, the above image is scanned again using the area determination window, and the sum of gray values of pixels determined to be a binary image area within the window and the gray values of pixels determined to be a halftone image area are calculated. An image processing method characterized by comparing the sum of values and correcting the result of the primary determination based on the comparison result. 2. Let T_t be the sum of the gray values of the binary image area and the pixels that have been primarily determined, and let T_i be the sum of the gray values of the halftone image area and the pixels that have been primarily determined. If the pixel of interest is in the halftone image area and T_t>T_i, the determination result is corrected to a binary image area. Claim 1:
Image processing method described in section.
JP61184840A 1986-08-05 1986-08-05 Picture processor Pending JPS6340465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61184840A JPS6340465A (en) 1986-08-05 1986-08-05 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61184840A JPS6340465A (en) 1986-08-05 1986-08-05 Picture processor

Publications (1)

Publication Number Publication Date
JPS6340465A true JPS6340465A (en) 1988-02-20

Family

ID=16160232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61184840A Pending JPS6340465A (en) 1986-08-05 1986-08-05 Picture processor

Country Status (1)

Country Link
JP (1) JPS6340465A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03238510A (en) * 1990-02-15 1991-10-24 Tlv Co Ltd Pressure regulator for self-operated regulating valve

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03238510A (en) * 1990-02-15 1991-10-24 Tlv Co Ltd Pressure regulator for self-operated regulating valve

Similar Documents

Publication Publication Date Title
US7633650B2 (en) Apparatus and method for processing binary image produced by error diffusion according to character or line drawing detection
JPS5810966A (en) Method of determining optimum threshold value for processing threshold of image element and adaptive threshold processor
JP2000050061A (en) Image processor
JPH08235355A (en) Picture processor
JPH0787313A (en) System and device for image processing
JPH06290300A (en) Image area identifying device
US5055944A (en) Image signal processing apparatus
JPS6340465A (en) Picture processor
JP3480887B2 (en) Image processing apparatus and image processing method
JPH0818785A (en) Image output device
JP3137702B2 (en) Image processing device
JP3784518B2 (en) Image processing device
JP3451490B2 (en) Image information processing method
JP2507927B2 (en) Image processing device
JPS6340468A (en) Picture processor
JPH0457274B2 (en)
JPS63204375A (en) Half tone picture forming method
JP3178077B2 (en) Binarization processing method
JP3304108B2 (en) Image processing method and apparatus
JPH07121063B2 (en) Image processing device
JPS6340466A (en) Picture processor
JP3183788B2 (en) Halftone area determination device
JPH0832802A (en) Image processing unit
JPH0698163A (en) Picture area discriminating device
JP2682985B2 (en) Image processing method