JP2721074B2 - Dimension calculation device for plate by image processing - Google Patents

Dimension calculation device for plate by image processing

Info

Publication number
JP2721074B2
JP2721074B2 JP4065201A JP6520192A JP2721074B2 JP 2721074 B2 JP2721074 B2 JP 2721074B2 JP 4065201 A JP4065201 A JP 4065201A JP 6520192 A JP6520192 A JP 6520192A JP 2721074 B2 JP2721074 B2 JP 2721074B2
Authority
JP
Japan
Prior art keywords
plate
image processing
measurement
image
dimension
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.)
Expired - Lifetime
Application number
JP4065201A
Other languages
Japanese (ja)
Other versions
JPH05264243A (en
Inventor
等貴 片山
浩之 桂田
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.)
Sekisui Chemical Co Ltd
Original Assignee
Sekisui Chemical 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 Sekisui Chemical Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP4065201A priority Critical patent/JP2721074B2/en
Publication of JPH05264243A publication Critical patent/JPH05264243A/en
Application granted granted Critical
Publication of JP2721074B2 publication Critical patent/JP2721074B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、画像処理による板状体
の寸法算出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for calculating the size of a plate-like body by image processing.

【0002】[0002]

【従来の技術】壁パネル等の板状体製造ラインでは、板
状体に定めた測定部位の寸法を測定し、規格寸法に対す
る合否判定を行なっている。
2. Description of the Related Art In a production line for a plate-like body such as a wall panel, the size of a measurement site defined on the plate-like body is measured, and a pass / fail judgment on a standard size is performed.

【0003】このとき、従来技術では、上記寸法測定を
金尺、ノギス等を用いる手作業によることとしている。
At this time, in the prior art, the dimensional measurement is performed manually by using a gold scale, a caliper, or the like.

【0004】尚、特開平2-77607 号公報には、画像処理
技術を用いた形状寸法測定方法が提案されている。この
従来技術は、画像信号の2値化処理により、被測定物の
寸法を測定可能とするものである。
Incidentally, Japanese Patent Application Laid-Open No. 2-77607 proposes a method for measuring the shape and dimensions using an image processing technique. This prior art makes it possible to measure the dimensions of an object to be measured by binarizing an image signal.

【0005】[0005]

【発明が解決しようとする課題】然しながら、従来技術
には、下記〜の問題点がある。 金尺、ノギス等を用いる測定作業速度には限界があ
り、多大な測定時間を要する。
However, the prior art has the following problems. There is a limit to the speed of a measurement operation using a gold scale, a caliper, or the like, and a long measurement time is required.

【0006】板状体の測定部位の縁の一部に欠損があ
る場合に、金尺、ノギス等の当接部が欠損部に当接せし
められると大きな寸法誤差を生ずる。従って、測定作業
者は、金尺、ノギス等の当接部を必ず欠損のない健全部
に当接せしめる注意を払うことが必須となる。
When a part of the edge of the measurement portion of the plate-shaped body has a defect, a large dimensional error occurs when the contact part such as a gold scale or a caliper is brought into contact with the defect part. Therefore, it is essential for the measurement operator to pay attention to make sure that the contact portions such as the gold gauge and the caliper are brought into contact with the healthy portion without any loss.

【0007】特開平2-77607 号公報に記載の画像処理
を用いる寸法測定装置にあっては、被測定物の測定部位
の縁の一部に欠損がある場合には、その欠損部を含まな
い寸法値を算出してしまう等、安定した寸法測定を行な
うことに困難がある。
In a dimension measuring apparatus using image processing described in Japanese Patent Application Laid-Open No. 2-77607, if a part of an edge of a measurement site of a measured object has a defect, the defect is not included. There is a difficulty in performing stable dimension measurement, such as calculating dimension values.

【0008】本発明は、板状体の寸法を、短時間、かつ
高精度で測定可能とすることを目的とする。
An object of the present invention is to make it possible to measure the dimensions of a plate in a short time and with high accuracy.

【0009】[0009]

【課題を解決するための手段】本発明は、板状体に定め
た測定部位の寸法を算出する画像処理による板状体の寸
法算出装置であって、板状体の測定部位を含む画像を取
り込む撮像装置と、撮像装置によって撮像された画像の
濃度差からしきい値を定め、当該画像を2値化処理し、
2値化処理によって区画された測定部位を1辺とする矩
形部の画素数を測定し、この矩形部の画素数に、予め定
めてある1画素当たりの面積を掛けて当該矩形部の面積
(A)を算出し、当該面積(A)を、当該矩形部の当該
測定部位に直交する方向の予め定めてある辺の長さ
(Y)で割ることにより、当該測定部位の寸法(X)を
算出する画像処理装置とを有してなるようにしたもので
ある。
SUMMARY OF THE INVENTION The present invention is an apparatus for calculating the size of a plate-like body by image processing for calculating the size of a measurement site defined on a plate-like body, and comprising: A threshold value is determined based on a density difference between an image capturing device to be captured and an image captured by the image capturing device, and the image is binarized.
The number of pixels of a rectangular portion having one side as a measurement site partitioned by the binarization processing is measured, and the number of pixels of the rectangular portion is multiplied by a predetermined area per pixel to obtain an area of the rectangular portion ( A) is calculated, and the area (A) is divided by the length (Y) of a predetermined side of the rectangular portion in a direction orthogonal to the measurement site, thereby obtaining the dimension (X) of the measurement site. And an image processing device for calculating the image.

【0010】[0010]

【作用】本発明によれば、下記、の作用がある。 測定作業速度は、画像処理時間を電気的に短縮するこ
とにより高速化でき、板状体の寸法を短時間に測定でき
る。
According to the present invention, the following operations are provided. The measuring operation speed can be increased by electrically shortening the image processing time, and the dimension of the plate can be measured in a short time.

【0011】測定部位を1辺とする矩形部を捕らえて
画像処理するものであり、測定部位の縁の一部に欠損が
あったとしても、この欠損部の存在を希釈化し、該欠損
部に対応する如くの局部的異常寸法の検出を防ぐことと
なる。従って、欠損部があっても、板状体の寸法を安定
的に高精度で測定できる。
[0011] The image processing is performed by capturing a rectangular portion having one side as the measurement site. Even if there is a defect at a part of the edge of the measurement site, the existence of the defect is diluted and the defect is reduced. Corresponding local abnormal dimension detection is prevented. Therefore, even if there is a defect, the dimensions of the plate-like body can be measured stably with high accuracy.

【0012】[0012]

【実施例】図1は寸法測定システムを示す模式図、図2
は板状体製造ラインを示す模式図、図3は寸法測定シス
テムの制御系統を示す模式図、図4は板状体の寸法測定
部位を示す模式図、図5は画像処理手順を示す模式図、
図6は影形成状態を示す模式図、図7は欠損部測定状態
を示す模式図、図8は長尺体の寸法測定方法を示す模式
図、図9は長尺体の画像処理内容を示す模式図である。
FIG. 1 is a schematic diagram showing a dimension measuring system, and FIG.
Is a schematic diagram showing a plate manufacturing line, FIG. 3 is a schematic diagram showing a control system of a dimension measuring system, FIG. 4 is a schematic diagram showing a dimension measuring portion of the plate, and FIG. 5 is a schematic diagram showing an image processing procedure. ,
6 is a schematic diagram showing a shadow forming state, FIG. 7 is a schematic diagram showing a defect measuring state, FIG. 8 is a schematic diagram showing a method for measuring the dimension of a long body, and FIG. 9 shows image processing contents of the long body. It is a schematic diagram.

【0013】寸法測定システム10は、板状体1に定め
た複数(16ヶ所)の測定部位の寸法を、画像処理によっ
て測定するものである。
The dimension measurement system 10 measures the dimensions of a plurality of (16) measurement sites defined on the plate-like body 1 by image processing.

【0014】板状体1は、図2に示す如くの壁パネル製
造ラインにおいて、成形ラインに、乾燥機3、トリミン
グ装置4を経て製造された壁パネルである。そして、板
状体1は、検査ライン5に設けた寸法測定システム10
により寸法を測定され、仕分けライン6に搬出される。
The plate-like body 1 is a wall panel manufactured by a dryer 3 and a trimming device 4 in a molding line in a wall panel manufacturing line as shown in FIG. The plate-like body 1 is provided with a dimension measurement system 10 provided on the inspection line 5.
The dimensions are measured by, and are carried out to the sorting line 6.

【0015】ここで、板状体1は、図4に示す如く、中
央に凸部1Aを備え、周辺を耳部1Bとし、左右の全高
1 、H2 、上下の全長B1 、B2 、対角長C1 、C
2 、耳寸法a1 〜a6 、b1 〜b4 の全16ヶ所の測定部
位を定められている。
Here, as shown in FIG. 4, the plate-like body 1 has a convex portion 1A at the center, a peripheral portion 1B at the periphery, total heights H 1 and H 2 on the left and right, and total lengths B 1 and B 2 on the upper and lower sides. , Diagonal length C 1 , C
2, it is defined the measurement site of the ear dimensions a 1 ~a 6, b all 16 locations of 1 ~b 4.

【0016】尚、寸法測定システム10は、全 500品種
の板状体1を寸法測定可能としている。板状体1は上述
全16ヶ所の測定部位の規格寸法を、品種毎に異にしてい
る。
The dimension measuring system 10 can measure the dimensions of the plate-like bodies 1 of all 500 types. In the plate-like body 1, the standard dimensions of the above-mentioned 16 measurement sites are different for each product type.

【0017】然るに、寸法測定システム10は、図1に
示す如く、板状体搬入装置11、板状体位置決め装置1
2、撮像装置13、画像処理装置14、板状体搬出装置
15、制御装置16を有して構成されている。
However, as shown in FIG. 1, the dimension measuring system 10 includes a plate-like body loading device 11 and a plate-like body positioning device 1.
2. It has an imaging device 13, an image processing device 14, a plate-like object unloading device 15, and a control device 16.

【0018】板状体搬入装置11は、架台17に配設さ
れるベルトコンベヤ装置であり、板状体1を搬入する。
The plate-like body carrying device 11 is a belt conveyor device arranged on the gantry 17 and carries in the plate-like body 1.

【0019】板状体位置決め装置12は、架台17に支
持された昇降テーブル18、昇降テーブル18とともに
昇降する縦、横両方向のプッシャ19、20、及び縦、
横両方向のストッパ21、22とから構成され、板状体
搬入装置11により搬入された板状体1を寸法測定位置
に位置決めする。
The plate-shaped body positioning device 12 includes a lifting table 18 supported by a gantry 17, pushers 19 and 20, both vertically and horizontally, which are raised and lowered together with the lifting table 18.
The plate-like body 1, which includes stoppers 21 and 22 in both horizontal directions, is positioned by the plate-like body carry-in device 11 at the dimension measurement position.

【0020】撮像装置13は、架台23に設置され、板
状体位置決め装置12により位置決めされた板状体1の
各測定部位の画像を取り込む。架台23には、全18個の
撮像装置13が設置されている。また、撮像装置13と
してはCCDカメラが用いられている。
The imaging device 13 is installed on the gantry 23 and captures images of each measurement site of the plate 1 positioned by the plate positioning device 12. The gantry 23 is provided with a total of 18 imaging devices 13. Further, a CCD camera is used as the imaging device 13.

【0021】画像処理装置14は、各撮像装置13によ
って撮像された画像を画像処理し、各測定部位の寸法を
算出する。
The image processing device 14 performs image processing on an image picked up by each image pickup device 13 and calculates the size of each measurement site.

【0022】板状体搬出装置15は、架台17に配設さ
れるベルトコンベヤ装置であり、画像処理装置14によ
り寸法を算出された板状体1を搬出する。
The plate-like body discharging device 15 is a belt conveyor device disposed on the gantry 17 and discharges the plate-like body 1 whose dimensions have been calculated by the image processing device 14.

【0023】制御装置16は、ホストコンピュータであ
り、板状体搬入装置11により搬入される板状体1の寸
法測定情報(品種、規格寸法等)を画像処理装置14に
伝達する。
The control device 16 is a host computer, and transmits to the image processing device 14 dimension measurement information (type, standard size, etc.) of the plate 1 carried in by the plate carrying device 11.

【0024】尚、画像処理装置14は、制御装置16か
ら伝達された板状体1の寸法測定情報に基づき、算出し
た各測定部位の寸法の合否判定を行なう。
The image processing device 14 determines whether or not the calculated dimensions of the respective measurement sites are acceptable based on the dimension measurement information of the plate-shaped body 1 transmitted from the control device 16.

【0025】また、撮像装置13の架台23は、板状体
搬入装置11、位置決め装置12、搬出装置15のため
の架台17と分離され、独立設置される。
The gantry 23 of the imaging device 13 is separated from the gantry 17 for the plate-like body carrying-in device 11, the positioning device 12, and the carrying-out device 15, and is installed independently.

【0026】寸法測定システム10による板状体1の寸
法測定作業は、以下の如くなされる。
The operation of measuring the dimensions of the plate-like body 1 by the dimension measuring system 10 is performed as follows.

【0027】(1) トリミング装置4により所定の寸法に
切断された板状体1が板状体搬入装置11により搬入さ
れる。尚、トリミング装置4は、制御装置16から切断
情報を伝達されるトリミング制御装置4Aにより制御さ
れる。
(1) The plate 1 cut into a predetermined size by the trimming device 4 is carried in by the plate carrying device 11. The trimming device 4 is controlled by a trimming control device 4A to which cutting information is transmitted from the control device 16.

【0028】(2) 寸法測定位置に搬入された板状体1
は、ストッパ21、22の直前でストップする。
(2) Plate 1 carried into dimension measurement position
Stops immediately before the stoppers 21 and 22.

【0029】(3) 昇降テーブル18が上昇し、縦方向プ
ッシャ19が作動し、板状体1を縦方向ストッパ21に
押し付ける。次に、横方向プッシャ20が作動し、板状
体1を横方向ストッパ22に押し付ける。これにより、
板状体1の位置決めが完了する。
(3) The elevating table 18 is raised, and the vertical pusher 19 operates to press the plate 1 against the vertical stopper 21. Next, the lateral pusher 20 operates to press the plate-shaped body 1 against the lateral stopper 22. This allows
The positioning of the plate 1 is completed.

【0030】(4) 撮像装置13により板状体1の各測定
部位の画像を取り込む。全撮像装置13のうち、いずれ
の撮像装置13を用いるかは、制御装置16が伝達する
品種情報に基づいて自動的に選択される。
(4) The image of each measurement site of the plate-like body 1 is captured by the imaging device 13. Which of the imaging devices 13 to use among all the imaging devices 13 is automatically selected based on the type information transmitted by the control device 16.

【0031】(5) 画像処理装置14により画像処理し、
各測定部位の寸法を算出する。 (6) 制御装置16から伝達された板状体1の寸法測定情
報に基づき、算出した各測定部位の寸法をそれらの規格
寸法と比較し、合否判定を行なう。
(5) Image processing is performed by the image processing device 14,
Calculate the dimensions of each measurement site. (6) Based on the dimension measurement information of the plate-like body 1 transmitted from the control device 16, the calculated dimensions of the respective measurement parts are compared with their standard dimensions, and a pass / fail judgment is made.

【0032】以下、画像処理装置14による画像処理手
順について説明する。 (A) 耳寸法 (1) 生画像取り込み(図5(A)、(B)、図6参照) 板状体1の凸部1Aとの段差状境界部に定めた耳部1B
の寸法aを算出する。板状体1の段差状境界部を構成す
る凸部1Aの斜め上方より照明(高周波蛍光灯)31を
当て、この照明31が作る影32を含む生画像を撮像装
置13に取り込む。
Hereinafter, an image processing procedure by the image processing apparatus 14 will be described. (A) Ear size (1) Raw image capture (see FIGS. 5 (A), (B), and FIG. 6) Ear 1B defined at the step-shaped boundary with the convex portion 1A of the plate 1
Is calculated. Illumination (high-frequency fluorescent lamp) 31 is applied obliquely from above the convex portion 1A constituting the step-shaped boundary portion of the plate-like body 1, and a raw image including a shadow 32 created by the illumination 31 is taken into the imaging device 13.

【0033】尚、影32は、照明31の設置状態を調整
することにより、線状とすることができる。
The shadow 32 can be made linear by adjusting the installation state of the illumination 31.

【0034】また、影32が面状である場合には、該影
32の幅寸法aw を予め求めておく。そして、画像処理
装置14が後述する画像処理により耳部1Bの画像数か
ら求めた寸法a0 に、aw を補正値として加算する。
When the shadow 32 is planar, the width a w of the shadow 32 is determined in advance. Then, the image processing apparatus 14 is dimensioned a 0 determined from the image number of the ear portion 1B by the image processing to be described later, is added to a w as the correction value.

【0035】(2) 2値化レベルの探索(図5(C)参
照) 撮像装置13によって撮像された生画像の上記段差状境
界部に生ずる影32の濃度差からしきい値を定める。具
体的には、下記、による。
(2) Search for binarization level (see FIG. 5 (C)) A threshold value is determined from the density difference of the shadow 32 generated at the stepped boundary portion of the raw image picked up by the image pickup device 13. Specifically, it is based on the following.

【0036】濃淡ヒストグラムの作成 上記(1) で撮像装置13に取り込んだ生画像を一定幅
(Y)で切出し、各512分割した四角形(単位:画素)
の濃度ヒストグラムを作る(濃度レベル:256 段階)
(図5(C)参照)。
Creation of Shade Histogram A raw image taken into the image pickup device 13 in the above (1) is cut out at a fixed width (Y) and divided into 512 squares (unit: pixel).
A density histogram (density level: 256 levels)
(See FIG. 5C).

【0037】しきい値の決定 上記のヒストグラムより、画像2値化(白か黒に区別
する)のためのレベルを山谷法により決定する(2値化
レベル=しきい値)。
Determination of Threshold From the above-mentioned histogram, the level for binarizing the image (to distinguish between white and black) is determined by the mountain-valley method (binary level = threshold).

【0038】この(2) においては、被測定物の全数につ
いて濃度分布を調べるので、照明の照度が変わっても柔
軟に対応できる。
In (2), since the density distribution is checked for all the objects to be measured, it is possible to flexibly cope with a change in the illuminance of the illumination.

【0039】(3) 最適2値化(図5(D)参照) 上記(1) で撮像装置13に取り込んだ生画像を、上記
(2) で求めたしきい値で2値化処理する。
(3) Optimum binarization (see FIG. 5 (D)) The raw image captured by the imaging device 13 in (1) above is
Binarization is performed using the threshold value obtained in (2).

【0040】上記の2値化処理によって区画された
測定部位(耳部1B)を含む測定対象画像(白)33を
求め、当該測定対象画像33の画素数に予め定めてある
1画素当たりの面積を掛けて当該測定対象画像33の面
積(A1 )を算出するとともに、当該測定対象画像33
の輪郭線形状から当該測定対象画像33の面積(A2
を算出し、A1 とA2 とが略一致するまで上述のしきい
値を変化させて最適しきい値を求める。
A measurement target image (white) 33 including the measurement site (ear 1B) partitioned by the above-described binarization processing is obtained, and the area per pixel predetermined in the number of pixels of the measurement target image 33 is determined. Is multiplied to calculate the area (A 1 ) of the measurement target image 33, and the measurement target image 33
Area (A 2 ) of the measurement target image 33 from the contour shape of
It is calculated, obtaining the optimal threshold by changing the threshold above to A 1 and A 2 are substantially coincident.

【0041】ここで、上記は、具体的には、下記(a)
又は(b) の如くに行なう。 (a) 測定対象画像33の主軸(短軸と長軸)の傾きθを
慣性モーメント定理により求める場合
Here, specifically, the above-mentioned (a)
Or as in (b). (a) When the inclination θ of the main axes (short axis and long axis) of the measurement target image 33 is obtained by the moment of inertia theorem

【0042】測定対象画像33について、重心を通りX
軸に平行な直線に関する慣性モーメントMxx、重心を通
りY軸に平行な直線に関する慣性モーメントMyy、重心
を通りX軸とY軸に平行な直線に関する慣性モーメント
Mxyを求め、重心を原点とする座標系のX軸と当該測定
対象画像33と等価な慣性楕円の長軸との交差角度(傾
き)θを求める。
The image 33 to be measured passes through the center of gravity and X
Coordinate system using the moment of inertia Mxx on a straight line parallel to the axis, the moment of inertia Myy on a straight line passing through the center of gravity and parallel to the Y axis, and the moment of inertia Mxy on a straight line passing through the center of gravity and parallel to the X and Y axes. And the intersection angle (slope) θ between the X-axis and the long axis of the inertia ellipse equivalent to the measurement target image 33 is determined.

【0043】[0043]

【数1】 (Equation 1)

【0044】測定対象画像33に、上記傾き方向を主軸
方向とするXY座標を設定し、その短軸の長さXと長軸
の長さYとから、A2 =XYを求める。そして、 0.9 ×A2 ≦A1 ≦1.1 ×A2 …(5) となるまで上記のしきい値を5ずつ(256 段階中)変
更する(最大変更回数20回)。
An XY coordinate having the inclination direction as the main axis direction is set in the image 33 to be measured, and A 2 = XY is obtained from the length X of the short axis and the length Y of the long axis. Then, the above threshold value is changed by 5 (in 256 steps) until 0.9 × A 2 ≦ A 1 ≦ 1.1 × A 2 (5) (the maximum number of changes is 20 times).

【0045】(b) 測定対象画像33の主軸に傾きがない
場合 測定対象画像33の最大長さXと、生画像の切り出し幅
Yとから、A2 =XYを求める。そして、 A1 ≒A2 …(6) となるまで上記のしきい値を5ずつ(256 段階中)変
更する(最大変更回数20回)。
(B) When the main axis of the measurement target image 33 is not tilted: A 2 = XY is determined from the maximum length X of the measurement target image 33 and the cutout width Y of the raw image. Then, the above threshold value is changed by 5 (out of 256 steps) until A 1 ≒ A 2 (6) (the maximum number of times of change is 20 times).

【0046】尚、この(3) において、最適2値化レベル
を求めるためのしきい値の変更時間は、20回変更して 2
秒程度である。
In the above (3), the threshold value change time for obtaining the optimum binarization level is changed by 20 times.
On the order of seconds.

【0047】(4) 耳寸法の算出(図5(E)参照) 上記(3) で求めた最適しきい値で、前述の生画像を2
値化処理する。
(4) Calculation of ear dimensions (see FIG. 5 (E)) The above-mentioned raw image is divided into two by the optimum threshold value obtained in the above (3).
Perform value processing.

【0048】2値化処理によって算出された測定部位
(耳部1B)を1辺とする矩形部34の画素数を測定す
る。
The number of pixels of the rectangular portion 34 whose one side is the measurement site (ear 1B) calculated by the binarization process is measured.

【0049】矩形部34の画素数に、予め定めてある
1画素当たりの面積を掛けて当該矩形部34の面積
(A)を算出し、当該面積(A)を、当該矩形部34の
切出し幅Yで割ることにより、当該測定部位の寸法a0
を算出する(図7参照)。
The area (A) of the rectangular portion 34 is calculated by multiplying the number of pixels of the rectangular portion 34 by a predetermined area per pixel, and the area (A) is calculated by dividing the cut-out width of the rectangular portion 34. By dividing by Y, the dimension a 0 of the measurement site is obtained.
Is calculated (see FIG. 7).

【0050】これにより、測定部位(耳部1B)を矩形
部34にて捕らえるため、図7に示す如くの欠損部35
等の存在による異常寸法の出現を防止できる。
As a result, since the measurement site (ear 1B) is captured by the rectangular portion 34, a defective portion 35 as shown in FIG.
It is possible to prevent the appearance of abnormal dimensions due to the presence of etc.

【0051】尚、前述の生画像の影32が幅寸法aw
持つ場合には、前述の如く、上記a 0 にaw を補正値と
して加算したものを、当該測定部位(耳部1B)の寸法
(X=a)とする。
The shadow 32 of the raw image is a width aw To
If so, as described above, a 0 To aw With the correction value
Of the measurement site (ear 1B)
(X = a).

【0052】(B) 全高、全長、対角長 (1) 撮像装置13の配置 板状体1の全高等は、撮像装置13の視野を越える範囲
に渡るものである。そこで、板状体1の寸法測定方向に
沿う2つの撮像位置(p1 ,p2 )のそれぞれに撮像装
置13を配置する。このとき、2台の撮像装置13のそ
れぞれを両撮像位置に配置しても良く、1台の撮像装置
13を可動式として両撮像位置に交互に配置するもので
あっても良い。
(B) Overall Height, Overall Length, and Diagonal Length (1) Arrangement of Imaging Apparatus 13 The overall height of the plate-like body 1 extends over the field of view of the imaging apparatus 13. Therefore, the imaging device 13 is arranged at each of the two imaging positions (p 1 , p 2 ) along the dimension measurement direction of the plate-like body 1. At this time, each of the two imaging devices 13 may be arranged at both imaging positions, or one imaging device 13 may be movable and alternately arranged at both imaging positions.

【0053】(2) 標点の撮像(図8(A)、(B)参
照) 一定の標点間距離Lを備えた基準ゲージ41を用意す
る。そして、各撮像位置(p1 ,p2 )のそれぞれに配
置された各撮像装置13の画面中で、一定の標点間距離
(L)をなす2つの標点(s1 ,s2 )のそれぞれが位
置する標点位置(i1 、i2 )を定める。
(2) Imaging of a reference point (see FIGS. 8A and 8B) A reference gauge 41 having a constant distance L between reference points is prepared. Then, in the screen of each imaging device 13 arranged at each of the imaging positions (p 1 , p 2 ), two reference points (s 1 , s 2 ) forming a fixed distance (L) between the reference points are displayed. The reference point positions (i 1 , i 2 ) where they are located are determined.

【0054】(3) 測定部位の撮像(図8(C)参照)。 各撮像位置(p1 ,p2 )のそれぞれに配置した各撮像
装置13に、板状体1の各測定部位を含む画像を取り込
み、その画像処理により各撮像装置13の画面中おける
各測定部位の位置(r1 ,r2 )を算出する。
(3) Imaging of the measurement site (see FIG. 8C). An image including each measurement site of the plate-like body 1 is taken into each imaging device 13 arranged at each imaging position (p 1 , p 2 ), and each measurement site on the screen of each imaging device 13 is processed by the image processing. Is calculated (r 1 , r 2 ).

【0055】尚、撮像装置13による上記各測定部位の
位置(r1 ,r2 )は、前述(A)の耳寸法測定のため
の画像処理技術と同一技術を用いて求め、或いは前述
(A)の耳寸法測定のための画像処理結果を利用して求
める。
Incidentally, the positions (r 1 , r 2 ) of the respective measurement sites by the image pickup device 13 are obtained by using the same technique as the image processing technique for measuring the ear dimensions described in (A), or by the method described in (A). ) Is determined using the image processing result for the ear size measurement.

【0056】(4) 長尺寸法の算出(図9参照) 各撮像装置13の画面中における各測定部位の位置(r
1 ,r2 )が対応する標点位置(i1 ,i2 )に対して
なす距離(x1 ,x2 )を算出し、2つの測定部位間の
寸法をL+x1 +x2 により算出する。
(4) Calculation of long dimension (see FIG. 9) The position (r) of each measurement site on the screen of each imaging device 13
1, r 2) calculates the distance (x 1, x 2) which makes with the corresponding gauge position (i 1, i 2), the dimension between the two measurement site is calculated by L + x 1 + x 2.

【0057】次に、本実施例の作用について説明する。 板状体1は、搬入装置11により搬入された後、位置
決め装置12により位置決めされ、画像処理装置14に
より各測定部位の寸法を算出され、その後、搬出装置1
5により搬出せしめられる。即ち、板状体1に定めた複
数の測定部位の寸法を、その製造ライン上で自動的に測
定できる。
Next, the operation of the present embodiment will be described. After the plate-like body 1 is carried in by the carry-in device 11, it is positioned by the positioning device 12, the dimensions of each measurement site are calculated by the image processing device 14, and then the carry-out device 1
5 to be carried out. That is, the dimensions of the plurality of measurement sites defined on the plate-like body 1 can be automatically measured on the production line.

【0058】従って、測定作業速度は、搬入時間、位置
決め時間、画像処理時間、搬出時間を電気的、機械的に
短縮することにより高速化でき、板状体1の寸法を短時
間で測定できる。従って、板状体1が多数の測定部位を
持つ場合にも、全測定部位の寸法測定を、比較的短いタ
クト時間内に完了できる。
Accordingly, the measuring operation speed can be increased by shortening the carry-in time, the positioning time, the image processing time, and the carry-out time electrically and mechanically, and the dimension of the plate-like body 1 can be measured in a short time. Therefore, even when the plate-shaped body 1 has a large number of measurement sites, the dimension measurement of all the measurement sites can be completed within a relatively short tact time.

【0059】また、測定作業は、電気的、機械的になさ
れるものであり、連続的かつ長時間に及ぶ場合にも、高
い測定精度を維持できる。
The measuring operation is performed electrically and mechanically, and high measuring accuracy can be maintained even when the operation is continuous and for a long time.

【0060】合否判定は画像処理装置14が自動的に
行なう。従って、判定データの蓄積が容易であり、デー
タの分析によって生産性の向上を図る等ができる。
The pass / fail judgment is automatically made by the image processing apparatus 14. Therefore, it is easy to accumulate the judgment data, and it is possible to improve the productivity by analyzing the data.

【0061】また、画像処理装置14は、制御装置16
から板状体1の品種、規格寸法等の寸法測定情報を得る
ものであり、あらゆる品種の合否判定に直ちに対応でき
る。
The image processing device 14 includes a control device 16
Dimension measurement information such as the type and standard size of the plate-like body 1 is obtained from the above, and it is possible to immediately respond to the pass / fail judgment of all types.

【0062】撮像装置13の支持架台23が、搬入装
置11、位置決め装置12、及び搬出装置15のための
架台17と独立設置されている。従って、搬入装置1
1、位置決め装置12、及び搬出装置15の駆動系の振
動が撮像装置13に伝わることがない。このため、高精
度の撮像、ひいては高精度の画像処理を確保できる。
The support stand 23 of the image pickup device 13 is installed independently of the stand 17 for the loading device 11, the positioning device 12, and the unloading device 15. Therefore, the loading device 1
1. The vibrations of the drive systems of the positioning device 12 and the unloading device 15 are not transmitted to the imaging device 13. For this reason, high-precision imaging and, consequently, high-precision image processing can be ensured.

【0063】板状体1の段差状境界部に生ずる濃度差
に基づく画像処理により、寸法測定するものであり、段
差形状(段差高さ、勾配角度等)が一定であるならば、
安定した寸法精度が確保できる。このとき、照明31に
よって段差状境界部に影32を作ることにより、段差状
境界部の濃度差を明確にし、測定精度を向上できる。
The dimensions are measured by image processing based on the density difference generated at the step-like boundary of the plate-like body 1. If the step shape (step height, gradient angle, etc.) is constant,
Stable dimensional accuracy can be secured. At this time, the shadow 31 is formed on the step-like boundary by the illumination 31, so that the density difference at the step-like boundary is clarified, and the measurement accuracy can be improved.

【0064】上記の影32を線状とすることによ
り、段差状境界部の位置をより明確にし、測定精度をよ
り向上できる。
By making the shadow 32 linear, the position of the step-like boundary can be made clearer, and the measurement accuracy can be further improved.

【0065】上記の影32が面状であっても、影3
2の幅寸法を予め求めておいて、これを補正することに
より、測定精度をより向上できる。
Even if the shadow 32 is planar, the shadow 3
By measuring the width dimension of 2 in advance and correcting this, the measurement accuracy can be further improved.

【0066】画像処理のための2値化レベルを最適化
する手順を有しているから、最適2値化レベル(最適し
きい値)を用いて画像処理し、色むら(変色)等のある
板状体1についても高い寸法測定精度を確保できる。
Since there is a procedure for optimizing the binarization level for image processing, image processing is performed using the optimal binarization level (optimal threshold), and there is color unevenness (discoloration) and the like. High dimensional measurement accuracy can be secured for the plate-like body 1 as well.

【0067】測定部位を1辺とする矩形部34を捕ら
えて画像処理するものであり、測定部位の縁の一部に欠
損があったとしても、この欠損部35の存在を希釈化
し、該欠損部35に対応する如くの局部的異常寸法の検
出を防ぐこととなる。従って、欠損部35があっても、
板状体1の寸法を安定的に高精度で測定できる。
The image processing is performed by capturing the rectangular portion 34 having one side as the measurement site. Even if there is a defect at a part of the edge of the measurement site, the presence of the defect 35 is diluted to remove the defect. The detection of the local abnormal size corresponding to the portion 35 is prevented. Therefore, even if there is a missing portion 35,
The dimensions of the plate-like body 1 can be stably and accurately measured.

【0068】2つの撮像位置(p1 ,p2 )のそれぞ
れに配置した撮像装置13の画像中に、一定の標点間距
離(L)をなす2つの標点(s1 ,s2 )のそれぞれが
位置する標点位置(i1 ,i2 )を定めるとともに、各
撮像装置13の画像中における各測定部位の位置(r
1 ,r2 )を算出し、更に各測定部位の位置(r1 ,r
2 )が標点位置(i1 ,i2 )に対してなす距離(x
1 ,x2 )を算出し、L+x1 +x2 を2つの測定部位
間の寸法として算出できる。これにより、撮像装置13
の視野を越える範囲に渡る長尺板状体1の寸法を容易
に、高精度で測定できる。
Two imaging positions (p1 , PTwo Each)
In the image of the imaging device 13 arranged in the
Two reference points (s) separated (L)1 , STwo )
The gauge point position (i1 , ITwo ) And each
The position (r) of each measurement site in the image of the imaging device 13
1 , RTwo ) Is calculated, and the position (r1 , R
Two ) Is the gauge point position (i1 , ITwo ) To the distance (x
1 , XTwo ) Is calculated and L + x1 + XTwo The two measurement sites
It can be calculated as the dimension between them. Thereby, the imaging device 13
The size of the long plate-like body 1 over the range beyond the visual field of
And can be measured with high accuracy.

【0069】[0069]

【発明の効果】以上のように本発明によれば、板状体の
寸法を、短時間、かつ高精度で測定可能とすることがで
きる。
As described above, according to the present invention, it is possible to measure the dimensions of a plate-like body in a short time and with high accuracy.

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

【図1】図1は寸法測定システムを示す模式図である。FIG. 1 is a schematic diagram showing a dimension measuring system.

【図2】図2は板状体製造ラインを示す模式図である。FIG. 2 is a schematic diagram showing a plate-shaped body production line.

【図3】図3は寸法測定システムの制御系統を示す模式
図である。
FIG. 3 is a schematic diagram showing a control system of the dimension measuring system.

【図4】図4は板状体の寸法測定部位を示す模式図であ
る。
FIG. 4 is a schematic view showing a dimension measurement portion of a plate-like body.

【図5】図5は画像処理手順を示す模式図である。FIG. 5 is a schematic diagram showing an image processing procedure.

【図6】図6は影形成状態を示す模式図である。FIG. 6 is a schematic diagram showing a shadow forming state.

【図7】図7は欠損部測定状態を示す模式図である。FIG. 7 is a schematic diagram showing a measurement state of a defective portion.

【図8】図8は長尺体の寸法測定方法を示す模式図であ
る。
FIG. 8 is a schematic view showing a method for measuring the dimension of a long body.

【図9】図9は長尺体の画像処理内容を示す模式図であ
る。
FIG. 9 is a schematic view showing image processing content of a long body.

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

1 板状体 13 撮像装置 14 画像処理装置 34 矩形部 Reference Signs List 1 plate-like body 13 imaging device 14 image processing device 34 rectangular portion

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 板状体に定めた測定部位の寸法を算出す
る画像処理による板状体の寸法算出装置であって、 板状体の測定部位を含む画像を取り込む撮像装置と、 撮像装置によって撮像された画像の濃度差からしきい値
を定め、当該画像を2値化処理し、2値化処理によって
区画された測定部位を1辺とする矩形部の画素数を測定
し、この矩形部の画素数に、予め定めてある1画素当た
りの面積を掛けて当該矩形部の面積(A)を算出し、当
該面積(A)を、当該矩形部の当該測定部位に直交する
方向の予め定めてある辺の長さ(Y)で割ることによ
り、当該測定部位の寸法(X)を算出する画像処理装置
とを有してなる画像処理による板状体の寸法算出装置。
1. An apparatus for calculating a size of a plate-like body by image processing for calculating a size of a measurement part defined on a plate-like body, comprising: an imaging device for capturing an image including a measurement part of the plate-like body; A threshold value is determined from the density difference of the captured image, the image is binarized, and the number of pixels of a rectangular portion having one side as a measurement site partitioned by the binarization process is measured. Is multiplied by a predetermined area per pixel to calculate the area (A) of the rectangular portion, and the area (A) is determined in advance in a direction orthogonal to the measurement site of the rectangular portion. An image processing apparatus for calculating the dimension (X) of the measurement site by dividing the length (Y) of a given side by a predetermined side (Y).
JP4065201A 1992-03-23 1992-03-23 Dimension calculation device for plate by image processing Expired - Lifetime JP2721074B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4065201A JP2721074B2 (en) 1992-03-23 1992-03-23 Dimension calculation device for plate by image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4065201A JP2721074B2 (en) 1992-03-23 1992-03-23 Dimension calculation device for plate by image processing

Publications (2)

Publication Number Publication Date
JPH05264243A JPH05264243A (en) 1993-10-12
JP2721074B2 true JP2721074B2 (en) 1998-03-04

Family

ID=13280070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4065201A Expired - Lifetime JP2721074B2 (en) 1992-03-23 1992-03-23 Dimension calculation device for plate by image processing

Country Status (1)

Country Link
JP (1) JP2721074B2 (en)

Also Published As

Publication number Publication date
JPH05264243A (en) 1993-10-12

Similar Documents

Publication Publication Date Title
JP3051279B2 (en) Bump appearance inspection method and bump appearance inspection device
EP1560018B1 (en) Method and device for preparing reference image in glass bottle inspection device
JPH07260701A (en) Recognition method of area of inspection
JP3875236B2 (en) Inspection method and apparatus for brittle material substrate end face
JPS61251705A (en) Method and apparatus for inspecting pattern
JP2640401B2 (en) Dimension calculation device for plate by image processing
JP2640400B2 (en) Dimension calculation device for plate by image processing
JP2721074B2 (en) Dimension calculation device for plate by image processing
JP2639870B2 (en) Dimension measurement method of plate-like body by image processing
JP2834361B2 (en) Dimension measurement system for plate-like objects by image processing
JP2696737B2 (en) Dimension measurement system for plate-like objects by image processing
JP3857668B2 (en) Pattern alignment method
JP2814183B2 (en) Imaging device selection method in image processing device
JPH05272945A (en) Apparatus for inspecting bent part of lead
JPH11352073A (en) Foreign matter inspection method and apparatus thereof
JP3112736B2 (en) Device for calculating thickness of plate by image processing
JPH0590365A (en) Testing apparatus
JP3618599B2 (en) Concavity and convexity detection apparatus and method
US20220392739A1 (en) Specimen Machining Device and Specimen Machining Method
JPH07104136B2 (en) Terminal tilt detection method
JP2513098B2 (en) Tile unit inspection method
JPH061247B2 (en) Defect inspection method by image processing
CN111197961A (en) Device and method for inspecting thickness of vertical microcrack
EP0265703B1 (en) Method for the automatic inspection of channelled panels
CN114926412A (en) Method, system and equipment for detecting surface defects of QFN lead frame

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071121

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091121

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101121

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 15