JP2843185B2 - Threshold value determination method and device - Google Patents

Threshold value determination method and device

Info

Publication number
JP2843185B2
JP2843185B2 JP3301117A JP30111791A JP2843185B2 JP 2843185 B2 JP2843185 B2 JP 2843185B2 JP 3301117 A JP3301117 A JP 3301117A JP 30111791 A JP30111791 A JP 30111791A JP 2843185 B2 JP2843185 B2 JP 2843185B2
Authority
JP
Japan
Prior art keywords
threshold value
point
points
interest
density
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 - Fee Related
Application number
JP3301117A
Other languages
Japanese (ja)
Other versions
JPH05115005A (en
Inventor
耕一 笹川
隆史 平位
伸一 黒田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3301117A priority Critical patent/JP2843185B2/en
Publication of JPH05115005A publication Critical patent/JPH05115005A/en
Application granted granted Critical
Publication of JP2843185B2 publication Critical patent/JP2843185B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Complex Calculations (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、視覚センサなどにお
いて、画像中の対象物を背景から分離する等のための代
表的な処理である2値化処理に際して、濃淡画像を2値
化するときの最適なしきい値を決定する方法及びその装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for binarizing a grayscale image in a visual sensor or the like in a binarization process which is a typical process for separating an object in an image from a background. And a device for determining an optimum threshold value of the threshold value.

【0002】[0002]

【従来の技術】従来、この種のしきい値決定に関して
は、画像の各点の濃度の出現頻度の分布を表わす濃度ヒ
ストグラムに基づく方法が一般的であった。例えば、濃
度ヒストグラムの谷部の位置にしきい値を決定するモー
ド法や、濃度ヒストグラムを2つのクラスに分けたとき
に各クラス内の濃度の分散の和が最小となるようにしき
い値を決定する判別分析法などがある。
2. Description of the Related Art Heretofore, with respect to this type of threshold value determination, a method based on a density histogram representing the distribution of the appearance frequency of the density at each point of an image has been generally used. For example, a mode method in which a threshold value is determined at the position of a valley of a density histogram, or a threshold value is determined such that when the density histogram is divided into two classes, the sum of the variances of the densities in each class is minimized. Discriminant analysis and the like.

【0003】このような濃度ヒストグラムに基づく方法
以外に、しきい値を変えながら2値化したときの各2値
画像から計測した特徴量をもとに、2値化結果の良否を
表わす評価関数を算出した後、しきい値に対する評価関
数の変化状態から判断して、最適なしきい値を決定する
方法がある。この方法は、変化させるしきい値の数に比
例して演算量が増大するという問題があった。本発明者
は既に特願平2−202802号で上記問題を解決する
「しきい値決定装置」を提案している。
In addition to such a method based on the density histogram, an evaluation function indicating the quality of the binarization result based on the characteristic amount measured from each binarized image when the binarization is performed while changing the threshold value. After calculating the threshold value, there is a method of determining an optimal threshold value by judging from a change state of the evaluation function with respect to the threshold value. This method has a problem that the amount of calculation increases in proportion to the number of thresholds to be changed. The present inventor has already proposed in Japanese Patent Application No. 2-202802 a "threshold value determining device" which solves the above problem.

【0004】本発明はこれの改良に関するものであるの
で、まず前記の先願発明について説明する。最適なしき
い値とは、2値画像上で“1”の連結成分が「まとまっ
た(境界がぎざぎざしていない)」領域として抽出され
る値であると考えられる。いま、2値画像の“1”の点
に関して、その8近傍における“1”の点の数を隣接数
と定義すると、図8に示すように、隣接数は領域の内部
点では8であり、境界点では0〜7の値をとる。そこ
で、2値画像全体に対して隣接数の総和を求め、これを
“1”の点の総数(面積)で割った値を平均隣接数と定
義すれば、領域のまとまりが良いほど領域に占める内部
点の比率が高く、境界点の比率が低くなるので、平均隣
接数は高い値を示すことになる。
[0004] The present invention relates to the improvement of the invention, and therefore the above-mentioned prior application will be described first. It is considered that the optimum threshold value is a value at which the connected component of “1” is extracted as a “coherent (the boundary is not jagged)” area on the binary image. Now, regarding the point of “1” in the binary image, if the number of points of “1” in the vicinity of eight is defined as the number of neighbors, as shown in FIG. It takes a value of 0 to 7 at the boundary point. Therefore, if the sum of the number of neighbors is obtained for the entire binary image, and a value obtained by dividing the sum by the total number (area) of points of “1” is defined as the average number of neighbors, the better the united area is, the more the area occupies the area. Since the ratio of interior points is high and the ratio of boundary points is low, the average number of neighbors shows a high value.

【0005】ここで、しきい値Tに対する2値画像にお
ける隣接数の総和をA(T) ,“1”の点の面積をS(T)
で表わすと、平均隣接数R(T) は、
Here, the sum of the number of adjacent pixels in the binary image with respect to the threshold value T is represented by A (T), and the area of the point "1" is represented by S (T).
The average number of neighbors R (T) is

【0006】[0006]

【数1】 (Equation 1)

【0007】で表わされる。さらに、隣接数がi(i=
0,…,8)である3×3のパターン数をai で表わす
と、隣接数の総和A(T)及び面積S(T)は次のように表現
できる。
[0007] Further, if the number of neighbors is i (i =
If the number of 3 × 3 patterns (0,..., 8) is represented by ai, the total sum A (T) and area S (T) of the adjacent numbers can be expressed as follows.

【0008】[0008]

【数2】 (Equation 2)

【0009】[0009]

【数3】 (Equation 3)

【0010】一般に、画像中の対象及び背景が図9のよ
うな濃度分布をもつ場合、しきい値Tに対する平均隣接
数R(T) の変化の様子は図10のようになる。この場
合、平均隣接数が極大となる値をしきい値として2値化
すると、対象がまとまった領域として抽出され、良好な
2値化結果が得られる。
In general, when an object and a background in an image have a density distribution as shown in FIG. 9, the manner in which the average number of adjacent pixels R (T) changes with respect to the threshold value T is as shown in FIG. In this case, when the binarization is performed using the value at which the average number of neighbors is maximized as a threshold value, the region is extracted as a united region, and a good binarization result is obtained.

【0011】前記先願発明の一実施例を図5に示す。図
において、1は濃淡画像から注目点の濃度G0 と、その
8近傍の点の濃度G1 ,…,G8を抽出する局所データ
抽出部、2は前記局所データ抽出部1から出力される9
個の濃度G0 ,…,G8 の中から、選択信号n(n=
0,…,8)に応じて1つを選択する局所データ選択
部、3は前記局所データ選択部2の出力Gn (n=0,
…,8)と前記局所データ抽出部1から出力される注目
点の濃度G0 とを比較して小さい方の値Fn (n=0,
…,8)を出力する最小値選択部、4は前記最小値選択
部3の出力Fn の出現頻度を計数するヒストグラム計数
部、5は前記ヒストグラム計数部4により得られる,F
n に対する9種類のヒストグラムから、しきい値Tで2
値化したときの2値画像における隣接数の総和A(T) と
面積S(T) を求めて、平均隣接数R(T) を算出した後、
しきい値Tに対する平均隣接数R(T) の変化状態に基づ
き最適なしきい値を決定するしきい値決定部である。
FIG. 5 shows an embodiment of the invention of the prior application. In the figure, reference numeral 1 denotes a local data extraction unit for extracting a density G0 of a point of interest from a grayscale image and density G1,...
The selection signal n (n = n) is selected from among the densities G0,.
0,..., 8), the local data selection unit 3 selects one of the outputs Gn (n = 0,
, 8) and the density G0 of the point of interest output from the local data extraction unit 1, and the smaller value Fn (n = 0,
, 8), a histogram counting unit 4 for counting the frequency of appearance of the output Fn of the minimum value selecting unit 3, and a histogram counting unit 5 obtained by the histogram counting unit 4.
From the nine histograms for n, the threshold T is 2
After calculating the total sum A (T) and the area S (T) of the number of neighbors in the binary image at the time of binarization, and calculating the average number of neighbors R (T),
This is a threshold value determination unit that determines an optimum threshold value based on a change state of the average number of neighbors R (T) relative to the threshold value T.

【0012】次に、動作について説明する。まず局所デ
ータ抽出部1は、例えば図6のように、9個のラッチ1
1と2個のシフトレジスタ12とから構成され、2値化
すべき濃淡画像から注目点の濃度G0 と、その8近傍の
点の濃度G1 〜G8 を抽出する。次に局所データ選択部
2は、局所データ抽出部1の出力である9個の濃度デー
タG0 ,…,G8 の中から、選択信号n(n=0,…,
8)に応じて1つのデータGn を選択する。次に最小値
選択部3は、局所データ選択部2の出力Gn と、局所デ
ータ抽出部1から送られてくる注目点の濃度G0 とを比
較し、小さい方の値Fn を出力する。いま、Fn をG0
,…,G8 を用いて表わすと、
Next, the operation will be described. First, as shown in FIG. 6, for example, the local data extraction unit 1
It is composed of one and two shift registers 12, and extracts the density G0 of the target point and the densities G1 to G8 of the eight neighboring points from the grayscale image to be binarized. Next, the local data selecting unit 2 selects a selection signal n (n = 0,..., 9) from the nine density data G0,.
One data Gn is selected according to 8). Next, the minimum value selector 3 compares the output Gn of the local data selector 2 with the density G0 of the point of interest sent from the local data extractor 1, and outputs the smaller value Fn. Now, change Fn to G0
, ..., G8

【0013】[0013]

【数4】 (Equation 4)

【0014】となる。選択信号nを0から8まで変え
て、濃淡画像を9回走査することにより、最小値選択部
3からはFn が出力され、ヒストグラム計数部4がその
出現頻度を計数することによって9種類のヒストグラム
が得られる。
## EQU1 ## By changing the selection signal n from 0 to 8 and scanning the grayscale image nine times, Fn is output from the minimum value selection unit 3 and the histogram counting unit 4 counts the frequency of its appearance, thereby obtaining nine types of histograms. Is obtained.

【0015】いま最小値選択処理を行った結果Fn のヒ
ストグラムにおいて、濃度値kをもつ画素数をhn(k)
(k=0,…,N−1;n=0,…,8)で表わす。こ
こでNは濃淡画像を表わす濃度レベルの数である。そこ
で、
In the histogram of the result Fn of the result of the minimum value selection processing, the number of pixels having the density value k is represented by hn (k)
(K = 0,..., N-1; n = 0,..., 8). Here, N is the number of density levels representing the grayscale image. Therefore,

【0016】[0016]

【数5】 (Equation 5)

【0017】となる画素数をHn(T) で表わすと、When the number of pixels is expressed as Hn (T),

【0018】[0018]

【数6】 (Equation 6)

【0019】となる。ここで、最小値選択処理の出力で
あるFn (n=1,…,8)は注目点の濃度G0 と、そ
の8近傍の中の1つの点の濃度Gn (n=1,…,8)
との小さい方の値であるので、Hn(T)(n=1,…,
8)は、濃淡画像をしきい値Tで2値化したとき、注目
点が“1”に,その8近傍の中でGn に対応する点が
“1”に,他の7点が“0”または“1”になる3×3
のパターン数を表わしている。Hn(T)(n=1,…,
8)のそれぞれは、しきい値Tに対する2値画像におい
て隣接数が1から8までの3×3パターン数を含んでお
り、これらを全て加算したものは、隣接数がi(i=
1,…,8)の3×3パターン数ai をそれぞれi回ず
つ加算したものの総和となる。つまり、しきい値Tに対
する2値画像における隣接数の総和A(T) は、
## EQU1 ## Here, the output Fn (n = 1,..., 8) of the minimum value selection processing is the density G0 of the point of interest and the density Gn (n = 1,.
Hn (T) (n = 1,...,
8), when the grayscale image is binarized by the threshold value T, the point of interest is "1", the point corresponding to Gn in the eight neighborhoods is "1", and the other seven points are "0". 3x3 which becomes "" or "1"
Represents the number of patterns. Hn (T) (n = 1,...,
8) includes the number of 3 × 3 patterns in which the number of neighbors is 1 to 8 in the binary image with respect to the threshold value T, and the sum of all of these includes the number of neighbors i (i = i =
1,..., 8) is the total sum of i times the 3 × 3 pattern number ai. That is, the sum A (T) of the number of neighbors in the binary image with respect to the threshold value T is

【0020】[0020]

【数7】 (Equation 7)

【0021】となる。また、しきい値Tに対する2値画
像における面積S(T) は、F0 =G0のヒストグラムに
おいて、しきい値T以上の画素数そのものであるので、
## EQU1 ## The area S (T) in the binary image with respect to the threshold value T is the number of pixels equal to or larger than the threshold value T in the histogram of F0 = G0.

【0022】[0022]

【数8】 (Equation 8)

【0023】となる。以上より、隣接数の総和A(T) と
面積S(T)は、最小値選択処理の結果Fn (n=0,
…,8)に対する9種類のヒストグラムから求められ、
これらをもとに平均隣接数R(T) は算出できる。
## EQU1 ## As described above, the sum A (T) of the number of neighbors and the area S (T) are obtained by the minimum value selection processing result Fn (n = 0,
…, 8) are obtained from 9 types of histograms,
Based on these, the average adjacent number R (T) can be calculated.

【0024】ところで、上記例では、Fn (n=0,
…,8)のヒストグラムを、選択信号nを0から8まで
変えながら濃淡画像を9回走査して計数する場合につい
て説明したが、図7のように、最小値選択部3及びヒス
トグラム計数部4をそれぞれ9個並列に配置し、各最小
値選択部3の入力として、それぞれ(G0 ,G0 ),
(G1 ,G0 ),…,(G8 ,G0 )を与えることによ
って、Fn (n=0,…,8)に対する9種類のヒスト
グラムが、濃淡画像を1回走査するだけで得られるよう
にすることもできる。この場合、局所データ選択部2は
不要になる。なお、(G0 ,G0 )を2入力とする最小
値選択部3は、G0 をそのままヒストグラム計数部4に
入力することにより省略できることは言うまでもない。
In the above example, Fn (n = 0,
, 8), the case where the grayscale image is scanned 9 times and counted while changing the selection signal n from 0 to 8 has been described. As shown in FIG. 7, the minimum value selecting unit 3 and the histogram counting unit 4 are used. Are arranged in parallel, and (G0, G0),
By giving (G1, G0),..., (G8, G0), nine types of histograms for Fn (n = 0,..., 8) can be obtained by scanning the grayscale image only once. Can also. In this case, the local data selection unit 2 becomes unnecessary. Needless to say, the minimum value selection unit 3 having (G0, G0) as two inputs can be omitted by directly inputting G0 to the histogram counting unit 4.

【0025】[0025]

【発明が解決しようとする課題】従来のしきい値決定装
置は以上のように構成されているので、最小値選択部の
出力Fn (n=0,…,8)のヒストグラムを、選択信
号nを0から8まで変えながら濃淡画像を9回走査して
計数する必要があり、処理時間がかかる。また、Fn
(n=0,…,8)に対する9種類のヒストグラムは、
濃淡画像を1回走査するだけで得られるようにすること
もできるが、最小値選択部及びヒストグラム計数部をそ
れぞれ9個並列に配置する必要があり、回路規模が大き
くなるなどの問題点があった。
Since the conventional threshold value determining apparatus is configured as described above, the histogram of the output Fn (n = 0,..., 8) of the minimum value selecting section is converted to the selection signal n. It is necessary to scan and count the grayscale image nine times while changing the value from 0 to 8, which requires processing time. Also, Fn
Nine histograms for (n = 0,..., 8)
Although it is possible to obtain a grayscale image by scanning only once, it is necessary to arrange nine minimum value selecting units and nine histogram counting units in parallel, and there is a problem that the circuit scale becomes large. Was.

【0026】この発明は上記のような問題点を解消する
ためになされたもので、走査回数を少なくして処理時間
を短縮でき、また、回路規模を縮小できるしきい値決定
方法及びその装置を得ることを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a method and an apparatus for determining a threshold value capable of reducing the number of scans to reduce the processing time and the circuit scale. The purpose is to get.

【0027】[0027]

【課題を解決するための手段】この発明に係るしきい値
決定方法は、濃淡画像から注目点の濃度G0 と、その8
近傍の点のうちで注目点に対して対称な2点を含まない
ように選んだ4点の濃度G1 ,…,G4 を抽出し、抽出
された5点の濃度GO ,…,G4 の中から濃淡画像の1
走査毎に1つずつ選択するとともに、選択された濃度G
n (n=0,…,4)と注目点の濃度G0 のうち小さい
方の値Fn を選択し、濃淡画像を5回走査することによ
り得られる各Fn の出現頻度を計数して5種類のヒスト
グラムを生成し、生成されたヒストグラムに基づき隣接
数の総和A(T) と面積S(T) を求めて平均隣接数R(T)
を算出した後、しきい値Tに対する平均隣接数R(T) の
変化状態に基づき最適なしきい値を決定するようにした
ものである。
According to the threshold value determining method of the present invention, the density G0 of a point of interest from a grayscale image and its density G0
Among the neighboring points, four points of density G1,..., G4 selected so as not to include two points symmetrical with respect to the point of interest are extracted, and the density G0,. Grayscale image 1
One is selected for each scan, and the selected density G
n (n = 0,..., 4) and the smaller value Fn of the density G0 of the target point are selected, and the appearance frequency of each Fn obtained by scanning the grayscale image five times is counted to obtain five types of values. A histogram is generated, and a total sum A (T) and an area S (T) of the number of neighbors are obtained based on the generated histogram to obtain an average number of neighbors R (T).
Is calculated, and then the optimum threshold value is determined based on the state of change of the average number of neighbors R (T) with respect to the threshold value T.

【0028】また、本願の別の発明に係るしきい値決定
方法は、濃淡画像から注目点の濃度G0 と、その8近傍
の点のうちで注目点に対して対称な2点を含まないよう
に選んだ4点の濃度G1 ,…,G4 を抽出し、抽出され
た5点の濃度GO ,…,G4のそれぞれと注目点の濃度
G0 のうちそれぞれ小さい方の値Fn (n=0,…,
4)を選択し、濃淡画像を1回走査することにより得ら
れる各Fn の出現頻度を計数して5種類のヒストグラム
を生成し、生成されたヒストグラムに基づき隣接数の総
和A(T) と面積S(T) を求めて平均隣接数R(T) を算出
した後、しきい値Tに対する平均隣接数R(T) の変化状
態に基づき最適なしきい値を決定するようにしたもので
ある。
A threshold value determining method according to another invention of the present application is arranged so that a density G0 of a point of interest from a grayscale image and two points symmetrical with respect to the point of interest among eight points near the density G0 are not included. , G4 at the four selected points are extracted, and the smaller value Fn (n = 0,...) Of each of the extracted densities GO,. ,
4) is selected, the appearance frequency of each Fn obtained by scanning the grayscale image once is counted, and five types of histograms are generated. Based on the generated histograms, the total sum A (T) and the area of the number of neighbors are calculated. After calculating S (T) and calculating the average number of neighbors R (T), an optimum threshold value is determined based on the state of change of the average number of neighbors R (T) with respect to the threshold value T.

【0029】一方、この発明に係るしきい値決定装置
は、濃淡画像から注目点の濃度G0 と、その8近傍の点
のうちで注目点に対して対称な2点を含まないように選
んだ4点の濃度G1 ,…,G4 を抽出する抽出部と、前
記抽出部から出力される5点の濃度GO ,…,G4 の中
から選択信号n(n=0,…,4)に応じて1つを選択
して出力する第1の選択部と、前記第1の選択部の出力
Gn と注目点の濃度G0のうち小さい方の値Fn を選択
して出力する第2の選択部と、前記第2の選択部の各出
力Fn の出現頻度を計数するヒストグラム計数部と、前
記ヒストグラム計数部から各Fn に対して得られるヒス
トグラムに基づき隣接数の総和A(T) と面積S(T) を求
めて平均隣接数R(T) を算出した後、しきい値Tに対す
る平均隣接数R(T) の変化状態に基づき最適なしきい値
を決定するしきい値決定部とを備えたものである。
On the other hand, the threshold value determining apparatus according to the present invention selects the density G0 of the target point from the grayscale image and two points near the density G0 so as not to include two points symmetrical with respect to the target point. .., G4 of the four points, and a selection signal n (n = 0,..., 4) from the five points of density GO,. A first selector for selecting and outputting one, a second selector for selecting and outputting the smaller value Fn of the output Gn of the first selector and the density G0 of the point of interest, A histogram counting unit for counting the frequency of appearance of each output Fn of the second selecting unit; and a sum A (T) and an area S (T) of the number of neighbors based on a histogram obtained for each Fn from the histogram counting unit. Is calculated and the average number of neighbors R (T) is calculated. It is obtained by a threshold value determination unit that determines an optimal threshold Hazuki.

【0030】また、本願の別の発明に係るしきい値決定
装置は、前記抽出部の出力である5点の濃度G0 ,…,
G4 のそれぞれと注目点の濃度G0 のうちそれぞれ小さ
い方の値Fn (n=0,…,4)を選択して出力する選
択部と、前記選択部の各出力Fn の出現頻度を同時に計
数して前記しきい値決定部に与える5個のヒストグラム
計数部を備えたものである。
Further, the threshold value determining apparatus according to another invention of the present application provides a five-point density G0,.
A selection section for selecting and outputting the smaller value Fn (n = 0,..., 4) of each of G4 and the density G0 of the point of interest, and simultaneously counting the frequency of appearance of each output Fn of the selection section. And five histogram counters provided to the threshold determiner.

【0031】[0031]

【作用】この発明におけるしきい値決定方法は、濃淡画
像から注目点の濃度G0 と、その8近傍の点のうちで注
目点に対して対称な2点を含まないように選んだ4点の
濃度G1 ,…,G4 を抽出することにより、5種類のヒ
ストグラムから最適なしきい値が決定できるので、濃淡
画像の走査が5回で済む。
According to the threshold value determining method of the present invention, the density G0 of the target point from the grayscale image and the four points selected from the eight neighboring points so as not to include two points symmetrical with respect to the target point. By extracting the densities G1,..., G4, the optimum threshold value can be determined from the five types of histograms.

【0032】また、別の発明におけるしきい値決定方法
は、前記と同様に抽出された5点の濃度GO ,…,G4
のそれぞれと注目点の濃度G0 のうちそれぞれ小さい方
の値Fn (n=0,…,4)を選択し、濃淡画像を1回
走査することにより得られる各Fn の出現頻度を計数し
て5種類のヒストグラムを生成するので、濃淡画像の走
査が1回で済むとともに、その場合の回路規模を縮小す
ることができる。
The threshold value determining method according to another aspect of the present invention is a method of determining the threshold values of five points GO,.
, And the smaller value Fn (n = 0,..., 4) of the density G0 of the target point is selected, and the frequency of appearance of each Fn obtained by scanning the grayscale image once is counted. Since the different types of histograms are generated, only one scan of the grayscale image is required, and the circuit scale in that case can be reduced.

【0033】一方、この発明におけるしきい値決定装置
の抽出部は、濃淡画像から注目点の濃度G0 と、その8
近傍の点のうちで注目点に対して対称な2点を含まない
ように選んだ4点の濃度G1 ,…,G4 を抽出し、第1
の選択部は、抽出部から送られてくる5点の濃度GO ,
…,G4 の中から選択信号n(n=0,…,4)に応じ
て1つを選択し、その出力Gnを第2の選択部の一方の
入力とする。
On the other hand, the extraction unit of the threshold value determining apparatus according to the present invention determines the density G0 of the point of interest from the grayscale image and its density G0.
The density G1,..., G4 of four points selected so as not to include two points symmetrical with respect to the point of interest among the neighboring points is extracted, and
The selection section of the five points, the density GO, sent from the extraction section,
, G4, one is selected according to the selection signal n (n = 0,..., 4), and the output Gn is used as one input of the second selection unit.

【0034】また、別の発明におけるしきい値決定装置
では、選択部として前記第2の選択部に相当するものを
5個(4個でもよい)並列に配置し、その入力としてそ
れぞれ(G0 ,G0 ),(G1 ,G0 ),…,(G4 ,
G0 )を与え、その各出力Fn の出現頻度を同時に計数
してしきい値決定部に与える5個のヒストグラム計数部
を備えることによって、濃淡画像を1回走査するだけで
良く、前記第1の選択部は不要となるとともに、選択部
とヒストグラム計数部の回路規模が従来の約半分に縮小
できる。
Further, in the threshold value determining device according to another invention, five (or four) selection units corresponding to the second selection unit are arranged in parallel, and (G0, G0, G0), (G1, G0),..., (G4,
G0), and by providing five histogram counters for simultaneously counting the appearance frequency of each output Fn and providing the same to the threshold determination unit, the grayscale image only needs to be scanned once. The selection unit becomes unnecessary, and the circuit scale of the selection unit and the histogram counting unit can be reduced to about half of the conventional size.

【0035】[0035]

【実施例】実施例1.以下、この発明の一実施例を図に
ついて説明する。図1は一実施例の構成を示すブロック
図であり、図において、1は濃淡画像から注目点の濃度
G0 と、その8近傍の点のうちで、注目点に対して対称
な2点を含まないように選んだ4点の濃度G1 ,…,G
4 を抽出する局所データ抽出部、2は前記局所データ抽
出部1から出力される5個の濃度G0 ,…,G4 の中か
ら、選択信号n(n=0,…,4)に応じて1つを選択
する局所データ選択部(第1の選択部)、3は前記局所
データ選択部2の出力Gn (n=0,…,4)と前記局
所データ抽出部1から出力される注目点の濃度G0 とを
比較して小さい方の値Fn (n=0,…,4)を出力す
る最小値選択部(第2の選択部)、4は前記最小値選択
部3の出力Fn の出現頻度を計数するヒストグラム計数
部、5は前記ヒストグラム計数部4により得られる,F
n に対する5種類のヒストグラムから、しきい値Tで2
値化したときの2値画像における隣接数の総和A(T) と
面積S(T) を求めて、平均隣接数R(T) を算出した後、
しきい値Tに対する平均隣接数R(T) の変化状態に基づ
き最適なしきい値を決定するしきい値決定部である。
[Embodiment 1] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment. In the drawing, reference numeral 1 denotes a density G0 of a point of interest from a grayscale image and two points symmetrical with respect to the point of interest among eight neighboring points. Density G1, ..., G of four points selected not to be
, G4 output from the local data extraction unit 1 in accordance with a selection signal n (n = 0,..., 4). The local data selection unit (first selection unit) 3 for selecting one of the three is the output Gn (n = 0,..., 4) of the local data selection unit 2 and the point of interest output from the local data extraction unit 1. The minimum value selector (second selector) which outputs a smaller value Fn (n = 0,..., 4) as compared with the density G0, and 4 is the frequency of appearance of the output Fn of the minimum value selector 3. , A histogram counting unit 5 for counting the number
From the five types of histograms for n, the threshold T is 2
After calculating the total sum A (T) and the area S (T) of the number of neighbors in the binary image at the time of binarization, and calculating the average number of neighbors R (T),
This is a threshold value determination unit that determines an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T.

【0036】次に、動作について説明する。まず局所デ
ータ抽出部1は、例えば図2のように、5個のラッチ1
1と1個のシフトレジスタ12とから構成され、2値化
すべき濃淡画像から注目点の濃度G0 と、その8近傍の
点の濃度のうちで注目点に対して対称な2点を含まない
ように選んだ4点の濃度G1 ,…,G4 を抽出する。次
に局所データ選択部2は、局所データ抽出部1の出力で
ある5個の濃度データG0 ,…,G4 の中から、選択信
号n(n=0,…,4)に応じて1つのデータGn を選
択する。次に最小値選択部3は、局所データ選択部2の
出力Gn と、局所データ抽出部1から送られてくる注目
点の濃度G0 とを比較し、小さい方の値Fn を出力す
る。いま、Fn をG0 ,…,G4 を用いて表わすと、
Next, the operation will be described. First, the local data extraction unit 1 includes five latches 1 as shown in FIG.
The shift register 12 is composed of one and one shift register 12. The density G0 of the point of interest from the grayscale image to be binarized and the density of the eight points near the point do not include two points symmetrical with respect to the point of interest. , G4 of the four points selected in step (1) are extracted. Next, the local data selecting unit 2 selects one of the five density data G0,..., G4 output from the local data extracting unit 1 in accordance with the selection signal n (n = 0,. Select Gn. Next, the minimum value selector 3 compares the output Gn of the local data selector 2 with the density G0 of the point of interest sent from the local data extractor 1, and outputs the smaller value Fn. Now, if Fn is represented using G0, ..., G4,

【0037】[0037]

【数9】 (Equation 9)

【0038】となる。選択信号nを0から4まで変え
て、濃淡画像を5回走査することにより、最小値選択部
3からは各Fn が出力され、ヒストグラム計数部4がそ
の出現頻度を計数することによって5種類のヒストグラ
ムが得られる。
## EQU4 ## By changing the selection signal n from 0 to 4 and scanning the grayscale image five times, each Fn is output from the minimum value selection unit 3 and the histogram counting unit 4 counts the frequency of its appearance to obtain five types of Fn. A histogram is obtained.

【0039】いま、図3の(a)のように、3×3の局
所領域13とその右に1画素ずれた局所領域14を考え
ると、局所領域13の2点の濃度(G0 ,G1 )と局所
領域14の2点の濃度(G5 ,G0 )は、それぞれ同じ
である。従って、局所領域13のF1 =min(G0 ,
G1 )と局所領域14のF5 =min(G5 ,G0 )と
は同じ値になる。つまり、画像全体でみるとF1 とF5
のヒストグラムは同じになる。
Considering a 3 × 3 local area 13 and a local area 14 shifted by one pixel to the right as shown in FIG. 3A, the densities (G0, G1) of two points in the local area 13 are considered. And the densities (G5, G0) of the two points in the local region 14 are the same. Therefore, F1 = min (G0,
G1) and F5 = min (G5, G0) of the local area 14 have the same value. In other words, looking at the whole image, F1 and F5
Have the same histogram.

【0040】また、図3の(b)のように、3×3の局
所領域13とその右に1画素,下に1画素ずれた局所領
域15を考えると、局所領域13の2点の濃度(G0 ,
G2)と局所領域15の2点の濃度(G6 ,G0 )は、
それぞれ同じである。従って、局所領域13のF2 =m
in(G2 ,G0 )と局所領域15のF6 =min(G
6 ,G0 )とは同じ値になる。つまり、画像全体でみる
と、F2 とF6 のヒストグラムは同じになる。
As shown in FIG. 3B, considering a 3 × 3 local area 13 and a local area 15 shifted one pixel to the right and one pixel downward, the density of two points in the local area 13 is considered. (G0,
G2) and the density (G6, G0) at two points in the local area 15 are
Each is the same. Therefore, F2 = m in the local region 13
in (G2, G0) and F6 = min (G
6, G0). That is, the histograms of F2 and F6 are the same in the whole image.

【0041】同様にして、F3 とF7 のヒストグラム,
F4 とF8 のヒストグラムは同じになる。以上より、F
n のヒストグラムにおいて、濃度値kをもつ画素数hn
(k)には、
Similarly, the histogram of F3 and F7,
The histograms for F4 and F8 are the same. From the above, F
In the histogram of n, the number of pixels hn having the density value k
(k)

【0042】[0042]

【数10】 (Equation 10)

【0043】の関係が成立する。また、(5)式を満た
す画素数Hn(T)にも、
The following relationship is established. Also, the number of pixels Hn (T) satisfying the expression (5) is

【0044】[0044]

【数11】 [Equation 11]

【0045】の関係が成立する。そこで、(7)式に
(11)式を適用すると、隣接数の総和A(T)は、
The following relationship is established. Therefore, when equation (11) is applied to equation (7), the total sum A (T) of the number of neighbors becomes

【0046】[0046]

【数12】 (Equation 12)

【0047】と表わされる。すなわち、隣接数の総和A
(T)と面積S(T)は、最小値選択処理の結果Fn (n=
0,…,4)に対する5種類のヒストグラムから求めら
れ、これらをもとに平均隣接数R(T)は算出できる。
## EQU1 ## That is, the sum A of adjacent numbers
(T) and the area S (T) are the result Fn (n =
0,..., 4) are obtained from five types of histograms, and based on these, the average number of neighbors R (T) can be calculated.

【0048】実施例2.ところで、上記実施例では、F
n (n=0,…,4)のヒストグラムを、選択信号nを
0から4まで変えながら濃淡画像を5回走査して計数す
る場合について説明したが、図4のように、最小値選択
部3及びヒストグラム計数部4をそれぞれ5個並列に配
置し、本願の別発明の選択部30を構成する各最小値選
択部3の入力として、それぞれ(G0 ,G0 ),(G1
,G0 ),…,(G4 ,G0 )を与えることによっ
て、Fn (n=0,…,4)に対する5種類のヒストグ
ラムが、濃淡画像を1回走査するだけで得られるように
することもできる。この場合、局所データ選択部2は不
要になる。なお、(G0 ,G0 )を2入力とする最小値
選択部3は、G0 をそのままヒストグラム計数部4に入
力することにより省略できることは言うまでもない。
Embodiment 2 FIG. By the way, in the above embodiment, F
The case where the histogram of n (n = 0,..., 4) is scanned and counted five times while changing the selection signal n from 0 to 4 and counted, as shown in FIG. 5 and 5 histogram counters 4 are arranged in parallel, and (G0, G0), (G1) are input to the respective minimum value selectors 3 constituting the selector 30 of another invention of the present application.
, G0),..., (G4, G0), five types of histograms for Fn (n = 0,..., 4) can be obtained by scanning the grayscale image only once. . In this case, the local data selection unit 2 becomes unnecessary. Needless to say, the minimum value selection unit 3 having (G0, G0) as two inputs can be omitted by directly inputting G0 to the histogram counting unit 4.

【0049】[0049]

【発明の効果】以上のように、この発明のしきい値決定
方法及びその装置によれば、濃淡画像から注目点の濃度
G0 と、その8近傍の点のうちで注目点に対して対称な
2点を含まないように選んだ4点の濃度G1 ,…,G4
を抽出し、抽出された5点の濃度GO ,…,G4 の中か
ら濃淡画像の1走査毎に1つずつ選択するとともに、選
択された濃度Gn (n=0,…,4)と注目点の濃度G
0 のうち小さい方の値Fn を選択し、濃淡画像を5回走
査することにより得られる各Fn の出現頻度を計数して
5種類のヒストグラムを生成し、このヒストグラムに基
づき最適なしきい値を決定するようにしたので、従来の
ように、濃淡画像を9回走査する必要がなくなって5回
の走査で済み、処理時間が短縮できるという効果があ
る。
As described above, according to the threshold value determining method and apparatus according to the present invention, the density G0 of the target point from the grayscale image and the eight points near the target point are symmetrical with respect to the target point. Four points of density G1, ..., G4 selected not to include two points
, G4 are selected one by one for each scan of the grayscale image from the extracted five points of density Go,..., G4, and the selected density Gn (n = 0,. Concentration G
The smaller value Fn of 0 is selected, the appearance frequency of each Fn obtained by scanning the grayscale image five times is counted, and five types of histograms are generated, and the optimal threshold value is determined based on the histogram. This eliminates the necessity of scanning the grayscale image nine times as in the related art, so that only five scans are required and the processing time can be shortened.

【0050】また、本願の別の発明によるしきい値決定
方法及びその装置によれば、前記と同様に抽出された5
点の濃度GO ,…,G4 のそれぞれと注目点の濃度G0
のうちそれぞれ小さい方の値Fn (n=0,…,4)を
選択し、濃淡画像を1回走査することにより得られる各
Fn の出現頻度を計数して5種類のヒストグラムを生成
するので、濃淡画像の走査が1回で済むとともに、従来
のように、最小値選択部とヒストグラム計数部を9個並
列に配置する必要がなくなり、回路規模を大幅に縮小で
きるという効果がある。
According to another embodiment of the present invention, there is provided a method and apparatus for determining a threshold value.
Each of the point densities GO,..., G4 and the point of interest density G0
Since the smaller value Fn (n = 0,..., 4) is selected and the frequency of appearance of each Fn obtained by scanning the grayscale image once is counted to generate five types of histograms, The scanning of the grayscale image can be performed only once, and there is no need to arrange nine minimum value selecting units and nine histogram counting units in parallel as in the related art, so that the circuit scale can be greatly reduced.

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

【図1】この発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】この発明における局所データ抽出部の一実施例
を示す構成図である。
FIG. 2 is a configuration diagram illustrating an embodiment of a local data extraction unit according to the present invention.

【図3】最小値選択処理の同一性を示す説明図である。FIG. 3 is an explanatory diagram showing the identity of a minimum value selection process.

【図4】別の発明の一実施例を示す構成図である。FIG. 4 is a configuration diagram showing one embodiment of another invention.

【図5】従来例を示す構成図である。FIG. 5 is a configuration diagram showing a conventional example.

【図6】従来例における局所データ抽出部を示す構成図
である。
FIG. 6 is a configuration diagram showing a local data extraction unit in a conventional example.

【図7】別の従来例を示す構成図である。FIG. 7 is a configuration diagram showing another conventional example.

【図8】隣接数の説明図である。FIG. 8 is an explanatory diagram of the number of neighbors.

【図9】画像中の対象と背景の濃度分布を示す説明図で
ある。
FIG. 9 is an explanatory diagram showing a density distribution of a target and a background in an image.

【図10】しきい値に対する平均隣接数の変化の様子を
示す説明図である。
FIG. 10 is an explanatory diagram showing how the average number of neighbors changes with respect to a threshold.

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

1 局所データ抽出部 2 局所データ選択部(第1の選択部) 3 最小値選択部(第2の選択部) 4 ヒストグラム計数部 5 しきい値決定部 30 選択部 Reference Signs List 1 local data extraction unit 2 local data selection unit (first selection unit) 3 minimum value selection unit (second selection unit) 4 histogram counting unit 5 threshold value determination unit 30 selection unit

フロントページの続き (56)参考文献 特開 平4−86959(JP,A) 特開 平3−68084(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 1/40 - 1/409 H04N 1/46 H04N 1/60Continuation of the front page (56) References JP-A-4-86959 (JP, A) JP-A-3-68084 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04N 1 / 40-1/409 H04N 1/46 H04N 1/60

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 濃淡画像を2値化する際のしきい値決定
に関して、しきい値Tに対する2値画像のある点が
“1”であるとき、その8近傍でこの注目点に隣接して
いる“1”の点の数を示す隣接数の総和A(T) と“1”
の点の総数を示す面積S(T) をもとに、平均隣接数R
(T) =A(T) /S(T) を求め、しきい値Tに対する平均
隣接数R(T) の変化状態に基づき最適なしきい値を決定
するしきい値決定方法であって、濃淡画像から注目点の
濃度G0 と、その8近傍の点のうちで注目点に対して対
称な2点を含まないように選んだ4点の濃度G1 ,…,
G4 を抽出し、抽出された5点の濃度GO ,…,G4 の
中から濃淡画像の1走査毎に1つずつ選択するととも
に、選択された濃度Gn (n=0,…,4)と注目点の
濃度G0 のうち小さい方の値Fn を選択し、濃淡画像を
5回走査することにより得られる各Fn の出現頻度を計
数して5種類のヒストグラムを生成し、生成されたヒス
トグラムに基づき前記隣接数の総和A(T)と“1”の点
の面積S(T) を求めて平均隣接数R(T) を算出した後、
しきい値Tに対する平均隣接数R(T) の変化状態に基づ
き最適なしきい値を決定することを特徴とするしきい値
決定方法。
When a certain point of a binary image with respect to a threshold value T is "1" with respect to determination of a threshold value at the time of binarizing a grayscale image, a point near the point 8 is adjacent to the point of interest. The sum A (T) of adjacent numbers indicating the number of “1” points and “1”
Based on the area S (T) indicating the total number of points
(T) = A (T) / S (T), and a threshold value determining method for determining an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T. The density G0 of the point of interest from the image and the densities G1 of the four points selected so as not to include two points symmetrical with respect to the point of interest among the eight neighboring points.
G4 is extracted, and one density is selected from the five extracted densities GO,..., G4 for each scan of the grayscale image, and the selected density Gn (n = 0,..., 4) is noted. The smaller value Fn of the point density G0 is selected, the appearance frequency of each Fn obtained by scanning the grayscale image five times is counted, and five types of histograms are generated. Based on the generated histogram, After calculating the sum A (T) of the number of neighbors and the area S (T) of the point of “1” to calculate the average number of neighbors R (T),
A threshold value determining method characterized in that an optimum threshold value is determined based on a change state of an average number of neighbors R (T) with respect to a threshold value T.
【請求項2】 濃淡画像を2値化する際のしきい値決定
に関して、しきい値Tに対する2値画像のある点が
“1”であるとき、その8近傍でこの注目点に隣接して
いる“1”の点の数を示す隣接数の総和A(T) と“1”
の点の総数を示す面積S(T) をもとに、平均隣接数R
(T) =A(T) /S(T) を求め、しきい値Tに対する平均
隣接数R(T) の変化状態に基づき最適なしきい値を決定
するしきい値決定方法であって、濃淡画像から注目点の
濃度G0 と、その8近傍の点のうちで注目点に対して対
称な2点を含まないように選んだ4点の濃度G1 ,…,
G4 を抽出し、抽出された5点の濃度GO ,…,G4 の
それぞれと注目点の濃度G0 のうちそれぞれ小さい方の
値Fn (n=0,…,4)を選択し、濃淡画像を1回走
査することにより得られる各Fn の出現頻度を計数して
5種類のヒストグラムを生成し、生成されたヒストグラ
ムに基づき前記隣接数の総和A(T) と“1”の点の面積
S(T) を求めて平均隣接数R(T) を算出した後、しきい
値Tに対する平均隣接数R(T) の変化状態に基づき最適
なしきい値を決定することを特徴とするしきい値決定方
法。
2. A threshold value for binarizing a grayscale image, when a point of the binary image with respect to the threshold value T is “1”, the point near the point 8 is adjacent to the point of interest. The sum A (T) of adjacent numbers indicating the number of “1” points and “1”
Based on the area S (T) indicating the total number of points
(T) = A (T) / S (T), and a threshold value determining method for determining an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T. The density G0 of the point of interest from the image and the densities G1 of the four points selected so as not to include two points symmetrical with respect to the point of interest among the eight neighboring points.
G4 is extracted, and the smaller value Fn (n = 0,..., 4) of each of the extracted five points of density GO,..., G4 and the density of the point of interest G0 is selected. The number of appearances of each Fn obtained by scanning twice is counted to generate five types of histograms. Based on the generated histograms, the sum A (T) of the adjacent numbers and the area S (T ) To calculate an average number of neighbors R (T), and then determine an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T. .
【請求項3】 濃淡画像を2値化する際のしきい値決定
に関して、しきい値Tに対する2値画像のある点が
“1”であるとき、その8近傍でこの注目点に隣接して
いる“1”の点の数を示す隣接数の総和A(T) と“1”
の点の総数を示す面積S(T) をもとに、平均隣接数R
(T) =A(T) /S(T) を求め、しきい値Tに対する平均
隣接数R(T) の変化状態に基づき最適なしきい値を決定
するしきい値決定装置であって、濃淡画像から注目点の
濃度G0 と、その8近傍の点のうちで注目点に対して対
称な2点を含まないように選んだ4点の濃度G1 ,…,
G4 を抽出する抽出部と、前記抽出部から出力される5
点の濃度GO ,…,G4 の中から選択信号n(n=0,
…,4)に応じて1つを選択して出力する第1の選択部
と、前記第1の選択部の出力Gn と注目点の濃度G0 の
うち小さい方の値Fn を選択して出力する第2の選択部
と、前記第2の選択部の各出力Fn の出現頻度を計数す
るヒストグラム計数部と、前記ヒストグラム計数部から
各Fn に対して得られるヒストグラムに基づき前記隣接
数の総和A(T) と“1”の点の面積S(T)を求めて平均
隣接数R(T) を算出した後、しきい値Tに対する平均隣
接数R(T)の変化状態に基づき最適なしきい値を決定す
るしきい値決定部とを備えたことを特徴とするしきい値
決定装置。
3. A method for determining a threshold value for binarizing a grayscale image, wherein when a certain point of the binary image with respect to the threshold value T is "1", a point near the point 8 is adjacent to the point of interest. The sum A (T) of adjacent numbers indicating the number of “1” points and “1”
Based on the area S (T) indicating the total number of points
(T) = A (T) / S (T), and a threshold value determining apparatus for determining an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T. The density G0 of the point of interest from the image and the densities G1 of the four points selected so as not to include two points symmetrical with respect to the point of interest among the eight neighboring points.
An extracting unit for extracting G4, and 5 output from the extracting unit.
A selection signal n (n = 0, n = 0) from among the point densities GO,.
, 4), and selects and outputs the smaller value Fn of the output Gn of the first selector and the density G0 of the point of interest. A second selecting unit, a histogram counting unit for counting the frequency of appearance of each output Fn of the second selecting unit, and a sum A () of the adjacent numbers based on the histogram obtained for each Fn from the histogram counting unit T) and the area S (T) of the point "1" are calculated to calculate the average number of adjacent neighbors R (T). A threshold value determining unit for determining the threshold value.
【請求項4】 濃淡画像を2値化する際のしきい値決定
に関して、しきい値Tに対する2値画像のある点が
“1”であるとき、その8近傍でこの注目点に隣接して
いる“1”の点の数を示す隣接数の総和A(T) と“1”
の点の総数を示す面積S(T) をもとに、平均隣接数R
(T) =A(T) /S(T) を求め、しきい値Tに対する平均
隣接数R(T) の変化状態に基づき最適なしきい値を決定
するしきい値決定装置であって、濃淡画像から注目点の
濃度G0 と、その8近傍の点のうちで注目点に対して対
称な2点を含まないように選んだ4点の濃度G1 ,…,
G4 を抽出する抽出部と、前記抽出部から出力される5
点の濃度G0 ,…,G4 のそれぞれと注目点の濃度G0
のうちそれぞれ小さい方の値Fn (n=0,…,4)を
選択して出力する選択部と、前記選択部の各出力Fn の
出現頻度を同時に計数する5個のヒストグラム計数部
と、前記各ヒストグラム計数部から各Fn に対して同時
に得られるヒストグラムに基づき前記隣接数の総和A
(T) と“1”の点の面積S(T) を求めて平均隣接数R
(T) を算出した後、しきい値Tに対する平均隣接数R
(T) の変化状態に基づき最適なしきい値を決定するしき
い値決定部とを備えたことを特徴とするしきい値決定装
置。
4. A method for determining a threshold value for binarizing a grayscale image, when a certain point of the binary image with respect to the threshold value T is “1”, the point near the point 8 is adjacent to the point of interest. The sum A (T) of adjacent numbers indicating the number of “1” points and “1”
Based on the area S (T) indicating the total number of points
(T) = A (T) / S (T), and a threshold value determining apparatus for determining an optimum threshold value based on a change state of the average number of neighbors R (T) with respect to the threshold value T. The density G0 of the point of interest from the image and the densities G1 of the four points selected so as not to include two points symmetrical with respect to the point of interest among the eight neighboring points.
An extracting unit for extracting G4, and 5 output from the extracting unit.
, G4 of the point and the density G0 of the point of interest
A selection unit for selecting and outputting the smaller value Fn (n = 0,..., 4) of each of the above, five histogram counting units for simultaneously counting the appearance frequency of each output Fn of the selection unit, Based on the histograms obtained simultaneously for each Fn from each histogram counter, the sum A
(T) and the area S (T) of the point of “1” are obtained, and the average number of neighbors R
After calculating (T), the average number of neighbors R for the threshold T
(T) a threshold value determining unit that determines an optimum threshold value based on the change state.
JP3301117A 1991-10-21 1991-10-21 Threshold value determination method and device Expired - Fee Related JP2843185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3301117A JP2843185B2 (en) 1991-10-21 1991-10-21 Threshold value determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3301117A JP2843185B2 (en) 1991-10-21 1991-10-21 Threshold value determination method and device

Publications (2)

Publication Number Publication Date
JPH05115005A JPH05115005A (en) 1993-05-07
JP2843185B2 true JP2843185B2 (en) 1999-01-06

Family

ID=17893040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3301117A Expired - Fee Related JP2843185B2 (en) 1991-10-21 1991-10-21 Threshold value determination method and device

Country Status (1)

Country Link
JP (1) JP2843185B2 (en)

Also Published As

Publication number Publication date
JPH05115005A (en) 1993-05-07

Similar Documents

Publication Publication Date Title
CN108229526B (en) Network training method, network training device, image processing method, image processing device, storage medium and electronic equipment
US5018024A (en) Image processing apparatus using two-dimensional space frequency to discriminate image type
EP0521662A1 (en) Improved automatic image segmentation
NL8105256A (en) DEVICE FOR DYNAMICALLY ADJUSTING A BLACK / WHITE DISCRIMINATION THRESHOLD WHEN PROCESSING IMAGES WITH GRAYNESS VALUES.
US5278919A (en) Image area determining apparatus
JPS60230281A (en) Character discriminator
JP2843185B2 (en) Threshold value determination method and device
JPH10294862A (en) Image processor
JPH04227581A (en) Binarizing-threshold calculation device for image
JP2761285B2 (en) Threshold value determination device
JPH0620054A (en) Method and apparatus for decision of pattern data
JP2596613B2 (en) Threshold value determination device
JPS6359272A (en) Picture processor
JPH10269352A (en) Image processor and method
JPS613568A (en) Intermediate tone area identification system
JP3150778B2 (en) Threshold determination device
JP4087946B2 (en) Image processing device
JP2709301B2 (en) Striation light extraction circuit
JP3104355B2 (en) Feature extraction device
JPH1185976A (en) Picture noise analysis method and recording medium
KR100408521B1 (en) Method for extraction of query object from database images
JPH0414391B2 (en)
JPH04205271A (en) Method and device for determining optimum binarized threshold value
JPH10200755A (en) Image noise analysis method
JPH1079035A (en) Specific object extracting device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071023

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081023

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101023

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees