JPH09185711A - Shape recognizing method and its device - Google Patents

Shape recognizing method and its device

Info

Publication number
JPH09185711A
JPH09185711A JP7342875A JP34287595A JPH09185711A JP H09185711 A JPH09185711 A JP H09185711A JP 7342875 A JP7342875 A JP 7342875A JP 34287595 A JP34287595 A JP 34287595A JP H09185711 A JPH09185711 A JP H09185711A
Authority
JP
Japan
Prior art keywords
image
color
shape
background
ratio
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
JP7342875A
Other languages
Japanese (ja)
Inventor
Yasushi Yoneda
康司 米田
Hideo Katsumi
栄雄 勝見
Kohei Nishikawa
晃平 西川
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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel 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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP7342875A priority Critical patent/JPH09185711A/en
Publication of JPH09185711A publication Critical patent/JPH09185711A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To recognize the shape of an object by clearly separating a background part and a shadow part. SOLUTION: This device places the object 2 in the background of a uniform reflection rate, arranges a light source 3 to illuminate the object 2 so as not to generate a shadow at the object 2 itself and recognizes the shape of the object 2 from the image of the reflected light. In this case, the reflected light is collor-resolved to not less than two of different wave-length areas to pick up the image of each resolved color and two kinds of color-resolved images in the color-resolved image are specified to recognize the shape of the object based on the ratio of the two kinds of specified color resolving signals.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,食品,木材等の自
然物のように表面が光を乱反射する対象物の形状を正確
に認識する方法及び装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for accurately recognizing the shape of an object whose surface diffuses light, such as a natural object such as food or wood.

【0002】[0002]

【従来の技術】各種対象物を光学的に認識する方法とし
て下記の〜に示すような種々の方法が開発されてい
る。 透過照明(バックライト照明)で対象物を照射し,モ
ノクロ(白黒)カメラによって撮像した濃淡画像を2値
化処理し,対象物の領域を抽出する方法(「映像情報」
1991年7月号の第37ページ〜第43ページ)。…
この場合透過拡散照明によって対象物の影が出来ないよ
うにしている。 反射照明(明視野照明や一様照明)で対象物を照明
し,モノクロカメラによって撮像した濃淡画像を2値化
処理して,対象物の領域を抽出する方法(「映像情報」
1991年7月号の第37ページ〜第43ページ)。…
この場合,同軸落射照明や複数光源を多方向から照明す
ることで,対象物の影が出来ないようにしている。 複数の光源からなる照明装置で順次単独で点灯した状
態で撮像して得た画像から,各光源からの照明によって
生じる認識対象物の影領域の画像を抽出し,各影領域の
画像の論理和演算によって認識対象の形状を認識する方
法(特開閉6−307833号)。…この場合対象物と
の影の境界の濃淡画像レベルの差を利用している。 検査員の判定と一致しうる「あかめ海苔」の検出のた
めに,479nmと630nmの波長の反射率を測定
し,この2波長の反射率の比を求め,これと評価基準値
とを比較して,上記「あかめ海苔」の品質を評価する方
法(特開閉7−27698号) ガラスのカレット(屑ガラス)の色を識別する方法と
して,波長の異なる2種の特定光を検出し,その強度差
から上記カレットの色識別する方法(特開閉3−200
025号)
2. Description of the Related Art As a method for optically recognizing various objects, various methods as shown in the following (1) to (4) have been developed. A method of illuminating an object with transmitted illumination (backlight illumination), binarizing a grayscale image captured by a monochrome (black and white) camera, and extracting a region of the object (“video information”).
Page 37-43 of the July 1991 issue). …
In this case, the shadow of the object is prevented from being formed by the transmission diffusion illumination. A method of illuminating an object with reflected illumination (brightfield illumination or uniform illumination), binarizing the grayscale image captured by a monochrome camera, and extracting the area of the object (“video information”).
Page 37-43 of the July 1991 issue). …
In this case, the shadow of the object is prevented by illuminating the coaxial epi-illumination or multiple light sources from multiple directions. An image of the shadow area of the recognition object generated by the illumination from each light source is extracted from the images obtained by sequentially illuminating with an illuminator consisting of multiple light sources, and the logical sum of the images of each shadow area is extracted. A method of recognizing the shape of a recognition target by calculation (special opening / closing 6-307833). ... In this case, the difference between the grayscale image level of the shadow boundary with the object is used. In order to detect "red seaweed" that can agree with the inspector's judgment, the reflectance of the wavelengths of 479 nm and 630 nm is measured, the ratio of the reflectance of these two wavelengths is calculated, and this is compared with the evaluation reference value. Then, the method to evaluate the quality of "Akame nori" mentioned above (special opening and closing No. 7-27698) As a method to distinguish the color of glass cullet (scrap glass), two types of specific light with different wavelengths are detected and their intensity is detected. How to identify the color of the cullet from the difference
(025)

【0003】[0003]

【発明が解決しようとする課題】の場合,透過光を検
出するものであるため,対象物と照明光源との間に光透
過体を設ける必要があり,製造工程等で連続搬送される
対象物を自動判定するような場合には,上記光透過体が
経時的に汚れて透過率が変化して受光量が変化するの
で,安定して測定することができない欠点がある。また
自動化する場合,通常対象物をベルトコンベア等で搬送
するので,透過体を利用して対象物を撮像することは現
実的でない。の場合,照明光源の光量変動や照明むら
によって対象物の濃淡画像レベルが変動し,対象物の領
域を安定して抽出出来ない。の場合,何度も照明−撮
像を繰り返す必要があり,高速で搬送されつつある対象
物を正確に認識することに無理がある。また多数の光源
が必要で,コスト高となる。の場合,対象物の色彩に
よる品質の判定を行うのみで,対象物の影や背景を除外
して対象物の形状を抽出する技術ではない。の場合,
と同様,対象物の影や背景を除外して対象物の形状を
抽出することはできない。従って本発明が目的とすると
ころは,自動搬送されつつある対象物について光透過体
を設けることなく,照明光源の光量変動や照明むらなど
に影響されることなく,また高速で処理することができ
る対象物認識方法及び装置であって,対象物の影及び背
景を除去して対象物自身の形状のみを正確に抽出するこ
とのできる対象物の形状認識方法及び装置を提供するこ
とである。
In the case of the invention, since the transmitted light is detected, it is necessary to provide a light transmitting body between the object and the illumination light source, and the object is continuously conveyed in the manufacturing process. In the case of automatically determining, the above-mentioned light transmissive body is contaminated with time, the transmittance changes, and the amount of received light changes, so that there is a drawback that stable measurement cannot be performed. Further, in the case of automation, since the target object is usually conveyed by a belt conveyor or the like, it is not realistic to image the target object using a transparent body. In the case of 1, the grayscale image level of the target object fluctuates due to fluctuations in the light amount of the illumination light source and uneven lighting, and it is not possible to stably extract the target object region. In this case, it is necessary to repeat the illumination-imaging many times, and it is impossible to accurately recognize the object being conveyed at high speed. In addition, a large number of light sources are required, resulting in high cost. In this case, the quality of the object is only determined by the color, and the shape of the object is not extracted by excluding the shadow or background of the object. in the case of,
Similarly to, it is not possible to extract the shape of the object by excluding the shadow and background of the object. Therefore, the object of the present invention is to provide a high-speed processing for an object that is being automatically conveyed without providing a light-transmitting body, without being affected by fluctuations in the light amount of the illumination light source and uneven illumination. A method and apparatus for recognizing an object, which is capable of accurately extracting only the shape of the object itself by removing the shadow and background of the object.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に方法面における本発明は,背景中に対象物を置き,当
該対象物自身には影が生じないように光源を配置して該
対象物を照明し,その反射光の画像から当該対象物の形
状を認識する方法において,使用しようとする2種の光
の波長帯域において高い反射率を示し,その比がほぼ1
となる背景中に認識対象物を置き,上記反射光を波長域
の異なる2以上に色分解し,各分解された色ごとの画像
を撮像すると共に,上記色分解画像の中の上記2種の色
分解画像を特定し,特定された2種の色分解画像信号の
比に基づいて上記対象物の形状を認識することを特徴と
する形状認識方法である。また装置面における本発明
は,背景中に対象物を置き,当該対象物自身には影が生
じないように光源を配置して該対象物を照明し,その反
射光の画像から当該対象物の形状を認識する装置におい
て,使用しようとする2種の光の波長帯域において高い
反射率を示し,その比がほぼ1となる背景中に認識対象
物を置き,上記反射光を波長域の異なる2以上に色分解
し,各分解された色ごとの画像を撮像する画像入力手段
と,上記画像入力手段により得られた色分解画像の中の
上記2種の色分解画像を特定し,特定された2種の色分
解画像信号の比を算出する分解比算出手段とを具備し,
上記分解比算出手段で得られた比の値と所定値とを比較
して上記対象物の形状を認識することを特徴とする形状
認識装置である。
In order to achieve the above object, the present invention in the aspect of the method is to place an object in the background and arrange a light source so that the object itself is not shaded. In the method of illuminating an object and recognizing the shape of the object from the image of the reflected light, it shows high reflectance in the wavelength bands of the two kinds of light to be used, and the ratio is almost 1
An object to be recognized is placed in the background, and the reflected light is color-separated into two or more different wavelength regions, and an image for each separated color is captured. A shape recognition method characterized in that a color separation image is specified, and the shape of the object is recognized based on a ratio of the specified two kinds of color separation image signals. Further, in the present invention in terms of the device surface, the object is placed in the background, the light source is arranged so that the object itself does not have a shadow, and the object is illuminated. In a device for recognizing a shape, a recognition target object is placed in the background where the reflectance is high in the wavelength bands of two kinds of light to be used and the ratio is approximately 1, and the reflected light is different in wavelength range. An image input unit that performs color separation as described above and captures an image for each separated color, and the two types of color separated images in the color separated images obtained by the image input unit are specified and specified. A separation ratio calculating means for calculating a ratio of the two types of color separation image signals,
The shape recognition device is characterized by recognizing the shape of the object by comparing the value of the ratio obtained by the decomposition ratio calculation means with a predetermined value.

【0005】[0005]

【発明の実施の形態】以下添付図面を参照して,本発明
を具体化した実施形態につき説明し,本発明の理解に供
する。尚,以下の実施形態は,本発明を具体化した一例
であって,本発明の技術的範囲を限定する性格のもので
はない。ここに,図1は本発明の一実施形態に係る形状
認識装置の概略を示すブロック図,図2は対象物の色彩
によって周波数ごとの反射率が異なることを示すグラ
フ,図3は背景について周波数ごとの反射率に差がない
ことを示すグラフ,図4は対象物(ちくわ)について撮
像された画像,図5は従来の方法で得た2値化画像,図
6は本発明方法により得られた撮像画像である。まず本
発明の一実施形態にかかる形状認識装置の概略を図1を
用いて説明する。図において,白色等の分光反射率が可
視光領域である400nmから700nmにわたり一様
な背景1中の対象物(この場合“ちくわ”)2に照明光
源3から光が照射される。対象物2及びその近傍の背景
部分は二次元撮像装置4で撮像される。該撮像装置4は
3板式のカラーテレビカメラでR〔赤〕,G〔緑〕,B
〔青〕の3成分を分解して撮像する。上記撮像装置4か
らの出力は,ビデオ信号としてアナログ/デジタル変換
器(A/D変換器)5に伝送され,A/D変換された
後,画像処理装置6で後記するように画像処理される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention. The following embodiments are examples of embodying the present invention, and are not of the nature to limit the technical scope of the present invention. Here, FIG. 1 is a block diagram showing an outline of a shape recognition apparatus according to an embodiment of the present invention, FIG. 2 is a graph showing that the reflectance for each frequency differs depending on the color of the object, and FIG. 4 is a graph showing that there is no difference in reflectance for each object, FIG. 4 is an image taken of an object (chikuwa), FIG. 5 is a binarized image obtained by the conventional method, and FIG. 6 is obtained by the method of the present invention. It is a captured image. First, an outline of a shape recognition device according to an embodiment of the present invention will be described with reference to FIG. In the figure, an illumination light source 3 irradiates an object (“chikuwa” in this case) 2 in a background 1 in which the spectral reflectance of white or the like is uniform from 400 nm to 700 nm in the visible light region. The object 2 and the background portion in the vicinity thereof are imaged by the two-dimensional imaging device 4. The image pickup device 4 is a three-plate type color television camera, which is R [red], G [green], and B.
An image is obtained by decomposing the three components of [blue]. The output from the image pickup device 4 is transmitted as a video signal to an analog / digital converter (A / D converter) 5, A / D converted, and then image-processed by an image processing device 6 as described later. .

【0006】画像処理装置6では,撮像した色分解画像
の中から2種の色分解画像(この例では,R〔赤〕とB
〔青〕)の比を特徴量(α)として演算し,所定値と比
較して対象物2の形状識別を行い,対象物2の領域とそ
の他の領域とを区別するための2値化処理などを施し
て,その結果を演算結果出力装置7に出力する。また,
その結果は画像モニタ8にも出力されて対象物2の領域
抽出された画像を表示する。この実施形態では対象物2
からの反射光の画像から,背景1の部分及び影の部分を
除去して対象物2自身の形状を抽出するので,対象物2
の内部にそれ自身の影が生じると抽出精度が低下する事
が考えられる。そのため,照明光源3は対象物内部に影
が生じないような向きから光を照射する必要がある。但
し余程凸凹の激しい対象物でないとこのような内部の影
が生じることは有り得ないので,通常の食品等の対象物
については,1〜2個の照明光源3を配置すれば足り
る。この実施形態では2本一組の蛍光灯を使用してい
る。上記画像処理装置6における画像処理の内容につい
て,詳しく説明する。この実施形態では,使用しようと
する2種の光の波長帯域において高い反射率を示し,そ
の比がほぼ1となる背景中に認識対象物を置く。上記の
ような背景の一例として白色板が用いられている。一
方,対象物である“ちくわ”2にはその表面に焦げ目が
付いており,焼き上がりの状態に応じて生地に近い白黄
色系の色の部分から,薄茶色,茶色及び焦げ茶色へと変
化している。
In the image processing device 6, two types of color separation images (in this example, R [red] and B [color red]) are selected from the captured color separation images.
A binarization process for calculating the ratio of [blue]) as a feature amount (α), comparing it with a predetermined value to identify the shape of the object 2, and distinguishing the area of the object 2 from other areas. Etc. and outputs the result to the operation result output device 7. Also,
The result is also output to the image monitor 8 to display the image of the extracted area of the object 2. In this embodiment, the object 2
Since the shape of the object 2 itself is extracted by removing the background 1 part and the shadow part from the image of the reflected light from the object 2
It is conceivable that the extraction accuracy will decrease if a shadow of itself occurs inside the. Therefore, the illumination light source 3 needs to irradiate light from a direction in which a shadow does not appear inside the object. However, such an internal shadow is unlikely to occur unless the object is extremely uneven, so that it is sufficient to arrange one or two illumination light sources 3 for an object such as ordinary food. In this embodiment, a set of two fluorescent lamps is used. The contents of the image processing in the image processing device 6 will be described in detail. In this embodiment, the object to be recognized is placed in the background where the reflectance is high in the wavelength bands of the two kinds of light to be used and the ratio thereof is approximately 1. A white plate is used as an example of the background as described above. On the other hand, the object "Chikuwa" 2 has a brown surface, and changes from a white-yellow color close to the dough to a light brown, brown or dark brown depending on the state of baking. doing.

【0007】図2の(a),(b),(c)は,それぞ
れ対象物の焼き具合に応じた白黄色(a)),薄茶色
(b),焦げ茶色(c)の3色の分光反射率分布を示
す。波長域は400nm〜700nmである。図1の撮
像装置4の色成分で言えば,400〜500nmが青色
〔B〕,500〜600nmが緑色〔G〕,600〜7
00nmが赤色〔R〕にほぼ対応する。対象物2の図2
に示す(a),(b),(c)の焼き具合に応じて分光
反射率分布が変わっていることから,前記3つの色成分
領域〔R,G,B〕の値が対象物2内の場所によって変
わることが分かる。例えば,焦げ茶に対応する赤〔R〕
領域では絶対値が大きくその変化が小さく,また青色
〔B〕領域では総体的に小さくその変化が大きくなって
いることが分かる。一方,図3は,背景1として用いた
白色板の分光反射率分布を示す。背景の白色板の分光反
射率分布はほぼ一様で,前記3つの色成分領域〔R,
G,B〕の値はほぼ同じ値をとることが分かる。また対
象物周辺に出来る影は,光量レベルは変化するものの,
影の分光反射率分布は照明光源と白色板の分光特性で決
まり,その分布は白色板の分光反射率分布と同様周波数
によらず一様である。
2A, 2B, and 2C are three colors of white yellow (a), light brown (b), and dark brown (c), respectively, according to the baking condition of the object. The spectral reflectance distribution is shown. The wavelength range is 400 nm to 700 nm. Speaking of the color components of the image pickup device 4 in FIG. 1, 400 to 500 nm is blue [B], 500 to 600 nm is green [G], and 600 to 7.
00 nm almost corresponds to red [R]. Figure 2 of object 2
Since the spectral reflectance distributions change depending on the baking conditions of (a), (b), and (c) shown in (3), the values of the three color component regions [R, G, B] are within the object 2. You can see that it depends on the place. For example, red [R] corresponding to dark brown
It can be seen that in the region, the absolute value is large and the change is small, and in the blue [B] region, it is small and the change is large. On the other hand, FIG. 3 shows the spectral reflectance distribution of the white plate used as the background 1. The spectral reflectance distribution of the white plate in the background is almost uniform, and the three color component regions [R,
It can be seen that the values of G, B] are almost the same. In addition, although the shadow level around the object changes the light level,
The spectral reflectance distribution of the shadow is determined by the illumination source and the spectral characteristics of the white plate, and its distribution is uniform regardless of frequency, similar to the spectral reflectance distribution of the white plate.

【0008】上記のことから,3つの色成分〔R,G,
B〕の中から2種のの色成分を特定し,その2信号の比
を特徴量(α)とした場合を考えると(この実施形態で
は赤色〔R〕と青色〔B〕の組み合わせの場合が背景及
び影との差異が一番大きくなると判断して,その比R/
Bを特徴量αとする), ・照明が当たっている背景の部分は,RとBがほぼ等し
く,α=1 ・照明が当たっていない影の部分は,RとBがほぼ等し
く,α=1 ・対象物の部分は,焼き具合によってRとBの値が変化
し,α≠1 の関係が成り立つ。実際,対象物2の焼き具合によっ
て,生地に近い白黄色の場合αは1.2,薄茶色から焦
げ茶色の場合:α=1.2〜2.8の値を示すことが分
かった。このことから,本実施形態の対象物“ちくわ”
の場合,特徴量(α)の範囲が,α=1.2〜2.8の
範囲にある領域を対象物の領域として抽出することで,
対象物2を識別できる。本実施形態では,背景及び影と
対象物2を分離する観点にたち,画像演算処理を簡素化
するため,1.1をしきい値として,α≧1.1の点を
対象物として認識した。その結果が図4〜図6に示され
ている。
From the above, three color components [R, G,
Considering a case where two types of color components are specified from B] and the ratio of the two signals is used as the feature amount (α) (in this embodiment, in the case of a combination of red [R] and blue [B]). Determines that the difference between the background and the shadow is the largest, and the ratio R /
B is the feature value α), ・ R and B are almost equal in the background part illuminated, α = 1 ・ R and B are almost equal in the shadow part not illuminated, α = 1 ・ In the target part, the values of R and B change depending on the baking condition, and the relationship α ≠ 1 holds. In fact, depending on the baking condition of the target object 2, it was found that α is 1.2 when the color is white yellow, which is close to that of the dough, and α = 1.2 to 2.8 when the color is light brown to dark brown. From this, the object "Chiwa" of this embodiment
In the case of, by extracting the region in which the range of the feature amount (α) is α = 1.2 to 2.8 as the region of the object,
The object 2 can be identified. In the present embodiment, from the viewpoint of separating the object 2 from the background and the shadow, in order to simplify the image calculation processing, 1.1 is set as the threshold value, and points α ≧ 1.1 are recognized as the object. . The results are shown in FIGS.

【0009】図4は,図1に示す撮像光学系で対象物
“ちくわ”を撮像した結果を示す。図4から,対象物の
周辺に影が生じていることが分かる。図5は,従来技術
の一例として図4の画像データを適当なしきい値で2値
化処理した結果を示す。図5から対象物が正確に分離・
抽出出来ていないことが分かる。図6は,本実施形態の
方法で,前記特徴量(α)を演算し,α≧1.1を評価
基準として,対象物の領域抽出した結果を示す。図6か
ら,本実施形態方法により,対象物2を正確に分離・抽
出できていることが分かる。
FIG. 4 shows the result of imaging the object "chikuwa" with the imaging optical system shown in FIG. From FIG. 4, it can be seen that a shadow is generated around the object. FIG. 5 shows a result of binarizing the image data of FIG. 4 with an appropriate threshold value as an example of a conventional technique. Accurate separation of the object from Fig. 5
You can see that it has not been extracted. FIG. 6 shows the result of calculating the feature amount (α) by the method of the present embodiment and extracting the region of the object using α ≧ 1.1 as the evaluation criterion. From FIG. 6, it can be seen that the object 2 can be accurately separated and extracted by the method of this embodiment.

【0010】[0010]

【実施例】上記実施形態では背景1として白色板を用い
たが,背景及び影と対象物が2種の色成分比(=特徴
量)で分離出来る背景色であれば任意の色を選ぶことが
できる。また本発明では,対象物中に背景や影と同じ分
光反射率分布の部分があれば対象物から除外してしまう
ので,対象物として選択できない。その点,機械部品や
プラスチック部品の鏡面部分は,全反射するため白色部
分と同一部分として撮像されてしまうので,対象物とし
ては不適切であるが,本発明は最初に述べたように,た
とえばパン,練り製品(ちくわ,蒲鉾など),野菜,魚
介類等食品その他の自然物等,表面で光が乱反射するも
のを対象とするので,上記のような問題は生じない。
[Embodiment] Although a white plate is used as the background 1 in the above embodiment, any color can be selected as long as it is a background color in which the background and the shadow and the object can be separated by two kinds of color component ratios (= feature values). You can Further, in the present invention, if there is a portion of the spectral reflectance distribution that is the same as the background or the shadow in the object, it is excluded from the object and cannot be selected as the object. In that respect, the mirror surface portion of the mechanical component or the plastic component is totally reflected and thus is imaged as the same portion as the white portion, which is unsuitable as an object. The above problem does not occur because it is intended for items such as bread, paste products (chikuwa, kamaboko, etc.), vegetables, seafood, and other natural foods that have light diffusely reflected on the surface.

【0011】[0011]

【発明の効果】本発明に係る形状認識方法は以上述べた
ように,背景中に対象物を置き,当該対象物自身には影
が生じないように光源を配置して該対象物を照明し,そ
の反射光の画像から当該対象物の形状を認識する方法に
おいて,使用しようとする2種の光の波長帯域において
高い反射率を示し,その比がほぼ1となる背景中に認識
対象物を置き,上記反射光を波長域の異なる2以上に色
分解し,各分解された色ごとの画像を撮像すると共に,
上記色分解画像の中の上記2種の色分解画像を特定し,
特定された2種の色分解画像信号の比に基づいて上記対
象物の形状を認識することを特徴とする形状認識方法で
あり,また本発明に係る形状認識装置は上記したごと
く,背景中に対象物を置き,当該対象物自身には影が生
じないように光源を配置して該対象物を照明し,その反
射光の画像から当該対象物の形状を認識する装置におい
て,使用しようとする2種の光の波長帯域において高い
反射率を示し,その比がほぼ1となる背景中に認識対象
物を置き,上記反射光を波長域の異なる2以上に色分解
し,各分解された色ごとの画像を撮像する画像入力手段
と,上記画像入力手段により得られた色分解画像の中の
上記2種の色分解画像を特定し,特定された2種の色分
解画像信号の比を算出する分解比算出手段とを具備し,
上記分解比算出手段で得られた比の値と所定値とを比較
して上記対象物の形状を認識することを特徴とする形状
認識装置として構成されている。従って,透明体を介在
する必要がないので,その汚れに関する問題がなく,工
程の自動化等の自動検査に適用できる。また2種の色分
解画像信号の比を求めるものであるから,光源の光量変
動や照明むらの影響や,陰影いの濃淡レベルの場所によ
るばらつきによる影響がなく,さらに凹凸物体のの形
状,特に反射照明(明視野照明や一様照明)でも対象物
の陰影が出来やすい非定形の食品(ソーセージ,ちく
わ,パン等)の形状認識に適用して好適である。
As described above, the shape recognition method according to the present invention illuminates an object by placing the object in the background and arranging a light source so that the object itself does not have a shadow. , In the method of recognizing the shape of the object from the image of the reflected light, the object to be recognized is shown in the background where the reflectance is high in the wavelength bands of the two kinds of light to be used and the ratio is about 1. Then, the reflected light is color-separated into two or more different wavelength regions, and an image for each separated color is captured.
Specify the two types of color separation images in the color separation image,
The shape recognition method is characterized by recognizing the shape of the object on the basis of the ratio of the specified two types of color-separated image signals. Further, the shape recognition apparatus according to the present invention has the above background An object is placed, a light source is arranged so that a shadow does not appear on the object itself, the object is illuminated, and the shape of the object is recognized from an image of the reflected light. The object to be recognized is placed in the background where the reflectance is high in the wavelength bands of two kinds of light and the ratio is almost 1, and the reflected light is color-separated into two or more different wavelength ranges, and each separated color Image input means for picking up an image for each image, and the two kinds of color separation images in the color separation images obtained by the image input means are specified, and the ratio of the specified two kinds of color separation image signals is calculated. And a decomposition ratio calculation means for
The shape recognition device is configured to recognize the shape of the object by comparing the value of the ratio obtained by the decomposition ratio calculation means with a predetermined value. Therefore, since it is not necessary to interpose a transparent body, there is no problem regarding the stain and it can be applied to automatic inspection such as automation of the process. Further, since the ratio of the two types of color separation image signals is obtained, there is no influence due to fluctuations in the light amount of the light source, uneven lighting, and variations due to the shading level of the shading. It is suitable for application to shape recognition of non-standard foods (sausage, chikuwa, bread, etc.) that easily produce shadows on objects even with reflected illumination (bright field illumination or uniform illumination).

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

【図1】 本発明の一実施形態に係る形状認識装置の概
略を示すブロック図。
FIG. 1 is a block diagram showing an outline of a shape recognition device according to an embodiment of the present invention.

【図2】 対象物の色彩によって周波数ごとの反射率が
異なることを示すグラフ。
FIG. 2 is a graph showing that the reflectance for each frequency varies depending on the color of the object.

【図3】 背景について周波数ごとの反射率に差がない
ことを示すグラフ。
FIG. 3 is a graph showing that there is no difference in reflectance for each frequency with respect to the background.

【図4】 対象物(ちくわ)について撮像された画像。FIG. 4 is an image taken of an object (chikuwa).

【図5】 従来の方法で得た2値化画像。FIG. 5 is a binarized image obtained by a conventional method.

【図6】 本発明方法により得られた撮像画像本発明の
一実施形態に係る付き合わせ治具を示す斜視図。
FIG. 6 is a perspective view showing an image pickup image obtained by the method of the present invention, showing a fitting jig according to an embodiment of the present invention.

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

1…背景 2…対象物 3…照明光源 4…撮像装置 5…A/D変換装置 6…画像処理装置 7…演算結果出力装置 8…画像モニタ DESCRIPTION OF SYMBOLS 1 ... Background 2 ... Object 3 ... Illumination light source 4 ... Imaging device 5 ... A / D conversion device 6 ... Image processing device 7 ... Calculation result output device 8 ... Image monitor

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年3月28日[Submission date] March 28, 1996

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0005[Correction target item name] 0005

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0005】[0005]

【発明の実施の形態】以下添付図面を参照して,本発明
を具体化した実施形態につき説明し,本発明の理解に供
する。尚,以下の実施形態は,本発明を具体化した一例
であって,本発明の技術的範囲を限定する性格のもので
はない。ここに,図1は本発明の一実施形態に係る形状
認識装置の概略を示すブロック図,図2は対象物の色彩
によって周波数ごとの反射率が異なることを示すグラ
フ,図3は背景について周波数ごとの反射率に差がない
ことを示すグラフ,図4は対象物(ちくわ)のディスプ
レー上に表示された中間調画像,図5は従来の方法で得
た「ちくわ」のディスプレー上に表示された中間調画
像,図6は本発明方法により得られた「ちくわ」のディ
スプレー上に表示された中間調画像である。まず本発明
の一実施形態にかかる形状認識装置の概略を図1を用い
て説明する。図において,白色等の分光反射率が可視光
領域である400nmから700nmにわたり一様な背
景1中の対象物(この場合“ちくわ”)2に照明光源3
から光が照射される。対象物2及びその近傍の背景部分
は二次元撮像装置4で撮像される。該撮像装置4は3板
式のカラーテレビカメラでR〔赤〕,G〔緑〕,B
〔青〕の3成分を分解して撮像する。上記撮像装置4か
らの出力は,ビデオ信号としてアナログ/デジタル変換
器(A/D変換器)5に伝送され,A/D変換された
後,画像処理装置6で後記するように画像処理される。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention. The following embodiments are examples of embodying the present invention, and are not of the nature to limit the technical scope of the present invention. Here, FIG. 1 is a block diagram showing an outline of a shape recognition apparatus according to an embodiment of the present invention, FIG. 2 is a graph showing that the reflectance for each frequency differs depending on the color of the object, and FIG. Graph showing that there is no difference in reflectance, Fig. 4 is a halftone image displayed on the display of the object (chikuwa), and Fig. 5 is displayed on the display of "chikuwa" obtained by the conventional method. 6 is a halftone image displayed on the display of "CHIKUWA" obtained by the method of the present invention. First, an outline of a shape recognition device according to an embodiment of the present invention will be described with reference to FIG. In the figure, an illumination light source 3 is provided on an object (in this case, "chikuwa") 2 in a background 1 in which the spectral reflectance of white or the like is uniform from 400 nm to 700 nm in the visible light region.
Light is emitted from. The object 2 and the background portion in the vicinity thereof are imaged by the two-dimensional imaging device 4. The image pickup device 4 is a three-plate type color television camera, which is R [red], G [green], and B.
An image is obtained by decomposing the three components of [blue]. The output from the image pickup device 4 is transmitted as a video signal to an analog / digital converter (A / D converter) 5, A / D converted, and then image-processed by an image processing device 6 as described later. .

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Correction target item name] Brief description of drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

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

【図1】 本発明の一実施形態に係る形状認識装置の概
略を示すブロック図。
FIG. 1 is a block diagram showing an outline of a shape recognition device according to an embodiment of the present invention.

【図2】 対象物の色彩によって周波数ごとの反射率が
異なることを示すグラフ。
FIG. 2 is a graph showing that the reflectance for each frequency varies depending on the color of the object.

【図3】 背景について周波数ごとの反射率に差がない
ことを示すグラフ。
FIG. 3 is a graph showing that there is no difference in reflectance for each frequency with respect to the background.

【図4】 対象物(ちくわ)のディスプレー上に表示さ
れた中間調画像。
FIG. 4 is a halftone image displayed on a display of an object (chikuwa).

【図5】 従来の方法で得た「ちくわ」のディスプレー
上に表示された中間調画像。
FIG. 5 is a halftone image displayed on a display of “CHIKUWA” obtained by a conventional method.

【図6】 本発明方法により得られた「ちくわ」のディ
スプレー上に表示された中間調画像。
FIG. 6 is a halftone image displayed on the display of “CHIKUWA” obtained by the method of the present invention.

【符号の説明】 1…背景 2…対象物 3…照明光源 4…撮像装置 5…A/D変換装置 6…画像処理装置 7…演算結果出力装置 8…画像モニタ[Explanation of Codes] 1 ... Background 2 ... Object 3 ... Illumination light source 4 ... Imaging device 5 ... A / D conversion device 6 ... Image processing device 7 ... Calculation result output device 8 ... Image monitor

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図4[Correction target item name] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図4】 FIG. 4

【手続補正4】[Procedure amendment 4]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図5[Correction target item name] Fig. 5

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図5】 [Figure 5]

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図6[Correction target item name] Fig. 6

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図6】 FIG. 6

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 背景中に対象物を置き,当該対象物自身
には影が生じないように光源を配置して該対象物を照明
し,その反射光の画像から当該対象物の形状を認識する
方法において,使用しようとする2種の光の波長帯域に
おいて高い反射率を示し,その比がほぼ1となる背景中
に認識対象物を置き,上記反射光を波長域の異なる2以
上に色分解し,各分解された色ごとの画像を撮像すると
共に,上記色分解画像の中の上記2種の色分解画像を特
定し,特定された2種の色分解画像信号の比に基づいて
上記対象物の形状を認識することを特徴とする形状認識
方法。
1. An object is placed in the background, a light source is arranged so that the object itself does not have a shadow, the object is illuminated, and the shape of the object is recognized from an image of the reflected light. Method, the object to be recognized is placed in the background where the reflectance is high in the wavelength bands of the two kinds of light to be used and the ratio is approximately 1, and the reflected light is colored into two or more different wavelength bands. An image for each separated color is captured, the two types of color separated images in the color separated image are specified, and the above-described two types of color separated image signals are identified based on the ratio of the specified two types of color separated image signals. A shape recognition method characterized by recognizing the shape of an object.
【請求項2】 背景中に対象物を置き,当該対象物自身
には影が生じないように光源を配置して該対象物を照明
し,その反射光の画像から当該対象物の形状を認識する
装置において,使用しようとする2種の光の波長帯域に
おいて高い反射率を示し,その比がほぼ1となる背景中
に認識対象物を置き,上記反射光を波長域の異なる2以
上に色分解し,各分解された色ごとの画像を撮像する画
像入力手段と,上記画像入力手段により得られた色分解
画像の中の上記2種の色分解画像を特定し,特定された
2種の色分解画像信号の比を算出する分解比算出手段と
を具備し,上記分解比算出手段で得られた比の値と所定
値とを比較して上記対象物の形状を認識することを特徴
とする形状認識装置。
2. An object is placed in the background, a light source is arranged so that the object itself does not have a shadow, the object is illuminated, and the shape of the object is recognized from the image of the reflected light. In this device, the object to be recognized has a high reflectance in the wavelength bands of the two kinds of light to be used, and the object to be recognized is placed in the background where the ratio is approximately 1, and the reflected light is colored into two or more different wavelength bands. An image input unit that separates and captures an image for each separated color, and the two types of color separated images in the color separated images obtained by the image input unit are specified, and the two specified types are specified. A separation ratio calculating means for calculating a ratio of the color separation image signals, and recognizing the shape of the object by comparing the value of the ratio obtained by the separation ratio calculating means with a predetermined value. Shape recognition device.
JP7342875A 1995-12-28 1995-12-28 Shape recognizing method and its device Pending JPH09185711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7342875A JPH09185711A (en) 1995-12-28 1995-12-28 Shape recognizing method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7342875A JPH09185711A (en) 1995-12-28 1995-12-28 Shape recognizing method and its device

Publications (1)

Publication Number Publication Date
JPH09185711A true JPH09185711A (en) 1997-07-15

Family

ID=18357185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7342875A Pending JPH09185711A (en) 1995-12-28 1995-12-28 Shape recognizing method and its device

Country Status (1)

Country Link
JP (1) JPH09185711A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155595A (en) * 2004-11-05 2006-06-15 Fuji Xerox Co Ltd System and device for image processing
JP2007272292A (en) * 2006-03-30 2007-10-18 Denso It Laboratory Inc Shadow recognition method and shadow boundary extraction method
JP2012531652A (en) * 2009-06-25 2012-12-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Gesture recognition using chroma key
JP2018146567A (en) * 2017-03-03 2018-09-20 株式会社神戸製鋼所 Surface quality detection method
JP2018535393A (en) * 2015-09-16 2018-11-29 サーモ エレクトロン サイエンティフィック インストルメンツ リミテッド ライアビリティ カンパニー Image analysis system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006155595A (en) * 2004-11-05 2006-06-15 Fuji Xerox Co Ltd System and device for image processing
JP2007272292A (en) * 2006-03-30 2007-10-18 Denso It Laboratory Inc Shadow recognition method and shadow boundary extraction method
JP2012531652A (en) * 2009-06-25 2012-12-10 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Gesture recognition using chroma key
JP2018535393A (en) * 2015-09-16 2018-11-29 サーモ エレクトロン サイエンティフィック インストルメンツ リミテッド ライアビリティ カンパニー Image analysis system and method
US11057599B2 (en) 2015-09-16 2021-07-06 Thermo Electron Scientific Instruments Llc Image analysis system and method
JP2018146567A (en) * 2017-03-03 2018-09-20 株式会社神戸製鋼所 Surface quality detection method

Similar Documents

Publication Publication Date Title
US11830179B2 (en) Food inspection assisting system, food inspection assisting apparatus and computer program
US6346966B1 (en) Image acquisition system for machine vision applications
US6465801B1 (en) Dust and scratch detection for an image scanner
US6445452B1 (en) Device for checking sheet packaging
US5982493A (en) Apparatus and method for acquiring multiple images
JP2008209211A (en) Foreign matter inspection apparatus and method
KR101721965B1 (en) Device and method for inspecting appearance of transparent substrate
JP4173184B2 (en) PTP package appearance inspection equipment
CN109425614A (en) For the two-wire Systems for optical inspection of the detection in progress test object body surface face
KR20180114826A (en) Sheet inspection device
JP2007292576A (en) Visual inspection device for electronic component
EP0990891A1 (en) Method and apparatus for inspection of rubber product
JP3929647B2 (en) Tablet appearance inspection device and PTP packaging machine
JP2001041900A (en) Sheet package inspecting apparatus
JPH09185711A (en) Shape recognizing method and its device
CN209387542U (en) A kind of detection device for eliminating material shade
JP4184511B2 (en) Method and apparatus for defect inspection of metal sample surface
JPH06208017A (en) Method and device for inspecting defect of color filter
JP2914967B2 (en) Appearance inspection method
Lee et al. High-speed automated color-sorting vision system
JPH0792108A (en) Inspection illuminator
WO2023210619A1 (en) Imaging device, inspection device, imaging condition determination method, and imaging method
JPH05126761A (en) Empty-bottle separating apparatus
JP4226422B2 (en) Method for detecting presence of colored ophthalmic lens
JPH07270126A (en) Inspection apparatus for farm products