JPS61194580A - Binary coding method for light and shade image - Google Patents

Binary coding method for light and shade image

Info

Publication number
JPS61194580A
JPS61194580A JP60034595A JP3459585A JPS61194580A JP S61194580 A JPS61194580 A JP S61194580A JP 60034595 A JP60034595 A JP 60034595A JP 3459585 A JP3459585 A JP 3459585A JP S61194580 A JPS61194580 A JP S61194580A
Authority
JP
Japan
Prior art keywords
threshold
threshold value
grayscale image
value
weight
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.)
Granted
Application number
JP60034595A
Other languages
Japanese (ja)
Other versions
JPH0614374B2 (en
Inventor
Akio Shio
昭夫 塩
Tamaki Saito
斎藤 珠喜
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60034595A priority Critical patent/JPH0614374B2/en
Publication of JPS61194580A publication Critical patent/JPS61194580A/en
Publication of JPH0614374B2 publication Critical patent/JPH0614374B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To code into binary number automatically and stably, characters, graphs and objects in light and shade images regardless of size by compensating inappropriate threshold values sought in low contrast part areas in backgrounds with the threshold and weight values obtained. CONSTITUTION:The address controller 103 shall provide the threshold value/ weight value deciding part 104 with address for reading image patterns of designated area parts from the frame memory 102. The deciding part 104 shall assign in sequence area part numbers to the address controller 103 and obtain threshold and weight values for each area part which is given the interpolating processor 105. The processor 105 shall compensate the threshold value based on the threshold and weight values obtained from the weight deciding section 104 and furnishes same to the interpolating processor 106. Processor 106 shall interpolate the threshold value for each area part compensated by the processor 105 and obtain the threshold value for the entire image pattern, which is output to the frame memory 107. The comparator 108 depending on the size comparison of the picture element level corresponding to memory 102, 107, binarizes the picture element patterns and outputs to the frame memory 107 to attain automatic and stable binary coding.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、文字認識等、画像処理の分野で広く使用され
る濃淡画像の2値化法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a method for binarizing grayscale images, which is widely used in the field of image processing such as character recognition.

〈従来の技術〉 従来、文字認識装置(OCR)等に於ては、明るさ既知
の一様な照明条件下に置かれた文字を対象にしていた為
、画像全体にわたって一定な2値化閾値により、2値化
が可能であった。また、機械部品などの物体の認識装置
に於ては、2値化を一定な閾値で行なうため、物体およ
びその背景の色や照明条件に制約があった。一方、認識
以外の画像処理に於ては、もともと2値に近い物を扱う
OCRなどとは異なシ、濃淡画像を一旦微分した後一定
の閾値により2値化する方法(微分2値化法)や、画像
の部分毎に閾値をダイナミックに変化さ分領域に分割し
、部分領域内の点の明るさくまたは濃度)の平均値によ
りその部分領域の中心の点の局所的閾値を決定する。画
像中の任意の点に対する閾値は、その点の周りの4つの
局所的閾値の補間によって決定する方法をとっている。
<Conventional technology> Conventionally, character recognition devices (OCR), etc., target characters placed under uniform illumination conditions with known brightness, so a constant binarization threshold is applied over the entire image. Therefore, binarization was possible. Furthermore, in apparatuses for recognizing objects such as mechanical parts, since binarization is performed using a fixed threshold value, there are restrictions on the colors and illumination conditions of the object and its background. On the other hand, in image processing other than recognition, there is a method (differential binarization method) in which a grayscale image is first differentiated and then binarized using a certain threshold value, which is different from OCR and other methods that handle objects that are close to binary. Alternatively, the threshold value is dynamically changed for each part of the image, and the image is divided into regions, and the local threshold value of the central point of the partial region is determined based on the average value of the brightness or density of the points within the partial region. The threshold value for any point in the image is determined by interpolating four local threshold values around that point.

〈発明が解決しようとする問題点〉 しかしながら、上記従来の微分2値化法に関していえば
、画像全体を一定の閾値で2値化するため、文字や物体
などの対象物を損なわない様に閾値を設定すると背景に
多くのノイズを生じる問題があった。一方、上記のよう
な従来の動的2値化法を、文字認識処理の前段として用
いる場合、1)部分領域の大きさよりも太い文字線部分
や文字などを含まない背景部分など低コントラストの領
域に於ては、文字と背景のコントラストではなく背景雑
音に起因した不適切な閾値が与えられる。
<Problems to be solved by the invention> However, when it comes to the conventional differential binarization method described above, the entire image is binarized using a fixed threshold value, so the threshold value is set so as not to damage objects such as characters and objects. There was a problem with setting a lot of noise in the background. On the other hand, when using the conventional dynamic binarization method as described above as the first stage of character recognition processing, 1) areas with low contrast, such as character lines that are thicker than the size of the partial area or background areas that do not contain characters, etc. In this case, an inappropriate threshold is given due to the background noise rather than the contrast between the characters and the background.

2)部分領域の大きさは文字等の大きさに合わせてダイ
ナミックに決定する必要がある、などの問題がある。従
って従来法では、二値・やタン中の背景部分に於て雑音
が生じ文字の切シ出じや認識が困難になることや、扱う
濃淡画像の性質によって部分領域の数を設定しなおす必
要があるなどの欠点があった。また、従来の動的2値化
法に於て、部分領域の大きさを大きくとることによって
、背景に生ずる雑音をある程度抑制できるが、逆に情景
の照明や影などに対する2値化処理の安定性を損なう問
題があった。したがって、この発明の目的は、このよう
な従来法の欠点を解消する濃淡画像の2値化方法を提供
することである。
2) There are problems such as the need to dynamically determine the size of the partial area according to the size of characters, etc. Therefore, with the conventional method, noise occurs in the background part of binary and tanned images, making it difficult to cut out and recognize characters, and the number of partial areas needs to be reset depending on the nature of the grayscale image being handled. There were drawbacks such as: In addition, in the conventional dynamic binarization method, by increasing the size of the partial region, background noise can be suppressed to some extent, but on the other hand, the binarization process becomes stable due to lighting and shadows in the scene. There was a problem with sexuality. Therefore, an object of the present invention is to provide a method for binarizing grayscale images that eliminates the drawbacks of the conventional method.

く問題点を解決するだめの手段〉 この発明は前記問題点を解決するため、特に不均一な照
明条件下に於ける三次元情景中の文字・図形を検出して
認識する前段の前処理として、また微分画像のダイナミ
ックな2値化法として、文字・図形などをその大きさに
よらず確実に背景と分離すると共に、背景の雑音を極力
低減させるようにしたものである。
In order to solve the above-mentioned problems, the present invention provides a method for detecting and recognizing characters and figures in a three-dimensional scene under uneven lighting conditions. , is a dynamic binarization method for differential images that reliably separates characters, figures, etc. from the background regardless of their size, and also reduces background noise as much as possible.

〈作用〉 このようにすると文字背景など低コントラストの部分領
域に対して求められた不適切な閾値を、その周りの部分
領域に対して求められた閾値および重み値によって補正
することによって適正な閾値を決定することができる。
<Operation> In this way, an inappropriate threshold value determined for a low contrast partial area such as a text background is corrected by the threshold value and weight value determined for the surrounding partial area, thereby correcting the inappropriate threshold value. can be determined.

〈実施例〉 第2図は、本発明濃淡画像の2値化方法による情景中の
文字の認識処理手順の一実施例を示し、1は2値化処理
、2は文字切り出し処理、3は文字認識処理である。ま
ず、2値化処理1では、濃淡画像i9タンを入力として
、白黒2値の2値画像・ぐタンを出力する。文字切り出
し処理2では、2値画像・母タンを縦横に走査して、−
文字単位にその外接四角形で文字を切り出す。次に文字
認識処理3では、切り出された文字を一文字づつ認識し
て結果を出力する。
<Example> Fig. 2 shows an example of the procedure for recognizing characters in a scene using the method for binarizing gray scale images of the present invention, in which 1 is the binarization process, 2 is the character extraction process, and 3 is the character recognition process. This is recognition processing. First, in the binarization process 1, a grayscale image i9 is input, and a black and white binary image is output. In character extraction processing 2, the binary image/mother tongue is scanned vertically and horizontally, and -
Cut out each character using its circumscribing rectangle. Next, in character recognition processing 3, the extracted characters are recognized one by one and the results are output.

第3図は、2値化処理1の詳細な処理手順を示し、11
は領域分割処理・、12は閾値決定処理、13は重み値
決定処理、14は第1の補間処理、15は第2の補間処
理、16は2値判定処理である。
FIG. 3 shows the detailed processing procedure of binarization processing 1, and 11
12 is a threshold value determination process, 13 is a weight value determination process, 14 is a first interpolation process, 15 is a second interpolation process, and 16 is a binary determination process.

まず、濃淡画像・ぐタンG(i、j)は、領域分割処理
11で、予め与えられた大きさく例えば、16X16画
素)の部分領域(部分領域の番号を(m、n)とする)
に分割される。この分割処理は、必ずしも第4図(、)
に示す様な等分割である必要はなく、第4図(b) 、
 (c)の様に互いの領域が重なシ合っていたち、互い
に離れていても良い。
First, the grayscale image G(i, j) is divided into a partial area (the number of the partial area is (m, n)) of a predetermined size (for example, 16 x 16 pixels) in area division processing 11.
divided into This division process is not necessarily the same as shown in Figure 4 (,).
There is no need for equal division as shown in Figure 4(b),
As shown in (c), the regions may overlap each other and may be separated from each other.

閾値決定処理12では、分割された部分領域毎にその部
分領域内の画素の濃度値の出現頻度から閾値を決定する
。濃度値の出現頻度から閾値を決定する方法としては、
種々のものが考えられ、例えば濃度値の平均値、中央値
、最大値と最小値の平均値などを閾値とする簡易な方法
や、閾値処理を白黒2つのクラスに分離する2クラス問
題としてとらえ、最も分離度のよい(クラス間分散が最
大となる)濃度値を閾値とする方法(判別分析法)など
がある。
In the threshold value determination process 12, a threshold value is determined for each divided partial area based on the appearance frequency of the density value of the pixel within the partial area. The method for determining the threshold value from the frequency of appearance of concentration values is as follows:
Various methods can be considered, such as a simple method that uses the average density value, median value, average value of maximum and minimum values as a threshold, and a method that treats threshold processing as a two-class problem that separates black and white classes. , a method (discriminant analysis method) in which the concentration value with the best degree of separation (maximum inter-class variance) is used as a threshold.

重み値決定処理13では;分割された部分領域重み値W
mnを決定する。重み値Wmnには、例えば次の4種が
ある。
In the weight value determination process 13; divided partial area weight values W
Determine mn. There are, for example, the following four types of weight values Wmn.

〔方法a〕:wrrln=σmn 〔方法b〕:Wmn=σmn 〔方法c ) : Wmn =σ2mn/Amn〔方法
d〕:wmn=σmn/Amn 重み値として、分散や標準偏差を用いる場合(方法a、
b)は、部分領域のコントラストが高いほどその中に画
像処理上重要な情報が含まれる可能性が高いと判断して
、その部分領域で与えられた閾値に高い重み値を与える
ものであシ、照明条件が比較的良好な場合に有効である
。また、重み値として、分散や標準偏差を明るさの平均
値で割った(正規化した)ものを用いる場合(方法C2
d)は、例えば同じコントラストを持つ文字列が一様で
ない照明条件下に置かれた場合に於て、照明の強さが異
なっていても文字列のもともとのコントラストが同じで
あればその重みも同じ値になる様にするものであシ、文
字等のある部分の明るさが一様でない場合に有効である
[Method a]: wrrln = σmn [Method b]: Wmn = σmn [Method c): Wmn = σ2mn/Amn [Method d]: wmn = σmn/Amn When using variance or standard deviation as a weight value (Method a) ,
b) is a system that determines that the higher the contrast of a partial region, the more likely it is to contain information important for image processing, and gives a higher weight value to the threshold given for that partial region. , is effective when the lighting conditions are relatively good. In addition, when using (normalized) the variance or standard deviation by the average brightness value as the weight value (method C2
d) For example, when character strings with the same contrast are placed under uneven lighting conditions, even if the illumination intensity differs, if the original contrast of the character strings is the same, the weight will also be This is to ensure that the values are the same, and is effective when the brightness of certain parts of characters, etc. is not uniform.

第1の補間処理14は、閾値決定処理12で得られた閾
値θmn、および重み値決定処理13で得られた重み値
wmnをもとに、閾値θmnを修正する処理であシ、第
1の補間処理後の閾値をθ″mn、第1の補間処理前の
閾値をθmnとするとき、次式で与えられる2つの方法
がある。
The first interpolation process 14 is a process for correcting the threshold value θmn based on the threshold value θmn obtained in the threshold value determination process 12 and the weight value wmn obtained in the weight value determination process 13. When the threshold after interpolation is θ″mn and the threshold before the first interpolation is θmn, there are two methods given by the following equations.

〔方法1〕 〔方法2〕 ここで、 ωmn−〇:W□ゎ〈φ1(定数) Wmn: otherwise ただし、重み値がWmn≧φ2(φ2は定数)ならこの
処理を行なわない。
[Method 1] [Method 2] Here, ωmn−〇: W□ゎ〈φ1 (constant) Wmn: otherwise However, if the weight value is Wmn≧φ2 (φ2 is a constant), this process is not performed.

この処理の繰り返しにより、大きな重み値が与えられた
部分領域の閾値が、その周シの部分領域に伝播され、文
字を含まない小領域の閾値が補正声れ≦背景ノイズの発
生を抑制できる。
By repeating this process, the threshold value of the partial area given a large weight value is propagated to the surrounding partial areas, and the threshold value of the small area that does not include characters can suppress the occurrence of voice distortion≦background noise.

第2の補間処理15は第5図に示すように隣接する4つ
の部分領域の中心を頂点とする四角形内の任意の画素P
(i w j)に対する閾値T (* ej)は、各頂
点に与えられた閾値をθl 、θ2 。
As shown in FIG.
The threshold value T (*ej) for (i w j) is the threshold value given to each vertex as θl and θ2.

θ3 、θ4、四角形の底辺と高さをL 1  h L
 2、四角形の右上の頂点から画素P(i 、j)まで
の横、縦方向の距離をα、βとするとき、次式で与えら
れる。
θ3, θ4, the base and height of the rectangle are L 1 h L
2. When the horizontal and vertical distances from the upper right vertex of the rectangle to the pixel P (i, j) are α and β, they are given by the following equation.

T(i、j)−θl・(Ll−α)(L2−β)/L1
’L2+θ2・(Ll−α)・β/L1’−L2十θ3
・α・(L2−β)/Ll−L2+θ4・α・β/L 
1・L2 2値判定処理16では、濃淡画像G(i、j)と第2の
補間処理15で得られた閾値T(i、j)との大小比較
から2値i9タンB(i、j)を求める。
T(i,j)-θl・(Ll-α)(L2-β)/L1
'L2+θ2・(Ll-α)・β/L1'-L2+θ3
・α・(L2-β)/Ll-L2+θ4・α・β/L
1/L2 In the binary determination process 16, the binary i9tan B(i, j ).

B(i、j)=0:G(i、j)’<T(i、j)1:
G(i、j)≧T(i、j) 第1図は、上記2値化処理1を実現するハードウェアの
構成例であって、101は共通制御部、102はフレー
ムメモリ(1)、103はアドレス制御部、104は閾
値7重み値決定部、105は補間処理部(1)、106
は補間処理部(II)、107はフレームメモリ(2)
、108は比較回路である。同図に於て、各部は共通制
御部101から与えられるタイミング信号に従って動作
する。まず、フレームメモリ(1) 102は、濃淡画
像ノfタンを格納する濃淡画像1画面分のメモリであり
、テレビカメラ等(図示せず)を介して画像i4タンが
入力される。
B(i,j)=0:G(i,j)'<T(i,j)1:
G(i, j)≧T(i, j) FIG. 1 shows an example of the hardware configuration for realizing the binarization process 1, in which 101 is a common control unit, 102 is a frame memory (1), 103 is an address control unit, 104 is a threshold 7 weight value determining unit, 105 is an interpolation processing unit (1), 106
is an interpolation processing unit (II), and 107 is a frame memory (2).
, 108 is a comparison circuit. In the figure, each section operates according to a timing signal given from a common control section 101. First, the frame memory (1) 102 is a memory for one screen of grayscale images that stores grayscale images, and an image i4 is inputted via a television camera or the like (not shown).

アドレス制御部103は、フレームメモIJ (1) 
102から、指定された部分領域の画像・ぐタンを読み
出す為のアドレスを閾値7重み決定部104に与える。
The address control unit 103 includes a frame memo IJ (1)
From 102, an address for reading out the image/guttan of the specified partial area is given to the threshold value 7 weight determining unit 104.

閾値7重み値決定部104は、アドレス制御部103に
対し部分領域番号を順次与え、各部分領域毎に閾値及び
重み値を求め、これを補間処理部(I) 105に与え
る。補間処理部(I) 105は、閾値/蓋み値決定部
104から得られた閾値及び重み値から閾値を補正しこ
れを補間処理部(II) i 06に与える。補間処理
部(If)106は、補間処理部(I)で補正された部
分領域毎の閾値を補間して画像・ぐタン全体に対する閾
値を求め、これをフレームメモリ(2) 107に出力
する。比較回路108は、フレームメモリ(1) 10
2およびフレームメモリ(2)107の対応する画素の
レベルの大小比較により濃淡画像パタンを2値化し、そ
の結果をフレームメモリ(2) 107に出力する。
Threshold 7 Weight value determination unit 104 sequentially gives partial area numbers to address control unit 103 , determines a threshold value and weight value for each partial area, and provides these to interpolation processing unit (I) 105 . The interpolation processing unit (I) 105 corrects the threshold value from the threshold value and weight value obtained from the threshold value/cover value determination unit 104, and provides the corrected value to the interpolation processing unit (II) i 06. The interpolation processing unit (If) 106 interpolates the threshold values for each partial region corrected by the interpolation processing unit (I) to obtain a threshold value for the entire image/gut, and outputs this to the frame memory (2) 107. The comparison circuit 108 includes a frame memory (1) 10
The grayscale image pattern is binarized by comparing the levels of corresponding pixels in frame memory (2) 107 and frame memory (2) 107, and the result is output to frame memory (2) 107.

〈発明の効果〉 以上述べた様に、本発明では、文字背景など低コントラ
ストの部分領域に対して求められた不適切な閾値を、そ
の周りの部分領域に対して求められた閾値および重み値
によって補正することによって適正な閾値を決定する。
<Effects of the Invention> As described above, in the present invention, an inappropriate threshold value determined for a low-contrast partial area such as a character background can be replaced by a threshold value and a weight value determined for the surrounding partial area. An appropriate threshold value is determined by correcting the following.

従って、本発明によれば、情景中の文字図形や物体の認
識などのための領域抽出処理の前処理として、濃淡画像
中の文字、図形、物体などをその大きさによらず自動的
かつ安定に2値化できる。
Therefore, according to the present invention, as a preprocessing for region extraction processing for recognizing characters, figures, objects, etc. in a scene, characters, figures, objects, etc. in a gray scale image are automatically and stably detected regardless of their size. can be binarized into

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

第1図は本発明濃淡画像の2値化方法の一実施例を示す
2値化処理の・・−ドウエアの構成例、第2図は情景中
の文字の認識処理手順、第3図は2値花処理の詳細な手
順、第4図(a) 、 (b) 、 (e)は部分領域
の分割例、第5図は第2の補間処理の説明図である。 1・・・2値化処理、2・・・文字切シ出し処理、3・
・・文字認識処理、11・・・領域分割処理、12・・
・閾値決定処理、13・・・重み値決定処理、14・・
・第1の補間処理、15・・・第2の補間処理、16・
・・2値判定処理、’ 101・・・共通制御部、10
2・・・フレームメモリ(1)、103・・・アドレス
制御部、104・・・閾値7重み決定部、105・・・
補間処理部(I)、106・・・補間処理部(II)、
107・・・フレームメモリ(2)、108・・・比較
回路。
Fig. 1 shows an example of the configuration of the binarization processing software, which shows an embodiment of the method for binarizing grayscale images according to the present invention, Fig. 2 shows the procedure for recognizing characters in a scene, and Fig. 3 shows the processing procedure for recognizing characters in a scene. The detailed procedure of the value processing, FIGS. 4(a), 4(b), and 4(e) are examples of partial region division, and FIG. 5 is an explanatory diagram of the second interpolation processing. 1...Binarization processing, 2...Character cutout processing, 3.
...Character recognition processing, 11...Region division processing, 12...
・Threshold value determination process, 13... Weight value determination process, 14...
・First interpolation processing, 15...Second interpolation processing, 16.
...Binary judgment processing, '101...Common control unit, 10
2...Frame memory (1), 103...Address control unit, 104...Threshold value 7 weight determination unit, 105...
Interpolation processing unit (I), 106... interpolation processing unit (II),
107... Frame memory (2), 108... Comparison circuit.

Claims (5)

【特許請求の範囲】[Claims] (1)濃淡画像の部分領域毎に該部分領域内の画素の濃
度の出現頻度をもとに該部分領域に対する局所的閾値を
決定し、得られた該局所的閾値に対して補間処理を行な
うことにより該濃淡画像全体に対する閾値を求め、該濃
淡画像全体に対する閾値と該濃淡画像の値との大小によ
り2値画像を得る2値化方法に於て、 該補間処理は、該部分領域内の濃淡画像を処理して該部
分領域毎に重み値を求める手段と、該部分領域内の中心
に対する局所的閾値を、該部分領域に隣接する部分領域
の局所的閾値と、該部分領域および該部分領域に隣接す
る部分領域に対する重み値に基づく加重平均によって決
定する第1の補間手段と、該第1の補間手段による処理
またはその繰り返し処理によって補正された局所的閾値
をもとに濃淡画像の全ての画素に対する閾値を求める第
2の補間手段を有する事を特徴とする濃淡画像の2値化
方法。
(1) Determine a local threshold for each partial region of the grayscale image based on the frequency of appearance of pixel density within the partial region, and perform interpolation processing on the obtained local threshold. In the binarization method, a threshold value for the entire grayscale image is obtained by calculating the threshold value for the entire grayscale image, and a binary image is obtained based on the magnitude of the threshold value for the entire grayscale image and the value of the grayscale image. Means for processing a grayscale image to obtain a weight value for each partial region; a means for determining a local threshold for the center within the partial region; A first interpolation means determined by a weighted average based on weight values for partial regions adjacent to the region, and a local threshold corrected by the processing by the first interpolation means or its repeated processing, and all of the grayscale images are A method for binarizing a grayscale image, comprising a second interpolation means for determining a threshold value for a pixel.
(2)重み値は、部分領域内の濃淡画像の明るさの標準
偏差で与えられることを特徴とする特許請求の範囲第(
1)項記載の濃淡画像の2値化方法。
(2) The weight value is given by the standard deviation of the brightness of the grayscale image within the partial area.
1) Binarization method for grayscale images described in section 1).
(3)重み値は、部分領域内の濃淡画像の明るさの平均
値をA_v、標準偏差をS_dとするとき、S_d/A
_v で与えられることを特徴とする特許請求の範囲第(1)
項記載の濃淡画像の2値化方法。
(3) The weight value is S_d/A, where A_v is the average brightness value of the grayscale image in the partial area and S_d is the standard deviation.
Claim No. (1) characterized in that it is given by _v.
2. Binarization method for grayscale images described in Section 2.
(4)第1の補間手段は、横方向にm番目、縦方向にn
番目の部分領域(m、n)に対する重み値をW_m_n
、該第1の補間手段によって補正する前及び後の閾値を
それぞれθ_m_n、θ′_m_nとするとき、θ′_
m_n=Σ^m^+^1_p_=_m_−_1Σ^n^
+^1_q_=_n_−_1W_p_q・θ_p_q/
Σ^m^+^1_p_=_m_−_1Σ^n^+^1_
q_=_n_−_1W_p_qなる処理を1回または繰
り返し行なうことを特徴とする特許請求の範囲第(1)
項、または第(2)項、または第(3)項記載の濃淡画
像の2値化方法。
(4) The first interpolation means is m-th in the horizontal direction and n-th in the vertical direction.
The weight value for the th partial region (m, n) is set as W_m_n
, when the threshold values before and after correction by the first interpolation means are θ_m_n and θ′_m_n, respectively, θ′_
m_n=Σ^m^+^1_p_=__m_-_1Σ^n^
+^1_q_=_n_-_1W_p_q・θ_p_q/
Σ^m^+^1_p_=__m_-_1Σ^n^+^1_
Claim (1) characterized in that the process q_=_n_-_1W_p_q is performed once or repeatedly.
2. The method for binarizing a grayscale image as described in Section 1, Section (2), or Section (3).
(5)第1の補間手段は、横方向にm番目、縦方向にn
番目の部分領域(m、n)に対する重みをW_m_n、
φ1、φ2を予め定めるφ1≦φ2なるパラメータとす
るとき、W_m_n≦φ1ならW_m_n=0に置き替
えて該部分領域に対する補間処理を行ない、φ2<W_
m_nなら該部分領域に対する補間処理を行なわないこ
とを特徴とする特許請求の範囲第(1)項または第(2
)項、または第(3)項、または第(4)項記載の濃淡
画像の2値化方法。
(5) The first interpolation means is m-th in the horizontal direction and n-th in the vertical direction.
The weight for the th partial region (m, n) is W_m_n,
When φ1 and φ2 are predetermined parameters such as φ1≦φ2, if W_m_n≦φ1, replace W_m_n=0 and perform interpolation processing on the partial area, and φ2<W_
If m_n, interpolation processing is not performed on the partial area.
), or (3), or (4), the method for binarizing a grayscale image.
JP60034595A 1985-02-25 1985-02-25 Binarization method for grayscale images Expired - Lifetime JPH0614374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60034595A JPH0614374B2 (en) 1985-02-25 1985-02-25 Binarization method for grayscale images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60034595A JPH0614374B2 (en) 1985-02-25 1985-02-25 Binarization method for grayscale images

Publications (2)

Publication Number Publication Date
JPS61194580A true JPS61194580A (en) 1986-08-28
JPH0614374B2 JPH0614374B2 (en) 1994-02-23

Family

ID=12418686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60034595A Expired - Lifetime JPH0614374B2 (en) 1985-02-25 1985-02-25 Binarization method for grayscale images

Country Status (1)

Country Link
JP (1) JPH0614374B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63220375A (en) * 1987-03-09 1988-09-13 Toray Ind Inc Binarization processing method for image

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215169A (en) * 1982-06-08 1983-12-14 Konishiroku Photo Ind Co Ltd Method and device for binary coding picture signal
JPS59114687A (en) * 1982-12-20 1984-07-02 Matsushita Electric Ind Co Ltd Binarization method of image data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58215169A (en) * 1982-06-08 1983-12-14 Konishiroku Photo Ind Co Ltd Method and device for binary coding picture signal
JPS59114687A (en) * 1982-12-20 1984-07-02 Matsushita Electric Ind Co Ltd Binarization method of image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63220375A (en) * 1987-03-09 1988-09-13 Toray Ind Inc Binarization processing method for image

Also Published As

Publication number Publication date
JPH0614374B2 (en) 1994-02-23

Similar Documents

Publication Publication Date Title
KR101126466B1 (en) Photographic document imaging system
JPH06203154A (en) Image processor
JPH05236260A (en) Picture processor
KR102361444B1 (en) System and method of quality adjustment of object detection based on polyggon
CN109738450B (en) Method and device for detecting notebook keyboard
CN116152834B (en) A multi-code decoding method and system based on gradient algorithm
JPS60179881A (en) How to recognize contour lines
JP3636936B2 (en) Grayscale image binarization method and recording medium recording grayscale image binarization program
US7376285B2 (en) Method of auto-deskewing a tilted image
JP2871601B2 (en) Character string detecting apparatus and method
JP5264956B2 (en) Two-dimensional code reading apparatus and method
JP5337844B2 (en) Region detection apparatus, region detection method, and program
JPH0614374B2 (en) Binarization method for grayscale images
JP2998443B2 (en) Character recognition method and device therefor
JPH02126105A (en) Location recognition method
JP4578000B2 (en) Pattern recognition processing apparatus, method, and information storage medium
JP2606498B2 (en) Fingerprint image input device
JP2960468B2 (en) Method and apparatus for binarizing grayscale image
JPH02156383A (en) Method for pattern matching
KR100683360B1 (en) Image Binarization Method
JPH06152947A (en) Image processor
JP3355234B2 (en) Image binarization device
JPH0636023A (en) Image signal processor
JPH07115542A (en) Image processing device
JPS61250792A (en) Image processing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term