JPH04344576A - Image processor - Google Patents

Image processor

Info

Publication number
JPH04344576A
JPH04344576A JP3116241A JP11624191A JPH04344576A JP H04344576 A JPH04344576 A JP H04344576A JP 3116241 A JP3116241 A JP 3116241A JP 11624191 A JP11624191 A JP 11624191A JP H04344576 A JPH04344576 A JP H04344576A
Authority
JP
Japan
Prior art keywords
color information
image
image data
image processing
actuator
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.)
Pending
Application number
JP3116241A
Other languages
Japanese (ja)
Inventor
Taichi Tsuge
柘植 太一
Satoshi Sugimoto
智 杉本
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.)
Churyo Engineering Co Ltd
Mitsubishi Heavy Industries Ltd
Original Assignee
Churyo Engineering Co Ltd
Mitsubishi Heavy Industries 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 Churyo Engineering Co Ltd, Mitsubishi Heavy Industries Ltd filed Critical Churyo Engineering Co Ltd
Priority to JP3116241A priority Critical patent/JPH04344576A/en
Publication of JPH04344576A publication Critical patent/JPH04344576A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automate monitoring of an object by specifically setting only the object in image data obtained by photographing the neighborhood of the object subject to monitoring to obtain color information of the object, and by identifying and outputting only the object in image data on the basis of the color information in measuring the object. CONSTITUTION:Video camera 13 is used to take a picture of the neighborhood of the position where oil leakage of actuator 12 that is an object is generated, and obtained image data is displayed on monitor television 15. Next, an area where only the object is present without taking picture of the background of screen is set by input pointing using a mouse or the like. Next, an image processing unit 14 is used to learn color information about the object. Further, actually, the neighborhood of actuator 12 is monitored by photographing using the camera 13, image data obtained using the image processing unit 14 is compared with color information of the object obtained when learning the color information of the object. Successively, each image element data in a measured area is displayed on the monitor television 15, and as a result a binary image is obtained where only the actuator 12 is extracted omitting other background in the measured area.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、目標となるものを画像
中から識別するための画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for identifying a target from an image.

【0002】0002

【従来の技術】従来、工場のラインなどで欠陥品の発見
、変色の監視等を行なうために、ラインを流れる目標物
内に着色した液体を封入し、その漏れを監視者が識別、
監視するようにしていた。
[Prior Art] Conventionally, in order to discover defective products and monitor discoloration on factory lines, etc., a colored liquid is sealed in a target object flowing through the line, and a supervisor can identify leaks.
I was trying to keep an eye on it.

【0003】0003

【発明が解決しようとする課題】しかしながら上記のよ
うな監視作業は、定期的に監視者が目標物の近くに待機
して監視する必要があり、特に長時間にわたる監視や夜
間の監視になると目標物を識別する能力が低下する一方
、各監視者の個人差によっても能力が異なるという不具
合があった。
[Problem to be Solved by the Invention] However, in the above-mentioned monitoring work, it is necessary for a monitor to regularly stand by near the target and monitor it, and especially when monitoring for a long time or at night, the target object becomes difficult to monitor. There was a problem in that while the ability to identify objects deteriorated, the ability also varied depending on the individual differences of each observer.

【0004】本発明は上記のような実情に鑑みてなされ
たもので、その目的とするところは、特別に監視者を必
要とせず、目標物の監視を自動化することが可能な画像
処理装置を提供することにある。
The present invention has been made in view of the above-mentioned circumstances, and its purpose is to provide an image processing device that can automate the monitoring of a target without requiring a special observer. It is about providing.

【0005】[0005]

【課題を解決するための手段及び作用】すなわち本発明
は、監視対象となる目標物周辺を撮像して得た画像デー
タ中の目標物のみを指示設定することにより目標物の色
情報、例えば3原色成分の輝度分布とその平均値、標準
偏差等を得、計測時には上記色情報を基に画像データ中
の目標物のみを識別出力するようにしたもので、目標物
近傍に常駐する習熟した監視者を必要とせず、目標物の
監視を大幅に簡易化することが可能となる。
[Means and effects for solving the problems] That is, the present invention provides color information of the target, for example, 3 This method obtains the luminance distribution of primary color components, their average value, standard deviation, etc., and during measurement, only the target object in the image data is identified and output based on the above color information, and a trained monitor stationed near the target object is used. This makes it possible to greatly simplify the monitoring of targets without the need for personnel.

【0006】[0006]

【実施例】以下図面を参照して本発明の一実施例を説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0007】図1は例えば航空機油圧機器等の耐久試験
に適用される画像処理装置を例示するものである。すな
わち、該機器を長時間作動させた場合にその作動中に油
漏れを生じるかどうか、もし生じた際にはどの程度の油
漏れであるかであるかを監視、計測するためのものであ
り、図中の11が油圧駆動源、12がこの油圧駆動源1
1に駆動される油圧機器であるアクチュエータである。 このアクチュエータ12の油漏れが生じると予想される
位置に対向するようにビデオカメラ13が据付固定され
、このビデオカメラ13で得られたアクチュエータ12
を中心とした画像データが画像処理装置14に送られる
FIG. 1 shows an example of an image processing apparatus applied to durability tests of aircraft hydraulic equipment and the like. In other words, it is used to monitor and measure whether oil leaks occur during operation when the equipment is operated for a long period of time, and if so, how much oil leaks. , 11 in the figure is a hydraulic drive source, 12 is this hydraulic drive source 1
This is an actuator, which is a hydraulic device driven by 1. A video camera 13 is installed and fixed so as to face the position where oil leakage of the actuator 12 is expected to occur, and the actuator 12 obtained by this video camera 13 is
Image data centered on is sent to the image processing device 14.

【0008】この画像処理装置14は、ビデオカメラ1
3から送られてくる画像データに対して目標物識別機能
を有する画像処理を実行することにより、油漏れを生じ
たアクチュエータ12の画像のみを選択抽出して得るも
ので、得られた画像はモニタテレビ15に送られ、ここ
で出力される。次に上記実施例の動作について説明する
This image processing device 14 includes a video camera 1
By performing image processing with a target object identification function on the image data sent from 3, only the image of the actuator 12 that has caused the oil leak is selectively extracted. It is sent to the television 15 and output there. Next, the operation of the above embodiment will be explained.

【0009】動作当初には、まず予め目標物の学習を行
なう。この学習動作は、目標物となるアクチュエータ1
2の油漏れが生じ得る位置周辺をビデオカメラ13で撮
像することにより行なわれる。撮像によって得られた画
像データはそのまま画像処理装置14を介してモニタテ
レビ15で表示出力されるもので、表示出力されたら、
その画面上の背景が写り込まない目標物のみが存在する
エリアを、例えば図示しないキーボードやマウス等を設
定用の機器として用い、該当する矩形範囲の左上と右下
の座標をポインティング入力すること等により設定する
[0009] At the beginning of operation, the target object is first learned in advance. This learning operation is performed when the actuator 1 becomes the target object.
This is done by using the video camera 13 to take an image of the area around the location where the oil leak may occur (No. 2). The image data obtained by imaging is directly displayed on the monitor television 15 via the image processing device 14, and once it is displayed,
For example, use a keyboard or mouse (not shown) as a setting device to input the coordinates of the upper left and lower right of the corresponding rectangular range by pointing to the area where only the target object exists without the background on the screen. Set by.

【0010】このエリア設定がなされると、画像処理装
置14では図2に示すような処理手順で学習を実行する
。 すなわち、まず画像処理装置14は、ビデオカメラ13
から送られてくるカラーの画像データ中の設定した学習
エリア内に該当するものを画素単位で赤色成分、緑色成
分、青色成分の3原色成分毎に輝度値でデジタル化する
(ステップS1)。この場合、エリア内のアドレスを順
次アクセスすることによりデジタル化した各画素データ
の値は、上述した如く光の3原色成分それぞれの輝度値
として扱うものであり、例えば1画素の各原色成分を8
ビット(256階調)、3原色分で計24ビットのデー
タとして処理する場合には、約1670万の色を表現で
きることとなる。
[0010] Once the area is set, the image processing device 14 executes learning according to the processing procedure shown in FIG. That is, first, the image processing device 14
The color image data sent from the computer that falls within the set learning area is digitized pixel by pixel using luminance values for each of the three primary color components of red, green, and blue (step S1). In this case, the value of each pixel data digitized by sequentially accessing the addresses within the area is treated as the luminance value of each of the three primary color components of light, as described above. For example, each of the primary color components of one pixel is
If data is processed as a total of 24 bits (256 gradations) and three primary colors, approximately 16.7 million colors can be expressed.

【0011】設定エリア内の画像データのデジタル化を
終えると、次に上記3原色成分それぞれの輝度値分布を
調べる(ステップS2)。その後、得られた各輝度値分
布の平均値を求め(ステップS3)、さらにこの平均値
と上記輝度値分布を基に標準偏差を求める(ステップS
4)。図4はこうして得られた3原色成分それぞれの輝
度値分布と平均値及び標準偏差を例示するものである。 図4(1)は赤色成分の輝度値分布を示し、その平均値
をEr、標準偏差をσ(図示せず)とした場合の下限値
R1 (=Er−kσ,kは定数)、上限値R2 (=
Er+kσ)を示す。同様に、図4(2)は緑色成分の
輝度値分布における平均値をEgとした場合の下限値G
1 、上限値G2 を、図4(3)は青色成分の輝度値
分布における平均値をEgとした場合の下限値B1 、
上限値B2 を示す。
[0011] Once the image data in the setting area has been digitized, the luminance value distribution of each of the three primary color components is examined (step S2). Thereafter, the average value of each brightness value distribution obtained is determined (step S3), and the standard deviation is further determined based on this average value and the above brightness value distribution (step S3).
4). FIG. 4 illustrates the luminance value distribution, average value, and standard deviation of each of the three primary color components obtained in this way. Figure 4 (1) shows the luminance value distribution of the red component, where the average value is Er and the standard deviation is σ (not shown), the lower limit R1 (=Er-kσ, k is a constant), and the upper limit R2 (=
Er+kσ). Similarly, FIG. 4 (2) shows the lower limit G when the average value in the luminance value distribution of the green component is Eg.
1, the upper limit G2 is the lower limit B1, and FIG. 4 (3) is the lower limit B1 when the average value in the luminance value distribution of the blue component is Eg,
Indicates the upper limit value B2.

【0012】こうして各色成分共に輝度値の平均値Eと
標準偏差σとから、その上下限値E±kσを得ることで
、各色の色フィルタ(通過輝度範囲)を得ることができ
るもので(ステップS5)、得られた目標物の色情報、
すなわち前記上下限値からなる閾値を設定して、以上で
目標物の学習に関する処理を終える。
[0012] In this way, by obtaining the upper and lower limit values E±kσ of each color component from the average value E and standard deviation σ of the luminance values, a color filter (passing luminance range) for each color can be obtained (step S5), the obtained color information of the target object,
That is, a threshold value consisting of the upper and lower limits is set, and the processing related to target object learning is thus completed.

【0013】目標物の学習を終えると、次に実際に目標
物の計測を行なう。この計測動作は、目標物となるアク
チュエータ12周辺をビデオカメラ13で再度撮像監視
させることにより行なわれ、撮像によって得られた画像
データは随時画像処理装置14に入力される。画像処理
装置14では、上記学習エリアの設定と同様にして、計
測対象として目標物であるアクチュエータ12が存在す
る周辺のエリアを、例えば図示しないキーボードやマウ
ス等を設定用の機器として用い、該当する矩形範囲の左
上と右下の座標をポインティング入力すること等により
設定する。 図5はこうして設定された計測エリアとその中の学習エ
リアとを示すものである。
[0013] After learning the target object, the target object is actually measured next. This measurement operation is performed by again imaging and monitoring the area around the actuator 12, which is the target object, using the video camera 13, and the image data obtained by imaging is input to the image processing device 14 at any time. In the image processing device 14, in the same manner as in the setting of the learning area, the area around the actuator 12, which is the target object to be measured, is set by using, for example, a keyboard, a mouse, etc. (not shown) as a setting device, and setting the corresponding area. Set by pointing and inputting the coordinates of the upper left and lower right of the rectangular range. FIG. 5 shows the measurement area thus set and the learning area therein.

【0014】この計測エリアの設定がなされると、画像
処理装置14では図3に示すような処理手順で上記学習
エリア内の各画素単位での計測を実行する。すなわち、
まず画像処理装置14は、ビデオカメラ13から送られ
てくるカラーの画像データを各画素単位で赤色成分、緑
色成分、青色成分の3原色成分毎に輝度値でデジタル化
する(ステップM1)。この場合、エリア内のアドレス
を順次アクセスすることによりデジタル化した各画素デ
ータの値は、上記学習時と同じく3原色成分それぞれの
輝度値として扱う。
Once the measurement area is set, the image processing device 14 executes measurement for each pixel in the learning area according to the processing procedure shown in FIG. That is,
First, the image processing device 14 digitizes the color image data sent from the video camera 13 into luminance values for each of the three primary color components, red, green, and blue, for each pixel (step M1). In this case, the value of each pixel data digitized by sequentially accessing the addresses within the area is treated as the luminance value of each of the three primary color components, as in the above learning.

【0015】そして、得られたデジタル値の各画素デー
タを、上記学習時に得た目標物の色情報と比較し、該色
情報の閾値で示される輝度値範囲内にあるかどうかを判
断する(ステップM2)。この場合、各画素データにお
いては、図6に示す如く例えば赤色成分の輝度値であれ
ば該色情報の閾値、すなわち下限値R1と上限値R2で
示される輝度値範囲内にあるか否かを判断してその判断
結果を1ビットのデータ“1”“0”でとする。1画素
に対して3原色成分それぞれの判断結果により3つの1
ビット情報が出るので、これらをアンド回路により論理
積をとるようにする。こうして得られる計測エリア内の
各画素データをモニタテレビ15で図7に示すように表
示出力させることで、計測エリア内の他の背景となるも
のが省略され、目標物であるアクチュエータ12のみが
抽出された2値化画像として得られる。したがって、モ
ニタテレビ15で表示される目標物であるアクチュエー
タ12の輪郭内の各画素データがすべて“1”であり、
一様な「べた表示」であれば正常、部分的に“0”とな
って「むら」が生じていれば油漏れが発生していること
となり、簡易に識別が可能となる。
[0015] Then, each pixel data of the obtained digital value is compared with the color information of the target object obtained during the above-mentioned learning, and it is determined whether the pixel data is within the luminance value range indicated by the threshold value of the color information ( Step M2). In this case, as shown in FIG. 6, for each pixel data, for example, if the brightness value of the red component is present, it is determined whether or not it is within the brightness value range indicated by the threshold value of the color information, that is, the lower limit value R1 and the upper limit value R2. The judgment result is expressed as 1-bit data "1" or "0". Three 1s are determined for one pixel based on the judgment results of each of the three primary color components.
Since bit information is output, these are logically ANDed using an AND circuit. By displaying and outputting each pixel data in the measurement area obtained in this way on the monitor television 15 as shown in FIG. 7, other backgrounds in the measurement area are omitted and only the target object, the actuator 12, is extracted. It is obtained as a binarized image. Therefore, all pixel data within the outline of the actuator 12, which is the target object displayed on the monitor television 15, is "1",
If it is a uniform "solid display", it is normal, and if it is "0" partially and "uneven", it means that oil leakage has occurred, which can be easily identified.

【0016】なお、上記実施例では固定設置された航空
機油圧機器等の耐久試験に適用される画像処理装置を示
したが、図8に示すように工場の生産ライン等で、ライ
ン21上を流れる部品22,22,…が正常かどうかを
その色情報により個々に判断させることも可能であり、
識別を自動化することもできる。
[0016] In the above embodiment, an image processing device applied to a durability test of fixedly installed aircraft hydraulic equipment, etc. was shown, but as shown in FIG. It is also possible to individually judge whether the parts 22, 22, ... are normal based on their color information,
Identification can also be automated.

【0017】また、画像処理装置14で得た結果を出力
する出力装置としてはモニタテレビ15に限らず、プリ
ンタ、計測器、コンピュータ等に接続して用いるように
してもよい。
Furthermore, the output device for outputting the results obtained by the image processing device 14 is not limited to the monitor television 15, but may be connected to a printer, a measuring instrument, a computer, or the like.

【0018】[0018]

【発明の効果】以上詳記した如く本発明によれば、監視
対象となる目標物周辺を撮像して得た画像データ中の目
標物のみを指示設定することにより目標物の色情報、例
えば3原色成分の輝度分布とその平均値、標準偏差等を
得、計測時には上記色情報を基に画像データ中の目標物
のみを識別して出力するようにしたので、目標物近傍に
習熟した監視者を常駐させる必要もなく、2値化された
目標物の抽出画像のみを監視すればよいために監視の作
業を大幅に簡易化することが可能な画像処理装置を提供
することができる。
As described in detail above, according to the present invention, color information of the target, for example, 3 The luminance distribution of the primary color components, their average value, standard deviation, etc. are obtained, and during measurement, only the target object in the image data is identified and output based on the above color information, so it is easy for observers who are familiar with the vicinity of the target object. It is possible to provide an image processing apparatus that can greatly simplify the monitoring work since it is not necessary to have the image processing apparatus permanently resident and only the binarized extracted image of the target object needs to be monitored.

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

【図1】本発明の一実施例に係る油圧機器等の耐久試験
に適用された画像処理装置を示す図。
FIG. 1 is a diagram showing an image processing apparatus applied to a durability test of hydraulic equipment, etc. according to an embodiment of the present invention.

【図2】目標物の学習を行なう際の処理手順を示す図。FIG. 2 is a diagram showing a processing procedure when learning a target object.

【図3】目標物の計測を行なう際の処理手順を示す図。FIG. 3 is a diagram showing a processing procedure when measuring a target object.

【図4】図2のステップS2で得られる原色成分それぞ
れの輝度値分布を例示する図。
FIG. 4 is a diagram illustrating the luminance value distribution of each primary color component obtained in step S2 of FIG. 2;

【図5】図1のモニタテレビで表示される計測エリア中
の学習エリアを示す図。
FIG. 5 is a diagram showing a learning area in the measurement area displayed on the monitor television in FIG. 1;

【図6】図3のステップM2で実行される画素単位での
識別処理内容を示す図。
FIG. 6 is a diagram showing the contents of the identification process executed in step M2 of FIG. 3 in units of pixels.

【図7】図1のモニタテレビで表示される計測の結果得
られる画像を示す図。
FIG. 7 is a diagram showing an image obtained as a result of measurement displayed on the monitor television in FIG. 1;

【図8】本発明の一実施例に係る画像処理装置の他の適
用例を示す図。
FIG. 8 is a diagram showing another application example of the image processing device according to the embodiment of the present invention.

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

11…油圧駆動源、12…アクチュエータ、13…ビデ
オカメラ、14…画像処理装置、15…モニタテレビ、
21…ライン、22…部品。
DESCRIPTION OF SYMBOLS 11... Hydraulic drive source, 12... Actuator, 13... Video camera, 14... Image processing device, 15... Monitor television,
21...Line, 22...Parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  監視対象となる目標物周辺を撮像する
撮像手段と、この撮像手段で得られた画像データ中の目
標物を指示設定する第1の指示設定手段と、この第1の
指示設定手段による目標物の色情報を学習する学習手段
と、この学習手段で得た色情報を基に計測時に上記撮像
手段で得られる画像データ中の目標物のみを識別出力す
る識別手段とを備えたことを特徴とする画像処理装置。
1. Imaging means for taking an image around a target to be monitored, first instruction setting means for specifying and setting the target in image data obtained by the imaging means, and the first instruction setting. A learning means for learning color information of the target object by the means, and an identification means for identifying and outputting only the target object in the image data obtained by the imaging means at the time of measurement based on the color information obtained by the learning means. An image processing device characterized by:
JP3116241A 1991-05-21 1991-05-21 Image processor Pending JPH04344576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3116241A JPH04344576A (en) 1991-05-21 1991-05-21 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3116241A JPH04344576A (en) 1991-05-21 1991-05-21 Image processor

Publications (1)

Publication Number Publication Date
JPH04344576A true JPH04344576A (en) 1992-12-01

Family

ID=14682294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3116241A Pending JPH04344576A (en) 1991-05-21 1991-05-21 Image processor

Country Status (1)

Country Link
JP (1) JPH04344576A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001311693A (en) * 2000-04-28 2001-11-09 Nitto Kogyo Co Ltd Inspection apparatus
JP2007101565A (en) * 2007-01-25 2007-04-19 Juki Corp Height data processing method
CN104949799A (en) * 2014-03-25 2015-09-30 中国石油化工股份有限公司 System and method for online monitoring internal leakage during crude oil refining process
CN110595396A (en) * 2019-09-18 2019-12-20 云南电网有限责任公司电力科学研究院 Method for measuring oil leakage area of power equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001311693A (en) * 2000-04-28 2001-11-09 Nitto Kogyo Co Ltd Inspection apparatus
JP2007101565A (en) * 2007-01-25 2007-04-19 Juki Corp Height data processing method
CN104949799A (en) * 2014-03-25 2015-09-30 中国石油化工股份有限公司 System and method for online monitoring internal leakage during crude oil refining process
CN110595396A (en) * 2019-09-18 2019-12-20 云南电网有限责任公司电力科学研究院 Method for measuring oil leakage area of power equipment

Similar Documents

Publication Publication Date Title
US7474329B2 (en) Apparatus and method to evaluate an illuminated panel
CN104777172B (en) A kind of quick, intelligent detection device of optical lens substandard products and method
CN109471276A (en) A kind of liquid crystal display colour cast defect inspection method and device
JPH04344576A (en) Image processor
CN102053393A (en) Test device and test method for liquid crystal module
JP4218291B2 (en) Image processing device
KR100416775B1 (en) Method to Measure a Brightness of an Display Device
JP2001083474A (en) Method for inspecting liquid crystal display panel
JP3985891B2 (en) Image defect detection apparatus and image defect detection method
JP2971809B2 (en) Method and device for marking pixel defect in display device
CN112349231B (en) Residual image measuring method and device of display panel
CN116777910B (en) Display screen sub-pixel brightness extraction precision evaluation method and system and electronic equipment
US20230194915A1 (en) Method of detecting defective pixels in electronic displays
JPH0444493A (en) Detector for defect of color liquid crystal panel
JP3504040B2 (en) Color unevenness identification method for color display and automatic identification device by the method
JPH095245A (en) Method for determining image quality
TW202347250A (en) Screen detection device and automatic screen detection method
JPH0293871A (en) Uniformity checking method
JP2004347363A (en) Method for inspecting display quality of electronic display through degree of disorder of luminance distribution
CN115470063A (en) Image detection method of display module and related equipment
KR20040060752A (en) System and Method for Display Device Inspection
JPH02185192A (en) Uniformity evaluation device
JPH06174587A (en) Inspection method for liquid crystal display panel
CN117542300A (en) Display panel detection method, device and system
JPH05816Y2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000208