JP2002207994A - Method for processing object image - Google Patents

Method for processing object image

Info

Publication number
JP2002207994A
JP2002207994A JP2001003142A JP2001003142A JP2002207994A JP 2002207994 A JP2002207994 A JP 2002207994A JP 2001003142 A JP2001003142 A JP 2001003142A JP 2001003142 A JP2001003142 A JP 2001003142A JP 2002207994 A JP2002207994 A JP 2002207994A
Authority
JP
Japan
Prior art keywords
glass bottle
color
image
color identification
images
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
JP2001003142A
Other languages
Japanese (ja)
Inventor
Shoichi Kita
正一 喜多
Akira Ohashi
明 大橋
Takao Okada
敬夫 岡田
Shunji Ueno
俊二 上野
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.)
Ikegami Tsushinki Co Ltd
Subaru Corp
Original Assignee
Ikegami Tsushinki Co Ltd
Fuji 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 Ikegami Tsushinki Co Ltd, Fuji Heavy Industries Ltd filed Critical Ikegami Tsushinki Co Ltd
Priority to JP2001003142A priority Critical patent/JP2002207994A/en
Publication of JP2002207994A publication Critical patent/JP2002207994A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an object image processing method capable of color identification without being almost affected by a cause of deteriorating color identification accuracy, e.g. fluctuations of illumination and luminance levels. SOLUTION: A place in a state where there is no glass bottle G, etc., is picked up to fetch the background image of the glass bottle G, etc., just before or after the glass bottle G, etc., carried to the prescribed position by a carrying conveyor 1 is picked up by a CCD camera 2. Meanwhile, when the glass bottle G, etc., is carried to the prescribed position, the glass bottle G, etc., is picked up to fetch the image of the glass bottle G, etc. These both images are respectively supplied as RGB signals from the image pickup element of the CCD camera 2 to a color identifying device, the color identifying device performs differential processing between pixels constituting respectively the both images, the shape of the glass bottle G, etc., is extracted from the differential information between the images, and the glass bottle G, etc., is also subjected to color identification from a color information of a proper part.

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 for identifying an object, a glass bottle or a fragment thereof (hereinafter, referred to as a glass bottle, etc.), and further identifying and collecting the color of the object.

【0002】[0002]

【従来の技術】一般的に、ガラスビンの色識別に際して
は、ガラスビンに対し蛍光灯などを照射して当該ガラス
ビンを、例えばCCDカメラなどで撮像し、その撮像情
報を光電変換素子によりR,G,B信号に変換し、これ
ら信号のそれぞれについての濃淡画像処理により色識別
がなされている。しかし、その破片を色識別して回収し
ようとした例は見当たらない。
2. Description of the Related Art In general, when a color of a glass bottle is identified, a fluorescent lamp or the like is applied to the glass bottle to take an image of the glass bottle with, for example, a CCD camera or the like. The signals are converted into B signals, and color identification is performed by grayscale image processing for each of these signals. However, there is no example of trying to collect the fragments by color identification.

【0003】[0003]

【発明が解決しようとする課題】蛍光灯などを照射のた
めの光源として用いる場合、例えば周囲温度の変化や蛍
光灯などの照明器具の経年変化などにより照度や輝度レ
ベルが変動するために、正確に形状を抽出して適切な部
分の色情報を利用するという画像処理が行えなくなり、
色識別精度が低下するという不具合が生ずる。この不具
合に対処する一つの方法として、例えば温度変化を起こ
させないように恒温状態に保つようにすることも考えら
れるが、恒温状態に保つための空調設備に莫大な費用を
要し対費用効果の観点から問題がある。また、上記温度
変化に対処する別の方法として、例えば特開平8−13
1964号公報に開示されている方法があり、これは、
温度によりI=(R+G+B)/3,r=R/I,g=
G/IのI,r,gパラメータ(I:輝度、r:赤成分
比率、g:緑成分比率)が変化することを前提に、初期
の色テーブル設定時のI,r,g基準範囲について、温
度変化があった時に当該I,r,g基準範囲を設定し直
して対応するようにしたものである。しかし、色識別精
度を低下させる原因は、上述のように温度変化だけでな
く照明器具の経年変化など種々あり、これら全ての原因
に対応して基準範囲を設定し直すことは極めて煩雑な作
業である。更に、ガラスビンに対する方法であり、ガラ
スビンよりはるかに小さいガラスビン破片が混在して流
れるラインにおいて、ガラスビン破片と判断し色情報を
抽出すべき部分をどのように決定したらよいかについて
は述べられていない。
When a fluorescent lamp or the like is used as a light source for irradiation, since the illuminance and the luminance level fluctuate due to, for example, changes in the ambient temperature and aging of the lighting equipment such as the fluorescent lamp, the accuracy of the light source is reduced. Image processing to extract the shape to use the color information of the appropriate part
A disadvantage occurs in that the color identification accuracy is reduced. One way to deal with this inconvenience is to maintain the temperature at a constant temperature, for example, so as not to cause temperature changes. There is a problem from a viewpoint. As another method for coping with the temperature change, for example, Japanese Patent Laid-Open No.
There is a method disclosed in US Pat.
I = (R + G + B) / 3, r = R / I, g =
Assuming that the I, r, g parameters of G / I (I: luminance, r: red component ratio, g: green component ratio) change, the I, r, g reference ranges at the time of initial color table setting When the temperature changes, the I, r, and g reference ranges are reset to cope with the change. However, there are various causes for lowering the color identification accuracy, such as not only the temperature change but also the aging of the lighting equipment as described above, and resetting the reference range in response to all of these causes is an extremely complicated operation. is there. Furthermore, this method is for a glass bottle, and does not describe how to determine a portion from which color information is to be extracted by determining a glass bottle fragment in a line in which glass bottle fragments far smaller than the glass bottle are mixed and flowing.

【0004】本発明の目的は、色識別精度を低下させる
原因、例えば照度や輝度レベルの変動などにほとんど影
響されないで物体の形状を正確に認識でき色識別のため
に適切な部分の色情報を取得して画像処理する方法を提
供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to accurately recognize the shape of an object without being largely affected by a cause of a decrease in color identification accuracy, for example, a change in illuminance or luminance level, and to provide color information of an appropriate portion for color identification. An object of the present invention is to provide a method of acquiring and performing image processing.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、本発明の請求項1に係る物体の色識別方法は、照射
された物体の画像を取込んでその物体の色を識別する場
合に、物体の画像を取込む直前若しくは直後に当該物体
の背景画像を取込み、両画像の輝度を差分して得られる
画像間差分情報から物体の形状を抽出し、その形状内の
所定の部分の色情報により当該物体の色識別を行う。し
たがって、かかる色識別に際しては、直前若しくは直後
の画像の、輝度との差分により形状を抽出しているの
で、例えば照度や輝度レベルの変動はもちろん、照明器
具の経年変化などにほとんど影響されないで形状を抽出
し適切な部分の色情報を得て正確な色識別が可能にな
る。
According to a first aspect of the present invention, there is provided a method for identifying a color of an object, comprising the steps of: Before or immediately after the image of the object is captured, the background image of the object is captured, and the shape of the object is extracted from the difference information between images obtained by subtracting the brightness of the two images. The color of the object is identified based on the color information. Therefore, at the time of such color identification, since the shape is extracted by the difference from the luminance of the immediately preceding or succeeding image, for example, the shape is hardly affected by the aging of the lighting equipment as well as the fluctuation of the illuminance and the luminance level. , And color information of an appropriate portion is obtained to enable accurate color identification.

【0006】[0006]

【発明の実施の形態】本発明の第1の実施の形態を図1
及び2を参照して説明する。本実施の形態に係る色識別
方法は、搬送ラインで搬送されてくるガラスビン等(物
品)を色識別して回収するためのリサイクルシステムに
用いられる。本色識別方法を図1及び2を参照して説明
する。搬送コンベア1の所定位置に、例えばカラー用C
CDカメラ2が設置され、このCCDカメラ2の撮像素
子からの信号、即ちRGB信号が色識別装置(図示せ
ず)に供給されるようになっている。そして、上述の所
定位置を照射するための、蛍光灯などの照明器具(図示
せず)が設置されており、この照明器具によってガラス
ビン等(物品)Gが照射される。しかるに、当該照射方
法には、拡散照明や透過照明、斜光照明など種々ある
が、本色識別方法によれば、いずれの照明方法によって
も精確に色識別が可能である。
FIG. 1 shows a first embodiment of the present invention.
This will be described with reference to FIGS. The color identification method according to the present embodiment is used in a recycling system for identifying and collecting glass bottles (articles) and the like (articles) conveyed on a conveyance line. The present color identification method will be described with reference to FIGS. At a predetermined position on the conveyor 1, for example, a color C
A CD camera 2 is installed, and a signal from an image sensor of the CCD camera 2, that is, an RGB signal is supplied to a color identification device (not shown). An illuminator (not shown) such as a fluorescent lamp for irradiating the above-described predetermined position is provided, and the illuminator irradiates an (article) G such as a glass bottle. However, there are various illumination methods, such as diffuse illumination, transmitted illumination, and oblique illumination. According to the present color identification method, accurate color identification can be performed by any of the illumination methods.

【0007】本色識別方法による色識別手順を図1を参
照して説明する。但し、図1(A)は、ガラスビン等G
が所定位置に搬送されて来る直前の正面図及び平面図で
あり、図1(B)は、ガラスビン等Gが所定位置に搬送
されて来た時の正面図及び平面図である。搬送コンベア
1によって所定位置のところに搬送されてきたガラスビ
ン等GをCCDカメラ2で撮像する直前に、ガラスビン
等Gが無い状態(所定位置に搬送されてきていない状
態)のところを撮像して、当該ガラスビン等Gの背景画
像を取込んでおく。そして、ガラスビン等Gが所定位置
に搬送されて来た時に撮像してガラスビン等Gの画像を
取込む。このとき取込まれる画像は、ガラスビン等Gに
加えて背景が撮像された画像のものであることは言うま
でもない。これらの両画像は、CCDカメラ2の撮像素
子からのRGB信号として色識別装置にそれぞれ供給さ
れる。そして、色識別装置では、両画像においてI=
0.3R+0.6G+0.1Bに従って画素毎の輝度が
計算され、ガラスビン等Gがないときの所定領域の画素
毎の輝度IiREF、ガラスビン等Gがあるときの所定
領域の画素毎の輝度Iが求められる。画素毎にΔI
=IiREF−Iを求め、その値が所定の値を越えた
ときと、そうでないときの2値化処理して形状を抽出し
記憶された形状データと比較してガラスビン等Gの判別
を行うとともに、抽出された形状内の適切な部分(例え
ば中央)の色情報で色識別する。
A color identification procedure according to the present color identification method will be described with reference to FIG. However, FIG. 1A shows a glass bottle G or the like.
FIG. 1B is a front view and a plan view immediately before being conveyed to a predetermined position, and FIG. 1B is a front view and a plan view when a glass bottle G or the like is conveyed to a predetermined position. Immediately before the CCD camera 2 captures an image of the glass bottle G or the like conveyed to a predetermined position by the conveyor 1, an image of a state where the glass bottle G or the like is not present (a state where the glass bottle G is not conveyed to a predetermined position) is taken. The background image of the glass bottle G or the like is fetched. Then, when the glass bottle G or the like is conveyed to a predetermined position, an image is taken and the image of the glass bottle G is taken in. Needless to say, the image captured at this time is an image in which the background is captured in addition to the glass bottle G or the like. These two images are respectively supplied to the color identification device as RGB signals from the imaging device of the CCD camera 2. Then, in the color identification device, I =
The luminance of each pixel is calculated in accordance with 0.3R + 0.6G + 0.1B, and the luminance I iREF of each pixel in a predetermined area when there is no glass bottle G and the luminance I i of each pixel in a predetermined area when there is a glass bottle G etc. Desired. ΔI i for each pixel
= I iREF -I i is obtained, and when the value exceeds a predetermined value and when it is not, a binarization process is performed to extract the shape and compare it with the stored shape data to determine the glass bottle G or the like. At the same time, the color is identified by the color information of an appropriate part (for example, the center) in the extracted shape.

【0008】また、ガラスビン等Gがない場合の画素毎
の輝度は、新しく取り込んだもののみでなく、それより
も一度前に取り込んだ、ガラスビン等Gがない場合の画
素毎の輝度との平均値(IiREF+Ii−1REF
を、ガラスビン等Gの色識別の際のガラスビン等Gがな
いときの輝度としてもよい。ガラスビン等Gの撮像を行
った直後に背景の画像を取り込む処理を行う場合にはよ
り適した方法である。また、背景画像を取り込んだとき
に、その画像を2値化処理してベルトの位置も定めてお
き、色識別の際その部分を除いて色識別を行う。
The luminance of each pixel in the case where there is no glass bottle G is not only the newly acquired one, but also the average value of the luminance of each pixel which was previously taken in and without the glass bottle G etc. (I iREF + I i-1REF )
May be the luminance when there is no glass bottle G or the like in the color identification of the glass bottle G or the like. This is a more suitable method when a process of capturing a background image immediately after capturing an image of a glass bottle G or the like is performed. Also, when a background image is captured, the position of the belt is determined by binarizing the image, and color identification is performed excluding that portion when performing color identification.

【0009】このように、本色識別方法では、ガラスビ
ン等Gを撮像する直前若しくは直後の背景画像を取込ん
でおき、ガラスビン等Gがある場合を撮像し、画素毎の
両者の輝度の差分値より2値化処理してガラスビン等G
の形状を抽出し、抽出した形状内の適切な部分から色識
別するので、例えば照度や輝度レベルの変動はもとよ
り、照明器具の経年変化などにほとんど影響されないで
形状が抽出でき正確な色識別が可能になる。実際、図2
に示すように、当初の照度レベルは、時間の経過に伴な
って低下しており、例えば当該照度レベルPのR,G,
B成分を基準に、照度レベルQで照射されたガラスビン
等GについてのR,G,B成分を比較したのでは、特に
白色のガラスビン等Gでは正確な画像処理は行えず、こ
のために形状の判別及びそれに基づく色識別精度が低下
してしまう。しかし、ガラスビン等Gの画像を取込む直
前若しくは直後の照度レベルを基準として画像処理すれ
ば(同図において、例えばガラスビン等Gの画像を取込
んだ時の照度レベルNに対し、ガラスビン等Gの画像を
取込む直前の照度レベルMを基準として画像処理すれ
ば)、照度レベルの変動にほとんど影響されずに、正確
な画像処理が行えるために色識別精度が低下することは
ない。
As described above, in the present color identification method, the background image immediately before or immediately after the image of the glass bottle G or the like is captured, an image of the case where the glass bottle G or the like is present is captured, and the difference between the luminances of the two is obtained for each pixel. G for binarization, etc.
Since the shape is extracted and the color is identified from the appropriate part in the extracted shape, the shape can be extracted without being affected by, for example, the aging of the lighting equipment as well as the fluctuation of the illuminance and the brightness level, and accurate color identification can be performed. Will be possible. In fact, FIG.
As shown in FIG. 7, the initial illuminance level decreases with the passage of time. For example, the R, G,
Comparing the R, G, and B components of the glass bottle G or the like irradiated at the illuminance level Q with reference to the B component, accurate image processing cannot be performed particularly with a white glass bottle G or the like. The discrimination and the color discrimination accuracy based thereon are reduced. However, if the image processing is performed based on the illuminance level immediately before or immediately after the image of the glass bottle G or the like is taken (in FIG. If the image processing is performed on the basis of the illuminance level M immediately before the image is taken in), accurate image processing can be performed with almost no influence of the fluctuation of the illuminance level, so that the color identification accuracy does not decrease.

【0010】[0010]

【発明の効果】本発明の物体の画像処理方法によれば、
色識別精度を低下させる原因、例えば照度や輝度レベル
の変動などにほとんど影響されないで物体の形状が抽出
でき正確にその形状の判別と色の識別ができる。
According to the object image processing method of the present invention,
The shape of an object can be extracted without being largely affected by a cause of a decrease in color identification accuracy, for example, a change in illuminance or luminance level, and the shape can be accurately identified and the color can be identified.

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

【図1】 本発明の実施の形態に係る画像処理方法での
画像取込の説明図である。
FIG. 1 is an explanatory diagram of image capture in an image processing method according to an embodiment of the present invention.

【図2】 時間経過に伴なう照度レベルの推移図であ
る。
FIG. 2 is a transition diagram of an illuminance level over time.

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

1 搬送コンベア 2 CCDカメラ G ガラスビン等 1 Conveyor 2 CCD camera G Glass bottle etc.

フロントページの続き (72)発明者 大橋 明 東京都新宿区西新宿一丁目7番2号 富士 重工業株式会社内 (72)発明者 岡田 敬夫 東京都大田区池上五丁目6番16号 池上通 信機株式会社内 (72)発明者 上野 俊二 東京都大田区池上五丁目6番16号 池上通 信機株式会社内 Fターム(参考) 5B057 AA02 BA02 DA08 DA12 DB02 DB06 DB09 DC09 DC25 DC32Continuing on the front page (72) Inventor Akira Ohashi 1-7-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo Inside Fuji Heavy Industries Ltd. (72) Inventor Takao Okada 5-6-1, Ikegami, Ota-ku, Tokyo Shinsuke Ikegami Incorporated (72) Inventor Shunji Ueno 5-6-1 Ikegami Ota-ku, Tokyo Ikegami Tsushin Fuki Co., Ltd. F-term (reference) 5B057 AA02 BA02 DA08 DA12 DB02 DB06 DB09 DC09 DC25 DC32

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 照射された物体の画像を取込んでその物
体の色を識別する色識別方法において、前記物体の画像
を取込む直前若しくは直後に前記物体の背景画像を取込
み、両画像の輝度を差分して得られる画像間差分情報か
ら前記物体の形状を抽出し、色を識別する部位を判断す
ることを特徴とする物体の画像処理方法。
In a color identification method for capturing an image of an illuminated object and identifying the color of the object, a background image of the object is captured immediately before or immediately after capturing the image of the object, and the luminance of both images is determined. An image processing method for an object, characterized in that the shape of the object is extracted from the inter-image difference information obtained by subtracting the shape of the object, and a part for identifying a color is determined.
JP2001003142A 2001-01-11 2001-01-11 Method for processing object image Pending JP2002207994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001003142A JP2002207994A (en) 2001-01-11 2001-01-11 Method for processing object image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001003142A JP2002207994A (en) 2001-01-11 2001-01-11 Method for processing object image

Publications (1)

Publication Number Publication Date
JP2002207994A true JP2002207994A (en) 2002-07-26

Family

ID=18871537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001003142A Pending JP2002207994A (en) 2001-01-11 2001-01-11 Method for processing object image

Country Status (1)

Country Link
JP (1) JP2002207994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680320B2 (en) 2004-12-27 2010-03-16 Omron Corporation Image processing method, substrate inspection method, substrate inspection apparatus and method of generating substrate inspection data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06225328A (en) * 1993-01-27 1994-08-12 Hitachi Ltd Object extracting equipment
JPH08131964A (en) * 1994-11-14 1996-05-28 Shinko Electric Co Ltd Method of discriminating color of bottle
JPH08138028A (en) * 1994-11-11 1996-05-31 Tec Corp Article recognition device
JPH1196361A (en) * 1996-08-29 1999-04-09 Sanyo Electric Co Ltd Device and method for extracting object and medium recording object extraction program and object detection program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06225328A (en) * 1993-01-27 1994-08-12 Hitachi Ltd Object extracting equipment
JPH08138028A (en) * 1994-11-11 1996-05-31 Tec Corp Article recognition device
JPH08131964A (en) * 1994-11-14 1996-05-28 Shinko Electric Co Ltd Method of discriminating color of bottle
JPH1196361A (en) * 1996-08-29 1999-04-09 Sanyo Electric Co Ltd Device and method for extracting object and medium recording object extraction program and object detection program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680320B2 (en) 2004-12-27 2010-03-16 Omron Corporation Image processing method, substrate inspection method, substrate inspection apparatus and method of generating substrate inspection data

Similar Documents

Publication Publication Date Title
CA2681817C (en) Lumber inspection method, device and program
JP5239314B2 (en) Object recognition method and board visual inspection apparatus using this method
WO2003019274A1 (en) Method for sorting ununiformity of liquid crystal display panel, sorting apparatus, and information recorded medium with recorded program for executing this sorting
US20090046922A1 (en) Surface Inspecting Apparatus
JP2015143656A (en) Inspection apparatus and inspection method
JP2007292576A (en) Visual inspection device for electronic component
JP2009229197A (en) Linear defect detecting method and device
JP2000180374A (en) Method for detecting defect
JP2000163579A (en) Appearance inspection method and device
US8780194B2 (en) Component presence/absence judging apparatus and method
JP2002243655A (en) Method and equipment for visual inspection of electronic component
JP2002207994A (en) Method for processing object image
JP2009080004A (en) Inspection device
JP2005147911A (en) Method and apparatus for pixel evaluation of display panel
JP4967132B2 (en) Defect inspection method for object surface
TWI447382B (en) Wood inspection methods and apparatus and program
JPH06236162A (en) Test method for defect of color liquid crystal panel and device for test
JPH07113758A (en) Binary calculating method in appearance inspection device
JP2001083474A (en) Method for inspecting liquid crystal display panel
JP2006242584A (en) Irregularity defect detecting method and apparatus
KR0165452B1 (en) Segment checking method of lcd
JPH1058919A (en) Color line inspection device
JPH1185980A (en) Method and device for inspecting print quantity of printed metal plate
KR0152885B1 (en) Classifying method of soldering for pcb
JP2001209793A (en) Method for classifying and detecting pattern defect

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20071101

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071101

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100907

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110125