JP2008261696A - Measuring method of liquid level - Google Patents

Measuring method of liquid level Download PDF

Info

Publication number
JP2008261696A
JP2008261696A JP2007103959A JP2007103959A JP2008261696A JP 2008261696 A JP2008261696 A JP 2008261696A JP 2007103959 A JP2007103959 A JP 2007103959A JP 2007103959 A JP2007103959 A JP 2007103959A JP 2008261696 A JP2008261696 A JP 2008261696A
Authority
JP
Japan
Prior art keywords
height
liquid
area
liquid level
region
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
JP2007103959A
Other languages
Japanese (ja)
Other versions
JP5246531B2 (en
Inventor
Masaru Kidoguchi
賢 木戸口
Keitaro Nakagawa
圭太郎 中川
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.)
Shibuya Corp
Original Assignee
Shibuya Kogyo 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 Shibuya Kogyo Co Ltd filed Critical Shibuya Kogyo Co Ltd
Priority to JP2007103959A priority Critical patent/JP5246531B2/en
Publication of JP2008261696A publication Critical patent/JP2008261696A/en
Application granted granted Critical
Publication of JP5246531B2 publication Critical patent/JP5246531B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a measuring method of a liquid level capable of measuring the liquid level suitably, even when bubbles exist on the liquid surface. <P>SOLUTION: In this measuring method of the liquid level, a container 1 filled with liquid is photographed, and when a liquid surface domain E is recognized from a photographed image, an upper part height G and a lower part height H of the liquid surface domain E are determined, and the area of bubbles displayed in the liquid surface domain E is measured. After calculating a correction value L by dividing the area of the bubbles by the width length of the liquid surface, a corrected upper part height G' is calculated by subtracting the correction value L from the upper part height G, and the middle between the corrected upper part height G' and the lower part height H is adopted as the liquid level K. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は液面高さの測定方法に関し、具体的には液体の充填された容器を撮影し、撮影した画像を画像処理して上記液体の液面高さを測定する液面高さの測定方法に関する。   The present invention relates to a method for measuring a liquid level, and specifically, measures a liquid level by photographing a container filled with a liquid and processing the photographed image to measure the liquid level of the liquid. Regarding the method.

従来、ペットボトル等への透明容器に飲料等の液体を充填した後、この液体が適正に充填されたか否かを検査するため、当該液体の充填された容器を撮影し、撮影した画像を画像処理することで上記液体の液面高さを測定する液面高さの測定方法が知られている。(特許文献1〜3)
これらの特許文献では、光を照射する照明手段と、当該照明手段に対して容器を挟んだ位置に設けられた撮影手段とを用いており、照明手段が照射した光が容器および容器内の液体を透過して、上記撮影手段に撮影されるようになっている。
そして、撮影された画像から液体の液面を画像処理によって認識し、当該液面の高さを測定するようになっている。
特開平4−13931号公報 特公平7−11441号公報 特開平9−318418号公報
Conventionally, after filling a transparent container such as a beverage in a plastic bottle or the like with a liquid such as a beverage, in order to inspect whether or not the liquid is properly filled, the container filled with the liquid is photographed, and the photographed image is imaged. A method for measuring the liquid level is known in which the liquid level of the liquid is measured by processing. (Patent Documents 1 to 3)
In these patent documents, an illuminating means for irradiating light and an imaging means provided at a position sandwiching the container with respect to the illuminating means are used, and the light irradiated by the illuminating means is the liquid in the container and the container. And is photographed by the photographing means.
Then, the liquid level of the liquid is recognized from the photographed image by image processing, and the height of the liquid level is measured.
Japanese Patent Laid-Open No. 4-13931 Japanese Examined Patent Publication No. 7-11441 JP 9-318418 A

しかしながら、上記液面高さの測定を容器を搬送しながら行うと、容器のゆれなどによって液体内部に気泡が発生し、この気泡が液面に浮上した状態の画像が撮影手段によって撮影される場合がある。
液面に気泡が浮上している場合、液面の画像は気泡が浮上していない場合の画像に比べて、当該液面が厚く映し出されてしまい、また気泡によって液面には凹凸が存在するので、従来の画像認識では適切に液面高さを測定することができなかった。
このような問題に鑑み、本発明は液面に気泡が存在していても、適切に液面高さを測定することの可能な液面高さの測定方法を提供するものである。
However, when the measurement of the liquid level is performed while the container is being transported, bubbles are generated inside the liquid due to the shaking of the container, and an image with the bubbles floating on the liquid level is photographed by the photographing means. There is.
When bubbles are floating on the liquid level, the liquid level image is projected thicker than the image when bubbles are not floating, and there are irregularities on the liquid level due to the bubbles. Therefore, the liquid level height cannot be measured appropriately with the conventional image recognition.
In view of such a problem, the present invention provides a method for measuring the liquid level that can appropriately measure the liquid level even if bubbles are present on the liquid level.

すなわち請求項1における液面高さの測定方法は、液体の充填された容器を撮影し、撮影した画像を画像処理して上記液体の液面高さを測定する液面高さの測定方法において、
撮影した画像の内側に検査領域を設定し、この検査領域内における液面を示す液面領域を認識して、該液面領域の下部高さと、液面領域内における気泡の占める領域とを検出し、
当該気泡が液面領域に占める領域を上記液面領域の上方より減算して補正上部高さを算出し、当該補正上部高さと下部高さとの中間を上記液面高さとすることを特徴としている。
That is, the liquid level height measuring method according to claim 1 is a liquid level height measuring method in which a liquid-filled container is photographed, and the photographed image is processed to measure the liquid level height of the liquid. ,
An inspection area is set inside the photographed image, the liquid surface area indicating the liquid surface in the inspection area is recognized, and the lower height of the liquid surface area and the area occupied by bubbles in the liquid surface area are detected. And
A region where the bubbles occupy the liquid surface region is subtracted from above the liquid surface region to calculate a corrected upper height, and an intermediate between the corrected upper height and a lower height is defined as the liquid surface height. .

上記発明によれば、液面領域内における気泡の占める領域を検出して、この気泡の占める領域を液面領域の上方から減算すれば、気泡によって液面が厚く映し出されていても、液面の補正上部高さを算出することができ、液面高さを適切に測定することが可能となる。   According to the above invention, if the area occupied by bubbles in the liquid surface area is detected, and the area occupied by the bubbles is subtracted from above the liquid surface area, the liquid level is reflected even if the liquid surface is projected thickly by the bubbles. It is possible to calculate the height of the corrected upper portion of the liquid, and to appropriately measure the liquid level height.

以下図示実施例について説明すると、図1は容器1に充填された液体を検査する検査装置2を示し、容器1を搬送するコンベヤ3と、容器1に光を照射する照明手段4と、容器1を撮影する撮影手段5と、これらを制御する制御手段6とを備えている。
上記容器1は図2に示すように光を透過させる本体部11とキャップ12とから構成され、上記本体部11には光を透過させる液体が充填されている。このため、本体部11および液体は上記照明手段4の光を透過させるようになっている。
上記本体部11はキャップ12の装着される小径部11aと、その下方の大径部11bと、これら小径部11aと大径部11bとを滑らかに連結する肩部11cとから構成され、液体が正常に充填されている場合、液面は上記肩部11cに位置するようになっている。
FIG. 1 shows an inspection apparatus 2 for inspecting a liquid filled in a container 1, and FIG. 1 shows a conveyor 3 for conveying the container 1, illumination means 4 for irradiating the container 1 with light, and a container 1. The photographing means 5 for photographing the image and the control means 6 for controlling these are provided.
As shown in FIG. 2, the container 1 includes a main body 11 that transmits light and a cap 12, and the main body 11 is filled with a liquid that transmits light. For this reason, the main body 11 and the liquid transmit the light of the illumination means 4.
The main body 11 includes a small-diameter portion 11a to which the cap 12 is attached, a large-diameter portion 11b therebelow, and a shoulder portion 11c that smoothly connects the small-diameter portion 11a and the large-diameter portion 11b. When normally filled, the liquid level is positioned on the shoulder 11c.

上記コンベヤ3は容器1を略等間隔で搬送し、コンベヤ3の側方には上記照明手段4および撮影手段5の上流位置に容器1を検出するセンサ13が設けられるとともに、コンベヤ3は図示しないエンコーダを備えている。
上記センサ13が容器1を検出すると、その信号は上記制御手段6に送信され、その後制御手段6は上記エンコーダからのパルスによって当該容器1の位置を認識し、容器1が所定の位置に達すると上記撮影手段5を制御して当該容器1を撮影させるようになっている。
上記照明手段4および撮影手段5はコンベヤ3を挟んで相互に向き合うように配置され、照明手段4からの光は上記容器1の本体部11および液体を透過して撮影手段5に受光されるようになっている。
上記照明手段4の光源はLEDとなっており、検査装置2の作動中は常時発光するようになっている。
上記撮影手段5は上記制御手段6の制御によって容器1を撮影すると、撮影した画像を上記制御手段6に設けられた画像処理手段6aに送信するようになっている。
The conveyor 3 conveys the containers 1 at substantially equal intervals, and a sensor 13 for detecting the containers 1 is provided on the side of the conveyor 3 at an upstream position of the illumination means 4 and the photographing means 5, and the conveyor 3 is not shown. It has an encoder.
When the sensor 13 detects the container 1, the signal is transmitted to the control means 6, and then the control means 6 recognizes the position of the container 1 by a pulse from the encoder, and when the container 1 reaches a predetermined position. The photographing means 5 is controlled to photograph the container 1.
The illuminating means 4 and the photographing means 5 are arranged so as to face each other across the conveyor 3 so that light from the illuminating means 4 is received by the photographing means 5 through the main body 11 of the container 1 and the liquid. It has become.
The light source of the illumination means 4 is an LED, and always emits light while the inspection apparatus 2 is in operation.
When the container 5 captures an image of the container 1 under the control of the control unit 6, the captured image is transmitted to an image processing unit 6 a provided in the control unit 6.

以下、上記画像処理手段6aが図2、図3に示すような容器1内における液体の液面高さを測定する手順について、図4のフローチャートを用いて説明する。
最初に、上記コンベヤ3上を搬送される容器1がセンサ13の前方を通過すると、制御手段6はエンコーダによって当該容器1の位置を認識して、当該容器1が照明手段4と撮影手段5との間に位置したときに、撮影手段5に当該容器1の撮影を行わせる。
撮影手段5が撮影した画像は画像処理手段6aに送信され、画像処理手段6aは所定の明度を閾値として撮影した画像を2値化処理するとともに、撮影した画像内に所定の検査領域Aを設定する(S1)。
具体的には、撮影した画像には容器1の本体部11とキャップ12とが撮影されるようになっており、画像処理手段6aは最初に上記キャップ12の頂部の位置Bと、キャップ12の水平方向両端部Cを検出する。
上記検査領域Aは上記キャップ12の頂部の位置Bとおよび水平方向両端部Cから所定距離離隔した位置に設定され、またこの検査領域Aは長方形の領域となっており、本体部11の横方向中央部に設定されるとともに液面がその高さ方向中央付近に位置するようになっている。
そして以下画像処理手段6aは、この検査領域Aの内部の画像について画像認識を行い、液面高さを測定するようになっている。
The procedure for measuring the liquid level in the container 1 as shown in FIGS. 2 and 3 by the image processing means 6a will be described below with reference to the flowchart of FIG.
First, when the container 1 transported on the conveyor 3 passes in front of the sensor 13, the control means 6 recognizes the position of the container 1 by an encoder, and the container 1 is connected to the illumination means 4, the photographing means 5, and the like. When the position is between, the photographing means 5 is caused to photograph the container 1.
The image photographed by the photographing means 5 is transmitted to the image processing means 6a, and the image processing means 6a binarizes the photographed image with a predetermined brightness as a threshold value, and sets a predetermined inspection area A in the photographed image. (S1).
Specifically, the body portion 11 and the cap 12 of the container 1 are photographed in the photographed image, and the image processing means 6a first detects the position B of the top of the cap 12 and the cap 12 The horizontal end portions C are detected.
The inspection area A is set at a position spaced a predetermined distance from the top position B of the cap 12 and the horizontal end portions C. The inspection area A is a rectangular area, and the horizontal direction of the main body 11 The liquid level is set near the center in the height direction while being set at the center.
Then, the image processing means 6a performs image recognition on the image inside the inspection area A and measures the liquid level height.

次に、画像処理手段6aは画像処理によって撮影した画像から気体領域D、液面領域E、液体領域Fを認識する(S2)。
具体的に説明すると、容器1内の気体および液体は上記照明手段4からの光を透過させるため、これらは2値化処理によって白色の画素として認識される。一方、液体と気体との境界となる液面は光を透過させにくいため、液面は黒色の画素として認識される(図2、図3ではハッチングにて表示)。
また、図2に示すような液面に気泡がない場合、液面は表面張力によって外周が盛り上がっているため、これを側方から撮影すると、液面の上部には液面と気体との境界に黒色の画素によって略水平方向に稜線が形成され、下部には液面と液体との境界に黒色の画素によって略水平方向に稜線が形成されることとなる。
一方、図3に示すような液面に気泡が存在する場合、これを側方から撮影すると、光の透過する気泡の内部は白色の画素として認識され、光の透過しない気泡内部以外の部分は黒色の画素として認識される。
また、液面の表面は気泡によって凹凸形状が形成される場合があり、これを側方から撮影すると、液面の上部には液面と気体との境界に黒色の画素によって略水平方向に凹凸を有する稜線が形成され、下部には液面と液体との境界に黒色の画素によって略水平方向に凹凸を有する稜線が形成されることとなる。
そして、画像処理手段6aは、撮影された画像が図2もしくは図3のいずれの画像であっても、液面と気体との稜線の上部を気体領域Dと認識し、液面と液体との稜線の下部を液体領域Fと認識し、これら2つの稜線の間を液面領域Eとして認識する。
Next, the image processing means 6a recognizes the gas region D, the liquid surface region E, and the liquid region F from the image photographed by the image processing (S2).
More specifically, since the gas and liquid in the container 1 transmit light from the illumination unit 4, they are recognized as white pixels by the binarization process. On the other hand, since the liquid level serving as the boundary between the liquid and the gas hardly transmits light, the liquid level is recognized as a black pixel (indicated by hatching in FIGS. 2 and 3).
In addition, when there are no bubbles on the liquid surface as shown in FIG. 2, since the outer periphery of the liquid surface is raised due to surface tension, when this is photographed from the side, the boundary between the liquid surface and the gas is above the liquid surface. In addition, a ridge line is formed in the substantially horizontal direction by the black pixels, and a ridge line is formed in the substantially horizontal direction by the black pixels at the boundary between the liquid surface and the liquid in the lower part.
On the other hand, when bubbles are present on the liquid surface as shown in FIG. 3, when this is photographed from the side, the inside of the bubbles that transmit light is recognized as white pixels, and the portions other than the inside of the bubbles that do not transmit light are Recognized as a black pixel.
Also, the surface of the liquid surface may be uneven due to air bubbles, and when this is taken from the side, the liquid surface is uneven in the horizontal direction by black pixels at the boundary between the liquid surface and the gas. A ridge line having a concavo-convex shape in the substantially horizontal direction is formed by a black pixel at the boundary between the liquid surface and the liquid.
Then, the image processing means 6a recognizes the upper part of the ridge line between the liquid level and the gas as the gas region D regardless of whether the captured image is the image of FIG. 2 or FIG. The lower part of the ridge line is recognized as the liquid region F, and the space between these two ridge lines is recognized as the liquid surface region E.

次に、画像処理手段6aは上記液面領域Eの上部高さGおよび下部高さHを検出する(S3)。
これは、上述したように液面領域Eには上下方向に厚みがあることから、液面高さを算出する際には、予めこの液面領域Eの上部高さGおよび下部高さHを算出するようになっている。
まず上記上部高さGを算出するには、最初に気体領域Dの面積を測定し、この気体領域Dの面積を検査領域Aの横方向の幅の長さで割って気体領域Dの気体高さIを算出する。そして該気体高さIを検査領域Aの上端部の上端高さから引いた値を上記上部高さGの高さとする。
次に上記下部高さHを算出するには、最初に液体領域Fの面積を測定し、この液体領域Fの面積を検査領域Aの横方向の幅の長さで割って液体領域Fの液体高さJを算出する。そして該液体高さJを検査領域Aの下端部の下端高さに加算した値を上記下部高さHの高さとする。
ここで、上記気体領域Dおよび液体領域Eの面積については、当該各領域内の白色の画素数から測定することができる。
Next, the image processing means 6a detects the upper height G and the lower height H of the liquid surface area E (S3).
As described above, since the liquid surface area E has a thickness in the vertical direction, when calculating the liquid surface height, the upper height G and the lower height H of the liquid surface area E are set in advance. It comes to calculate.
First, to calculate the upper height G, first, the area of the gas region D is measured, and the area of the gas region D is divided by the length of the width in the lateral direction of the inspection region A to obtain the gas height of the gas region D. I is calculated. A value obtained by subtracting the gas height I from the upper end height of the upper end portion of the inspection region A is defined as the height of the upper height G.
Next, in order to calculate the lower height H, first, the area of the liquid region F is measured, and the area of the liquid region F is divided by the length of the lateral width of the inspection region A to obtain the liquid in the liquid region F. The height J is calculated. A value obtained by adding the liquid height J to the lower end height of the lower end portion of the inspection area A is defined as the lower height H.
Here, the area of the gas region D and the liquid region E can be measured from the number of white pixels in each region.

次に、画像処理手段6aは上記液面領域E内の気泡の有無を検出する(S4)。
具体的には、先に判定した液面領域E内に存在する白色の画素の有無によって、気泡の有無を検出するようになっている。
なお、液面領域E内に白色の画素が検出されても、当該白色の画素が数ピクセル以下の集まり場合には、その白色の画素の集まりを気泡として認識しなくてもよく、また液面領域E内の白色の画素が所定の数に達していない場合には、液面に気泡が存在しないものとして判断してもよい。
Next, the image processing means 6a detects the presence or absence of bubbles in the liquid surface area E (S4).
Specifically, the presence / absence of bubbles is detected based on the presence / absence of white pixels present in the liquid surface region E determined earlier.
Even if white pixels are detected in the liquid surface area E, when the white pixels are a few pixels or less, the white pixels need not be recognized as bubbles. If the number of white pixels in the region E has not reached a predetermined number, it may be determined that no bubbles are present on the liquid surface.

そして、液面領域Eに気泡が存在しないと判断した場合、画像処理手段6aは続いて当該液面の液面高さKを算出する(S5)。
具体的には、先に求めた上記上部高さGの高さと下部高さHの高さとの中間となる高さを求め、これを液面高さKとする。
If it is determined that no bubbles are present in the liquid surface area E, the image processing means 6a subsequently calculates the liquid surface height K of the liquid surface (S5).
Specifically, a height that is intermediate between the height of the upper height G and the height of the lower height H obtained above is obtained, and this is defined as the liquid level height K.

一方、液面領域Eに気泡が存在すると判断した場合、画像処理手段6aは以下のようにして液面高さKを算出する。
まず、液面領域E内における気泡の占める領域として、気泡の面積の合計を測定する(S6)。具体的には、液面領域E内で気泡と判断された白色の画素の数を計測し、これを気泡の面積とする。このとき、上記気泡として認識しなかった画素については、気泡の面積として加えないようになっている。
次に、測定した気泡の面積を検査領域Aの横幅の長さで割って補正値Lを算出し(S7)、この補正値Lを上記上部高さGの高さから引いて、補正上部高さG’を算出する(S8)。
そして最後に、上記補正上部高さG’と下部高さHとの中間の高さを算出して、これを液面高さKとする(S9)。
ここで得られた液面高さKは、液面から気泡が消滅したときの液面高さを示す値となる。
On the other hand, when it is determined that bubbles are present in the liquid surface area E, the image processing means 6a calculates the liquid surface height K as follows.
First, as a region occupied by bubbles in the liquid surface region E, the total area of the bubbles is measured (S6). Specifically, the number of white pixels determined to be bubbles in the liquid surface area E is measured, and this is set as the bubble area. At this time, the pixels that are not recognized as the bubbles are not added as the area of the bubbles.
Next, a correction value L is calculated by dividing the measured bubble area by the width of the inspection area A (S7), and the correction value L is subtracted from the height of the upper height G to obtain a corrected upper height. G 'is calculated (S8).
Finally, an intermediate height between the corrected upper height G ′ and the lower height H is calculated and set as a liquid level height K (S9).
The liquid level height K obtained here is a value indicating the liquid level height when bubbles disappear from the liquid level.

このようにして、液面領域Eに気泡が存在しない場合と気泡が存在する場合とで、液面高さKを算出したら、この液面高さKによって容器1内の液体の充填量が適切か否かについて判定を行う(S10)。
具体的には、先に測定した上記キャップ12の頂部Aと液面高さKとの距離を測定し、この距離が予め設定した所定の範囲内にある場合には、液体の充填量が適正であると判断し、当該所定の範囲外となった場合には、液体の充填量が不適切であると判断するようになっている。
In this way, when the liquid level height K is calculated depending on whether or not bubbles are present in the liquid level region E, the filling amount of the liquid in the container 1 is appropriately determined based on the liquid level height K. It is determined whether or not (S10).
Specifically, the distance between the top A of the cap 12 and the liquid level height K measured above is measured, and when this distance is within a predetermined range, the liquid filling amount is appropriate. If the liquid is out of the predetermined range, it is determined that the liquid filling amount is inappropriate.

このように、本実施例の検査装置2によれば、液面に気泡が浮遊していても、上記補正値Lおよび補正上部高さG’を算出して、液面高さKの補正を行っているので、気泡による影響を受けることなく、液面高さKを測定することができ、液面高さKの誤検出を防止することが可能となる。
つまり、気泡によって液面領域Eが厚くなっているため、液面領域Eに気泡がある場合の液面高さKを、液面領域Eに気泡がない場合の液面高さKの算出手順と同様、上部高さGと下部高さHとの中間位置としてしまうと、その液面高さKは気泡がない場合の液面高さKに比べて高く測定されることとなってしまう。
そこで、液面領域E内の気泡の面積から補正値Lを算出して、上記補正上部高さG’を算出しているので、これを液面に気泡が存在しない場合の液面高さKとして用いれば、適切に液体の充填量を検査することができる。
また、気体領域Dの面積から上記上部高さGを求め、また液体領域Fの面積から上記下部高さHを求めていることから、液面領域Eの上部の稜線または下部の稜線に凹凸形状が存在していても、これらの位置を適切に測定することができる。
Thus, according to the inspection apparatus 2 of the present embodiment, even if bubbles are floating on the liquid level, the correction value L and the correction upper height G ′ are calculated to correct the liquid level height K. Therefore, the liquid level height K can be measured without being affected by the bubbles, and erroneous detection of the liquid level height K can be prevented.
That is, since the liquid level region E is thickened by the bubbles, the liquid level height K when there are bubbles in the liquid level region E and the liquid level height K when there are no bubbles in the liquid level region E are calculated. Similarly, if the intermediate position between the upper height G and the lower height H is set, the liquid level height K is measured higher than the liquid level height K when there is no bubble.
Therefore, the correction value L is calculated from the area of the bubbles in the liquid level region E, and the correction upper height G ′ is calculated. Therefore, this is the liquid level height K when there are no bubbles on the liquid level. As a result, the liquid filling amount can be inspected appropriately.
Further, since the upper height G is obtained from the area of the gas region D, and the lower height H is obtained from the area of the liquid region F, the upper and lower ridge lines of the liquid surface region E are uneven. Even if exists, these positions can be measured appropriately.

本実施例にかかる検査装置の構成図。The block diagram of the test | inspection apparatus concerning a present Example. 容器内の液面に気泡が存在しない場合の画像。Image when no bubbles are present on the liquid level in the container. 容器内の液面に気泡が存在する場合の画像。Image when bubbles are present on the liquid level in the container. 画像処理手段によって液面高さを検出する際の手順を示すフローチャート。The flowchart which shows the procedure at the time of detecting a liquid level height by an image processing means.

符号の説明Explanation of symbols

1 容器 2 検査装置
4 照明手段 5 撮影手段
6 制御手段 6a 画像処理手段
C 検査領域 D 気体領域
E 液面領域 F 液体領域
G 上部高さ G’ 補正上部高さ
H 下部高さ I 気体高さ
J 液体高さ K 液面高さ
L 補正値
DESCRIPTION OF SYMBOLS 1 Container 2 Inspection apparatus 4 Illumination means 5 Imaging means 6 Control means 6a Image processing means C Inspection area D Gas area E Liquid surface area F Liquid area G Upper height G 'Correction upper height H Lower height I Gas height J Liquid height K Liquid level L Correction value

Claims (4)

液体の充填された容器を撮影し、撮影した画像を画像処理して上記液体の液面高さを測定する液面高さの測定方法において、
撮影した画像の内側に検査領域を設定し、この検査領域内における液面を示す液面領域を認識して、該液面領域の下部高さと、液面領域内における気泡の占める領域とを検出し、
当該気泡が液面領域に占める領域を上記液面領域の上方より減算して補正上部高さを算出し、当該補正上部高さと下部高さとの中間を上記液面高さとすることを特徴とする液面高さの測定方法。
In the liquid level height measuring method of photographing a container filled with liquid and measuring the liquid level height of the liquid by performing image processing on the photographed image,
An inspection area is set inside the photographed image, the liquid surface area indicating the liquid surface in the inspection area is recognized, and the lower height of the liquid surface area and the area occupied by bubbles in the liquid surface area are detected. And
The area where the bubbles occupy the liquid level area is subtracted from above the liquid level area to calculate the corrected upper height, and the middle between the corrected upper height and the lower height is the liquid level height. Measuring method of liquid level height.
上記気泡が液面領域に占める領域は、液面領域内の気泡の面積から検出し、
上記補正上部高さは、上記液面領域の上部高さを検出するとともに、上記気泡の面積を検査領域の横幅の長さで割った補正値を算出して、該補正値を上記上部高さから減算して算出することを特徴とする請求項1に記載の液面高さの測定方法。
The area occupied by the bubbles in the liquid surface area is detected from the area of the bubbles in the liquid surface area,
The correction upper height detects the upper height of the liquid surface area, calculates a correction value obtained by dividing the area of the bubble by the width of the inspection area, and calculates the correction value as the upper height. The liquid level height measuring method according to claim 1, wherein the liquid level height is calculated by subtracting from the liquid level.
上記上部高さは、撮影した画像から上記液面領域の上方に位置する気体領域を認識するとともに該気体領域の面積を測定し、該気体領域の面積を検査領域の横幅の長さで割って気体高さを算出し、該気体高さを撮影した画像の上端高さから引くことで認識し、
上記下部高さは、撮影した画像から上記液面領域の下方に位置する液体領域を認識するとともに該液体領域の面積を測定し、該液体領域の面積を検査領域の横幅の長さで割って液体高さを算出し、該液体高さを撮影した画像の下端高さに加算して認識することを特徴とする請求項2に記載の液面高さの測定方法。
The upper height is obtained by recognizing the gas region located above the liquid surface region from the photographed image and measuring the area of the gas region, and dividing the area of the gas region by the width of the inspection region. Recognize by calculating the gas height and subtracting the gas height from the top edge height of the captured image,
The lower height is obtained by recognizing a liquid region located below the liquid surface region from the photographed image, measuring the area of the liquid region, and dividing the area of the liquid region by the width of the inspection region. The liquid level height measuring method according to claim 2, wherein the liquid level is calculated and recognized by adding the liquid height to a lower end height of a photographed image.
撮影した画像から容器の頂部および水平方向両端部を検出して、上記検査領域を該容器の頂部および両端部に対して所定位置離隔した位置に設定することを特徴とする請求項1ないし請求項3のいずれかに記載の液面高さの測定方法。   The top of the container and both ends in the horizontal direction are detected from the photographed image, and the inspection region is set at a position spaced apart from the top and both ends of the container by a predetermined position. 4. The method for measuring a liquid level according to any one of 3 above.
JP2007103959A 2007-04-11 2007-04-11 Measuring method of liquid level Active JP5246531B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007103959A JP5246531B2 (en) 2007-04-11 2007-04-11 Measuring method of liquid level

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007103959A JP5246531B2 (en) 2007-04-11 2007-04-11 Measuring method of liquid level

Publications (2)

Publication Number Publication Date
JP2008261696A true JP2008261696A (en) 2008-10-30
JP5246531B2 JP5246531B2 (en) 2013-07-24

Family

ID=39984288

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007103959A Active JP5246531B2 (en) 2007-04-11 2007-04-11 Measuring method of liquid level

Country Status (1)

Country Link
JP (1) JP5246531B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010281814A (en) * 2009-05-26 2010-12-16 Krones Ag Foam density determination method and foam density determination device
JP2012514751A (en) * 2009-01-06 2012-06-28 シーメンス・ヘルスケア・ダイアグノスティックス・インコーポレーテッド Method and apparatus for measuring liquid level in a container using imaging
KR20190081076A (en) * 2017-12-29 2019-07-09 전성배 Apparatus for check in data
CN111814784A (en) * 2020-06-11 2020-10-23 浙江大华技术股份有限公司 Liquid level identification method based on image processing and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6111602A (en) * 1984-06-28 1986-01-20 Fuji Electric Co Ltd Device for inspecting boundary line of content in vessel
JPH07198617A (en) * 1993-11-24 1995-08-01 Nira Schwartz Inspection of dynamic liquid level and foam for quality control and process control
JPH10208066A (en) * 1997-01-28 1998-08-07 Matsushita Electric Works Ltd Method for extracting edge line of check object and appearance check method using this method
JP2002053198A (en) * 2000-08-10 2002-02-19 Asahi Breweries Ltd Method and apparatus for manufacturing bottled beer and method for manufacturing enclosure
JP2006138814A (en) * 2004-11-15 2006-06-01 Matsushita Electric Works Ltd Liquid level detection method
JP2007303929A (en) * 2006-05-10 2007-11-22 Asahi Breweries Ltd Inspection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6111602A (en) * 1984-06-28 1986-01-20 Fuji Electric Co Ltd Device for inspecting boundary line of content in vessel
JPH07198617A (en) * 1993-11-24 1995-08-01 Nira Schwartz Inspection of dynamic liquid level and foam for quality control and process control
JPH10208066A (en) * 1997-01-28 1998-08-07 Matsushita Electric Works Ltd Method for extracting edge line of check object and appearance check method using this method
JP2002053198A (en) * 2000-08-10 2002-02-19 Asahi Breweries Ltd Method and apparatus for manufacturing bottled beer and method for manufacturing enclosure
JP2006138814A (en) * 2004-11-15 2006-06-01 Matsushita Electric Works Ltd Liquid level detection method
JP2007303929A (en) * 2006-05-10 2007-11-22 Asahi Breweries Ltd Inspection device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012514751A (en) * 2009-01-06 2012-06-28 シーメンス・ヘルスケア・ダイアグノスティックス・インコーポレーテッド Method and apparatus for measuring liquid level in a container using imaging
US9002096B2 (en) 2009-01-06 2015-04-07 Siemens Healthcare Diagnostics Inc. Method and apparatus for determining a liquid level in a container using imaging
JP2010281814A (en) * 2009-05-26 2010-12-16 Krones Ag Foam density determination method and foam density determination device
KR20190081076A (en) * 2017-12-29 2019-07-09 전성배 Apparatus for check in data
KR102074561B1 (en) * 2017-12-29 2020-02-06 전성배 Apparatus for check in data
CN111814784A (en) * 2020-06-11 2020-10-23 浙江大华技术股份有限公司 Liquid level identification method based on image processing and related device
CN111814784B (en) * 2020-06-11 2023-07-07 浙江大华技术股份有限公司 Liquid level identification method and related device based on image processing

Also Published As

Publication number Publication date
JP5246531B2 (en) 2013-07-24

Similar Documents

Publication Publication Date Title
KR101482580B1 (en) Glass bottle inspection device and telecentric lens unit
JP5246531B2 (en) Measuring method of liquid level
JP2009264915A (en) Visual inspection method and device of transparent film
JP2017111077A (en) Airtightness inspection apparatus
KR101440302B1 (en) Glass bottle inspection device
KR20190081076A (en) Apparatus for check in data
JP2008002917A (en) Content inspection method of liquid packed in container, content inspection device and method of manufacturing liquid food packed in container
JP5499289B1 (en) Cap inspection device
JP2012122912A (en) Determination method of inspection region and foreign matter inspection device
JP5298327B2 (en) Foreign matter inspection apparatus and foreign matter inspection system
CN116075715A (en) Device and method for inspecting closed containers
KR20140031392A (en) Container mouth portion inspection method and device
KR20130031331A (en) Glass bottle inspection device
US20230236057A1 (en) Method and device for checking the fill level of containers
JP5822126B2 (en) Method and apparatus for inspecting liquid level of container
JP2012122877A (en) Method for inspecting foreign substance in liquid
JP6912367B2 (en) Cap float inspection method and cap float inspection device
KR20180049947A (en) Apparatus for detecting foreign material in container
JP2006038751A (en) Inspection method and inspection device for container filling inlet edge and filling device
JP5017617B2 (en) Bottle residual liquid inspection method
JP2016090328A (en) Imaging device and buckling inspection device
JP2008309577A (en) Quality determination method and inspection device of container
JP6207008B2 (en) Inspection apparatus and inspection method
JP7189417B2 (en) Article inspection device
WO2023105724A1 (en) Foreign matter inspecting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120327

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130315

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130328

R150 Certificate of patent or registration of utility model

Ref document number: 5246531

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160419

Year of fee payment: 3