JPH0389141A - Binary-coded threshold determination for floc measuring apparatus - Google Patents

Binary-coded threshold determination for floc measuring apparatus

Info

Publication number
JPH0389141A
JPH0389141A JP1225525A JP22552589A JPH0389141A JP H0389141 A JPH0389141 A JP H0389141A JP 1225525 A JP1225525 A JP 1225525A JP 22552589 A JP22552589 A JP 22552589A JP H0389141 A JPH0389141 A JP H0389141A
Authority
JP
Japan
Prior art keywords
threshold
floc
image
value
binarization
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
JP1225525A
Other languages
Japanese (ja)
Other versions
JP2743509B2 (en
Inventor
Hiroyuki Goto
浩之 後藤
Hiroshi Shimazaki
弘志 島崎
Takayoshi Nakano
仲野 隆由
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP1225525A priority Critical patent/JP2743509B2/en
Publication of JPH0389141A publication Critical patent/JPH0389141A/en
Application granted granted Critical
Publication of JP2743509B2 publication Critical patent/JP2743509B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To enable recognition of all required flocs by a handy treatment by defining a value (integer) weighted by a value of an logarithmic average brightness as threshold of a floc image within a range of a specified formula. CONSTITUTION:When a floc image is binary coded with a floc measuring device with a lighting of an underwater camera detector section made in a parallel opposition type, a binary coded threshold is determined from a density histogram of the floc image. In other words, a logarithmic mean mu and a logarithmic standard deviation delta are calculated from a brightness (density) histogram of the floc image. A threshold S allowed for a characteristic coefficient (a) of a camera is within a range of a formula and hence, a value weighted thereon by a value of the logarithmic average brightness is defined as threshold of the floc image. Thus, even when an area and the number of flocs are measured continuously even for the flocs different in state of formation, required flocs can be all recognized by a handy treatment.

Description

【発明の詳細な説明】 A、産業上の利用分野 本発明は、フロック計測装置で画像を2値化する際の2
値化閾値決定方法に関し、特に、検出部の水中カメラの
照明を並列対向方式とするフロック計測装置の2値化閾
値決定方法に関する。
[Detailed description of the invention] A. Industrial application field
The present invention relates to a method for determining a digitization threshold, and particularly relates to a method for determining a digitization threshold for a floc measurement device in which the underwater cameras of the detection unit are illuminated in parallel and opposite manner.

B0発明の概要 本発明は、検出部の水中カメラの照明を並列対向方式と
するフロック計測装置でフロック画像を2値化する際の
2値化閾値決定方法において、フロック画像の濃度ヒス
トグラムから所定の公式で2値化閾値を決定することに
より、カメラの相違を考慮した2値化閾値を決定し、形
成状態の異なるフロックに対しても、連続的にフロック
の面積や個数を計測する場合にも、簡便な処理で、所要
のフロックをすべて認識する技術を提供するものである
B0 Summary of the Invention The present invention provides a method for determining a binarization threshold value when a floc image is binarized using a floc measuring device in which the illumination of underwater cameras in the detection unit is arranged in a parallel opposing manner. By determining the binarization threshold value using the formula, it is possible to determine the binarization threshold value that takes into account differences in cameras, and it is also possible to continuously measure the area and number of flocs even for flocs with different formation states. , provides a technology that recognizes all required flocs with simple processing.

C9従来の技術 フロック計測装置は、第5図に一般的な構成を示すよう
に、フロック形成池5Iで浮遊しているフロックを検出
する水中カメラ検出部52と、フロックを認識する画像
処理装置53と、画像処理装置のデータを格納している
ホストコンピュータ54とから成る。検出部52と画像
処理装置53とは密接な関係にあり、特に、水中カメラ
検出部52ではその照明方式が重要になる。例えば、計
測の対象となる画像の輝度バランスが一様でないと、2
値化処理を旨く行えない。そのため、濃度処理やフィル
タ処理などの複雑な前処理をしなければならない。
C9 Conventional technology The floc measuring device, as shown in the general configuration in FIG. 5, includes an underwater camera detection section 52 that detects flocs floating in a floc formation pond 5I, and an image processing device 53 that recognizes the flocs. and a host computer 54 that stores data for the image processing device. The detection unit 52 and the image processing device 53 are in a close relationship, and the illumination method is particularly important for the underwater camera detection unit 52. For example, if the brightness balance of the image to be measured is not uniform, 2
Value processing cannot be performed successfully. Therefore, complex preprocessing such as density processing and filter processing must be performed.

2値化処理方法については、従来から多種多様な方法が
考案されていて、特に画面の殆どを背景として画面場に
点在するフィルタ画像等の認識を企図する2値化方法と
しては下記のようなものがある。
As for the binarization processing method, a wide variety of methods have been devised in the past, and in particular, the binarization method that aims to recognize filter images etc. scattered on the screen field with most of the screen as the background is as follows. There is something.

第6図は、画像全体の輝度ヒストグラムを示す説明図で
ある。図(a)に示すようなモニタ画面61に黒以上の
輝度を有するフロック62が点在する場合、その画面輝
度ヒストグラムは図(b)に示すようになる。同図(b
)において、縦軸は画素数比(%)を示し、横軸は映像
信号をA/D変換して得られる輝度レベルを256階調
に区分して示している。この輝度ヒストグラムでは、斜
線部分が全体の80〜90%を占めていることが判る。
FIG. 6 is an explanatory diagram showing a brightness histogram of the entire image. When the monitor screen 61 as shown in FIG. 6(a) is dotted with flocks 62 having a luminance of black or higher, the screen luminance histogram becomes as shown in FIG. 6(b). The same figure (b
), the vertical axis indicates the pixel number ratio (%), and the horizontal axis indicates the luminance level obtained by A/D converting the video signal, divided into 256 gradations. In this luminance histogram, it can be seen that the shaded area occupies 80 to 90% of the whole.

この分布から、画像を画面上の黒又は白に対応する“0
“又は“1”の2値に変換する際の閾値を決定するには
、−膜内に、クラスター法。
From this distribution, we can define the image as “0”, which corresponds to black or white on the screen.
To determine the threshold for converting into a binary value of "or "1" - within the membrane, the cluster method.

P−タイル法、微分ヒストグラム法、クラスター法と微
分ヒストグラム法との組合わせ法など各種の方法がある
There are various methods such as the P-tile method, the differential histogram method, and a combination method of the cluster method and the differential histogram method.

クラスター法は輝度ヒストグラムに2つの山が現れたと
き、その谷間を閾値とする方法で、2つの山の分布が正
規分布であるならば、この方法で閾値を決定できるが、
フロック画像では山が対称的に現れる場合は殆どなく、
フロック画像の如く背景が圧倒的な部分を占める画像に
対しては有効ではない。
The cluster method is a method in which when two peaks appear in the brightness histogram, the valley between them is used as a threshold.If the distribution of the two peaks is a normal distribution, the threshold can be determined using this method.
In flock images, mountains rarely appear symmetrically;
This method is not effective for images in which the background occupies an overwhelming portion, such as flock images.

P−タイル法(上、全体画像に対する2値化画像の割合
か予め判っている場合に適用される方法であるが、フロ
ック画像のように、その割合が常に変化するものに対し
ては有効でない。
P-tile method (above, this method is applied when the ratio of the binarized image to the whole image is known in advance, but it is not effective for images where the ratio constantly changes, such as flock images) .

微分ヒストグラム法(二次微分によるラプラシアンヒス
トグラム法を含む)又はクラスター法と微分ヒストグラ
ム法との組合わせ法は、第7図に示す如く、画面上のフ
ロック画像71をX軸方向に走査したとき、画像の中心
に対応する輝度変化72は二次微分の絶対値が大きく、
周辺に対応する輝度変化73は一次微分の絶対値が大き
いことを利用したもので、画像の周辺部分の輝度変化は
少ないけれども背景の輝度変化に対しては2値化の閾値
°とみなすことができ、フロック画像のように背景部分
が圧倒的に多い画像に対しては適していると考えられる
。ただ、この方法では、微弱なノイズが強調され、フロ
ック以外のものまで認識してしまうという難点がある。
As shown in FIG. 7, the differential histogram method (including the Laplacian histogram method using second-order differentiation) or the combination method of the cluster method and the differential histogram method, as shown in FIG. The brightness change 72 corresponding to the center of the image has a large absolute value of the second derivative;
The brightness change 73 corresponding to the periphery takes advantage of the fact that the absolute value of the first-order differential is large, and although the brightness change in the peripheral part of the image is small, it can be regarded as the binarization threshold ° for the brightness change in the background. It is considered to be suitable for images with overwhelmingly large background parts, such as flock images. However, this method has the disadvantage that weak noise is emphasized and even things other than flocks are recognized.

このように多種多様の2値化処理方法が考案されている
が、いずれも一長一短があり、フロック認識に最適の2
値化方法が待望されていた。
As described above, a wide variety of binarization processing methods have been devised, but they all have advantages and disadvantages, and the two most suitable for flock recognition are
A value conversion method was long awaited.

D0発明が解決しようとする課題 そのような要求に答えて、フロック計測装置における2
値化処理の前処理として閾値を算出し、その値にもとづ
いてフロック画像を2値化処理する方法が、本件出願人
の提案に係る実願昭63−80165号の並列対向型照
明器によるカメラ視野範囲(例えば縦50+yxx横5
2屑0に輝度ムラを生じない照明方式で可能になってい
る。
Problems to be solved by the D0 invention In response to such demands, two
A method of calculating a threshold value as a pre-processing of the digitization process and binarizing the flock image based on that value is proposed by the applicant in Utility Model Application No. 80165/1983, in which a camera using parallel opposed illuminators is proposed. Viewing range (e.g. 50 vertically + 5 horizontally yxx
This is made possible by a lighting method that does not cause uneven brightness.

第8図は、並列対向型照明器の概略説明図で、同図(a
)に正面図を示す一対の投光器81a。
FIG. 8 is a schematic explanatory diagram of a parallel-opposed illuminator;
) shows a pair of projectors 81a in front view.

81bが同図(b)に示す如くスクリーン82の両脇に
配設され、光ファイバ83に導光された光84がスクリ
ーン82手前のフロックを照射し、これをカメラ85で
撮像するものである。図中のスクリーン82は黒色で、
投影されるフロックは黒色以上の輝度で映し出されろ。
81b are arranged on both sides of the screen 82 as shown in FIG. . The screen 82 in the figure is black,
The projected flock should be projected with a brightness higher than black.

2値化処理は、ある輝度階凋に閾値を設定し、その値よ
りも低い輝度の画像“0” (黒)に変換し、その値以
上の輝度の画像は“l” (白)に変換する。
Binarization processing sets a threshold at a certain luminance scale, converts images with a luminance lower than that value to "0" (black), and converts images with luminance above that value to "l" (white). do.

第9図は、フロック画像の1画面を示すグラフで、横軸
が輝度(濃度)を示し、縦軸が画素個数を示している。
FIG. 9 is a graph showing one screen of a flock image, in which the horizontal axis shows brightness (density) and the vertical axis shows the number of pixels.

図中(a)は輝度と画素個数の関係を示し、図(b)は
それに加えて輝度と対数密度関数f (X)の関係を示
している。尚、夏画素は画像の単位であり、それぞれ輝
度(濃度)情報を持っている。図中斜線部分はフロック
以外の背景部分を示し、その領域は画面(フロックの大
きさやフロックの密度等の影響等)によって常に変化す
る。従って、フロックの面積や個数を計算するには、斜
線領域の限界を示す閾値Siも各画面に応じて最適の値
を算出する必要がある。
In the figure, (a) shows the relationship between brightness and the number of pixels, and in addition to that, figure (b) shows the relationship between brightness and the logarithmic density function f (X). Note that each summer pixel is a unit of an image, and each has brightness (density) information. The shaded area in the figure indicates the background area other than the flock, and this area always changes depending on the screen (effects of the size of the flock, density of the flock, etc.). Therefore, in order to calculate the area and number of flocs, it is necessary to calculate the optimal value for the threshold value Si indicating the limit of the shaded area according to each screen.

本発明は、このような課題に鑑みて創案されたもので、
カメラの相違を考慮した2値化の閾暁を決定し、形成状
態の異なるフロックに対しても、連続的にフロックの面
積や個数を計測する場合にも、簡便な処理で、所要のフ
ロックをすべて認識可能なフロック計測装置の2値化閾
値決定方法を提供することを目的としている。
The present invention was created in view of these problems, and
The threshold for binarization is determined by taking into account differences in cameras, and the required flocs can be easily calculated even when the area and number of flocs are continuously measured, even for flocs with different formation states. It is an object of the present invention to provide a method for determining a binarization threshold value for a floc measuring device that can recognize all types of flocs.

80課題を解決するための手段 本発明における上記課題を解決するための手段は、水中
カメラ検出部の照明方式を並列対向型とし、所定の閾値
によりフロック画像の2値化処理を行うフロック計測装
置の2(iI化閾値決定方法において、所要の範囲内で
対数平均輝度の値により償みづけされた値を該フロック
画像の閾値とする2値化学閾値決定方法であって、各濃
度(輝度)Xから対数平均値μ及び対数標準偏差σを演
算し、撮影カメラの特性係数をaとしてフロック画像の
2 Ia化閾値Siを決定する式が、 S i(μ)QC(7z+a・σ+0.2・cr/LO
G(n))であり、算出閾値Siと最適閾値TSiの標
準誤差Gsを算出する式が Gs= (S i −TS i) +’rs iであり
、A、Hの値を第4図の値として最適の閾値TSiを算
出する式が TS i =S i + (1−(AXKw+B))で
あることを好適とするものである。
80 Means for Solving the Problems Means for solving the above problems in the present invention is a floc measuring device in which the illumination method of the underwater camera detection section is a parallel-opposed type, and the floc image is binarized using a predetermined threshold value. 2 (In the iI conversion threshold determination method, a binary chemical threshold determination method in which a value compensated by the value of logarithmic average luminance within a required range is used as the threshold of the flock image, and each concentration (luminance) The formula for calculating the logarithmic mean value μ and logarithm standard deviation σ from cr/LO
G(n)), and the formula for calculating the standard error Gs between the calculated threshold Si and the optimal threshold TSi is Gs= (S i -TS i) +'rs i, and the values of A and H are expressed as shown in Fig. 4. It is preferable that the formula for calculating the optimal threshold value TSi is TS i =S i + (1-(AXKw+B)).

11作用 本発明は、水中カメラ検出部の照明を並列対向型とする
フロック計測装置でフロック画像を21直化する際、フ
ロック画像の濃度ヒストグラムから所定の公式で2値化
閾値を決定するものである。
11 Effects The present invention determines a binarization threshold value using a predetermined formula from the density histogram of the floc image when converting the floc image into a 21 scale using a floc measuring device in which the illumination of the underwater camera detection unit is of a parallel and opposing type. be.

第9図(a)に示す如く、並列対向型照明方式によるフ
ロックが画像は低輝度の方に偏っていて、対数平均値及
び対数標準偏差を計算し、対数密度関数を描くと同図(
b)に示すようになり、フロック画像を撮像するカメラ
の特性を考慮する係数をaとすると前記対数平均値μ及
び対数標準偏差σと閾値Sとの関係から、 μ+σ×a≦S≦μ+σx(a+0.2)の範囲内に閾
値Sが入ることがわかった。この範囲内の閾値で対数平
均輝度の値によって重みづけされた値(整数)を該フロ
ック画像の閾値とすれば、フロック画像をその閾値によ
り2値化することができる。
As shown in Figure 9(a), the image of the flocks produced by the parallel facing illumination method is biased towards low brightness, and when the logarithmic average value and logarithmic standard deviation are calculated and the logarithmic density function is drawn, the image shown in the figure (
As shown in b), if the coefficient considering the characteristics of the camera that captures the flock image is a, then from the relationship between the logarithmic mean value μ, logarithm standard deviation σ, and threshold value S, μ+σ×a≦S≦μ+σx( It was found that the threshold value S falls within the range of a+0.2). If a value (integer) weighted by the value of the logarithmic average brightness within this range is used as the threshold for the flock image, the flock image can be binarized using the threshold.

G、実施例 以下、図面を参照して、本発明の実施例を詳細に説明す
る。
G. Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の2値化閾値決定方法の一例を示す工
程図である。本実施例は第5図に示したフロック計測装
置により実施されろもので、工程はまず、前記水中カメ
ラ検出部52でフロックを撮像し、1画面の画像データ
を入力ずろ。次に、その画像データに基づいて前記画像
処理装置53で濃度ヒストグラムを作成する。該ヒスト
グラムは前記ホストコンピュータ54に入力され、下記
の演算を行われる。
FIG. 1 is a process diagram showing an example of the binarization threshold determination method of the present invention. This embodiment is carried out using the floc measuring device shown in FIG. 5, and the steps are first to image the flocs using the underwater camera detection section 52 and input one screen of image data. Next, the image processing device 53 creates a density histogram based on the image data. The histogram is input to the host computer 54, and the following calculations are performed.

(1)  フロック画像1画面の輝度積算和(K w 
)の算出、 (2) 計算閾値(Si)の算出、 (3) 最適輝度相関式による最適閾値(’l5i)の
算出。
(1) Luminance integrated sum of one screen of flock images (K w
) calculation, (2) calculation of the calculation threshold (Si), (3) calculation of the optimal threshold ('l5i) using the optimal brightness correlation formula.

上記各演算が終了すると、ホストコンピュータ54は、
最適閾値(TSi)によって画像処理装置53に2値化
処理を行う命令を出し、2値化処理を行う。
When each of the above calculations is completed, the host computer 54
A command to perform binarization processing is issued to the image processing device 53 using the optimum threshold value (TSi), and the binarization processing is performed.

第2図は、第8図に示した並列対向型照明器によってフ
ロック群に光をあてた画像の濃度ヒストグラムを示すグ
ラフである。同図をにおいて、横軸はフロック画像の輝
度を示し、縦軸は画素個数を示す。まず、各輝度X(濃
度;l〜255)@の画T:個数から対数平均値μ及び
対数標準偏差σを計算し、公知の対数密度関数式 %式%) に値を代入する。
FIG. 2 is a graph showing a density histogram of an image in which a group of flocks is illuminated by the parallel opposed illuminators shown in FIG. In the figure, the horizontal axis shows the luminance of the flock image, and the vertical axis shows the number of pixels. First, the logarithmic average value μ and logarithmic standard deviation σ are calculated from the number of images T: of each luminance X (density; l to 255) @, and the values are substituted into the known logarithmic density function formula % formula %).

一方で、作用側で述べた公式 %式%) にも値を代入して重ねると、第3図に示す如くになる。On the other hand, the formula stated on the action side %formula%) By substituting values into and overlapping them, the result will be as shown in Fig. 3.

この公式によりフロック画像の閾値範囲か算出され、そ
の範囲内で下記の式により対数平均輝度による重みづけ
を行う。
The threshold range of the flock image is calculated using this formula, and within that range, weighting is performed using the logarithmic average brightness using the following formula.

S(μ)(((μ +a  ・+7 +0.2・(7/
LOG(128))  −(1)この結果得られた閾値
S(μ)を、対象となるフロック画像の閾値Stとする
S(μ)(((μ +a ・+7 +0.2・(7/
LOG (128)) - (1) The threshold value S (μ) obtained as a result is set as the threshold value St of the target flock image.

この閾ftfisrを使用して2値化処理を行うことに
より、並列対向型照明器による画面視野範囲内のシェー
ディングを解消し、下記の効果が生ずる。
By performing the binarization process using this threshold ftfisr, shading within the screen field of view caused by the parallel opposed illuminators is eliminated, and the following effects are produced.

(1)  画面内に点在するフロックをすべて認識可能
となる(但し、画素解像度と関係があるため、200μ
m以上のフロックに関する)。
(1) All flocs scattered on the screen can be recognized (however, since it is related to pixel resolution,
(for flocs of m or more).

(2) 輝度(濃度)ヒストグラム値から対数平均値と
対数標準偏差を算出し、前記式(1)によって2値化閾
値を得ろことができる。
(2) A logarithmic average value and a logarithmic standard deviation can be calculated from the brightness (density) histogram value, and a binarization threshold value can be obtained using the above equation (1).

(3) 従って、形成状態の異なるフロック画像にもそ
れぞれの輝度(濃度)ヒストグラムから最適の閾値を得
ることができる。
(3) Therefore, it is possible to obtain the optimum threshold value from each brightness (density) histogram even for flock images having different formation states.

(4) 更に上記(3)により、フロックの面積や個数
を連続的に計測する際にも、コンピュータ等で自動的に
最適の閾値を算出することにより連続計測が可能となる
(4) Further, according to (3) above, even when continuously measuring the area and number of flocs, continuous measurement is possible by automatically calculating the optimal threshold value using a computer or the like.

(5) 2値化の際に濃度変換やフィルタ処理の必要性
がなくなり、処理が簡便になる。
(5) There is no need for density conversion or filter processing during binarization, which simplifies the processing.

ところで、上記処理では、式中にカメラの特性を考慮す
るための項aが含まれている。この項aは、カメラを取
り替えた場合、その値の調整が必要で、煩わしいことも
ある。そこで、この項a=0.9に固定してカメラに対
する調節を不要にする方法が考えられる。
Incidentally, in the above processing, the equation includes a term a for taking into account the characteristics of the camera. This term a requires adjustment of its value when the camera is replaced, which can be troublesome. Therefore, it is possible to consider a method of fixing this term a=0.9 to eliminate the need for adjustment to the camera.

前記式(1)によって算出された計算閾値をSiとし、
第2図で実測された最適の閾値をTSiとし、その標準
誤差をGsとすると、 Gs==(Si−TSi)+TSi  ・・・・・・(
2)であり、更に、第2図中の横軸とそれに対応する縦
軸の値の積の和をフロック画像1画面の輝度の積算和K
wとし、誤差Gsを縦軸にとり、和Kwを横軸にとると
、第4図に示す特性が得られ、非常に良好な相関関係が
存在することが判明する。
Let Si be the calculation threshold calculated by the above formula (1),
Let TSi be the optimal threshold actually measured in Fig. 2, and let Gs be its standard error, then Gs==(Si-TSi)+TSi ・・・・・・(
2), and furthermore, the sum of the products of the values of the horizontal axis and the corresponding vertical axis in FIG.
When w is taken, the error Gs is plotted on the vertical axis, and the sum Kw is plotted on the horizontal axis, the characteristics shown in FIG. 4 are obtained, and it is found that a very good correlation exists.

そこで、この直線式(2)に、前記式(1)で得られた
計算閾値Siを代入すれば、 TS i =S i −i−(1−(AxKw+B))
 ・−・(a)となり、最適な閾値が算出される。また
この方法では、カメラの違いを調整しなくてもよく、カ
メラを交換しても係数を変更することなく最適な閾値の
算出を行うことができる。
Therefore, by substituting the calculation threshold Si obtained in the above equation (1) into this linear equation (2), TS i =S i -i-(1-(AxKw+B))
...(a), and the optimal threshold value is calculated. Furthermore, with this method, there is no need to adjust for differences in cameras, and even if the camera is replaced, the optimum threshold value can be calculated without changing the coefficients.

I(、発明の詳細 な説明したとおり、本発明によれば、カメラの相違を考
慮した2値化閾値を決定し、形成状態の異なるフロック
に対しても、連続的にフロックの面積や個数を計測する
場合にも、簡便な処理で所要のフロックをずへて認識可
能なフロック計測。
I (, As described in detail, according to the present invention, the binarization threshold value is determined in consideration of the difference in cameras, and the area and number of flocs are continuously calculated even for flocs with different formation states. Even when measuring, floc measurement allows you to remove and recognize the required flocs with simple processing.

装置の2値化閾値決定方法を提供することができる。A method for determining a binarization threshold for an apparatus can be provided.

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

第1図は本発明の一実施例の工程図、第2図及び第3図
は実施例の輝度ヒストグラム、第4図は標準誤差と輝度
和の関係を示すグラフ、第5図はフロック計測装置の構
成図、第6図は輝度ヒストグラムの説明図、第7図はフ
ロック輝度変化の説明図、第8図は並列対向型照明器の
説明図、第9図は輝度と画素個数の関係のグラフである
。 51・・・フロック形成池、52・・・検出部、53・
・・画像処理装置、54・・・ホストコンピュータ、8
I・投光器、82・・・スクリーン、83・・・光ファ
イバ、84・・・光、85・・・カメラ。 第1図 本発明の一実施伊1の工程図 第2図 v1浪ヒストクづム 第3図 ボ軍度ヒストク゛ラム 輝 度 (濃度) 第4図 着潅竪p1仝とt軍3日連との閣石辰玄示7グラフY−
A牽x十B ×106 輝度和 第5図 フロlνり計沖1艮置の講へ口 第6図 画面フロックのff浅ヒストク゛ラムの説日月口(Q) 固厘■1覆〔ストク“ツム 第7図 フロ1ツク覆−&変イじのお仁日月囚 定量方向 第8図 並列力向型悶明器5の跣明圓 (Q) 輝 濱 (濃5) (b) hti正の内容 手続補走書(、罰 平成 2年1 月9 日 渠
Figure 1 is a process diagram of an embodiment of the present invention, Figures 2 and 3 are luminance histograms of the embodiment, Figure 4 is a graph showing the relationship between standard error and luminance sum, and Figure 5 is a flock measuring device. Fig. 6 is an explanatory diagram of the brightness histogram, Fig. 7 is an explanatory diagram of flock luminance changes, Fig. 8 is an explanatory diagram of parallel opposed illuminators, and Fig. 9 is a graph of the relationship between luminance and number of pixels. It is. 51... Floc formation pond, 52... Detection section, 53.
...Image processing device, 54...Host computer, 8
I. Floodlight, 82...Screen, 83...Optical fiber, 84...Light, 85...Camera. Fig. 1 Process diagram of one implementation of the present invention Fig. 2 V1 wave histogram Fig. 3 Military histogram brightness (density) Ishitatsu Genji 7 Graph Y-
A x 10 B Fig. 7 Flow 1 Tsuk overturning & changing the direction of the date and moon prisoner Quantification direction Fig. 8 Parallel force-directed type torture device 5's footwork (Q) Teruhama (dark 5) (b) hti positive Supplementary document on content procedures (penalty January 9, 1990)

Claims (3)

【特許請求の範囲】[Claims] (1)水中カメラ検出部の照明方式を並列対向型とし、
所定の閾値によりフロック画像の2値化処理を行うフロ
ック計測装置の2値化閾値決定方法において、フロック
画像の輝度(濃度)ヒストグラムから対数平均値(μ)
、対数標準偏差(δ)を算出し、撮影カメラの特性係数
(a)を考慮した閾値(s)が μ+δ×a≦S≦μ+δ×(a+0.2) の範囲内で、且つ対数平均輝度の値によって重みづけさ
れた値をフロック画像の閾値とすることを特徴とするフ
ロック計測装置の2値化決定方法。
(1) The illumination method of the underwater camera detection section is a parallel facing type,
In a method for determining a binarization threshold of a floc measurement device that performs binarization processing of a floc image using a predetermined threshold, the logarithmic mean value (μ) is determined from the luminance (density) histogram of the floc image.
, the logarithmic standard deviation (δ) is calculated, and the threshold value (s) considering the characteristic coefficient (a) of the photographing camera is within the range of μ+δ×a≦S≦μ+δ×(a+0.2), and the logarithmic average luminance is 1. A method for determining binarization of a flock measuring device, characterized in that a value weighted by a value is used as a threshold value of a flock image.
(2)水中カメラ検出部の照明方法を並列対向型とし、
所定の閾値によりフロック画像の2値化処理を行うフロ
ック計測装置の2値化閾値決定方法において、フロック
画像の輝度(濃度)ヒストグラムから対数平均値(μ)
、対数標準偏差(δ)を算出し、且つフロック画像を撮
像するカメラの特性を考慮した係数をaとしたとき、閾
値SiをSi(μ)∝{μ+a・δ+0.2・δ/lo
g(128)}の式によってフロック画像の2値化閾値
を求めるようにしたことを特徴としたフロック計測装置
の2値化閾値決定方法。
(2) The lighting method of the underwater camera detection section is a parallel facing type,
In a method for determining a binarization threshold of a floc measurement device that performs binarization processing of a floc image using a predetermined threshold, the logarithmic mean value (μ) is determined from the luminance (density) histogram of the floc image.
, the logarithmic standard deviation (δ) is calculated, and when a is a coefficient that takes into account the characteristics of the camera that captures the flock image, the threshold value Si is Si(μ)∝{μ+a・δ+0.2・δ/lo
1. A method for determining a binarization threshold for a floc measuring device, characterized in that the binarization threshold for a floc image is determined by the formula: g(128)}.
(3)請求項(2)に記載のフロック計測装置の2値化
閾値決定方法において、フロック画像1画面の輝度積算
和(Kw)、標準誤差と輝度和との関係から求まった値
A、Bとして最適閾値TSiをTSi=Si÷{1−(
A×Kw+B)} の式により算出することを特徴とするフロック計測装置
の2値化閾値決定方法。
(3) In the method for determining a binarization threshold value for a flock measuring device according to claim (2), values A and B determined from the relationship between the luminance integrated sum (Kw) of one screen of flock images, the standard error, and the luminance sum. The optimal threshold TSi is calculated as TSi=Si÷{1-(
A x Kw + B)} A method for determining a binarization threshold for a floc measuring device, characterized in that the threshold is calculated by the following formula.
JP1225525A 1989-08-31 1989-08-31 Method for determining binarization threshold of floc measuring device Expired - Lifetime JP2743509B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1225525A JP2743509B2 (en) 1989-08-31 1989-08-31 Method for determining binarization threshold of floc measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1225525A JP2743509B2 (en) 1989-08-31 1989-08-31 Method for determining binarization threshold of floc measuring device

Publications (2)

Publication Number Publication Date
JPH0389141A true JPH0389141A (en) 1991-04-15
JP2743509B2 JP2743509B2 (en) 1998-04-22

Family

ID=16830672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1225525A Expired - Lifetime JP2743509B2 (en) 1989-08-31 1989-08-31 Method for determining binarization threshold of floc measuring device

Country Status (1)

Country Link
JP (1) JP2743509B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005170562A (en) * 2003-12-09 2005-06-30 Toshiba Elevator Co Ltd Method for assembling elevator with smoke blocking device
US7340093B2 (en) 2004-03-31 2008-03-04 Canon Kabushiki Kaisha Luminescent intensity analysis method and apparatus
JP2019209271A (en) * 2018-06-06 2019-12-12 株式会社明電舎 Water quality determination device and water quality determination method in waste water treatment facility

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005170562A (en) * 2003-12-09 2005-06-30 Toshiba Elevator Co Ltd Method for assembling elevator with smoke blocking device
JP4703960B2 (en) * 2003-12-09 2011-06-15 東芝エレベータ株式会社 Method for assembling elevator with smoke barrier
US7340093B2 (en) 2004-03-31 2008-03-04 Canon Kabushiki Kaisha Luminescent intensity analysis method and apparatus
JP2019209271A (en) * 2018-06-06 2019-12-12 株式会社明電舎 Water quality determination device and water quality determination method in waste water treatment facility

Also Published As

Publication number Publication date
JP2743509B2 (en) 1998-04-22

Similar Documents

Publication Publication Date Title
EP2461576B1 (en) Image processing apparatus and image processing program
CN103716503B (en) Image processing apparatus and projector
CN112001904B (en) Comprehensive evaluation module and evaluation method for quality definition of remote sensing image
JPH03160573A (en) Picture threshold value decision method
CN116363140A (en) Method, system and device for detecting defects of medium borosilicate glass and storage medium
CN114666523A (en) Energy-saving liquid crystal television capable of automatically adapting to human eye brightness
CN110186929A (en) A kind of real-time product defect localization method
CN110446025B (en) Camera module detection system and method applied to electronic equipment
JPH0389141A (en) Binary-coded threshold determination for floc measuring apparatus
CN114972084A (en) Image focusing accuracy evaluation method and system
Li et al. Multi-scale fusion framework via retinex and transmittance optimization for underwater image enhancement
JPH09318334A (en) Image-binarizing method and surface-defect inspecting device
JP3012295B2 (en) Image processing apparatus and method
JP2001235319A (en) Shading correcting apparatus and shading correcting method, and surface inspection apparatus
JP3088654B2 (en) Image quality measurement method
Várkonyi-Kóczy et al. High dynamic range image based on multiple exposure time synthetization
TWM622922U (en) System for automatically searching for multi-grayscale regions of interest
CN115511824A (en) Paper defect detection method and system adopting FFT
JPH0429044A (en) Inspecting method for long-sized structure
CN117710266A (en) Night road visibility monitoring method based on video image
JPH08189902A (en) Picture processing device
JPH04297961A (en) Magnetic particle inspection data processing device
Li et al. A single image defogging algorithm for sky region recognition based on binary mask
JPH0989537A (en) Surface swell inspecting device
CN117765007A (en) Method for identifying high-brightness area in photo