JPH0433190B2 - - Google Patents
Info
- Publication number
- JPH0433190B2 JPH0433190B2 JP60066919A JP6691985A JPH0433190B2 JP H0433190 B2 JPH0433190 B2 JP H0433190B2 JP 60066919 A JP60066919 A JP 60066919A JP 6691985 A JP6691985 A JP 6691985A JP H0433190 B2 JPH0433190 B2 JP H0433190B2
- Authority
- JP
- Japan
- Prior art keywords
- point
- interest
- determining
- value
- maximum
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 239000011159 matrix material Substances 0.000 claims description 5
- 238000000034 method Methods 0.000 description 11
- 238000001514 detection method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】
[発明の技術分野]
本発明は、例えばCCR又はフアクシミリで用
いられる画像信号2値化装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image signal binarization device used, for example, in CCR or facsimile.
[発明の技術的背景とその問題点]
従来、OCRまたはフアクシミリ等では、読取
対象を走査して得られる画像信号は2値化信号に
変換された後に処理されるように構成されてい
る。この2値化処理には、通常では判固定閾値に
よる方式が用いられている。即ち、例えば第7図
に示すように、画像P1〜P6がCCD等により
走査(L方向走査)されて得られる画像信号A
は、閾値レベルTHu,THn,THlによりスライ
スされると、それぞれ2値化信号Du,Dn,Dlに
変換されることになる。[Technical Background of the Invention and Problems Therewith] Conventionally, OCR or facsimile systems are configured such that an image signal obtained by scanning an object to be read is converted into a binary signal and then processed. For this binarization process, a method using a fixed judgment threshold is normally used. That is, as shown in FIG. 7, for example, an image signal A obtained by scanning images P1 to P6 (L direction scanning) with a CCD or the like.
When sliced by threshold levels THu, THn, and THl, they are converted into binary signals Du, Dn, and Dl, respectively.
このような方式では、第7図に示すように、閾
値レベルTHlによる2値化処理では細線P2は
黒として出力されるが、間が白の狭白線P3の場
合には線間の白が出力されない。また、閾値
THnによる2値化処理では、画像P2は欠落し、
狭白線P3の線間は白として出力される。さら
に、画像P4〜P6のように、画像間に濃度差が
あると、一定の閾値レベルでは必要とする2値化
信号を得ることはできない。 In such a method, as shown in Fig. 7, the thin line P2 is output as black in the binarization process using the threshold level THl, but in the case of a narrow white line P3 with white between the lines, the white between the lines is output. Not done. Also, the threshold
In the binarization process using THn, image P2 is missing,
The space between the narrow white lines P3 is output as white. Furthermore, if there is a difference in density between images like images P4 to P6, it is not possible to obtain the required binarized signal at a certain threshold level.
このため、出現する画像のレベルに応じた各種
の2値化方式が考えられている。例えば、画像の
濃度の発生ヒストグラムを作成し、第8図に示す
ようなヒストグラムの谷部Vを閾値レベルとして
設定する2値化処理がある。しかしながら、この
方式では、谷部Vの検出が困難であり、正確な閾
値レベルの設定ができないなどの問題がある。 For this reason, various binarization methods have been considered depending on the level of the appearing image. For example, there is a binarization process in which a density generation histogram of an image is created and a valley V of the histogram as shown in FIG. 8 is set as a threshold level. However, this method has problems such as difficulty in detecting the valley V and inability to set an accurate threshold level.
[発明の目的]
本発明の目的は、2値化処理の閾値レベルを画
像の濃度の最大値を関数とする値として決定する
ことにより、画像の濃度特性に応じた2値化信号
を得ることができる画像信号2値化装置を提供す
ることにある。[Object of the Invention] An object of the present invention is to obtain a binarized signal according to the density characteristics of an image by determining a threshold level for binarization processing as a value that is a function of the maximum value of the density of the image. An object of the present invention is to provide an image signal binarization device that can perform the following steps.
[発明の概要]
本発明は、マトリクス(xij)で表現される多
値画像入力信号において所定の着目点(ij)を含
みその着目点から近傍の複数の方向に対する濃度
平均値及びその偏差をそれぞれ算出する計算手段
を備えている。平滑化データ決定手段は、計算手
段から算出される偏差の最小値を示す方向の平均
値を着目点(ij)の平滑化データとして決定す
る。最大濃度値決定手段は、計算手段で算出され
た濃度平均値から最大平均値を求めて、この最大
平均値に基づいて着目点(ij)の周辺の最大平均
値を着目点(ij)の最大濃度値として決定する。
2値化データ決定手段は、最大濃度値決定手段で
決定された最大濃度値及び平滑化データ決定手段
で決定された平滑化データとに基づいて、2値化
データを決定するように構成されている。[Summary of the Invention] The present invention includes a predetermined point of interest (ij) in a multivalued image input signal expressed by a matrix (xij), and calculates the density average value and its deviation in a plurality of directions in the vicinity from the point of interest, respectively. It is equipped with calculation means for calculating. The smoothed data determining means determines the average value in the direction indicating the minimum value of the deviation calculated by the calculating means as the smoothed data of the point of interest (ij). The maximum concentration value determining means calculates the maximum average value from the concentration average values calculated by the calculation means, and calculates the maximum average value around the point of interest (ij) based on this maximum average value. Determine as a concentration value.
The binary data determining means is configured to determine the binary data based on the maximum density value determined by the maximum density value determining means and the smoothed data determined by the smoothed data determining means. There is.
また、本発明は、着目点(ij)に対して求心的
に決定される複数の方向から形状コードを求めて
着目点(ij)に対して相対向する各方向の前記形
状コードの一致度を計算する形状計算手段を備え
ている。形状決定手段は、形状計算手段の計算結
果が所定の閾値を越えた際に着目点(ij)が特徴
候補点として決定されると、最大濃度値及び平滑
化データに基づいてその特徴候補点を特徴点とし
て決定する。この形状決定手段による特徴点に基
づいて、2値化データ補正手段は2値化データ決
定手段で決定される2値化データを補正するよう
に構成されている。 Further, the present invention obtains shape codes from a plurality of directions determined centripetally with respect to the point of interest (ij), and calculates the degree of coincidence of the shape codes in each direction facing the point of interest (ij). It is equipped with a shape calculation means for calculation. When the calculation result of the shape calculation means exceeds a predetermined threshold and the point of interest (ij) is determined as a feature candidate point, the shape determination means determines the feature candidate point based on the maximum density value and the smoothed data. Determine it as a feature point. The binarized data correction means is configured to correct the binarized data determined by the binarized data determining means based on the feature points determined by the shape determining means.
[発明の実施例]
以下図面を参照して本発明の一実施例を説明す
る。第1図は一実施例に係わる2値化処理装置の
構成を示すブロツク図である。第1図において、
平均値計算部10は、読取対象が走査されて得ら
れる多値画像入力信号に対する濃度平均値を計
算する回路である。偏差計算部11は、多値画像
入力信号及び濃度平均値からその偏差を計算す
る回路である。最小偏差検出部12は、偏差計算
部11で算出された偏差の最小値を求める回路で
ある。平滑化データ決定部13は、前記濃度平均
値と最小偏差検出部12からの最小偏差値に基づ
いて平滑化データを決定する回路である。最大濃
度検出部14は、平均値計算部10からの濃度平
均値から最大濃度値を検出する回路である。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a binarization processing device according to an embodiment. In Figure 1,
The average value calculation unit 10 is a circuit that calculates the density average value for a multivalued image input signal obtained by scanning a reading object. The deviation calculation unit 11 is a circuit that calculates the deviation from the multivalued image input signal and the density average value. The minimum deviation detection section 12 is a circuit that obtains the minimum value of the deviation calculated by the deviation calculation section 11. The smoothed data determination unit 13 is a circuit that determines smoothed data based on the average density value and the minimum deviation value from the minimum deviation detection unit 12. The maximum density detection section 14 is a circuit that detects the maximum density value from the density average value from the average value calculation section 10.
2値化判定部15は、最大濃度値検出部14か
らの最大濃度値及び平滑化データ決定部13から
の平滑化データに基づいて、2値化データを決定
する回路である。2値化補正部16は、補正選択
信号Sにより動作し、2値化判定部15から出力
される2値化データを形状決定部18からの出力
に基づいて補正する回路である。形状計算部17
は、多値画像入力信号の着目点に対して求心的
に決定される複数の方向から形状コードを求め
て、着目点に対して相対向する各方向の形状コー
ドの一致度を計算する回路である。ここで、形状
コードとは、画像濃度の高低の変化に対応して設
定される画像濃度の変化を示すコードである(第
5図および第6図を参照)。 The binarization determination unit 15 is a circuit that determines binarized data based on the maximum density value from the maximum density value detection unit 14 and the smoothed data from the smoothed data determination unit 13. The binarization correction unit 16 is a circuit that operates based on the correction selection signal S and corrects the binarized data output from the binarization determination unit 15 based on the output from the shape determination unit 18. Shape calculation section 17
is a circuit that obtains shape codes from multiple directions determined centripetally with respect to a point of interest in a multivalued image input signal, and calculates the degree of coincidence of shape codes in each direction relative to the point of interest. be. Here, the shape code is a code indicating a change in image density that is set in response to a change in image density (see FIGS. 5 and 6).
形状決定手段は、形状計算手段の計算結果が所定
の閾値を越えた際に着目点が特徴候補点として決
定されると、最大濃度値及び平滑化データに基づ
いてその特徴候補点を特徴点として決定する回路
である。When the calculation result of the shape calculation means exceeds a predetermined threshold and the point of interest is determined as a feature candidate point, the shape determination means determines the feature candidate point as a feature point based on the maximum density value and the smoothed data. This is the circuit that determines.
このような構成の2値化処理装置において、同
実施例の動作を説明する。先ず、読取対象が走査
されて得られる多値画像入力信号が、平均値計
算部10に与えられたとする。ここで、多値画像
入力信号を、マトリクス(xij)として表現し、
所定の着目点(ij)を設定する。平均値計算部1
0は、マトリクス(xij)において第2図aに示
すような着目点(ij)を中心とした8方向の近傍
に対する濃度平均値hl(l=0〜7)を計算する。
ここで、i方向は多値画像入力信号の主走査方
向及びjはその副走査方向である。目点(ij)を
中心とした8方向の近傍は、第2図bに示すよう
なy0〜y7として表現される。また、偏差計算部
11は、8方向の近傍に対する偏差値bl(l‐0
〜7)を計算する。即ち、濃度平均値hl及び偏差
値blは下記式(1)〜(8)により求められる。 In the binarization processing apparatus having such a configuration, the operation of this embodiment will be explained. First, it is assumed that a multivalued image input signal obtained by scanning an object to be read is provided to the average value calculation section 10. Here, the multivalued image input signal is expressed as a matrix (xij),
A predetermined point of interest (ij) is set. Average value calculation section 1
0 calculates the density average value hl (l=0 to 7) in the vicinity of the point of interest (ij) in eight directions in the matrix (xij) as shown in FIG. 2a.
Here, the i direction is the main scanning direction of the multivalued image input signal, and j is the sub-scanning direction thereof. The neighborhood in eight directions centered on the eye point (ij) is expressed as y0 to y7 as shown in FIG. 2b. Further, the deviation calculation unit 11 calculates the deviation value bl(l-0
~7) Calculate. That is, the density average value hl and the deviation value bl are determined by the following equations (1) to (8).
h0=(xi-2,j+xi-j,+xij)/3
h0=(xi-2,j+xi-j,+xij)/3
b0=k((xi-2,j−h0)2+(xi-1,j−h0)2+(xij−h
0)2)1/2……(1)
… …
h7=(xi-2,j+2+xi-1,j+1+xij/3
h7=(xi-2,j+2+xi-1,j+1+xij/3
b7=k((xi-2,j+2−h7)2+(xi-1,j+1−h7)2+(xi
j−h7)2)1/2……(8)
ここで、前記式(1)〜(8)において、kは偏差値bl
を正規化するための定数である。h 0 = (x i-2,j +x ij , +x ij )/3 h 0 = (x i-2,j +x ij , +x ij )/3 b 0 =k((x i-2,j −h 0 ) 2 + (x i-1,j −h 0 ) 2 + (x ij −h
0 ) 2 ) 1/2 ... (1) ... ... h 7 = (x i-2,j+2 +x i-1,j+1 +x ij /3 h 7 = (x i-2,j+2 +x i-1,j+1 +x ij /3 b 7 =k((x i-2,j+2 −h 7 ) 2 +(x i-1,j+1 −h 7 ) 2 +(x i
j −h 7 ) 2 ) 1/2 ...(8) Here, in the above formulas (1) to (8), k is the deviation value bl
This is a constant for normalizing .
次に、最小偏差検出部12は、偏差値blの最小
値を検出し、その最小値の方向を決定する。これ
により、平滑化データ決定部13は、最小偏差検
出部12で決定された方法(即ち、最小偏差値の
方向)の濃度平均値hlを平均値計算部10の計算
結果から求めて、それを着目点(ij)の平滑化デ
ータXijとして決定する。即ち、平滑化データXij
は、偏差値blの最小値minにおける濃度平均値hl
(l=0〜7)である。一方、最大濃度検出部1
4は、平均値計算部10からの濃度平均値hlの最
大値maxを検出し、第1の最大濃度値hijとする。
即ち、
hij=max hl(l=0〜7) …(9)
である。次に、最大濃度検出部14は、定数mと
して着目点(ij)に対するi−m〜i+mの領域
の第1の最大濃度値hijから、下記式(10)に示すよ
うな第2の最大濃度値Hijを求める。 Next, the minimum deviation detection unit 12 detects the minimum value of the deviation value bl, and determines the direction of the minimum value. Thereby, the smoothed data determining unit 13 determines the concentration average value hl in the method determined by the minimum deviation detecting unit 12 (that is, in the direction of the minimum deviation value) from the calculation result of the average value calculating unit 10, and calculates it. The smoothed data Xij of the point of interest (ij) is determined. That is, the smoothed data Xij
is the concentration average value hl at the minimum value min of the deviation value bl
(l=0 to 7). On the other hand, maximum concentration detection section 1
4 detects the maximum value max of the density average value hl from the average value calculation unit 10 and sets it as the first maximum density value hij.
That is, hij=maxhl (l=0 to 7) (9). Next, the maximum density detection unit 14 calculates a second maximum density as shown in the following equation (10) from the first maximum density value hij in the area from i-m to i+m with respect to the point of interest (ij) as a constant m. Find the value Hij.
Hij=max hlj(l=i−m〜i+m)……(10)
最大濃度検出部14は、前記式(10)に示す最大濃
度値Hijを、着目点(ij)における最大濃度値と
する。 Hij=max hlj (l=i−m to i+m) (10) The maximum density detection unit 14 sets the maximum density value Hij shown in the above equation (10) as the maximum density value at the point of interest (ij).
2値化判定部15は、前記のように求められた
平滑化データXij及び最大濃度値Hijから2値化デ
ータDijを求めることになる。ここで、2値化デ
ータDijは、平滑化データXij及び最大濃度値Hij
の関数として表現される。即ち、
Dij=f(Xij,SLij,THmin) ……(11)
であり、ここで、GLijは着目点(ij)の閾値を決
定するデータであり、f(Hij)である。また、
THminはスライスの最低レベル値である。閾値
の決定は、最大濃度値Hijの半分即ち白/黒の中
間点とすれば、前記式(11)は以下のような関係とし
て表現される。 The binarization determination unit 15 obtains binarized data Dij from the smoothed data Xij and the maximum density value Hij obtained as described above. Here, the binarized data Dij is the smoothed data Xij and the maximum density value Hij
is expressed as a function of That is, Dij=f(Xij, SLij, THmin) (11), where GLij is data that determines the threshold value of the point of interest (ij), and is f(Hij). Also,
THmin is the lowest level value of the slice. If the threshold value is determined to be half of the maximum density value Hij, that is, the midpoint between white and black, then equation (11) can be expressed as the following relationship.
Xij≧SLij(1/2Hij)であれば、 Dij=1(但しXij≧THmin) また、Xij≦SLijであれば、 Dij=0 となる。If Xij≧SLij (1/2Hij), Dij=1 (however, Xij≧THmin) Also, if Xij≦SLij, Dij=0 becomes.
このような動作により、2値化判定部15は、
第3図に示すような2値化データDijを出力する
ことになる。即ち、前記第7図に示す画像信号A
から、第5図に示す平滑化データXij、最大濃度
値Hij及びSLijが求められる。閾値決定データ
SLijは画像の中間付近に自動的に決定されること
になり、細線P2、狭白線P3の白及び低濃度画
像P6に対する2値化データDijはそれぞれ
「1」、「0」、「1」の適切な値となる。次に、2
値化判定部15で求められる2値化データDijに
対して、補正処理を行なう場合について説明す
る。この補正動作は、2値化補正部16へ供給さ
れる補正選択信号Sにより開始される。先ず、着
目点(ij)の周辺形状によりその着目点の画像濃
度の変化状態を検出する。ここで、周辺形状と
は、着目点の周辺濃度の変化の状態である。即
ち、形状計算部17は、前記第2図aと同様の近
傍点から、着目点(ij)を中心にして求心的な8
方向を、第5図に示すようなZ0a〜Z3a、Z0b〜
Z3bとして定める。さらに、形状計算部17は、
第6図に示すような予め記憶したテーブルから、
各方向Zna,Znb(n=0〜3)に対する形状コー
ドを求める。ここで、例えばZ0aの形状コード
は、第2図aに示す(Xi−2j)→(Xi−1j)→
(Xij)の方向での3点の濃度変化を示すコードで
ある。同様に、例えばZ2bの形状コードは、第2
図aに示す(Xij+2)→(Xij+1)→(Xij)
の方向での3点の濃度変化を示すコードである。
第6図のテーブルは、第5図に示す(i,j)に
向かうそれぞれの方向での濃度変化の形状を例え
ば9種に分類してコード化したものである。例え
ば形状No.2は、着目点(3点の中で右端の点)の
濃度が外側(左端の点)から順次高く変化する状
態を示す。逆に、例えば形状No.5は、着目点の濃
度が外側から順次低く変化する状態を示す。ま
た、例えば形状No.9は、中央部(中間点)の濃度
が高く、着目点の濃度が低く変化する状態を示
す。次に、相対向する4つの方向組合わせZna,
Znb(n=0〜3)について、形状コードの一致
度を計算する。この計算結果により、一致数が所
定の定数以上の際に、形状コード「1」の場合に
は尾根点候補、形状コード「2」の場合には谷点
候補とする。 Through such an operation, the binarization determination unit 15
Binarized data Dij as shown in FIG. 3 will be output. That is, the image signal A shown in FIG.
From this, smoothed data Xij, maximum density values Hij and SLij shown in FIG. 5 are obtained. Threshold determination data
SLij will be automatically determined near the middle of the image, and the binary data Dij for the white and low density image P6 of the thin line P2 and narrow white line P3 will be "1", "0", and "1", respectively. Appropriate value. Next, 2
A case where correction processing is performed on the binarized data Dij obtained by the digitization determination section 15 will be described. This correction operation is started by a correction selection signal S supplied to the binarization correction section 16. First, the state of change in image density at the point of interest (ij) is detected based on the peripheral shape of the point of interest (ij). Here, the peripheral shape is the state of change in the peripheral density of the point of interest. In other words, the shape calculation unit 17 calculates a centripetal 8 centering on the point of interest (ij) from the neighboring points similar to that shown in FIG. 2a.
The directions are Z0a~Z3a, Z0b~ as shown in Figure 5.
Defined as Z3b. Furthermore, the shape calculation unit 17
From a pre-stored table as shown in Figure 6,
Find the shape code for each direction Zna, Znb (n=0 to 3). Here, for example, the shape code of Z0a is (Xi-2j) → (Xi-1j) → shown in Figure 2 a.
This is a code indicating density changes at three points in the direction of (Xij). Similarly, for example, the shape code of Z2b is
(Xij+2) → (Xij+1) → (Xij) shown in figure a
This is a code indicating density changes at three points in the direction of .
The table in FIG. 6 is a code in which the shapes of density changes in each direction toward (i, j) shown in FIG. 5 are classified into, for example, nine types. For example, shape No. 2 shows a state in which the density of the point of interest (the rightmost point among the three points) gradually increases from the outside (the leftmost point). On the contrary, for example, shape No. 5 shows a state in which the density of the point of interest gradually decreases from the outside. Further, for example, shape No. 9 shows a state in which the density at the central portion (middle point) is high and the density at the point of interest changes to be low. Next, the four opposing direction combinations Zna,
The degree of matching of shape codes is calculated for Znb (n=0 to 3). As a result of this calculation, when the number of matches is greater than or equal to a predetermined constant, a ridge point candidate is selected if the shape code is "1", and a trough point candidate is selected if the shape code is "2".
形状決定部18は、前記尾根点候補及び谷点候
補を、前記のように算出された平滑化データXij
及びSijに基づいてそれぞれを尾根点,谷点とし
て決定する。即ち、第4図に示すように、仮に許
容偏位差をそれぞれΔK,ΔMとした場合、
Δ=SLij−Xij≦ΔK ……(12)
のような関係式が成立すれば、着目点(ij)を尾
根点として決定する。また、
Δ=Xij−SLij≦ΔM ……(13)
のような関係式が成立すれば、着目点(ij)を谷
点として決定する。 The shape determining unit 18 converts the ridge point candidates and valley point candidates into the smoothed data Xij calculated as described above.
and Sij are determined as ridge points and valley points, respectively. That is, as shown in Fig. 4, if the allowable deviation differences are ΔK and ΔM, respectively, then if the relational expression Δ=SLij−Xij≦ΔK holds true, then the point of interest (ij ) is determined as the ridge point. Furthermore, if a relational expression such as Δ=Xij−SLij≦ΔM (13) holds true, the point of interest (ij) is determined as the valley point.
2値化補正部16は、形状決定部18の出力に
基づいて、着目点(ij)が尾根点で2値化判定部
15の2値化データDijが「0」であれば2値化
データDijを補正し、「1」である補正値D1ijを出
力する。また、着目点(ij)が谷点で2値化判定
部15の2値化データDijが「1」であれば、
「0」である補値D1ijを出力する。それ以外では、
2値化データDijをそのまま出力する。このよう
な補正動作により、第4図に示すような高濃度領
域に囲まれた白線Q1及び高濃度領域に隣接する
極細線Q2の場合でも、適切な2値化データD1ij
である2値化信号Dを得ることが可能となる。 Based on the output of the shape determining unit 18, the binarization correction unit 16 converts the binarized data into binary data if the point of interest (ij) is a ridge point and the binarized data Dij of the binarization determination unit 15 is “0”. Dij is corrected and a correction value D1ij which is "1" is output. Further, if the point of interest (ij) is the valley point and the binarized data Dij of the binarization determination unit 15 is "1",
A complementary value D1ij which is "0" is output. Other than that,
Output the binarized data Dij as is. With such a correction operation, even in the case of a white line Q1 surrounded by a high concentration area and an extremely thin line Q2 adjacent to a high concentration area as shown in FIG. 4, appropriate binary data D1ij can be obtained.
It becomes possible to obtain a binary signal D that is .
このようにして、多値画像入力信号に対し
て、着目点(ij)の周辺の濃度の最大値を関数と
する閾値を設定することにより、適切な2値化デ
ータを得ることができる。このため、画像が狭白
線(例えば文字内に濃度差がある場合)及び画像
間に濃度差がある場合でも、画像の特徴を失うこ
とがない2値化データに変化することができる。 In this manner, appropriate binarized data can be obtained by setting a threshold value that is a function of the maximum density value around the point of interest (ij) for the multivalued image input signal. Therefore, even if the image has narrow white lines (for example, when there is a difference in density within characters) or a difference in density between images, it is possible to convert the image into binary data without losing the characteristics of the image.
また、着目点(ij)の周辺形状により決定され
る形状コードに基づいて、2値化データDijを補
正することにより、高濃度領域に囲まれた白線及
び高濃度領域に隣接する極細線の場合でも、適切
な2値化データを得ることができる。これによ
り、微細な画像を忠実に再現できる2値化信号に
変換できる。 In addition, by correcting the binarized data Dij based on the shape code determined by the peripheral shape of the point of interest (ij), in the case of a white line surrounded by a high-density area and an extremely thin line adjacent to a high-density area, However, it is possible to obtain appropriate binarized data. This allows conversion into a binary signal that can faithfully reproduce minute images.
[発明の効果]
以上詳述したように本発明によれば、2値化処
理の閾値レベルを画像の濃度の最大値を関数とす
る値として決定することにより、画像の濃度特性
に応じた2値化信号を得ることができる。また、
画像の周辺形状に基づいた補正動作により、微細
な画像を忠実に再現できる2値化信号を得ること
ができる。したがつて、本発明のOCR又はフア
クシミリ等に適用した場合には、画像の2値化精
度を高めることが可能となり、これにより結果的
に読取精度を向上することができるものである。[Effects of the Invention] As detailed above, according to the present invention, the threshold level for binarization processing is determined as a value that is a function of the maximum value of the density of the image, so that A valued signal can be obtained. Also,
By performing a correction operation based on the peripheral shape of the image, it is possible to obtain a binarized signal that can faithfully reproduce a minute image. Therefore, when the present invention is applied to OCR or facsimile, it is possible to improve the accuracy of image binarization, and as a result, the reading accuracy can be improved.
第1図は本発明の一実施例に係わる構成を示す
ブロツク図、第2図a,bはそれぞれ同実施例の
2値化データ決定動作を説明するための図、第3
図及び第4図はそれぞれ同実施例の動作を説明す
るための波形図、第5図及び第6図はそれぞれ同
実施例の2値化データの補正動作を説明するため
の図、第7図は従来の2値化方式を説明するため
の波形図、第8図は従来の濃度の発生ヒストグラ
ムによる2値化方式を説明するための図である。
10……平均値計算部、11……偏差計算部、
12……最小偏差検出部、13……平滑化データ
決定部、14……最大濃度検出部、15……2値
化判定部、16……2値化補正部、17……形状
計算部、18……形状決定部。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIGS. 2a and 2b are diagrams for explaining the binary data determination operation of the embodiment, and FIG.
4 and 4 are waveform diagrams for explaining the operation of the same embodiment, respectively. FIGS. 5 and 6 are diagrams for explaining the correction operation of binary data of the embodiment, respectively. FIG. 8 is a waveform diagram for explaining a conventional binarization method, and FIG. 8 is a diagram for explaining a conventional binarization method using a density generation histogram. 10... Average value calculation section, 11... Deviation calculation section,
12... Minimum deviation detection unit, 13... Smoothed data determination unit, 14... Maximum density detection unit, 15... Binarization determination unit, 16... Binarization correction unit, 17... Shape calculation unit, 18...Shape determining section.
Claims (1)
力信号において所定の着目点(ij)を含みその着
目点から近傍の複数の方向に対する濃度平均値及
びその偏差をそれぞれ算出する計算手段と、 この計算手段から算出される前記偏差の最小値
を示す方向の前記平均値を前記着目点(ij)の平
滑化データに決定する平滑化データ決定手段と、 前記計算手段で算出された前記濃度平均値から
最大平均値を求め、この最大平均値に基づいて前
記着目点(ij)の周辺の最大平均値を前記着目点
(ij)の最大濃度値に決定する最大濃度値決定手
段と、 この最大濃度値決定手段で決定された前記最大
濃度値と前記平滑化データ決定手段で決定された
前記平滑化データとに基づいて2値化データを決
定する2値化データ決定手段とを具備したことを
特徴とする画像信号2値化装置。 2 マトリクス(Xij)で表現される多値画像入
力信号において所定の着目点(ij)を含みその着
目点から近傍の複数の方向に対する濃度平均値及
びその偏差をそれぞれ算出する計算手段と、 この計算手段から算出される前期偏差の最小値
を示す方向の前記平均値を前記着目点(ij)の平
滑化データに決定する平滑化データ決定手段と、 前記計算手段で算出された前記濃度平均値から
最大平均値を求め、この最大平均値に基づいて前
記着目点(ij)の周辺の最大平均値を前記着目点
(ij)の最大濃度値に決定する最大濃度値決定手
段と、 この最大濃度値決定手段で決定された前記最大
濃度値と前記平滑化データ決定手段で決定された
前記平滑化データとに基づいて2値化データを決
定する2値化データ決定手段と、 予め用意された画像濃度の変化に対応する形状
コードを記憶したテーブルに基づいて前記着目点
(ij)に対して求心的に決定される複数の方向か
ら前記形状コードを求め、前記着目点(ij)に対
して相対向する各方向の前記形状コードの一致度
を計算する形状計算手段と、 この形状計算手段の計算結果が所定の閾値を越
えた際に前記着目点(ij)が特徴候補点として決
定される前記最大濃度値と前記平滑化データとに
基づいてその特徴候補点を特徴点として決定する
形状決定手段と、 この形状決定手段による前記特徴点に基づいて
前記2値化データ決定手段で決定される2値化デ
ータを補正する2値化データ補正手段とを具備し
たことを特徴とする画像信号2値化装置。[Claims] 1. Including a predetermined point of interest (ij) in a multivalued image input signal expressed by a matrix (Xij), the average density value and its deviation in a plurality of directions in the vicinity of the point of interest are calculated, respectively. a calculation means; a smoothed data determination means for determining the average value in the direction indicating the minimum value of the deviation calculated by the calculation means as the smoothed data of the point of interest (ij); maximum density value determining means for determining a maximum average value from the density average values obtained and determining a maximum average value around the point of interest (ij) as the maximum density value of the point of interest (ij) based on this maximum average value; and binarized data determining means for determining binarized data based on the maximum density value determined by the maximum density value determining means and the smoothed data determined by the smoothed data determining means. An image signal binarization device comprising: 2. Calculating means for calculating density average values and deviations thereof in a plurality of directions in the vicinity of a predetermined point of interest (ij) in a multivalued image input signal expressed by a matrix (Xij), including a predetermined point of interest (ij); smoothed data determining means for determining the average value in the direction indicating the minimum value of the previous period deviation calculated by the means as the smoothed data of the point of interest (ij); and from the concentration average value calculated by the calculating means. maximum density value determining means for determining a maximum average value and determining the maximum average value around the point of interest (ij) as the maximum density value of the point of interest (ij) based on the maximum average value; Binarized data determining means for determining binarized data based on the maximum density value determined by the determining means and the smoothed data determined by the smoothed data determining means; and pre-prepared image density. The shape code is obtained from a plurality of directions determined centripetally with respect to the point of interest (ij) based on a table storing shape codes corresponding to changes in a shape calculation means for calculating the degree of coincidence of the shape codes in each direction; and a shape calculation means for calculating the matching degree of the shape code in each direction; a shape determining means for determining the feature point as a feature point based on the density value and the smoothed data; and a binary value determined by the binarized data determining means based on the feature point determined by the shape determining means. An image signal binarization device comprising: a binarization data correction means for correcting converted data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60066919A JPS61225976A (en) | 1985-03-30 | 1985-03-30 | Binary-coding system for picture signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60066919A JPS61225976A (en) | 1985-03-30 | 1985-03-30 | Binary-coding system for picture signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61225976A JPS61225976A (en) | 1986-10-07 |
| JPH0433190B2 true JPH0433190B2 (en) | 1992-06-02 |
Family
ID=13329864
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60066919A Granted JPS61225976A (en) | 1985-03-30 | 1985-03-30 | Binary-coding system for picture signal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61225976A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2646569B2 (en) * | 1987-08-22 | 1997-08-27 | オムロン株式会社 | Multi-value image evaluation device and threshold value determination device using the device |
-
1985
- 1985-03-30 JP JP60066919A patent/JPS61225976A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61225976A (en) | 1986-10-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5375197A (en) | System and method for automatically distinguishing between graphic information and text information of image data | |
| US4817174A (en) | Image processing apparatus | |
| CN108932516A (en) | It is a kind of rotate text image bearing calibration and device | |
| JPH0576223B2 (en) | ||
| JPH0433190B2 (en) | ||
| JP2000003436A (en) | ISAR image identification device and ISAR image identification method | |
| JPH06261210A (en) | Threshold determining method | |
| JPH0452975A (en) | Fingerprint pattern sorting device | |
| JP2948310B2 (en) | Optimal binarization threshold determination method | |
| JPH0736607B2 (en) | Image signal processing method | |
| JPH0671308B2 (en) | Image signal processing method | |
| JP3307782B2 (en) | Character mark recognition device | |
| JP2766031B2 (en) | Image processing apparatus and image processing method | |
| JP2647458B2 (en) | Halftone dot area separation device | |
| JP2859603B2 (en) | Method and apparatus for binarizing image data | |
| WO1993017518A1 (en) | Image scanner | |
| JPH05344330A (en) | Picture area discriminating device | |
| JPH02103685A (en) | Halftone area separation device | |
| JPH05344329A (en) | Picture area discriminating device | |
| JP3705405B2 (en) | Binarization threshold determination method | |
| CN106874904A (en) | A kind of car plate picture antidote and device | |
| JPS6349270B2 (en) | ||
| JPH0554190A (en) | Picture processor | |
| JPH02140887A (en) | Image region separation method | |
| JPS60176184A (en) | Picture collation system |