JPH0712538A - Selection method of image sensing device in image processing apparatus - Google Patents

Selection method of image sensing device in image processing apparatus

Info

Publication number
JPH0712538A
JPH0712538A JP17469193A JP17469193A JPH0712538A JP H0712538 A JPH0712538 A JP H0712538A JP 17469193 A JP17469193 A JP 17469193A JP 17469193 A JP17469193 A JP 17469193A JP H0712538 A JPH0712538 A JP H0712538A
Authority
JP
Japan
Prior art keywords
image pickup
image
plate
measurement
area
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.)
Granted
Application number
JP17469193A
Other languages
Japanese (ja)
Other versions
JP2814183B2 (en
Inventor
Masami Tsubono
正美 坪野
Hideki Kanda
秀樹 神田
Mitsutoshi Tokuda
光俊 徳田
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
Takaoka Toko Co Ltd
Original Assignee
Sekisui Chemical Co Ltd
Takaoka Electric Mfg 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, Takaoka Electric Mfg Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP17469193A priority Critical patent/JP2814183B2/en
Publication of JPH0712538A publication Critical patent/JPH0712538A/en
Application granted granted Critical
Publication of JP2814183B2 publication Critical patent/JP2814183B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE:To automate the selection of an image sensing device, to reduce the number of selection processes, to eliminate a selection error and to quickly and precisely process an image by a method wherein an image sensing device which includes an image sensing region inside its image sensing field-of-view region is selected by an image sensing device corresponding to the image sensing region of an object to be measured. CONSTITUTION:An image sensing device 13 is installed on a stand, and it takes in an image in every measuring part on a sheetlike body 1 positioned by a sheetlike-body positioning device 12. A total of 21 devices corresponding to measuring regions is installed on the stand. An image processing apparatus 14 images a region including a measuring point on the sheetlike body 1, it processes an image, and it computes the size of every measuring point. At this time, the apparatus 14 selects and uses the device 13 corresponding to an image sensing region on the sheetlike body 1 from the total of 21 devices 13. A control device transfers, to the apparatus 14, information on the size measurement of the sheetlike body 1 carried in by a sheetlike-body conveyance device 11. Which image sensing device out of the devices 13 is used is selected automatically by the apparatus 14 on the basis of information on a type transferred by the control device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像処理装置における
撮像装置選定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for selecting an image pickup device in an image processing device.

【0002】[0002]

【従来の技術】壁パネル等の板状体製造ラインでは、板
状体に定めた測定点の寸法を測定し、規格寸法に対する
合否判定を行なっている。
2. Description of the Related Art In a plate-like product manufacturing line for wall panels or the like, the size of a measurement point defined on the plate-like member is measured and a pass / fail judgment is made with respect to a standard size.

【0003】尚、特開平2-77607 号公報には、画像処理
技術を用いた形状寸法測定方法が提案されている。この
従来技術は、撮像装置により被測定物の測定点を撮像
し、その画像信号の2値化処理により、被測定物の寸法
を測定可能とするものである。
Incidentally, Japanese Patent Laid-Open No. 2-77607 proposes a shape dimension measuring method using an image processing technique. In this conventional technique, a measurement point of an object to be measured is imaged by an imaging device, and the dimension of the object to be measured can be measured by binarizing the image signal.

【0004】そこで、壁パネル等の板状体の寸法を上述
の画像処理技術を用いて測定することが考えられる。こ
のとき、板状体の全体寸法は、1個の撮像装置の撮像視
野範囲をはるかに超えるものであり、従って、撮像装置
としては、(a) 該撮像装置を可動として用いるもの、或
いは(b) 多数の撮像装置を固定配置してなる撮像装置群
の形態にて用いるものとなる。板状体の連続処理ライン
で、その測定速度の迅速を図るためには、上記(b) の多
数の撮像装置を用いることが好適となる。
Therefore, it is conceivable to measure the size of a plate-like body such as a wall panel by using the above-mentioned image processing technique. At this time, the overall size of the plate-like body is far beyond the imaging visual field range of one image pickup device. Therefore, as the image pickup device, (a) the image pickup device is movably used, or (b) ) It is used in the form of an imaging device group in which a large number of imaging devices are fixedly arranged. In order to speed up the measurement speed of a continuous processing line for plate-like bodies, it is preferable to use the large number of image pickup devices described in (b) above.

【0005】そして、多数の撮像装置を上述の如くに用
いる画像処理装置にあっては、各種品種の被測定物のそ
れぞれを順次測定領域内の測定位置に位置付け、各被測
定物の測定点を含む撮像領域を撮像して画像処理するに
際し、測定領域に対応して設置されている多数の撮像装
置の中から当該被測定物の当該撮像領域に対応する撮像
装置を選定して使用するものとなる。
In the image processing apparatus that uses a large number of image pickup devices as described above, the objects to be measured of various types are sequentially positioned at the measurement positions in the measurement area, and the measurement points of the objects to be measured are set. When performing image processing by picking up an image pickup area including the image pickup area, an image pickup apparatus corresponding to the image pickup area of the object to be measured is selected and used from a large number of image pickup apparatuses installed corresponding to the measurement area. Become.

【0006】[0006]

【発明が解決しようとする課題】然るに、多数の撮像装
置の中から今回測定対象となる被測定物の測定点に対応
する撮像装置を選定するに際しては、当該撮像装置を手
動にて選定することが考えられる。
However, when selecting an image pickup device corresponding to the measurement point of the object to be measured this time from among a large number of image pickup devices, the image pickup device must be manually selected. Can be considered.

【0007】然しながら、被測定物としての板状体が多
品種、多測定点をもつに至る場合には、撮像装置の手動
選定時間が多大となり、選定ミスによって不適撮像装置
を誤選定する虞れがある。
However, when the plate-like object as the object to be measured has many kinds and has many measurement points, the manual selection time of the image pickup device becomes long, and there is a possibility that an improper image pickup device is erroneously selected due to a selection error. There is.

【0008】本発明は、多数の撮像装置を用いる画像処
理装置において、撮像装置の選定を自動化し、選定工程
を削減するとともに選定ミスをなくして画像処理の迅
速、正確を図ることを目的とする。
It is an object of the present invention to automate the selection of an image pickup device in an image processing device using a large number of image pickup devices, reduce the number of selection steps, and eliminate the selection error to achieve quick and accurate image processing. .

【0009】[0009]

【課題を解決するための手段】請求項1に記載の本発明
は、各種品種の被測定物のそれぞれを順次測定領域内の
測定位置に位置付け、各被測定物の測定点を含む撮像領
域を撮像して画像処理するに際し、測定領域に対応して
設置されている多数の撮像装置の中から当該被測定物の
当該撮像領域に対応する撮像装置を選定して使用する画
像処理装置における撮像装置選定方法において、各撮像
装置の測定領域内での撮像視野範囲を予め定めるととも
に、測定領域内の測定位置に位置付けられる被測定物の
撮像領域を当該被測定物の品種情報に基づいて求め、上
記被測定物の上記撮像領域をその撮像視野範囲内に含む
撮像装置を当該被測定物の当該撮像領域に対応する撮像
装置として選定するようにしたものである。
According to a first aspect of the present invention, each of various types of objects to be measured is sequentially positioned at a measurement position within the measurement area, and an imaging area including the measurement points of each object is formed. An image pickup apparatus in an image processing apparatus that selects and uses an image pickup apparatus corresponding to the image pickup area of the object to be measured from a large number of image pickup apparatuses installed corresponding to the measurement area when the image is picked up and image processed. In the selection method, while predetermining the imaging visual field range in the measurement area of each imaging device, the imaging area of the measured object positioned at the measurement position in the measurement area is obtained based on the type information of the measured object, An image pickup device including the image pickup region of the object to be measured within its image pickup field range is selected as an image pickup device corresponding to the image pickup region of the object to be measured.

【0010】請求項2に記載の本発明は、請求項1に記
載の本発明において更に、前記被測定物が模様付板状体
であり、板状体の品種情報に基づき、当該板状体の耳寸
法、全高、全長、対角長等測定のための撮像領域を求め
るようにしたものである。
According to a second aspect of the present invention, in addition to the first aspect of the present invention, the object to be measured is a patterned plate-like object, and the plate-like object is based on the type information of the plate-like object. The image pickup area for measuring the ear size, the total height, the total length, the diagonal length, etc. is obtained.

【0011】[0011]

【作用】 各撮像装置の測定領域内での撮像視野範囲を予め定め
るとともに、測定領域内に位置付けられた被測定物の撮
像領域を当該被測定物の品種情報に基づいて求め、被測
定物の上記撮像領域をその撮像視野範囲内に含む撮像装
置を当該被測定物の当該撮像領域に対応する撮像装置と
して自動選定できる。従って、手動選定に比して、選定
工程を削減するとともに選定ミスをなくして画像処理の
迅速、正確を図ることができる。
With the imaging visual field range within the measurement area of each imaging device being determined in advance, the imaging area of the measured object positioned in the measurement area is determined based on the type information of the measured object, An image pickup device including the image pickup region within the image pickup field range can be automatically selected as an image pickup device corresponding to the image pickup region of the object to be measured. Therefore, as compared with manual selection, it is possible to reduce the number of selection steps, eliminate selection mistakes, and achieve quick and accurate image processing.

【0012】被測定物が模様付板状体であるとき、板
状体の品種情報に基づき、当該板状体の耳寸法、全高、
全長、対角長等測定のための撮像領域を求め、これに対
応すべき撮像装置を上記のように自動選定できる。
When the object to be measured is a patterned plate-like object, the ear size, the total height of the plate-like object,
It is possible to obtain an imaging region for measuring the total length, diagonal length, etc., and automatically select the imaging device corresponding to the imaging region as described above.

【0013】[0013]

【実施例】図1は寸法測定システムを示す模式図、図2
は板状体製造ラインを示す模式図、図3は寸法測定シス
テムの制御系統を示す模式図、図4は板状体の寸法測定
部位を示す模式図、図5は撮像装置を示す模式図、図6
は画像処理手順を示す模式図、図7は影形成状態を示す
模式図、図8は欠損部測定状態を示す模式図、図9は撮
像領域決定手順を示す流れ図、図10は撮像装置決定手
順を示す流れ図である。
EXAMPLE FIG. 1 is a schematic diagram showing a dimension measuring system, FIG.
Is a schematic diagram showing a plate-like body manufacturing line, FIG. 3 is a schematic diagram showing a control system of a dimension measuring system, FIG. 4 is a schematic diagram showing dimension measuring portions of the plate-like body, FIG. 5 is a schematic diagram showing an image pickup device, Figure 6
7 is a schematic diagram showing an image processing procedure, FIG. 7 is a schematic diagram showing a shadow formation state, FIG. 8 is a schematic diagram showing a defective portion measurement state, FIG. 9 is a flowchart showing an imaging region determination procedure, and FIG. 10 is an imaging device determination procedure. 2 is a flowchart showing

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

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

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

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

【0018】然るに、寸法測定システム10は、図1、
図3に示す如く、板状体搬送装置11、板状体位置決め
装置12、撮像装置13、画像処理装置14、制御装置
16を有して構成されている。
Therefore, the dimension measuring system 10 is shown in FIG.
As shown in FIG. 3, it is configured to include a plate-shaped body conveying device 11, a plate-shaped body positioning device 12, an image pickup device 13, an image processing device 14, and a control device 16.

【0019】板状体搬送装置11は、モータ17によっ
て駆動されるベルトコンベヤ装置であり、板状体1を順
次測定領域の内外に搬入、搬出する。
The plate-shaped member conveying device 11 is a belt conveyor device driven by a motor 17, and sequentially carries the plate-shaped member 1 into and out of the measurement area.

【0020】板状体位置決め装置12は、W方向位置決
め装置12AとL方向位置決め装置12Bとからなり、
両位置決め装置12A、12Bを板状体搬送装置11の
搬送面の上下に昇降可能としている。W方向位置決め装
置12Aは、プッシャ18によってW方向(短手方向)
に直線動されるウレタンローラ製押圧部19により板状
体1をW方向に押動して、該板状体1をウレタンローラ
製ストッパ20に押当て、板状体1をW方向にて位置決
めする。L方向位置決め装置12Bは、プッシャ21に
よってL方向(長手方向)に対向移動せしめられる左右
一対のウレタンローラ製挟持部22により板状体1を挟
み、板状体1をL方向にて位置決めする。即ち、板状体
位置決め装置12は、板状体搬送装置11により測定領
域に搬入された板状体1を測定位置に位置付ける。
The plate-shaped body positioning device 12 comprises a W-direction positioning device 12A and an L-direction positioning device 12B.
Both positioning devices 12A and 12B can be moved up and down on the transport surface of the plate-shaped transport device 11. The W direction positioning device 12A is moved in the W direction (short direction) by the pusher 18.
The plate-shaped body 1 is pushed in the W direction by the pressing portion 19 made of the urethane roller which is linearly moved to press the plate-shaped body 1 against the urethane-roller stopper 20 to position the plate-shaped body 1 in the W direction. To do. The L-direction positioning device 12B positions the plate-shaped body 1 in the L-direction by sandwiching the plate-shaped body 1 by a pair of right and left urethane roller sandwiching portions 22 which are opposed to each other in the L-direction (longitudinal direction) by the pusher 21. That is, the plate-shaped body positioning device 12 positions the plate-shaped body 1 carried into the measurement area by the plate-shaped body transport device 11 at the measurement position.

【0021】尚、図1(B)において、W0 はW方向基
準位置(ストッパ面)、L0 はL方向基準位置(センタ
−ライン)、Oは測定領域の原点を示す。
In FIG. 1 (B), W0 is the W-direction reference position (stopper surface), L0 is the L-direction reference position (center line), and O is the origin of the measurement area.

【0022】撮像装置13は、架台23に設置され、板
状体位置決め装置12により位置決めされた板状体1の
各測定部位の画像を取り込む。架台23には、測定領域
に対応する全21個の撮像装置13が設置されている。ま
た、撮像装置13としてはCCDカメラが用いられてい
る。尚、撮像装置13は、図5に示す如く、防塵ケース
24、電源25、照明31を備える。
The image pickup device 13 is installed on the pedestal 23 and captures images of each measurement site of the plate-shaped body 1 positioned by the plate-shaped body positioning device 12. A total of 21 image pickup devices 13 corresponding to the measurement area are installed on the gantry 23. A CCD camera is used as the image pickup device 13. The image pickup device 13 includes a dustproof case 24, a power supply 25, and an illumination 31, as shown in FIG.

【0023】画像処理装置14は、板状体1の測定点を
含む撮像領域を撮像して画像処理し、各測定点の寸法を
算出する。このとき、画像処理装置14は、測定領域に
対応して設置されている全21個の撮像装置13から当該
板状体1の当該撮像領域に対応する撮像装置13を選定
して使用する。
The image processing device 14 picks up an image of the image pickup area including the measurement points of the plate-shaped body 1 and performs image processing to calculate the dimension of each measurement point. At this time, the image processing device 14 selects and uses the imaging device 13 corresponding to the imaging region of the plate 1 from all 21 imaging devices 13 installed corresponding to the measurement region.

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

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

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

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

【0028】(2) 寸法測定位置に搬入された板状体1
は、板状体位置決め装置12のW方向位置決め装置12
A、L方向位置決め装置12Bにより位置決めされる。
(2) Plate-like body 1 carried into the dimension measuring position
Is the W-direction positioning device 12 of the plate-shaped body positioning device 12.
Positioning is performed by the A and L direction positioning device 12B.

【0029】(3) 撮像装置13により板状体1の各測定
部位の画像を取り込む。全撮像装置13のうち、いずれ
の撮像装置13を用いるかは、制御装置16が伝達する
品種情報に基づいて画像処理装置14により後述の如く
に自動的に選択される。
(3) The image of the measurement site of the plate 1 is captured by the image pickup device 13. Which of the image pickup devices 13 is used among all the image pickup devices 13 is automatically selected by the image processing device 14 based on the type information transmitted by the control device 16 as described later.

【0030】(4) 画像処理装置14により画像処理し、
各測定部位の寸法を算出する。
(4) Image processing is performed by the image processing device 14,
Calculate the dimensions of each measurement site.

【0031】(5) 制御装置16から伝達された板状体1
の寸法測定情報に基づき、算出した各測定部位の寸法を
それらの規格寸法と比較し、合否判定を行なう。
(5) Plate-shaped body 1 transmitted from the control device 16
On the basis of the dimension measurement information, the calculated dimensions of each measurement site are compared with their standard dimensions to make a pass / fail judgment.

【0032】以下、画像処理装置14による画像処理手
順について説明する。尚、画像処理例として、板状体1
の耳寸法を求める場合について説明する。
The image processing procedure by the image processing device 14 will be described below. As an example of image processing, the plate-shaped body 1
A case of obtaining the ear size of will be described.

【0033】(1) 生画像取り込み(図6(A)、
(B)、図7参照) 板状体1の凸部1Aとの段差状境界部に定めた耳部1B
の寸法aを算出する。板状体1の段差状境界部を構成す
る凸部1Aの斜め上方より照明(高周波蛍光灯)31を
当て、この照明31が作る影32を含む撮像領域(測定
点である耳部1Bを含む撮像領域)の生画像を撮像装置
13に取り込む。
(1) Raw image capture (FIG. 6 (A),
(B), see FIG. 7) Ear portion 1B defined at the stepped boundary portion with the convex portion 1A of the plate-shaped body 1.
The dimension a of is calculated. An illumination (high-frequency fluorescent lamp) 31 is applied from diagonally above the convex portion 1A constituting the step-shaped boundary of the plate-shaped body 1, and an imaging region including a shadow 32 formed by this illumination 31 (including the ear portion 1B which is a measurement point). The raw image of the imaging area) is captured by the imaging device 13.

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

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

【0036】(2) 2値化レベルの探索(図6(C)参
照) 撮像装置13によって撮像された生画像の上記段差状境
界部に生ずる影32の濃度差からしきい値を定める。具
体的には、下記、による。
(2) Search for Binarization Level (See FIG. 6C) The 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 as follows.

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

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

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

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

【0041】上記の2値化処理によって区画された
測定部位(耳部1B)を含む測定対象画像(白)33を
求め、当該測定対象画像33の画素数に予め定めてある
1画素当たりの面積を掛けて当該測定対象画像33の面
積(A1 )を算出するとともに、当該測定対象画像33
の輪郭線形状から当該測定対象画像33の面積(A2
を算出し、A1 とA2 とが略一致するまで上述のしきい
値を変化させて最適しきい値を求める。
The measurement target image (white) 33 including the measurement site (ear 1B) divided by the binarization process is obtained, and the area per pixel which is predetermined in the number of pixels of the measurement target image 33. The area (A 1 ) of the measurement target image 33 is calculated by multiplying
From the contour line shape of the area of the measurement target image 33 (A 2 )
Is calculated, and the above-mentioned threshold value is changed until A 1 and A 2 substantially match to obtain the optimum threshold value.

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

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

【0044】[0044]

【数1】 [Equation 1]

【0045】測定対象画像33に、上記傾き方向を主軸
方向とするXY座標を設定し、その短軸の長さXと長軸
の長さYとから、A2 =XYを求める。そして、 0.9 ×A2 ≦A1 ≦1.1 ×A2 …(5) となるまで上記のしきい値を5ずつ(256 段階中)変
更する(最大変更回数20回)。
XY coordinates having the above-mentioned tilt direction as the principal axis direction are set in the measurement target image 33, 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).

【0046】(b) 測定対象画像33の主軸に傾きがない
場合 測定対象画像33の最大長さXと、生画像の切り出し幅
Yとから、A2 =XYを求める。そして、
(B) When the main axis of the measurement target image 33 has no inclination: A 2 = XY is obtained from the maximum length X of the measurement target image 33 and the cutout width Y of the raw image. And

【0047】A1 ≒A2 …(6) となるまで上記のしきい値を5ずつ(256 段階中)変
更する(最大変更回数20回)。
The threshold value is changed by 5 (in 256 steps) until A 1 ≉A 2 (6) (maximum change number is 20 times).

【0048】尚、この(3) において、最適2値化レベル
を求めるためのしきい値の変更時間は、20回変更して 2
秒程度である。
In this (3), the threshold changing time for obtaining the optimum binarization level is changed 20 times.
It is about a second.

【0049】(4) 耳寸法の算出(図6(E)参照) 上記(3) で求めた最適しきい値で、前述の生画像を2
値化処理する。
(4) Calculation of the ear size (see FIG. 6 (E)) The above-mentioned raw image is set to 2 with the optimum threshold value obtained in (3) above.
Quantize.

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

【0051】矩形部34の画素数に、予め定めてある
1画素当たりの面積を掛けて当該矩形部34の面積
(A)を算出し、当該面積(A)を、当該矩形部34の
切出し幅Yで割ることにより、当該測定部位の寸法a0
を算出する(図8参照)。
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 as the cutout width of the rectangular portion 34. By dividing by Y, the dimension a 0 of the measurement site is measured.
Is calculated (see FIG. 8).

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

【0053】尚、前述の生画像の影32が幅寸法aw
持つ場合には、前述の如く、上記a0 にaw を補正値と
して加算したものを、当該測定部位(耳部1B)の寸法
(X=a)とする。
When the shadow 32 of the raw image has the width dimension a w , as described above, the value obtained by adding a w to the a 0 as a correction value is used as the measurement portion (ear 1B). (X = a).

【0054】以下、画像処理装置14において画像処理
すべき撮像領域に対応する撮像装置13の選定方法につ
いて説明する(図9、図10)。尚、撮像領域例とし
て、板状体1の耳部1Bを含むものについて説明する。
A method of selecting the image pickup device 13 corresponding to the image pickup area to be image-processed in the image processing device 14 will be described below (FIGS. 9 and 10). It should be noted that an example of the imaging area including the ear portion 1B of the plate-shaped body 1 will be described.

【0055】(1) 撮像装置13の撮像視野範囲の決定 各撮像装置13の測定領域内での撮像視野範囲を予め定
める。表1の如くである。
(1) Determination of the imaging visual field range of the imaging device 13 The imaging visual field range within the measurement area of each imaging device 13 is determined in advance. It is as shown in Table 1.

【0056】[0056]

【表1】 [Table 1]

【0057】(2) 撮像領域の決定(図9) 板状体位置決め装置12により測定領域内の測定位置に
位置付けられる板状体1の撮像領域を、板状体1の品種
情報に基づいて求める。a側の耳寸法測定のための撮像
領域決定手順について説明すれば、下記〜の如くで
ある。
(2) Determination of imaging area (FIG. 9) The imaging area of the plate 1 positioned at the measurement position in the measurement area by the plate positioning device 12 is obtained based on the product type information of the plate 1. . The procedure for determining the imaging region for the measurement of the ear size on the a side will be described below.

【0058】画像処理対象として指定された板状体1
の品種情報(マスターベータ)を読み込む。図4に示し
たL寸法、W寸法、各耳寸法(a、b)、及びそれらの
各寸法許容値である。
The plate-like body 1 designated as the image processing target
Read the product type information (master beta). It is the L dimension, the W dimension, each ear dimension (a, b), and their respective dimension allowable values shown in FIG. 4.

【0059】耳寸法の最大値を算出する。 aMmax =aM+aM許容値 bMmax =bM+bM許容値 尚、Mは耳寸法、aMmax はa側の耳寸法最大値、bM
max はb側の耳寸法最大値である。
The maximum value of the ear size is calculated. aMmax = aM + aM allowable value bMmax = bM + bM allowable value Note that M is the ear size, aMmax is the maximum ear size on the a side, bM
max is the maximum value of the ear size on the b side.

【0060】撮像領域決定のための必要条件値R、S
を算出する。 R=bMmax +α S=aMmax +β 尚、R、αはb側の耳部を撮像領域内から外すための値
である。S、βは凸部1Aを撮像領域内に少し含ませる
ための値である。
Necessary condition values R and S for determining the imaging area
To calculate. R = bMmax + α S = aMmax + β R and α are values for removing the b-side ear from the imaging region. S and β are values for slightly including the convex portion 1A in the imaging region.

【0061】板状体1のエッジがどこにあり得るかを
算出する。 Lmax =L+L許容値 Wmax =W+W許容値 尚、Lmax はL方向の最大値、Wmax はW方向の最大値
である。
The position of the edge of the plate-shaped body 1 can be calculated. Lmax = L + L allowable value Wmax = W + W allowable value Note that Lmax is the maximum value in the L direction and Wmax is the maximum value in the W direction.

【0062】撮像領域の始点A(x,y)の絶対座標
を、測定領域の原点Oから求める。 A(x,y)=(Lmax −R,Wmax +γ)
The absolute coordinates of the starting point A (x, y) of the imaging area are obtained from the origin O of the measurement area. A (x, y) = (Lmax-R, Wmax + γ)

【0063】尚γは板状体1のエッジを見やすくするた
めの背景部分である。
Γ is a background portion for making the edge of the plate-shaped body 1 easy to see.

【0064】撮像領域の終点B(x,y)の絶対座標
を、測定領域の原点Oから求める。 B(x,y)=(Lmax −(R+Y),Wmax −S)
The absolute coordinates of the end point B (x, y) of the image pickup area are obtained from the origin O of the measurement area. B (x, y) = (Lmax- (R + Y), Wmax-S)

【0065】上記A点とB点とが共存する撮像装置を
選定する。具体的には、下記(3) による。
An image pickup device in which the points A and B coexist is selected. Specifically, it is based on (3) below.

【0066】(3) 撮像装置13の決定(図10) 板状体1の上記撮像領域の始点A、終点Bをその撮像視
野範囲内に含む撮像装置13を、当該板状体1の当該撮
像領域に対応する撮像装置13として選定する。具体的
には、下記〜の如くである。
(3) Determining the image pickup device 13 (FIG. 10) The image pickup device 13 including the start point A and the end point B of the image pickup area of the plate-like body 1 within the image pickup visual field is picked up for the image pickup of the platelike body 1. The image pickup device 13 corresponding to the region is selected. Specifically, it is as follows.

【0067】撮像装置13のNO.をNO.1から選択
し、当該撮像装置13の撮像視野範囲を表1の如くのデ
ータから読み込む。この読み込んだ撮像視野範囲にA点
が存在するか判定する。
The No. of the image pickup device 13 is selected from No. 1, and the image pickup visual field range of the image pickup device 13 is read from the data shown in Table 1. It is determined whether or not point A exists in the read imaging visual field range.

【0068】上記により、A点がその撮像視野範囲
に存在する撮像装置13が見つかるまで、上記を繰り
返し、A点に対応する撮像装置13を決定する。
By the above, the above is repeated until the image pickup device 13 in which the point A exists in the image pickup field range is found, and the image pickup device 13 corresponding to the point A is determined.

【0069】上記によりA点に対応するものとなっ
た撮像装置13の撮像視野範囲にB点が存在するか判定
し、判定結果がYesであれば、当該撮像装置13を今回
の撮像領域に対応する撮像装置13として決定する。N
o であれば、2台の撮像装置13を選定使用するものと
なる。
It is determined whether or not point B exists in the image pickup visual field range of the image pickup device 13 that corresponds to point A as described above, and if the determination result is Yes, the image pickup device 13 is set as the image pickup region of this time. It is determined as the imaging device 13 to be operated. N
If o, the two image pickup devices 13 are selected and used.

【0070】以下本実施例の作用について説明する。 各撮像装置13の測定領域内での撮像視野範囲を予め
定めるとともに、測定領域内に位置付けられた板状体1
の撮像領域を当該板状体1の品種情報に基づいて求め、
板状体1の上記撮像領域をその撮像視野範囲内に含む撮
像装置13を当該板状体1の当該撮像領域に対応する撮
像装置13として自動選定できる。従って、手動選定に
比して、選定工程を削減するとともに選定ミスをなくし
て画像処理の迅速、正確を図ることができる。
The operation of this embodiment will be described below. The plate-shaped body 1 positioned in the measurement region while predetermining the imaging visual field range in the measurement region of each imaging device 13
The imaging area of is obtained based on the type information of the plate 1,
The image pickup device 13 including the image pickup region of the plate-shaped body 1 within the image pickup field range can be automatically selected as the image pickup device 13 corresponding to the image pickup region of the plate-shaped body 1. Therefore, as compared with manual selection, it is possible to reduce the number of selection steps, eliminate selection mistakes, and achieve quick and accurate image processing.

【0071】板状体1が模様付板状体であるとき、板
状体1の品種情報に基づき、当該板状体1の耳寸法、全
高、全長、対角長等測定のための撮像領域を求め、これ
に対応すべき撮像装置13を上記のように自動選定で
きる。
When the plate-shaped body 1 is a patterned plate-shaped body, an imaging area for measuring the ear size, total height, total length, diagonal length, etc. of the plate-shaped body 1 based on the product type information of the plate-shaped body 1. And the image pickup device 13 that should correspond to this can be automatically selected as described above.

【0072】以上、本発明の実施例を図面により詳述し
たが、本発明の具体的な構成はこの実施例に限られるも
のではなく、本発明の要旨を逸脱しない範囲の設計の変
更等があっても本発明に含まれる。例えば、本発明は、
板状体1の耳寸法測定ための撮像領域に対応する撮像装
置13を選定使用する場合に限らず、板状体1の全高、
全長、対角長等測定のための撮像領域に対応する撮像装
置13を選定使用する等に広く適用できる。
The embodiment of the present invention has been described in detail above with reference to the drawings. However, the specific structure of the present invention is not limited to this embodiment, and changes in design within the scope not departing from the gist of the present invention can be made. Even if it exists, it is included in the present invention. For example, the present invention
Not only when the image pickup device 13 corresponding to the image pickup region for measuring the ear size of the plate-shaped body 1 is selected and used, but the total height of the plate-shaped body 1 is
It can be widely applied to select and use the image pickup device 13 corresponding to the image pickup region for measuring the total length, the diagonal length and the like.

【0073】[0073]

【発明の効果】以上のように本発明によれば、多数の撮
像装置を用いる画像処理装置において、撮像装置の選定
を自動化し、選定工程を削減するとともに選定ミスをな
くして画像処理の迅速、正確を図ることができる。
As described above, according to the present invention, in an image processing apparatus using a large number of image pickup apparatuses, the selection of the image pickup apparatus can be automated, the selection process can be reduced, and selection mistakes can be eliminated to speed up the image processing. Can be accurate.

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

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

【図2】図2は板状体製造ラインを示す模式図である。FIG. 2 is a schematic view showing a plate-like 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 diagram showing a dimension measurement site of a plate-like body.

【図5】図5は撮像装置を示す模式図である。FIG. 5 is a schematic diagram showing an imaging device.

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

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

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

【図9】図9は撮像領域決定手順を示す流れ図である。FIG. 9 is a flowchart showing a procedure for determining an imaging area.

【図10】図10は撮像装置決定手順を示す流れ図であ
る。
FIG. 10 is a flowchart showing a procedure for determining an imaging device.

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

1 板状体(被測定物) 10 寸法測定システム 11 板状体搬送装置 12 板状体位置決め装置 13 撮像装置 14 画像処理装置 16 制御装置 DESCRIPTION OF SYMBOLS 1 Plate-like object (object to be measured) 10 Dimension measuring system 11 Plate-like body conveying device 12 Plate-like body positioning device 13 Imaging device 14 Image processing device 16 Control device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 各種品種の被測定物のそれぞれを順次測
定領域内の測定位置に位置付け、各被測定物の測定点を
含む撮像領域を撮像して画像処理するに際し、測定領域
に対応して設置されている多数の撮像装置の中から当該
被測定物の当該撮像領域に対応する撮像装置を選定して
使用する画像処理装置における撮像装置選定方法におい
て、 各撮像装置の測定領域内での撮像視野範囲を予め定める
とともに、 測定領域内の測定位置に位置付けられる被測定物の撮像
領域を当該被測定物の品種情報に基づいて求め、 上記被測定物の上記撮像領域をその撮像視野範囲内に含
む撮像装置を当該被測定物の当該撮像領域に対応する撮
像装置として選定することを特徴とする画像処理装置に
おける撮像装置選定方法。
1. Each of various types of measured objects is sequentially positioned at a measurement position within a measurement area, and when an image pickup area including a measurement point of each measured object is imaged and image-processed, the measurement area is corresponded to the measurement area. In an image pickup device selection method in an image processing device that selects and uses an image pickup device corresponding to the image pickup region of the object to be measured from a large number of installed image pickup devices, an image pickup is performed in the measurement region of each image pickup device. While predetermining the visual field range, the imaging area of the measured object positioned at the measurement position in the measurement area is obtained based on the product type information of the measured object, and the imaging area of the measured object is within the imaging visual field range. An image pickup apparatus selecting method in an image processing apparatus, comprising selecting an image pickup apparatus including the image pickup apparatus as an image pickup apparatus corresponding to the image pickup area of the object to be measured.
【請求項2】 前記被測定物が模様付板状体であり、板
状体の品種情報に基づき、当該板状体の耳寸法、全高、
全長、対角長等測定のための撮像領域を求める請求項1
記載の画像処理装置における撮像装置選定方法。
2. The object to be measured is a patterned plate-shaped body, and based on the type information of the plate-shaped body, the ear size, the total height of the plate-shaped body,
The imaging area for measuring the total length, the diagonal length, etc. is obtained.
A method for selecting an image pickup apparatus in the image processing apparatus described.
JP17469193A 1993-06-23 1993-06-23 Imaging device selection method in image processing device Expired - Lifetime JP2814183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17469193A JP2814183B2 (en) 1993-06-23 1993-06-23 Imaging device selection method in image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17469193A JP2814183B2 (en) 1993-06-23 1993-06-23 Imaging device selection method in image processing device

Publications (2)

Publication Number Publication Date
JPH0712538A true JPH0712538A (en) 1995-01-17
JP2814183B2 JP2814183B2 (en) 1998-10-22

Family

ID=15982999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17469193A Expired - Lifetime JP2814183B2 (en) 1993-06-23 1993-06-23 Imaging device selection method in image processing device

Country Status (1)

Country Link
JP (1) JP2814183B2 (en)

Also Published As

Publication number Publication date
JP2814183B2 (en) 1998-10-22

Similar Documents

Publication Publication Date Title
CA3029218C (en) Inspection method, inspection and reporting method, manufacturing method including the inspection method, inspection apparatus, and manufacturing apparatus
JP3311135B2 (en) Inspection range recognition method
JP7174074B2 (en) Image processing equipment, work robots, substrate inspection equipment and specimen inspection equipment
JP2617014B2 (en) Sheet length measurement system
US6163374A (en) Bending angle detection system
JP4479073B2 (en) Surface defect inspection equipment
JP2006226950A (en) Timber inspection method and device
JPH0712538A (en) Selection method of image sensing device in image processing apparatus
KR101767759B1 (en) Apparatus and Method for measuring form and surface of slab
JP2834361B2 (en) Dimension measurement system for plate-like objects by image processing
JP2639870B2 (en) Dimension measurement method of plate-like body by image processing
JP2640401B2 (en) Dimension calculation device for plate by image processing
JP2696737B2 (en) Dimension measurement system for plate-like objects by image processing
JP2640400B2 (en) Dimension calculation device for plate by image processing
JP2721074B2 (en) Dimension calculation device for plate by image processing
JPH02137339A (en) Pellet bonding device
JPH10253333A (en) Background structure for measurement of image and transfer apparatus
JP6656552B1 (en) Image inspection equipment
JPH0590365A (en) Testing apparatus
KR102005345B1 (en) An automobile junction box terminal vision inspection method using line scan camera
JP2003215048A (en) Defect-part detection method
JPH11194021A (en) Measuring device for fruits and vegetables
JPH0618228A (en) Apparatus for measuring cut length of product
CN117073538A (en) Refractory brick self-adaptive detection method based on three-dimensional vision
JPH05288521A (en) Thickness calculating device for plate body by image processing

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980714

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090814

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20090814

Year of fee payment: 11

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

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

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110814

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110814

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120814

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130814

Year of fee payment: 15

EXPY Cancellation because of completion of term