JPH08287232A - Method for removing unmonitored object for image processing - Google Patents

Method for removing unmonitored object for image processing

Info

Publication number
JPH08287232A
JPH08287232A JP11489395A JP11489395A JPH08287232A JP H08287232 A JPH08287232 A JP H08287232A JP 11489395 A JP11489395 A JP 11489395A JP 11489395 A JP11489395 A JP 11489395A JP H08287232 A JPH08287232 A JP H08287232A
Authority
JP
Japan
Prior art keywords
image
difference
area
unmonitored
gravity
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
JP11489395A
Other languages
Japanese (ja)
Inventor
Motoi Kimura
基 木村
Hideaki Uekusa
秀明 植草
Osamu Takada
修 高田
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP11489395A priority Critical patent/JPH08287232A/en
Publication of JPH08287232A publication Critical patent/JPH08287232A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To improve detection accuracy without narrowing down a monitor area by finding and setting an unmonitored area where an unmonitored object is possibly present in advance by learning within the minimum limit. CONSTITUTION: The difference between an input image 2 of, for example, a Chinese character in the Figure as an unmonitored object and a reference image 1 of the Chinese character is calculated to obtain plural difference images 3. Then the centers of gravity of the respective difference images 3 are found to obtain a difference gravity center group image 4 and an area where the unmonitored object is possibly present, i.e., an unmonitored area 5 is found. After the learning in this way, a monitored object 6 is found first to inspect the actual monitored object, and the difference image 7 between this object and reference image 1 is found. The difference image 7 include a detected object, so respective difference images 7 in one screen 1 are labeled and partitioned. The centers of gravity of the respective bodies are found from the difference images 7 and when the coordinates of a gravity center pixel are in the unmonitored area 5, the labeled image is determined as a difference labeling image 8, which is deleted to obtain a result 9.

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 method capable of reliably removing a disturbance (non-monitoring target) other than a monitoring target.

【0002】[0002]

【従来の技術】画像処理によってオイル等の液体漏れの
検査を行なうとき、その監視対象視野内に、例えば風や
多少の振動などで揺れ動く「札」などの外乱が存在する
場合、従来は例えば、画像監視領域内の外乱が存在する
可能性のある部分を矩形領域(ROIなど)で黒く塗り
つぶして無視し、この部分の変化を見ないようにする方
法がある。
2. Description of the Related Art When a liquid leak such as oil is inspected by image processing, if there is a disturbance such as a "flip" that shakes due to wind or some vibration in the field of view to be monitored, conventionally, for example, There is a method in which a portion of the image monitoring area where disturbance may exist is painted black in a rectangular area (ROI or the like) and ignored so that the change in this portion is not seen.

【0003】[0003]

【発明が解決しようとする課題】しかし、上記のような
矩形画面を利用する方法では、誤まりを防ぐ観点から多
少の安全を見込んで広く設定する傾向にあるため、検出
対象となる(監視)領域が狭くなるという問題がある。
したがって、この発明の課題は、監視領域を狭くするこ
となく検出精度を向上させることにある。
However, in the method using the rectangular screen as described above, there is a tendency to set a wide range in consideration of some safety from the viewpoint of preventing an error, so that it becomes a detection target (monitoring). There is a problem that the area becomes narrow.
Therefore, an object of the present invention is to improve the detection accuracy without narrowing the monitoring area.

【0004】[0004]

【課題を解決するための手段】このような課題を解決す
るため、請求項1の発明では、非監視対象物の入力画像
とその基準画像との差の画像の重心を求める処理を、前
記入力画像を変えて順次実行することにより、前記非監
視対象物の監視画面内に存在し得る領域を非監視領域と
して予め決定しておき、しかる後、監視対象物について
その画像と前記非監視対象物の基準画像との差の画像の
重心を求め、その重心が前記非監視領域内にあるときは
監視対象物ではないとして、その画像を採用しないこと
を特徴としている。
In order to solve such a problem, according to the invention of claim 1, the process of obtaining the center of gravity of the image of the difference between the input image of the non-monitored object and its reference image is the input. By changing the image and sequentially executing it, the area that may exist in the monitoring screen of the non-monitoring object is determined in advance as a non-monitoring area, and then the image and the non-monitoring object of the monitoring object are determined. The center of gravity of the image of the difference from the reference image is obtained, and when the center of gravity is in the non-monitoring area, it is determined that the object is not a monitoring target and that image is not adopted.

【0005】請求項2の発明では、非監視対象物に対し
その部分よりもひとまわり大きい矩形画像領域を予め設
定しておき、監視対象物についてその画像と前記非監視
対象物の基準画像との差を2値化し、得られた差分2値
化画像にラベル番号を付すとともに、この差分2値化画
像と前記矩形画像領域との論理積演算をしてその論理積
画像の重心および輝度を求め、その輝度が前記ラベル番
号を付された差分2値化画像の輝度と一致するラベル番
号の差分2値化画像は監視対象物ではないとして、その
画像を採用しないことを特徴としている。
According to the second aspect of the present invention, a rectangular image area which is slightly larger than the portion of the unmonitored object is set in advance, and the image of the monitored object and the reference image of the unmonitored object are set. The difference is binarized, a label number is attached to the obtained difference binarized image, and a logical product operation of this differential binarized image and the rectangular image area is performed to obtain a center of gravity and brightness of the logical product image. The differential binarized image having the label number whose luminance matches the luminance of the differential binarized image to which the label number is attached is not an object to be monitored, and the image is not adopted.

【0006】[0006]

【作用】非監視対象物が存在する可能性のある非監視領
域を、矩形領域等の大雑把な領域としてではなく、学習
により前もって最小限度の大きさで求めて設定しておく
ことにより、監視領域を狭めることなく検出精度を向上
させる。また、非監視領域を非監視対象物よりひとまわ
り大きい領域として設定することで、従来よりも監視領
域を狭めないようにし、学習の煩雑さをなくす。
The non-monitored area in which the non-monitored object may exist is not set as a rough area such as a rectangular area but is set in advance by learning with a minimum size, thereby setting the monitored area. The detection accuracy is improved without narrowing. Further, by setting the non-monitoring region as a region that is slightly larger than the non-monitoring target, the monitoring region is not made narrower than in the past, and the complexity of learning is eliminated.

【0007】[0007]

【実施例】図1はこの発明の第1実施例を示す機能ブロ
ック図である。これは、検査または監視対象物をITV
カメラなどの撮像手段にて撮像し、画像処理装置により
実行する手順とその結果得られる画像などを示してい
る。まず、非監視対象物としての「札」について、学習
する。すなわち、図示されない撮像手段にて「札」を撮
像し、入力画像2を得る。次に、入力画像2と「札」の
基準画像1との差をとり、差分画像3を得る。なお、入
力画像2を順次変えて撮像し、その差分画像3を求める
ことにより、複数の差分画像3を得ることができる。
1 is a functional block diagram showing a first embodiment of the present invention. This allows ITV to be inspected or monitored
The procedure and the image obtained as a result of imaging with an imaging means, such as a camera, and performing with an image processing apparatus are shown. First, learn about "tags" as non-monitored objects. That is, an image of the "tag" is picked up by an image pickup means (not shown) to obtain the input image 2. Next, a difference image 3 is obtained by taking the difference between the input image 2 and the reference image 1 of the “tag”. Note that a plurality of difference images 3 can be obtained by sequentially changing the input image 2 to capture an image and obtaining the difference image 3 thereof.

【0008】次いで、各差分画像3の重心をそれぞれ求
めて差分重心群画像4を得、これらの重心の全てを包括
することで非監視対象物が存在する可能性のある領域、
つまり非監視領域5を求める。このとき、非監視領域5
には量子化データ「0」を、それ以外の領域には「25
5」を割り当てることとしている。
Next, the center of gravity of each difference image 3 is obtained to obtain the difference center of gravity group image 4, and by including all of these center of gravity, an area in which an unmonitored object may exist,
That is, the non-monitoring area 5 is obtained. At this time, the non-monitoring area 5
Is quantized data "0" and other areas are "25".
5 ”will be assigned.

【0009】こうして学習した後、実際の監視対象物に
ついて検査する場合は、まず、監視対象物画像6を求
め、これと基準画像1との差分画像7を求める。この差
分画像内には検出すべき対象物も含まれるので、1画面
内の差分画像の各々には例えばラベルを付して(ラベリ
ング)その区別をするものとする。
After the learning in this way, when inspecting an actual monitored object, first, the monitored object image 6 is obtained, and the difference image 7 between this and the reference image 1 is obtained. Since an object to be detected is also included in this difference image, for example, a label is attached to each of the difference images in one screen (labeling) to distinguish them.

【0010】そして、この差分画像7から各物体の重心
(Gx,Gy)を求めるとともに、その重心(Gx,G
y)画素の座標が非監視領域5内にあるかどうかを調
べ、非監視領域5内にあればラベリングされた画像を差
分ラベリング画像8として確定し、その画像を削除して
結果9を得る。
Then, the center of gravity (Gx, Gy) of each object is obtained from the difference image 7, and the center of gravity (Gx, Gy) is calculated.
y) It is checked whether the coordinates of the pixel are in the non-monitoring area 5, and if it is in the non-monitoring area 5, the labeled image is determined as the differential labeling image 8 and the image is deleted to obtain the result 9.

【0011】図2はこの発明の第2実施例を示す機能ブ
ロック図である。この例では、まず、札などの部分にひ
とまわり大きい矩形画像領域を設定しておく。これは図
2に設定領域(非監視領域)15として、点線により示
されている。次に、対象画像12と札の基準画像11と
から差分画像13を作成し、2値化した後ラベリングを
行ない、ラベル画像14を得る。
FIG. 2 is a functional block diagram showing a second embodiment of the present invention. In this example, first, a rectangular image area that is slightly larger is set in a portion such as a bill. This is indicated by a dotted line in FIG. 2 as a setting area (non-monitoring area) 15. Next, a difference image 13 is created from the target image 12 and the reference image 11 of the bill, and after binarization, labeling is performed to obtain a label image 14.

【0012】一方、差分画像13と設定領域15との論
理積をとって論理積画像16を得、その重心(Gx,G
y)とその位置の輝度を符号17の如く求める。ラベル
画像14については、その各番号毎(ここでは1〜4)
に重心(Gx,Gy)とその位置の輝度が求められてい
るので、上記論理積画像16の輝度と一致する物体(ラ
ベル番号)を符号18の如く求め、ラベル画像14から
削除することにより、結果19を得る。
On the other hand, the logical product of the difference image 13 and the setting area 15 is obtained to obtain the logical product image 16 and its center of gravity (Gx, G
y) and the luminance at that position are obtained as indicated by reference numeral 17. For the label image 14, for each number (here, 1 to 4)
Since the center of gravity (Gx, Gy) and the brightness at that position are obtained, the object (label number) that matches the brightness of the logical product image 16 is obtained as indicated by reference numeral 18 and is deleted from the label image 14. The result 19 is obtained.

【0013】以上では、プラントのオイル漏れ検知にお
ける「札」の揺れ現象を取り除く方法について、主に説
明したが、この発明は発電所における固定ITVカメラ
による現場異常監視,発電所における移動物体(ロボッ
ト)のカメラによる現場異常監視,下水プラントにおけ
る点検ロボットによる現場異常監視などの他、高速道路
脇に設置されている計器などを画像監視する場合におい
ても、適用することができる。
In the above, the method of removing the "swing" phenomenon of the "tag" in the oil leak detection of the plant has been mainly described. It is also applicable to the case of monitoring the site abnormality with the camera of (1), the site abnormality monitoring with the inspection robot in the sewage plant, and the case of monitoring the image of the instruments installed beside the expressway.

【0014】[0014]

【発明の効果】この発明によれば、従来のように非監視
領域を大雑把にではなく、学習によって最小限の領域と
して求めるようにしたので、監視領域を狭めることなく
対象物を検出することができ、検出精度を高めることが
可能となる利点が得られる。また、非監視領域を非監視
物体のひとまわり大きい矩形画像領域として設定するこ
とにより、学習による面倒な処理をなくす一方、従来の
ものよりも狭い領域とし、監視領域を極力狭めないよう
にすることができる。
According to the present invention, the non-monitoring area is not determined roughly as in the prior art, but is determined as a minimum area by learning. Therefore, the object can be detected without narrowing the monitoring area. Therefore, there is an advantage that the detection accuracy can be improved. Also, by setting the non-monitoring area as a rectangular image area that is one size larger than the non-monitoring object, it is possible to eliminate the troublesome processing due to learning, but to make the area smaller than the conventional one, and to make the monitoring area as narrow as possible. You can

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

【図1】この発明の第1実施例を示す機能ブロック図で
ある。
FIG. 1 is a functional block diagram showing a first embodiment of the present invention.

【図2】この発明の第2実施例を示す機能ブロック図で
ある。
FIG. 2 is a functional block diagram showing a second embodiment of the present invention.

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

1,11…基準画像、2…入力画像、3,7,13…差
分画像、4…重心群画像、5…非監視領域、6,12…
対象画像、8,14…ラベル画像、9,19…結果、1
5…設定領域、16…論理積画像、17…重心位置、1
8…輝度一致画像。
1, 11 ... Reference image, 2 ... Input image, 3, 7, 13 ... Difference image, 4 ... Centroid group image, 5 ... Non-monitoring region, 6, 12 ...
Target image, 8, 14 ... Label image, 9, 19 ... Result, 1
5 ... setting area, 16 ... AND image, 17 ... barycentric position, 1
8 ... Brightness matching image.

フロントページの続き (72)発明者 高田 修 神奈川県川崎市川崎区田辺新田1番1号 富士電機株式会社内Continued front page (72) Inventor Osamu Takada 1-1, Tanabe Nitta, Kawasaki-ku, Kawasaki-shi, Kanagawa Fuji Electric Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 非監視対象物の入力画像とその基準画像
との差の画像の重心を求める処理を、前記入力画像を変
えて順次実行することにより、前記非監視対象物の監視
画面内に存在し得る領域を非監視領域として予め決定し
ておき、しかる後、監視対象物についてその画像と前記
非監視対象物の基準画像との差の画像の重心を求め、そ
の重心が前記非監視領域内にあるときは監視対象物では
ないとして、その画像を採用しないことを特徴とする画
像処理における非監視対象物の除去方法。
1. A process for obtaining the center of gravity of an image of the difference between an input image of a non-monitoring target and its reference image is sequentially executed by changing the input image, thereby displaying a screen within the monitoring screen of the non-monitoring target. A region that may exist is determined in advance as a non-monitoring region, and thereafter, the center of gravity of the image of the difference between the image of the monitoring target and the reference image of the non-monitoring target is obtained, and the center of gravity is the non-monitoring region. A method for removing a non-monitored object in image processing, characterized in that the image is not adopted when it is inside the object.
【請求項2】 非監視対象物に対しその部分よりもひと
まわり大きい矩形画像領域を予め設定しておき、監視対
象物についてその画像と前記非監視対象物の基準画像と
の差を2値化し、得られた差分2値化画像にラベル番号
を付すとともに、この差分2値化画像と前記矩形画像領
域との論理積演算をしてその論理積画像の重心および輝
度を求め、その輝度が前記ラベル番号を付された差分2
値化画像の輝度と一致するラベル番号の差分2値化画像
は監視対象物ではないとして、その画像を採用しないこ
とを特徴とする画像処理における非監視対象物の除去方
法。
2. A rectangular image area which is slightly larger than the portion of the non-monitored object is preset, and the difference between the image of the monitored object and the reference image of the non-monitored object is binarized. , A label number is attached to the obtained differential binarized image, and a logical product operation of this differential binarized image and the rectangular image area is performed to obtain a center of gravity and luminance of the logical product image, and the luminance is Difference 2 with label number
A method of removing a non-monitoring target in image processing, characterized in that a difference binarized image of a label number that matches the brightness of a binarized image is not a monitoring target, and that image is not adopted.
JP11489395A 1995-02-17 1995-05-12 Method for removing unmonitored object for image processing Pending JPH08287232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11489395A JPH08287232A (en) 1995-02-17 1995-05-12 Method for removing unmonitored object for image processing

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-29065 1995-02-17
JP2906595 1995-02-17
JP11489395A JPH08287232A (en) 1995-02-17 1995-05-12 Method for removing unmonitored object for image processing

Publications (1)

Publication Number Publication Date
JPH08287232A true JPH08287232A (en) 1996-11-01

Family

ID=26367210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11489395A Pending JPH08287232A (en) 1995-02-17 1995-05-12 Method for removing unmonitored object for image processing

Country Status (1)

Country Link
JP (1) JPH08287232A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526167B1 (en) * 1998-05-26 2003-02-25 Sony Corporation Image processing apparatus and method and provision medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526167B1 (en) * 1998-05-26 2003-02-25 Sony Corporation Image processing apparatus and method and provision medium

Similar Documents

Publication Publication Date Title
CN111539927B (en) Detection method of automobile plastic assembly fastening buckle missing detection device
Chavan et al. Quality control of PCB using image processing
CN113111903A (en) Intelligent production line monitoring system and monitoring method
JPH07159337A (en) Fault inspection method for semiconductor element
CN115947066B (en) Belt tearing detection method, device and system
JP3500425B2 (en) Road surface condition judgment method in visible image type road surface condition grasping device
JPH06201611A (en) Method for detecting defect of sheetlike printed matter
JPH06308256A (en) Cloudy fog detecting method
JPH06243253A (en) Circular object matter detecting device
CN117237835A (en) Automatic shelf safety detection method and device based on yolov7
JPH08287232A (en) Method for removing unmonitored object for image processing
JPH04106460A (en) Detecting method of defect
JPH04238592A (en) Automatic bundled bar steel tally device
JP2710527B2 (en) Inspection equipment for periodic patterns
JP3159063B2 (en) Surface defect inspection equipment
JP3127598B2 (en) Method for extracting density-varying constituent pixels in image and method for determining density-fluctuation block
JPH0991431A (en) Pattern recognition method utilizing color ccd camera
JP3482265B2 (en) Steel inspection equipment
JPH06201715A (en) Moving object detecting device
JPH07114688A (en) Method for recognizing vehicle registered number
JPH0735699A (en) Method and apparatus for detecting surface defect
JP2000121495A (en) Screen inspection method
JPH04344576A (en) Image processor
JPH07229726A (en) Method for detecting angle of object
JP2896140B2 (en) Foreign matter detection method in liquid