JPH01147680A - Piston type discriminating device - Google Patents

Piston type discriminating device

Info

Publication number
JPH01147680A
JPH01147680A JP62306647A JP30664787A JPH01147680A JP H01147680 A JPH01147680 A JP H01147680A JP 62306647 A JP62306647 A JP 62306647A JP 30664787 A JP30664787 A JP 30664787A JP H01147680 A JPH01147680 A JP H01147680A
Authority
JP
Japan
Prior art keywords
piston
image
type
shadow
stamp mark
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
JP62306647A
Other languages
Japanese (ja)
Inventor
Fumiaki Fukunaga
福永 文昭
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.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP62306647A priority Critical patent/JPH01147680A/en
Publication of JPH01147680A publication Critical patent/JPH01147680A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To accurately decide the type of a piston by identifying the unevenness of the shape of the piston as a binarized shadow pattern. CONSTITUTION:A piston P and a cylinder C are illuminated by an illumination means 2 and the images or upper faces are obtained by a camera 3 for the piston and the cylinder. These obtained images are outputted and stored in a frame memory 6 via an image input board 5. Data on the memory 6 is sent to an arithmetic board 7 via a CPU 12. Thus the area of the shadow part is obtained for the data received by the board 7. A stamp mark is put on the upper face of the piston P for elimination of noise via an expansion/contraction board. Thus the type of the piston is discriminated by a stamp mark and the shadow with high accuracy.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ピストン種類判別装置に関し、特に、エンジ
ン組立工程において正しい種類のピストンが組み付けら
れているか否かを検査する装置として有用である。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a piston type discriminating device, and is particularly useful as a device for inspecting whether the correct type of piston is assembled in an engine assembly process.

〔発明の課題〕[Problem of invention]

エンジンの種類に応じてピストンの種類も異なるが、同
じシリンダブロックに異なる種類のピストンを取り付け
ることが可能であるため、エンジンの組立工程において
誤ったi類のピストンを取り付けてしまう場合がある。
Although the types of pistons differ depending on the type of engine, it is possible to install different types of pistons in the same cylinder block, so it is possible to install the wrong type I piston in the engine assembly process.

そこで、かかる誤りを未然に防止したり、誤りを検査に
より発見するために、人間が視覚によってピストンの種
類を判別しているが、必ずしも確実にピストンの種類を
判別することができない問題点があった。
Therefore, in order to prevent such errors or to detect errors through inspection, humans visually distinguish the type of piston, but there is a problem that it is not always possible to distinguish the type of piston reliably. Ta.

また、ピストンの上面にスタンプマークを付して、その
スタンプマークを視覚認識装置により認識してピストン
の種類を判別することも提案されているが、ピストンの
種類が多くなるとスタンプマークのパターンも多様化し
、更に、スタンプマークが必ずしも鮮明でないこともあ
り、ピストンの種類を正確に判別することが困難な問題
点があった。
It has also been proposed to attach a stamp mark to the top surface of the piston and recognize the stamp mark with a visual recognition device to determine the type of piston, but as the number of types of piston increases, the patterns of the stamp mark also become more diverse. Moreover, the stamp marks are not necessarily clear, making it difficult to accurately determine the type of piston.

従って、本発明の目的とするところは、ビストンの形状
を認識することによりピストンのM類を正確に判別でき
るようにしたピストン種類判別装置を提供することにあ
る。
Therefore, it is an object of the present invention to provide a piston type discrimination device that can accurately discriminate the M class of a piston by recognizing the shape of the piston.

〔発明の構成〕[Structure of the invention]

本発明のピストン種類判別装置は、ピストン上−面の凹
凸による陰影を生じるようにピストン上面を照明する照
明手段と、ピストン上面の画像を得るカメラ手段と、前
記画像を2値化処理して前記陰影の抽出のための2値化
陰影画像を得る陰影抽出用2値化手段と、その2値化陰
影画像から陰影のパターンの識別を行う陰影用識別手段
と、前記陰影の識別結果に基づいてピストンの!tW4
を判別する判別手段とを具備してなることを構成上の特
徴とするものである。
The piston type discriminating device of the present invention includes: illumination means for illuminating the top surface of the piston so as to produce shadows due to the unevenness of the top surface of the piston; camera means for obtaining an image of the top surface of the piston; a shade extraction binarization means for obtaining a binarized shade image for shade extraction; a shade identification means for identifying a shade pattern from the binarized shade image; and a shade identification means based on the shade identification result. Piston's! tW4
The configuration is characterized in that it includes a discriminating means for discriminating.

〔作用〕[Effect]

本発明のピストン種類判別装置では、ピストン上面の陰
影形状の識別によりピストンのpi類を判別する。そこ
で、人間の視覚のような錯誤やスタンプマークの不鮮明
による誤りを排除でき、確実にピストンの種類を判別で
きる。
In the piston type discrimination device of the present invention, the pi type of the piston is discriminated by identifying the shape of the shading on the upper surface of the piston. Therefore, errors caused by human visual perception and blurred stamp marks can be eliminated, and the type of piston can be reliably determined.

なお、本発明にかかるピストン上面の陰影形状の識別と
、スタンプマークの識別とを併用すれば、陰影形状の識
別についても、スタンプマークの識別についても、識別
すべき数が減り、誤り易い識別を行うことを回避できる
ようになる。すなわち、陰影形状に差異のあるピストン
相互については陰影形状により1−別し、陰影形状に差
異のないピストン相互についてはスタンプマークで識別
するものとすれば、まず陰影形状識別は上述のように陰
影形状に差異があるのだから識別を誤らない。
Note that if the identification of the shape of the shading on the top surface of the piston and the identification of the stamp mark according to the present invention are used together, the number of identifications to be made will be reduced for both the identification of the shading shape and the identification of the stamp mark, and the identification that is likely to be mistaken will be avoided. You will be able to avoid doing it. In other words, pistons with different shading shapes are classified by 1-1 based on the shading shape, and pistons with no difference in shading shape are identified by stamp marks. Since there are differences in shape, there is no misidentification.

次に、スタンプマークは、陰影形状の領通った種類の中
での識別を行うためだけに用いれば良いから、種類も少
なくなり、パターンに差異のあるスタンプマークだけを
用いることが出来るようになる。従って、スタンプマー
クの識別においても誤りを生じることが防止される。
Next, since stamp marks need only be used for identification among types with common shading shapes, the number of types is reduced, and only stamp marks with different patterns can be used. . Therefore, errors in identifying stamp marks are also prevented.

結局、従来に比べて格段に正確にピストン種類を判別で
きるようになる。
As a result, the type of piston can be determined much more accurately than in the past.

〔実施例〕〔Example〕

以下、図に示す実施例に基づいて本発明を更に詳しく説
明する。ここに第1図は本発明の一実施例のピストン種
類判別装置の構成ブロック図、第2図は第1図に示すピ
ストン種類判別装置の作動の模式的フローチャート、第
3図はピストンの種類と陰影及びスタンプマークの例示
図、第4図は2値化陰影画像の例示図、第5図は陰影部
分にウィンドウを設定した状態の例示図、第6図は2値
化スタンプマーク画像とウィンドウの例示図、第71!
lは穴埋処理の説明図、第8図は穴埋処理を施した2値
化スタンプマーク画像の例示図、第9図はウィンドウ内
の2値化スタンプマーク画像とX方向に出現する黒画素
のヒストグラムの例示図、第1O図はX方向に切り出し
処理された2値化スタンプマーク画像とY方向に出現す
る黒画素のヒストグラムの例示図、第11図はX方向お
よびY方向に切り出し処理された2硫化スタンプマーク
画像の例示図、第12図はノイズ消去処理の説明図、第
13図はノイズ消去処理を行やた2値化スタンプマーク
画像の例示図、第14図はスタンプマークがY方向に並
ぶ3つの点である場合に、おける第9図相当図、第15
図は同第1θ図相当図、第16図は同第13図相当図で
ある。なお、以下の実施例により本発明が限定されるも
のではない。
Hereinafter, the present invention will be explained in more detail based on embodiments shown in the drawings. Here, FIG. 1 is a block diagram of the configuration of a piston type discriminating device according to an embodiment of the present invention, FIG. 2 is a schematic flowchart of the operation of the piston type discriminating device shown in FIG. 1, and FIG. FIG. 4 is an example of a binary shading image, FIG. 5 is an example of a window set in a shaded area, and FIG. 6 is an example of a binary stamp mark image and a window. Illustrative diagram, No. 71!
l is an explanatory diagram of hole-filling processing, Fig. 8 is an example diagram of a binarized stamp mark image subjected to hole-filling processing, and Fig. 9 is a binarized stamp mark image in a window and black pixels appearing in the X direction. 10 is an example of a histogram of a binarized stamp mark image cut out in the X direction and a black pixel appearing in the Y direction. FIG. 11 is an example of a histogram of a binarized stamp mark image cut out in the FIG. 12 is an explanatory diagram of the noise erasing process. FIG. 13 is an example of a binarized stamp mark image that has been subjected to the noise erasing process. In the case of three points lined up in the direction, the corresponding figure in Figure 9, Figure 15
The figure is a diagram corresponding to FIG. 1θ of the same, and FIG. 16 is a diagram corresponding to FIG. 13 of the same. Note that the present invention is not limited to the following examples.

第1図に示すピストン種類判別装置1は、照明手段2と
、カメラ手段3と、モニタ手段4と、画像入力ボード5
と、フレームメモリ6と、演算ボード7と、膨張・収縮
ボード8と、入出力ボード9と、操作面10と、シーケ
ンサ11と、CPU12とを具備してなっている。
The piston type discriminating device 1 shown in FIG.
, a frame memory 6 , an arithmetic board 7 , an expansion/deflation board 8 , an input/output board 9 , an operation surface 10 , a sequencer 11 , and a CPU 12 .

照明手段2は、シリンダブロックCに組み付けられたピ
ストンPの上面に斜め上方向から照明光を当て、ピスト
ンPの上面の凹凸による陰影を生じさせると共に、ピス
トンPの上面に付されたスタンプマークを照明している
The illumination means 2 shines illumination light from diagonally upward onto the top surface of the piston P assembled in the cylinder block C to create shadows due to the unevenness of the top surface of the piston P, and also to mark the stamp mark attached to the top surface of the piston P. It's lit.

カメラ手段3は、例えばCODカメラで、ピストンPの
上面及びその周りのシリンダブロックCを画像として取
り込んでいる。
The camera means 3 is, for example, a COD camera, and captures the upper surface of the piston P and the cylinder block C around it as an image.

取り込まれた画像は、画像入力ボード5を介して、フレ
ームメモリ6に入力され、記憶される。
The captured image is input to the frame memory 6 via the image input board 5 and stored.

また5、その画像は、モニタ手段4によってオペレ−夕
が見ることができる。
5. The image can be viewed by the operator through the monitor means 4.

演算ボード7は、陰影の面積計算や、ヒストグラムの計
算を高速に行う部分である。
The calculation board 7 is a part that performs shadow area calculation and histogram calculation at high speed.

膨張・収縮ボード8は、2値化スタンプマーク画像の穴
埋処理やノイズ消去処理を高速で行う部分である。
The expansion/contraction board 8 is a part that performs hole filling processing and noise erasing processing on the binarized stamp mark image at high speed.

入出力ボード9は、操作面10に入力されたオペレータ
の指示をCPU12に伝達したり、誤った種類のピスト
ンが組み付けられていることを判別した場合に、そのエ
ンジンの除去を自動的に行うシーケンサ11に、CPU
I 2からの指示を与える部分である。
The input/output board 9 is a sequencer that transmits operator instructions inputted on the operation surface 10 to the CPU 12, and automatically removes the engine when it is determined that the wrong type of piston is installed. 11, CPU
This is the part that gives instructions from I2.

CPU12は、全ての制御の中枢であり、以下の説明に
よりその作動が理解されるであろう。
The CPU 12 is the center of all control, and its operation will be understood from the following description.

第2図はピストン種類判別装置1の作動の模式的フロー
チャートであり、この順に作動を説明する。
FIG. 2 is a schematic flowchart of the operation of the piston type discriminating device 1, and the operation will be explained in this order.

説明の都合上、第3図に示すように、4種類のピストン
P l +  p、 l  Pコ、P唾を考える。ピス
トン上面の凹形状の違いから、p、、p、のグループと
+ P3 + p、のグループとに分けられ、前者をA
型、後者をB型とする。また、使用する車種の違いから
、p、、p、のグループと、P、。
For convenience of explanation, four types of pistons P l + p, l P co, and P piston are considered as shown in FIG. Due to the difference in the concave shape of the top surface of the piston, it can be divided into a group of p,, p, and a group of +P3 + p, and the former is called A.
type, and the latter is designated as type B. Also, due to the difference in the types of cars used, there are two groups: p,, p, and P,.

P4のグループとに分けられ、前者をX系、後者をY系
とする。
The former group is called the X-type, and the latter is called the Y-type.

A型かB型かは、ピストン上面の凹みの差異があるため
、陰影21によって区別することが出来るが、陰影21
によってはX系かY系かを区別することができない、そ
こで、X系かY系かは、スタンプマーク22を付すこと
によって区別する。
Type A and type B can be distinguished by the shading 21 because there is a difference in the recess on the top surface of the piston, but the shading 21
In some cases, it is not possible to distinguish between the X series and the Y series. Therefore, a stamp mark 22 is attached to distinguish between the X series and the Y series.

ピストンの種類は4種類であるが、スタンプマークは2
N類で良く、差異が大きいように、X系は1つの九点、
Y系は3つの九点を採用している。
There are four types of pistons, but there are two stamp marks.
Just as the N class is fine and the difference is large, the X series has one nine points,
The Y system uses three nine points.

さて、第2図において、ピストンPの上面の明るさに応
じた画像を得て、フレームメモリ6に記憶する(Sl)
Now, in FIG. 2, an image corresponding to the brightness of the upper surface of the piston P is obtained and stored in the frame memory 6 (Sl).
.

次に、CPU12は、陰影21を明確に抽出できるよう
な闇値を用いて、先に記憶した画像を2値化する(32
)、これにより第4図に示す如き2値化陰影画像が得ら
れ、フレームメモリ6に記憶される。
Next, the CPU 12 binarizes the previously stored image using a darkness value that allows the shadow 21 to be clearly extracted (32
), whereby a binarized shadow image as shown in FIG. 4 is obtained and stored in the frame memory 6.

2値化陰影画像が得られると、CPU12は、ピストン
Pの位置ずれ量を考慮した上で第5図に示すようにウィ
ンドウWを設定し、演算ボード7は、前記ウィンドウW
内の陰影部分(黒い部分)の面積を算出する(33)。
When the binarized shadow image is obtained, the CPU 12 sets the window W as shown in FIG.
The area of the shaded part (black part) within is calculated (33).

CPUI 2は、算出した陰影の面積がウィンドウWの
面積に対し20%以上であればA型であると識別し、2
0%未満であればB型と識別する(S4)。
If the area of the calculated shadow is 20% or more of the area of window W, CPU 2 identifies it as type A;
If it is less than 0%, it is identified as type B (S4).

次に、CPUI 2は、スタンプマーク22を明確に抽
出できるような闇値を用いて、先に記憶していた画像を
2値化する(S5)。
Next, the CPU 2 binarizes the previously stored image using a darkness value that allows the stamp mark 22 to be clearly extracted (S5).

これより、第6図に示す如き2値化スタンプマーク画像
が得られる。
As a result, a binarized stamp mark image as shown in FIG. 6 is obtained.

この2値化スタンプマーク画像に対し、ウィンドウWを
設定し、そのウィンドウW内において穴埋処理を行う、
即ち、スタンプマーク22は、必ずしも完全に付されて
おらず、第7図に示すように部分にかすれを有する場合
もあるため、まずX方向について白画素のランレングス
を調べ、スタンプマークより短い白画素の連続があれば
、白画素を黒画素に置換する。即ち、第7図に示す23
の如きスタンプマークに変換される(S6)、更に、Y
方向についても同様の処理を行えば、第7図に示す24
の如きスタンプマークが得られる(S7)、このような
処理は、演算ボード7と膨張・収縮ボード8とを用いて
行われる。
A window W is set for this binarized stamp mark image, and hole filling processing is performed within the window W.
That is, since the stamp mark 22 is not necessarily completely marked and may have some blurring as shown in FIG. 7, first check the run length of white pixels in the If there are consecutive pixels, the white pixels are replaced with black pixels. That is, 23 shown in FIG.
It is converted into a stamp mark such as (S6), and furthermore, Y
If the same process is performed for the direction, 24 as shown in FIG.
A stamp mark such as the following is obtained (S7). Such processing is performed using the calculation board 7 and the expansion/contraction board 8.

第8図は、上記穴埋処理を行った後の2値化スタンプマ
ーク画像を示している。
FIG. 8 shows the binarized stamp mark image after performing the above-mentioned hole-filling process.

次に、CPUI 2は、演算ボード7を用いて、ウィン
ドウW内のスタンプマーク24の切り出し処理を行う、
即ち、第9図に示すように、ウィンドウW内においてX
方向に並ぶ黒画素のヒストグラムをY方向に関して算出
する(38)、、このヒストグラムH1の極小点のY座
標のうち、最も小さい値と最も大きい値とで2値化スタ
ンプマーク画像を切り出す(S9)。
Next, the CPU 2 uses the calculation board 7 to perform a process of cutting out the stamp mark 24 in the window W.
That is, as shown in FIG.
A histogram of black pixels arranged in the direction is calculated in the Y direction (38), and a binarized stamp mark image is cut out using the smallest value and the largest value among the Y coordinates of the minimum point of this histogram H1 (S9) .

切り出した2値化スタンプマーク画像は、第10図に示
すようになるが、そのY方向の黒画素のヒストグラムを
X方向に関して演算すると、H2のようになる(510
)、これより上記と同様に切り出しを行えば(Sll)
、第11図に示すように、スタンプマーク24より僅か
に大きい領域26を得ることができる。
The cut out binarized stamp mark image is as shown in Fig. 10, but when the histogram of black pixels in the Y direction is calculated in the X direction, it becomes H2 (510
), if we perform the same extraction as above (Sll)
, an area 26 slightly larger than the stamp mark 24 can be obtained, as shown in FIG.

CPU12は、この領域26において、ノイズ消去処理
を行う、即ち、第12図に示すように、X方向について
の黒画素のランレングスを求め、そのランレングスがス
タンプマークのばらつきを越える値であれば、白画素に
変換する0例えば黒画素数が5ドツト以上20ドツト以
下の範囲を越えていれば、白画素に変換する。このノイ
ズ消去をX方向及びX方向について行えば(S12.5
13)、例えば第11図に示す如きノイズの具部分25
があっても除去され、第13図に示す如き2値化スタン
プマーク画像となる。
The CPU 12 performs noise erasing processing in this area 26. That is, as shown in FIG. 12, the CPU 12 calculates the run length of black pixels in the , Convert to white pixel 0 For example, if the number of black pixels exceeds the range of 5 dots to 20 dots, convert to white pixel. If this noise cancellation is performed in the X direction and in the X direction (S12.5
13), for example, a noise component part 25 as shown in FIG.
Even if there is a stamp mark, it is removed and a binarized stamp mark image as shown in FIG. 13 is obtained.

CPUI 2は、ノイズ消去を行った後の2値化スタン
プマーク簡像からスタンプマークの個数をカウントする
(S 14) 、即ち、X方向に黒画素の連続を調べ、
黒画素の連続が途切れたところで、X方向の黒画素の連
続を調べ、黒画素の連続が途切れたところで、カウント
を1とする。これを領域26の全面について行えば、領
域26内のスタンプマークの数をカウントできる。
The CPU 2 counts the number of stamp marks from the binarized stamp mark image after noise cancellation (S14), that is, checks the continuity of black pixels in the X direction,
When the sequence of black pixels is interrupted, the sequence of black pixels in the X direction is checked, and when the sequence of black pixels is interrupted, the count is set to 1. If this is done for the entire area 26, the number of stamp marks within the area 26 can be counted.

そして、スタンプマークのカウント数が1であればY系
であると識別し、3であればY系であると識別する(S
15)。
If the count number of stamp marks is 1, it is identified as Y-series, and if it is 3, it is identified as Y-series (S
15).

かくして、ピストン上面の凹凸による陰影を生じるよう
に且つピストン上面に付したスタンプマークを視認可能
にピストン上面を照明する照明手段と、ピストン上面の
画像を得るカメラ手段と、前記画像を2値化処理して前
記陰影の抽出のための2値化陰影画像を得る陰影抽出用
2値化手段と、その2値化陰影画像から陰影のパターン
の識別を行う陰影用識別手段と、前記画像を2値化処理
して前記スタンプマークの抽出のための2値化スタンプ
マーク画像を得るスタンプマーク抽出用2値化手段と、
その2硫化スタンプマーク画像からスタンプマークのパ
ターンの識別を行うスタンプマーク用識別手段と、前記
陰影の識別結果と前記スタンプマークの識別結果とに基
づいてピスト°ンの?!類を判別する判別手段とを具備
してなるピストン種類判別装置1によって、A型かB型
かの識別およびY系かY系かの識別を行なうことが出来
、これらの組合せによってピストンの種類を判別するこ
とが出来る(S16)。
Thus, there is an illumination means for illuminating the top surface of the piston so as to create a shadow due to the unevenness of the top surface of the piston and to make the stamp mark attached to the top surface of the piston visible, a camera means for obtaining an image of the top surface of the piston, and a binarization process for the image. a shadow extraction binarization means for obtaining a binarized shadow image for extracting the shadow; a shadow identification means for identifying a shadow pattern from the binarized shadow image; a binarization means for stamp mark extraction to obtain a binarized stamp mark image for extracting the stamp mark;
a stamp mark identification means for identifying the pattern of the stamp mark from the disulfide stamp mark image; ! The piston type discriminating device 1, which is equipped with a discriminating means for discriminating the type, can identify whether the piston is A type or B type, and whether it is Y type or Y type. It can be determined (S16).

第9図、第10図、第13図はスタンプマークが1個の
場合であるが、スタンプマーク3個の場合は、第14図
、第15図、第16図に示すようになる。
9, FIG. 10, and FIG. 13 show the case where there is one stamp mark, but the case where there are three stamp marks is as shown in FIG. 14, FIG. 15, and FIG. 16.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ピストン上面の凹凸による陰影を生じ
るようにピストン上面を照明する照明手段と、ピストン
上面の画像を得るカメラ手段と、前記画像を2値化処理
して前記陰影の抽出のための2値化陰影画像を得る陰影
抽出用2値化手段と、その2値化陰影画像から陰影のパ
ターンの識別を行う陰影用識別手段と、前記陰影の識別
結果に基づいてピストンの種類を判別する判別手段とを
具備してなることを特徴とするピストン種類判別装置が
提供され、これによりピストンの種類を正確に判別でき
るようになる。従って、エンジン組立工程におけるピス
トン種類の検査装置として極めて有用である。′
According to the present invention, there is provided an illumination means for illuminating the upper surface of the piston so as to produce a shadow due to the unevenness of the upper surface of the piston, a camera means for obtaining an image of the upper surface of the piston, and a method for binarizing the image to extract the shadow. binarization means for extracting shadows to obtain a binarized shadow image; shadow identification means for identifying a pattern of shadows from the binarized shadow image; and discrimination of the type of piston based on the result of identifying the shadows. A piston type discriminating device is provided, which is characterized by comprising a discriminating means, which makes it possible to accurately discriminate the type of piston. Therefore, it is extremely useful as a piston type inspection device in the engine assembly process. ′

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

第1図は本発明の一実施例のピストン種類判別装置の構
成ブロック図、第2図は第1図に示すピストンffi類
別別装置の作動の模式的フローチャート、第3図はピス
トンの種類と陰影及びスタンプマークの例示図、第4v
l!Jは2値化陰影画像の例示図、第5図は陰影部分に
ウィンドウを設定した状態の例示図、第6図は2値化ス
タンプマーク画像とウィンドウの例示図、第7図は穴埋
処理の説明図、第8vgJは穴埋処理を施した2値化ス
タンプマーク画像の例示図、第9図はウィンドウ内の2
値化スタンプマーク画像とX方向に出現する黒画素のヒ
ストグラムの例示図、第10図はX方向に切り出し処理
された2値化スタンプマーク画像とX方向に出現する黒
画素のヒストグラムの例示図、第11図はX方向および
X方向に切り出し処理された2値化スタンプマーク画像
の例示図、第12図はノイズ消去処理の説明図、第13
図はノイズ消去処理を行った2値化スタンプマーク画像
の例示図、第14図はスタンプマークがY方向に並ぶ3
つの点である場合における第9図相当図、第15図は同
第1O図相当図、第16図は同第13図相当図である。 〔符号の説明〕 1・・・ピストン種類識別装置 2・・・照明手段    3・・・カメラ手段4・・・
モニタ手段   5・・・画像入力ポードロ・・・フレ
ームメモリ 7・・・演算ボード 8・・・膨張・収縮ボード 12・・・CPU     21・・・陰影22.23
.24・・・スタンプマーク26・・・切り出した領域 P・・・ピストン    C・・・シリンタフロックW
・・・ウィンドウ   H,、H2・・・ヒストグラム
。 出願人  ダイハツ工業株式会社
Fig. 1 is a block diagram of the configuration of a piston type discrimination device according to an embodiment of the present invention, Fig. 2 is a schematic flowchart of the operation of the piston ffi classification device shown in Fig. 1, and Fig. 3 is a diagram showing piston types and shading. and illustrations of stamp marks, 4th v.
l! J is an example of a binarized shadow image, Fig. 5 is an example of a window set in a shaded area, Fig. 6 is an example of a binarized stamp mark image and window, and Fig. 7 is a hole-filling process. 8th vgJ is an example of a binarized stamp mark image that has been subjected to hole-filling processing.
An example diagram of a digitized stamp mark image and a histogram of black pixels appearing in the X direction, FIG. 10 is an illustrative diagram of a binarized stamp mark image cut out in the X direction and a histogram of black pixels appearing in the X direction, FIG. 11 is an example diagram of a binarized stamp mark image cut out in the X direction and the X direction, FIG. 12 is an explanatory diagram of noise elimination processing, and FIG.
The figure is an example of a binarized stamp mark image that has been subjected to noise elimination processing, and Fig. 14 shows three stamp marks arranged in the Y direction.
9, FIG. 15 is a diagram equivalent to FIG. 1O, and FIG. 16 is a diagram equivalent to FIG. 13. [Explanation of symbols] 1... Piston type identification device 2... Illumination means 3... Camera means 4...
Monitoring means 5... Image input board... Frame memory 7... Arithmetic board 8... Expansion/contraction board 12... CPU 21... Shading 22.23
.. 24... Stamp mark 26... Cut out area P... Piston C... Cylinder lock W
...Window H,, H2...Histogram. Applicant Daihatsu Motor Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 1、ピストン上面の凹凸による陰影を生じるようにピス
トン上面を照明する照明手段と、ピストン上面の画像を
得るカメラ手段と、前記画像を2値化処理して前記陰影
の抽出のための2値化陰影画像を得る陰影抽出用2値化
手段と、その2値化陰影画像から陰影のパターンの識別
を行う陰影用識別手段と、前記陰影の識別結果に基づい
てピストンの種類を判別する判別手段とを具備してなる
ことを特徴とするピストン種類判別装置。
1. Illumination means for illuminating the top surface of the piston so as to create shadows due to the unevenness of the top surface of the piston, camera means for obtaining an image of the top surface of the piston, and binarization processing of the image to extract the shadow. Binarizing means for extracting shadows to obtain a shadow image; shadow identifying means for identifying a pattern of shadows from the binary shadow image; and determining means for determining the type of piston based on the result of identifying the shadows. A piston type discrimination device comprising:
JP62306647A 1987-12-02 1987-12-02 Piston type discriminating device Pending JPH01147680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62306647A JPH01147680A (en) 1987-12-02 1987-12-02 Piston type discriminating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62306647A JPH01147680A (en) 1987-12-02 1987-12-02 Piston type discriminating device

Publications (1)

Publication Number Publication Date
JPH01147680A true JPH01147680A (en) 1989-06-09

Family

ID=17959623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62306647A Pending JPH01147680A (en) 1987-12-02 1987-12-02 Piston type discriminating device

Country Status (1)

Country Link
JP (1) JPH01147680A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3369919A1 (en) * 2017-03-03 2018-09-05 Toyota Jidosha Kabushiki Kaisha Manufacturing method for engine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5995675A (en) * 1982-11-22 1984-06-01 Toyota Motor Corp Code reader for production indication
JPS60163163A (en) * 1984-02-03 1985-08-26 Mitsubishi Electric Corp Visual sensor device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5995675A (en) * 1982-11-22 1984-06-01 Toyota Motor Corp Code reader for production indication
JPS60163163A (en) * 1984-02-03 1985-08-26 Mitsubishi Electric Corp Visual sensor device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3369919A1 (en) * 2017-03-03 2018-09-05 Toyota Jidosha Kabushiki Kaisha Manufacturing method for engine
CN108526813A (en) * 2017-03-03 2018-09-14 丰田自动车株式会社 The manufacturing method of engine
US10605195B2 (en) 2017-03-03 2020-03-31 Toyota Jidosha Kabushiki Kaisha Manufacturing method for engine

Similar Documents

Publication Publication Date Title
US6339651B1 (en) Robust identification code recognition system
EP3176751A1 (en) Information processing device, information processing method, computer-readable recording medium, and inspection system
JP3545506B2 (en) Specific color area extraction method and specific color area removal method
JP2005523530A (en) System and method for identifying and extracting character string from captured image data
WO2014078979A1 (en) Method and system for detecting traffic lights
CN105447489B (en) A kind of character of picture OCR identifying system and background adhesion noise cancellation method
US7333656B2 (en) Image processing method and image processing apparatus
JP2018120445A (en) Car number recognition apparatus
CN112508913A (en) Cable section edge detection method based on image detection
KR20070005968A (en) Method and apparatus for detecting defects of the welded part
Zhang et al. A license plate recognition system based on tamura texture in complex conditions
CN112036391A (en) Electronic inspection method and system based on shale gas field production station
JPH01147680A (en) Piston type discriminating device
Radovan et al. An approach for automated inspection of wood boards
JPH05290293A (en) Vehicle head detector
JP4115378B2 (en) Defect detection method
JP3260425B2 (en) Pattern edge line estimation method and pattern inspection device
CN112488031A (en) Safety helmet detection method based on color segmentation
JP3230368B2 (en) Binarization processing method
CN115147367B (en) Anti-loosening line detection method based on machine vision
JPH11351842A (en) Wheel shape measuring device
JPH0797410B2 (en) Image processing method
JPH07280746A (en) Apparatus for extracting flaw from metal plate surface
JPH11351835A (en) Method for extracting contour line of cutting edge by processing taken image of tool
JPH08114556A (en) Electronic part inspecting method using neural net