Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2833767B2 - Measurement method of foam volume by image processing - Google Patents
[go: Go Back, main page]

JP2833767B2 - Measurement method of foam volume by image processing - Google Patents

Measurement method of foam volume by image processing

Info

Publication number
JP2833767B2
JP2833767B2 JP1001762A JP176289A JP2833767B2 JP 2833767 B2 JP2833767 B2 JP 2833767B2 JP 1001762 A JP1001762 A JP 1001762A JP 176289 A JP176289 A JP 176289A JP 2833767 B2 JP2833767 B2 JP 2833767B2
Authority
JP
Japan
Prior art keywords
projection image
bubble
image
volume
image processing
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
Application number
JP1001762A
Other languages
Japanese (ja)
Other versions
JPH02181603A (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.)
Nippon Electric Glass Co Ltd
Original Assignee
Nippon Electric Glass 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 Nippon Electric Glass Co Ltd filed Critical Nippon Electric Glass Co Ltd
Priority to JP1001762A priority Critical patent/JP2833767B2/en
Publication of JPH02181603A publication Critical patent/JPH02181603A/en
Application granted granted Critical
Publication of JP2833767B2 publication Critical patent/JP2833767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像処理によるガラス中の泡体積の測定方法
に関する。
Description: TECHNICAL FIELD The present invention relates to a method for measuring the volume of bubbles in glass by image processing.

〔従来の技術〕[Conventional technology]

種々のガラス製品は溶融したガラス材料を成形するこ
とによって製造される。例えば、暖房器の前面ガラスや
工業炉の覗き窓などのような透過性が要求される。ガラ
ス製品は、溶融工程や成形工程で内部に泡が形成される
ことがないような細心の注意を払って製造されるが、何
等かの原因により製品の内部に泡が形成されると不良品
となり、生産歩留りの低下や製造コストの上昇などの問
題を引き起こす。このように泡不良の発生原因をつきと
め、これに基づいて溶融条件成形条件を修正する目的
で、ガラス製品中に包含されている泡の体積を測定し、
この体積の測定結果から泡の大きさを算出すると共に別
途行われるガス分析の結果と照合して泡として製品の封
入されているガスの成分を正確に判定する方法が採用さ
れている。
Various glass products are made by molding a molten glass material. For example, transparency such as a front glass of a heater or a viewing window of an industrial furnace is required. Glass products are manufactured with great care so that no bubbles are formed inside during the melting or molding process, but if bubbles are formed inside the product for any reason, defective products This causes problems such as a decrease in production yield and an increase in manufacturing cost. In this way, for the purpose of determining the cause of the occurrence of the foam defect, and correcting the melting conditions and molding conditions based on this, the volume of the bubbles contained in the glass product was measured,
A method is employed in which the size of the bubble is calculated from the measurement result of the volume, and the component of the gas in which the product is enclosed as the bubble is accurately determined by comparing the size of the bubble with the result of gas analysis performed separately.

従来の泡体積の測定は、第6図に示すように泡(1)
を含んだガラス製品から所定の寸法に裁断した試料片
(2)を切取り、光源(3)から透過光を照射し、シャ
ーレ(4)内に位置決め固定された試料片(2)を実体
顕微鏡(5)で観測しながら泡(1)の長径(a)、短
径(b)及び厚み(c)をマイクロメータ(6)で計測
し、これらの計測値をディジタルメータ(7)を介して
マイクロコンピュータ(8)に入力し演算処理すること
によって泡(1)の体積を算出していた。
In the conventional measurement of the foam volume, as shown in FIG.
A sample piece (2) cut to a predetermined size is cut out from a glass product containing the same, a transmitted light is irradiated from a light source (3), and the sample piece (2) positioned and fixed in a petri dish (4) is placed in a stereomicroscope ( While observing in step 5), the major axis (a), minor axis (b) and thickness (c) of the foam (1) are measured with a micrometer (6), and these measured values are measured by a micrometer via a digital meter (7). The volume of the bubble (1) was calculated by inputting it to the computer (8) and performing arithmetic processing.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記泡の体積(V)は、泡が楕円形もしくは楕円形の
立て面を具えているものと見倣し、下記式に示すよう
に泡の長径(a)、短径(b)、及び厚み(c)の計測
値(mm)から楕円近似で算出していた。
The volume (V) of the foam is obtained by assuming that the foam has an elliptical or elliptical upright surface, and as shown in the following formula, the major axis (a), minor axis (b), and thickness of the foam It was calculated by the ellipse approximation from the measured value (mm) in (c).

ところが、泡の形状は、ガラス成形条件の違いにより
種々変化し、実際には真球体や楕円体でない場合が多
い。このため、マイクロメータ(6)の計測値を利用し
た場合には、泡の体積(V)の正確な算出が困難になる
場合が少なくなかった。この事は、当然のことながら溶
融条件成形条件の修正を困難とし、生産歩留りの向上と
製造コストの低減に悪影響を及ぼす。
However, the shape of the bubble varies in various ways depending on the glass forming conditions, and is often not a true sphere or an ellipsoid. For this reason, when the measurement value of the micrometer (6) is used, it often becomes difficult to accurately calculate the volume (V) of the foam. This, of course, makes it difficult to modify the melting conditions and the molding conditions, adversely affecting the improvement in production yield and the reduction in manufacturing costs.

本発明の主要な目的は、画像処理を利用して泡の平面
投影像と正面投影像の合成投影像からガラス試料片中の
泡の体積を積分算出する精度の高い泡体積の測定手段を
提供することにある。
A main object of the present invention is to provide a highly accurate bubble volume measuring means for integrating and calculating the volume of bubbles in a glass sample piece from a composite projection image of a plane projection image and a front projection image of bubbles using image processing. Is to do.

〔課題を解決するための手段〕[Means for solving the problem]

上記課題の解決手段として本発明は、CCDカメラで撮
影したガラス試料片中の泡の平面投影像と正面投影像を
それぞれ画像処理装置のディスプレイ画素部に入力する
とともに、この画像処理装置に連設されたマイクロコン
ピュータの記憶部に、前記泡の平面投影像と正面投影像
を泡部分が黒色、残余の部分が白色の2値化パターンと
してそれぞれ記憶させ、前記泡の平面投影像と正面投影
像の合成投影像を前記画像処理装置のディスプレイ画素
部に画素上の位置を補正された平面投影像及び正面投影
像として送出し、この補正された泡の平面投影像と正面
投影像の黒色画素を前記マイクロコンピュータで積分計
算してガラス試料片中の泡の体積を算出することを特徴
とする。
As a means for solving the above-described problems, the present invention is to input a plane projection image and a front projection image of bubbles in a glass sample piece taken by a CCD camera to a display pixel portion of an image processing device, respectively, and to be connected to the image processing device In the storage unit of the microcomputer, the plane projection image and the front projection image of the bubble are stored as a binarized pattern in which the bubble portion is black and the remaining portion is white, and the plane projection image and the front projection image of the bubble are stored. Is transmitted as a plane projection image and a front projection image whose positions on the pixels are corrected to the display pixel unit of the image processing apparatus, and the black pixels of the plane projection image and the front projection image of the corrected bubbles are sent out. The volume of bubbles in the glass sample piece is calculated by integration calculation by the microcomputer.

〔作用〕[Action]

ガラス試料片中の泡の平面投影像と正面投影像を画像
処理装置付きマイクロコンピュータに入力して合成投影
像として記憶させ、次いで、この合成投影像を画像処理
装置のディスプレイ画素部に画素上の位置を補正された
平面投影像と正面投影像として入力し、その黒色画素数
を積分計算することによって、ガラス試料中の泡の体積
を算出する。
The plane projection image and the front projection image of the bubbles in the glass sample piece are input to a microcomputer with an image processing device and stored as a composite projection image, and then the composite projection image is stored in a display pixel portion of the image processing device. The position is input as a corrected planar projection image and a front projection image, and the number of black pixels is integrated and calculated, thereby calculating the volume of bubbles in the glass sample.

〔実施例〕〔Example〕

第1図は本発明方法の実施に使用される泡体積の測定
装置の略示正面図、第2図はガラス試料片中に含まれる
泡の平面投影像、正面投影像及び側面投影像の説明図、
第3図は泡の寸法補正方法の説明図、第4図は泡の平面
投影像と正面投影像から合成投影像を作製する際の画素
位置の補正状態の説明図、第5図は画像モニタ用ディス
プレイCRT画面の略示正面図である。
FIG. 1 is a schematic front view of an apparatus for measuring the volume of a foam used in carrying out the method of the present invention, and FIG. 2 is an explanatory view of a plane projection image, a front projection image and a side projection image of bubbles contained in a glass sample piece. Figure,
FIG. 3 is an explanatory diagram of a method for correcting the size of a bubble, FIG. 4 is an explanatory diagram of a correction state of a pixel position when a composite projection image is produced from a plane projection image and a front projection image of the bubble, and FIG. FIG. 6 is a schematic front view of a display CRT screen for use.

ガラス試料中の泡の体積を測定する前に、泡(1)を
含んだガラス試料片(2)を調製する。ガラス試料片
(2)は縦7.5mm、横7.5mm、厚さ2.0mmの泡含有ガラス
であって、第2図に示すように泡(1)の正面投影の長
径▲▼と側面投影像の長径▲▼と平行になるよ
うに試料片(2)の設置面CDGHを研磨する。また、泡
(1)の平面投影像の長径▲▼と試料片(2)の設
置面ABCDができる限り平行になるように研磨する。しか
し、泡(1)の平面投影像の長径MNと試料片(2)の設
置面ABDCとの間に角度θで表示する誤差が生じているも
のとする。
Before measuring the volume of bubbles in a glass sample, a glass sample piece (2) containing bubbles (1) is prepared. The glass sample piece (2) is a bubble-containing glass having a length of 7.5 mm, a width of 7.5 mm, and a thickness of 2.0 mm. As shown in FIG. The installation surface CDGH of the sample piece (2) is polished so as to be parallel to the long diameter ▼. Polishing is performed so that the major axis of the plane projection image of the bubble (1) and the installation surface ABCD of the sample piece (2) are as parallel as possible. However, it is assumed that there is an error represented by the angle θ between the major axis MN of the plane projection image of the bubble (1) and the installation surface ABDC of the sample piece (2).

ガラス試料片(2)の調製が終了したら、この試料片
(2)を第1図に示す泡体積の測定装置にセットし、泡
(1)の平面投影像と正面投影像を撮影する。
When the preparation of the glass sample piece (2) is completed, the sample piece (2) is set in the bubble volume measuring device shown in FIG. 1, and a plane projection image and a front projection image of the bubble (1) are taken.

泡体積の測定装置は第1図に示すように、CCDカメラ
(6)を接続した実体顕微鏡(5)、画像処理装置付き
マイクロコンピュータ(7)、マイクロコンピュータ用
ディスプレイ(8)、プリンタ(9)、画像モニタ用デ
ィスプレイ(10)、通常、マウスと呼称される画像位置
の調整装置(11)から構成されている。
As shown in FIG. 1, the bubble volume measuring device is a stereo microscope (5) connected to a CCD camera (6), a microcomputer with an image processing device (7), a microcomputer display (8), a printer (9). , An image monitor display (10), and an image position adjusting device (11) usually called a mouse.

泡(1)の平面投影像及び正面投影像のマイクロコン
ピュータ(7)への入力と記憶は下記の条件に従って実
行される。先ず、泡(1)の平面投影像は、その長径▲
▼を画像をモニタ用ディスプレイ(10)のCRT画面
のX軸と平行にするため、前記角度θが零度となるよう
にガラス試料片(2)を実体顕微鏡(5)に対して位置
合わせした後撮影する。設置面CDGHを実体顕微鏡(5)
の対物レンズに正対させた状態で撮影された泡(1)の
平面投影像は、第5図に示すように画像モニタ用ディス
プレイ(10)のCRT画面の上部に入力する。これと同時
に平面投影像を2値化して画像処理装置付きマイクロコ
ンピュータ(7)の記憶部A(図示省略)に記憶させ
る。平面投影像上の泡(1)の長径▲▼はloとな
る。尚、本発明方法における2値化とは、ガラス試料片
(2)内に含有されている泡(1)を、黒色の画素とし
て、また泡(1)以外の残余の部分を白色の画素として
記憶させることを意味する。
The input and storage of the plane projection image and the front projection image of the bubble (1) to the microcomputer (7) are executed according to the following conditions. First, the plane projection image of the bubble (1) has its major axis ▲
In order to make the image parallel to the X-axis of the CRT screen of the monitor display (10), the glass sample piece (2) is aligned with the stereomicroscope (5) so that the angle θ becomes zero degree. Shoot. Installation surface CDGH using stereo microscope (5)
The plane projection image of the bubble (1) taken in a state where it is directly opposed to the objective lens is input to the upper part of the CRT screen of the image monitor display (10) as shown in FIG. At the same time, the plane projection image is binarized and stored in the storage unit A (not shown) of the microcomputer with image processing device (7). The major axis of the bubble (1) on the plane projection image is lo. The binarization in the method of the present invention means that the bubble (1) contained in the glass sample piece (2) is a black pixel, and the remaining portion other than the bubble (1) is a white pixel. It means to memorize.

泡(1)の平面投影像の入力と記憶が終了したら、下
記の要領に従って泡(1)の正面投影像の入力と記憶を
実行する。ガラス試料片(2)の設置面ABCDを実体顕微
鏡(5)の対物レンズに正対させ、かつ、長径▲▼
を画像モニタ用ディスプレイ(10)のCRT画面のX軸と
平行にした状態で泡(1)の正面投影像を撮影する。こ
の泡(1)の正面投影像は、第5図に示すように画像モ
ニタ用ディスプレイ(10)のCRT画面の下部に入力す
る。これと同時に正面投影像を2値化して画像処理装置
付きマイクロコンピュータ(6)の記憶部B(図示省
略)に記憶させる。正面投影像上の泡(1)の長径▲
▼はl1となる。
When the input and storage of the plane projection image of the bubble (1) are completed, the input and storage of the front projection image of the bubble (1) are executed according to the following procedure. The installation surface ABCD of the glass sample piece (2) is directly opposed to the objective lens of the stereomicroscope (5), and the major axis is
Is taken parallel to the X axis of the CRT screen of the image monitor display (10), and a front projection image of the bubble (1) is taken. The front projection image of the bubble (1) is input to the lower part of the CRT screen of the image monitor display (10) as shown in FIG. At the same time, the front projection image is binarized and stored in the storage unit B (not shown) of the microcomputer (6) with the image processing device. The long diameter of the bubble (1) on the front projection image ▲
▼ becomes l 1.

平面投影上の泡(1)の長径loと正面投影像上の泡
(1)の長径l1との間には、泡(1)が なる2次式で表示される楕円形の横断面を持っていると
仮定した場合、 なる関係式が成立する。更に詳しく説明すると、泡
(1)が なる2次式て表示される楕円形の横断面を持っている場
合、泡(1)を角度θだけ傾けて無限大の距離から眺め
たときの投影像の見掛けの長さは、楕円の第1の接線
(Y=mX+n)と座標の原点を通って角度θを以て上記
第1の接線に直交する直線(Y=kX)の交点Nと、楕円
の第2の接線(Y=mX−n)と直線(Y=kX)の交点M
の間の距離と等しくなる。
Between the major axis l 1 of the major axis lo and foam on the front projected image of the plane projected on the bubble (1) (1), foam (1) Assuming that it has an elliptical cross section expressed by the following quadratic equation, The following relational expression holds. More specifically, foam (1) In the case of having an elliptical cross section expressed by a quadratic expression, the apparent length of the projected image when the bubble (1) is tilted by an angle θ and viewed from an infinite distance is represented by The intersection N of a tangent line (Y = mX + n) and a straight line (Y = kX) passing through the origin of the coordinate and having an angle θ and orthogonal to the first tangent line, and a second tangent line of the ellipse (Y = mX−n) Of intersection M of a line and a straight line (Y = kX)
Equal to the distance between

そこで、先ず点Nの座標(Xn、Yn)を求める。Therefore, first, the coordinates (X n , Y n ) of the point N are obtained.

mXn+n=kn と置けば、点Nの座標(Xn、Yn)は(−e、−ke)とな
る。同様にして点Mの座標(Xm、Ym)は、(e、ke)と
なる。
mX n + n = k n Then, the coordinates (X n , Y n ) of the point N are (−e, −ke). Similarly, the coordinates (X m , Y m ) of the point M are (e, ke).

従って▲▼の長さは、 楕円の接線の定義よりn2=a2m2+b2の関係があるのでこ
れをに代入すると、 なる関係式が成立する。
Therefore, the length of ▲ ▼ is According to the definition of the tangent of the ellipse, there is a relationship of n 2 = a 2 m 2 + b 2 . The following relational expression holds.

k=tanθであるから a>bの場合、▲▼は、θ=O゜、180゜のとき最
大値2aをとり、θ=90゜、270゜のとき最少値をとる。
Because k = tanθ When a> b, ▲ ▼ takes the maximum value 2a when θ = O ゜, 180 °, and takes the minimum value when θ = 90 °, 270 °.

従って、泡(1)の真の直径とX軸に対して角度θだ
け傾いた状態で測定された泡(1)の見掛け直径との比
Cは、 として表示される。
Accordingly, the ratio C between the true diameter of the bubble (1) and the apparent diameter of the bubble (1) measured at an angle θ with respect to the X axis is: Will be displayed as

前記2値化した泡(1)の平面投影像と正面投影像の
黒色画素数を積分計算することによってガラス試料片
(2)中の気泡(1)の体積を計算する訳であるが、こ
の積分計算を容易化するためには、泡(1)の平面投影
像と正面投影像が画像モニタ用ディスプレイ(10)と同
一のCRT画面上に表示され、かつ、マイクロコンピュー
タ(7)の同一の記憶部に記憶されていることが望まし
い。このため、マイクロコンピュータ(7)の記憶部A
に記憶されている泡(1)の平面投影像と記憶部Bに記
憶されている泡(1)の正面投影像を合成し、記憶部A
に合成投影像として記憶させる。これと同時に、2値化
した泡(1)の平面投影像と正面投影像を画像モニタ用
ディスプレイ(10)のCRT画面の縦横それぞれ256個の画
素上に、全ての画素が黒色または白色に色分けされた合
成投影像として表示する。本発明における投影像の合成
とは、画像の修正を意味し、具体的には、泡(1)の平
面投影像と正面投影像上で同一位置にある画素を相互に
対比しながら下記のように画像処理することを意味す
る。即ち、泡(1)部分を黒色の画素で表示し、また、
泡(1)以外の残余の部分を白色の画素で表示するもの
とすれば、気泡(1)の合成投影像は下記第1表に示す
ように色分けされる。
The volume of the bubble (1) in the glass sample piece (2) is calculated by integrating and calculating the number of black pixels of the planar projection image and the front projection image of the binarized bubble (1). In order to facilitate the integration calculation, the plane projection image and the front projection image of the bubble (1) are displayed on the same CRT screen as the image monitor display (10), and the same as the microcomputer (7). It is desirable that the information is stored in the storage unit. Therefore, the storage unit A of the microcomputer (7)
The plane projection image of the bubble (1) stored in the storage unit B is combined with the front projection image of the bubble (1) stored in the storage unit B, and the storage unit A
Is stored as a composite projection image. At the same time, the plane projection image and the front projection image of the binarized bubble (1) are color-coded black or white on all 256 pixels vertically and horizontally on the CRT screen of the image monitor display (10). Is displayed as the synthesized projected image. The synthesis of the projected image in the present invention means the correction of the image. Specifically, the pixels at the same position on the plane projection image and the front projection image of the bubble (1) are compared with each other as follows. Means image processing. That is, the bubble (1) is displayed with black pixels,
Assuming that the remaining portion other than the bubble (1) is displayed by white pixels, the composite projected image of the bubble (1) is color-coded as shown in Table 1 below.

上記画像処理(画素の修正)の目的は下記の通りであ
る。
The purpose of the image processing (pixel correction) is as follows.

第1に、2値化後の泡(1)の平面投影像と正面投影
像をそのまま合成すると、原画の泡像を変形させる程度
の大きさを持ったゴミが介在している場合、正確な泡
(1)の投影像の記憶が困難になる。このような場合に
は、合成投影像として記憶する前にゴミに相当する部分
の原画を修正し、不用な部分を消去する。
First, if the plane projection image and the front projection image of the bubble (1) after binarization are combined as they are, if dust having a size enough to deform the bubble image of the original image exists, accurate It becomes difficult to store the projected image of the bubble (1). In such a case, the original image of the portion corresponding to dust is corrected before storing it as a composite projection image, and unnecessary portions are deleted.

第2に、2値化後の泡(1)の平面投影像もしくは正
面投影像の輪郭が途切れている場合、正確な泡(1)の
認識が不可能となる。このような場合には、消えている
泡(1)の輪郭線を引き直す。この輪郭線の引き直し
は、記憶部Aに泡(1)の合成投影像を記憶する前に実
行してもよいし、合成投影像の記憶後に実行してもよ
い。
Second, if the outline of the planar projection image or the front projection image of the binarized bubble (1) is broken, accurate recognition of the bubble (1) becomes impossible. In such a case, the outline of the disappearing bubble (1) is redrawn. The redrawing of the outline may be performed before storing the composite projection image of the bubble (1) in the storage unit A, or may be performed after storing the composite projection image.

第3に、画像処理装置のディスプレイ画素部への平面
投影像と正面投影像の入力に光源(3)から投射された
透過光を使用しているため、泡像の内部が輪郭部分より
も明るく見える場合がある。このような場合には、2値
化後の泡(1)の平面投影像もしくは正面投影像の中心
部が白抜きになってしまう。泡(1)の体積計算の基礎
データとなるのは合成投影像の黒色画素の数であるか
ら、泡(1)に相当する部分は総て黒色画素に置き換え
る必要がある。この“穴埋め”と呼ばれる黒色画素への
置き換え操作には、平面投影像と正面投影像との合成投
影像をマイクロコンピュータ(7)の記憶部Aに記憶し
た後、泡(1)の体積計算の直前に実行している。
Third, since the transmitted light projected from the light source (3) is used for inputting the plane projection image and the front projection image to the display pixel unit of the image processing apparatus, the inside of the bubble image is brighter than the outline. May be visible. In such a case, the central portion of the planar projection image or the front projection image of the binarized bubble (1) becomes white. Since the basic data for calculating the volume of the bubble (1) is the number of black pixels in the composite projection image, all portions corresponding to the bubble (1) need to be replaced with black pixels. For the replacement operation with black pixels called “fill-in”, a composite projection image of the plane projection image and the front projection image is stored in the storage unit A of the microcomputer (7), and then the volume calculation of the bubble (1) is performed. Running just before.

上記の画像処理によって画像モニタ用ディスプレイ
(10)のCRT画面上で256×256個の総ての画素が黒色か
白色かに色分けされた。気泡(1)に相当する黒色の画
素の数を画像処理装置付きマイクロンコンピュータ
(7)を使用して積分計算することによって泡(1)の
体積が算出される。以下の操作は、総て黒色画素の数の
算出に関するものである。先ず、第4図に示すように平
面投影像のX軸方向の左側から黒色画素の存在する画素
を捜し出す。黒色画素が見つかったら、CRT画面(10)
のY軸方向に沿って泡(1)の軸郭線の内側にある黒色
画素の数を数え、この数をマイクロコンピュータ(7)
の記憶部の1番目の位置にP1として記憶する。次にX軸
方向の右側に移り、前記同様の手順で黒色画素の数を数
え、前記P1の隣りにP2として記憶する。この操作をCRT
画面のX軸方向に沿って黒色画素がなくなる迄繰返す。
結果的に、CRT画面(10)のX軸方向に沿ってP1、P2…P
n、Pnのn個の画素数を持つ体積算出用データが整列す
る。上記と同一の操作をCRT画面(10)上で正面投影像
について実行する。結果的に、CRT画面(10)のX軸方
向に沿って、Q1、Q2…Qm、Qmのm個の画素数を持つ体積
算出用データが整列する。
Through the above image processing, all 256 × 256 pixels were color-coded into black or white on the CRT screen of the image monitor display (10). The volume of the bubble (1) is calculated by integrating the number of black pixels corresponding to the bubble (1) using a microcomputer (7) with an image processing device. The following operations are all related to the calculation of the number of black pixels. First, as shown in FIG. 4, a pixel where a black pixel exists is searched for from the left side in the X-axis direction of the plane projection image. If black pixels are found, CRT screen (10)
Is counted along the Y-axis direction of the bubble (1), and the number of black pixels inside the contour of the bubble (1) is counted.
Is stored as P1 in the first position of the storage unit. Turning now to the right of the X-axis direction, counting the number of black pixels in the same procedure, stored as P 2 next to the P 1. Perform this operation on the CRT
This operation is repeated until there are no more black pixels along the X-axis direction of the screen.
As a result, P 1 , P 2 … P along the X-axis direction of the CRT screen (10)
Volume calculation data having n and P n pixels is arranged. The same operation as described above is executed for the front projection image on the CRT screen (10). Consequently, along the X-axis direction of the CRT screen (10), Q 1, Q 2 ... Q m, a volume calculation data having a number of m pixels in Q m are aligned.

しかしながら、上記泡(1)は第2図に示すように接
地面ABCDに対して角度θだけ傾いた状態でその平面投射
像が入力されているため、lo≧l1、つまりn≧mとな
る。この誤差34を補正しなければ泡(1)の正確な体積
計算ができない。そこで泡(1)の正面投影像の記憶位
置をm個からn個に記憶し直す必要がある。この記憶位
置の修正手段として、下記第2表に示すようにCRT画面
(10)上でX軸方向に沿って整列している正面投影像の
各画素位置に補正計数n/mを掛けて黒色画素の位置と数
を補正する。
However, since the plane projection image of the bubble (1) is input in a state of being inclined by an angle θ with respect to the ground plane ABCD as shown in FIG. 2, lo ≧ l 1 , that is, n ≧ m. . Unless this error 34 is corrected, accurate volume calculation of the bubble (1) cannot be performed. Therefore, it is necessary to re-store the storage position of the front projection image of the bubble (1) from m to n. As a means for correcting this storage position, as shown in Table 2 below, each pixel position of the front projection image aligned along the X-axis direction on the CRT screen (10) is multiplied by the correction factor n / m to obtain a black color. Correct the position and number of pixels.

このようにして第4図の最下段に表示するようにn個
の画素位置に新たにそれぞれ黒色画素Q′、Q′
…Q′n-2、Q′n-1、Q′が記憶される。最後に泡
(1)の体積を算出する。泡(1)の平面投影像と補正
された正面投影像のそれぞれ対応する画素位置上にある
黒色画素数を掛け合わせ、この積を加算することによっ
て泡(1)の体積Vが求められる。但し、この方法では
長方形画素の積分値として泡(1)の体積が算出される
ので、誤差を減少させる目的で下記式に示すように楕
円近似の補正係数を掛ける。
In this manner, black pixels Q ′ 1 , Q ′ 2 ,.
... Q 'n-2, Q ' n-1, Q 'n are stored. Finally, the volume of the foam (1) is calculated. The volume V of the bubble (1) is obtained by multiplying the number of black pixels on the corresponding pixel positions of the plane projection image of the bubble (1) and the corrected front projection image and adding the products. However, in this method, since the volume of the bubble (1) is calculated as the integral value of the rectangular pixel, an elliptic approximation correction coefficient is multiplied as shown in the following equation in order to reduce the error.

で算出される泡(1)の体積Vは、黒色画素何個分
の体積として計算されているため、泡(1)の体積V
R(nl)に換算するため下記式に示すように係数kを
乗ずる。即ち、泡(1)の真の体積VRは、 VR=KV −− として(nl)単位で算出される。
Since the volume V of the bubble (1) calculated as follows is calculated as the volume of several black pixels, the volume V of the bubble (1)
To convert to R (nl), multiply by a coefficient k as shown in the following equation. That is, the true volume V R of foam (1) is, V R = KV - is calculated at the (nl) units.

〔発明の効果〕〔The invention's effect〕

本発明方法を採用することによって、ガラスの内部に
形成された気泡の体積が精度よく迅速に測定される。従
って、別途行われるガス分析の結果と照合して、泡とし
て製品に封入されているガスの成分を判定することが容
易化され、不良品発生原因の遡及調査に大きな効果が発
揮される。
By employing the method of the present invention, the volume of bubbles formed inside the glass can be accurately and quickly measured. Therefore, it is easy to determine the components of the gas enclosed in the product as bubbles by comparing with the results of the gas analysis performed separately, and a great effect is exerted on the retrospective investigation of the cause of defective products.

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

第1図は本発明方法の実施に使用される泡体積の測定装
置の略示正面図、第2図はガラス試料片中に含まれる泡
の平面投影像、正面投影像及び側面投影像の説明図、第
3図は泡の寸法補正方法の説明、第4図は泡の平面投影
像と正面投影像から合成投影像を作製する際の画素位置
の補正状態の説明図、第5図は画像モニタ用ディスプレ
イCRT画面の略示正面図である。また、第6図は従来の
気泡体積の測定装置の略示正面図である。 (1)……気泡、(2)……ガラス試料片、 (5)……実体顕微鏡、(6)……CCDカメラ、 (7)……画像処理装置付きマイクロコンピュータ、 (10)……画像モニタ用ディスプレイのCRT画面。
FIG. 1 is a schematic front view of an apparatus for measuring the volume of a foam used in carrying out the method of the present invention, and FIG. 2 is an explanatory view of a plane projection image, a front projection image and a side projection image of bubbles contained in a glass sample piece. FIG. 3 is a view for explaining a method of correcting the size of a bubble, FIG. 4 is a view for explaining a correction state of a pixel position when a composite projection image is produced from a plane projection image and a front projection image of the bubble, and FIG. FIG. 4 is a schematic front view of a monitor display CRT screen. FIG. 6 is a schematic front view of a conventional bubble volume measuring device. (1) air bubbles, (2) glass sample pieces, (5) stereo microscope, (6) CCD camera, (7) microcomputer with image processing device, (10) images CRT screen of monitor display.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CCDカメラで撮影したガラス試料片中の泡
の平面投影像と正面投影像をそれぞれ画像処理装置のデ
ィスプレイ画素部に入力するとともに、この画像処理装
置に連設されたマイクロコンピュータの記憶部に、前記
泡の平面投影像と正面投影像を泡部分が黒色、残余の部
分が白色の2値化パターンとしてそれぞれ記憶させ、前
記泡の平面投影像と正面投影像の合成投影像を前記画像
処理装置のディスプレイ画素部に画素上の位置を補正さ
れた平面投影像及び正面投影像として送出し、この補正
された泡の平面投影像と正面投影像の黒色画素を前記マ
イクロコンピュータで積分計算してガラス試料片中の泡
の体積を算出することを特徴とする画像処理による泡体
積の測定方法。
1. A plane projection image and a front projection image of bubbles in a glass sample piece taken by a CCD camera are input to a display pixel section of an image processing device, and a microcomputer connected to the image processing device. In the storage unit, the plane projection image and the front projection image of the bubble are stored as a binarized pattern in which the bubble portion is black and the remaining portion is white, and a composite projection image of the plane projection image and the front projection image of the bubble is stored. The position on the pixel is sent to the display pixel unit of the image processing device as a corrected plane projection image and front projection image, and the corrected black and white pixels of the plane projection image and front projection image are integrated by the microcomputer. A method for measuring the volume of bubbles by image processing, comprising calculating the volume of bubbles in a glass sample piece.
JP1001762A 1989-01-06 1989-01-06 Measurement method of foam volume by image processing Expired - Lifetime JP2833767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1001762A JP2833767B2 (en) 1989-01-06 1989-01-06 Measurement method of foam volume by image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1001762A JP2833767B2 (en) 1989-01-06 1989-01-06 Measurement method of foam volume by image processing

Publications (2)

Publication Number Publication Date
JPH02181603A JPH02181603A (en) 1990-07-16
JP2833767B2 true JP2833767B2 (en) 1998-12-09

Family

ID=11510596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1001762A Expired - Lifetime JP2833767B2 (en) 1989-01-06 1989-01-06 Measurement method of foam volume by image processing

Country Status (1)

Country Link
JP (1) JP2833767B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003014662A1 (en) * 2001-08-08 2003-02-20 Technowave, Ltd. Apparatus for measuring shape of article

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5046285B2 (en) * 2007-08-29 2012-10-10 一般財団法人電力中央研究所 Bubble counting system
CN106705845B (en) * 2017-01-13 2019-01-08 哈尔滨工业大学(威海) Bubble volume measurement method in a kind of liquid environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003014662A1 (en) * 2001-08-08 2003-02-20 Technowave, Ltd. Apparatus for measuring shape of article

Also Published As

Publication number Publication date
JPH02181603A (en) 1990-07-16

Similar Documents

Publication Publication Date Title
AU693234B2 (en) Method and apparatus for transforming coordinate systems in an automated video monitor alignment system
US5500737A (en) Method for measuring the contour of a surface
US20090033947A1 (en) Method for repeatable optical determination of object geometry dimensions and deviations
US11934743B2 (en) Method for measuring the surface shape of a toric mirror
CN114018932A (en) Pavement disease index measuring method based on rectangular calibration object
US20120213425A1 (en) Combining feature boundaries
JP4924426B2 (en) Shape inspection method and apparatus
CN119446087B (en) Method, device and storage medium for correcting uneven visual angle of display screen image
JPH06137840A (en) Vision sensor automatic calibration device
JP2833767B2 (en) Measurement method of foam volume by image processing
JPH076777B2 (en) Pattern contour detection method and length measuring apparatus using this method
CN114894090B (en) Line laser-based method for detecting size of rotary inner cavity
CN1198114C (en) Aperture size mesurer and measuring method
WO2024174525A1 (en) Deep-learning detection and recognition based intelligent inspection method for electronic bench scale
Roberts et al. A microcomputer‐based system for stereogrammetric analysis
CN112215888B (en) Method for calculating deflection angle of milk powder can based on machine vision
JPS6230904A (en) Position and posture detecting system for object
CN116718351A (en) Imaging equipment inspection method, device, electronic equipment and storage medium
CN112001379A (en) Correction algorithm of automobile instrument fixed viewpoint reading instrument based on machine vision
CN110500951A (en) A method for detecting the size of the glass shell of a car lamp based on machine vision
CN117036504B (en) A method and system for calculating optical distortion
CN116777989B (en) Accurate measurement method for catheter end point
Bogdan et al. Elimination of the CCD camera noise in microscopic measurements of machine elements
CN116109993A (en) A Reading Recognition Method of Substation Pointer Meter in Unconstrained Environment
JP2000105167A (en) Address calibration method of image quality inspection device