JP2757228B2 - Image data processing method for image sensor - Google Patents

Image data processing method for image sensor

Info

Publication number
JP2757228B2
JP2757228B2 JP2129518A JP12951890A JP2757228B2 JP 2757228 B2 JP2757228 B2 JP 2757228B2 JP 2129518 A JP2129518 A JP 2129518A JP 12951890 A JP12951890 A JP 12951890A JP 2757228 B2 JP2757228 B2 JP 2757228B2
Authority
JP
Japan
Prior art keywords
image
area
processing
image data
reference portion
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 - Fee Related
Application number
JP2129518A
Other languages
Japanese (ja)
Other versions
JPH0425389A (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.)
Kanto Jidosha Kogyo KK
Original Assignee
Kanto Jidosha Kogyo KK
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 Kanto Jidosha Kogyo KK filed Critical Kanto Jidosha Kogyo KK
Priority to JP2129518A priority Critical patent/JP2757228B2/en
Publication of JPH0425389A publication Critical patent/JPH0425389A/en
Application granted granted Critical
Publication of JP2757228B2 publication Critical patent/JP2757228B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、逐次搬送されてくる被加工物を自動機例え
ばロボットに作業させるために、停止した被加工物の円
形状基準部分をイメージセンサで撮像し、その画像デー
タをメモリに一旦取込み、このメモリから読出した画像
データを処理して基準部分の位置を検出し、この位置デ
ータ自体もしくはその加工データをロボットへティーチ
ングするためのイメージセンサの画像データ処理方法に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an image sensor that detects a circular reference portion of a stopped workpiece in order for an automatic machine, for example, a robot to work the workpiece that is sequentially conveyed. The image data is temporarily stored in a memory, the image data read from the memory is processed, a position of a reference portion is detected, and the position data itself or the processed data is used as an image sensor for teaching to a robot. The present invention relates to an image data processing method.

〔従来の技術〕[Conventional technology]

生産ラインにおいて、基準部分の画像データを処理し
て被加工物の位置を確認しつつロボットで作業を行う場
合、そのタクト間隔を速くするには、相応して画像デー
タの処理速度を高くしなければならない。したがって、
撮像面全域の画像データをその都度処理していたので
は、その分処理速度が遅くなる。
In a production line, when working with a robot while processing the image data of the reference part and checking the position of the workpiece, to increase the tact interval, the processing speed of the image data must be increased accordingly. Must. Therefore,
If the image data of the entire area of the imaging surface is processed each time, the processing speed becomes slower.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

よって、本発明は、円形状基準部分を撮像対象とする
ことを前提にした場合において、被加工物の基準位置に
対する画像データの処理速度を高めることのできるイメ
ージセンサの画像データ処理方法を提供することを目的
とする。
Therefore, the present invention provides an image data processing method of an image sensor that can increase the processing speed of image data with respect to a reference position of a workpiece when it is assumed that a circular reference portion is to be imaged. The purpose is to:

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、この目的を達成するために、画像メモリの
読出しを行って処理する処理領域を、標準位置に在る円
形状基準部分が占める画像メモリのアドレス領域よりも
大きめの円形状と、この円形を囲むリング状とに設定し
ておき、画像データ処理を行う際に、先ず円形状処理領
域から読出した画像データを処理し、基準部分の画像が
所定面積以上に検出できた場合には、基準部分の位置を
検出してこの位置データを自動機へティーチングし、一
方、所定面積以下の場合には、リング状処理領域からも
読出しを行って画像データ処理を行い、円形状処理領域
の画像データの処理結果と併て、又は所定面積が得られ
ず、かつリング状処理領域の画像が所定面積以上の場合
単独で基準部分の位置を検出する。
According to the present invention, in order to achieve this object, the processing area for reading and processing the image memory is set to a circular shape larger than the address area of the image memory occupied by the circular reference portion located at the standard position. It is set to a ring shape surrounding a circle, and when performing image data processing, first process the image data read from the circular processing area, and if the image of the reference portion can be detected with a predetermined area or more, The position of the reference portion is detected and the position data is taught to the automatic machine. On the other hand, if the area is smaller than a predetermined area, the data is read out from the ring-shaped processing area to perform image data processing, and the image of the circular processing area is processed. Along with the data processing result, or when a predetermined area is not obtained and the image of the ring-shaped processing area has a predetermined area or more, the position of the reference portion is detected alone.

〔作用〕[Action]

第1図に示すように、円形状処理領域R1の画像データ
を処理して検出された円形状基準部分の画像V1で所定面
積以上と判断されて所定の精度を保証できる場合には、
画像V1のアドレスから基準部分の位置を検出して自動機
へ出力する。
As shown in FIG. 1, if the image V1 of the circular reference portion detected by processing the image data of the circular processing region R1 is determined to have a predetermined area or more and a predetermined accuracy can be guaranteed,
The position of the reference portion is detected from the address of the image V1 and output to the automatic machine.

画像V1が所定面積以下の場合、リング状処理領域R2か
らも読出しを行ってその画像データ処理で検出された基
準部分の画像V2と画像V1とを併て基準部分の位置を検出
する。
When the image V1 is smaller than the predetermined area, reading is also performed from the ring-shaped processing region R2, and the position of the reference portion is detected together with the image V2 and the image V1 of the reference portion detected by the image data processing.

円形状処理領域R1の画像V1が検出されず、かつリング
状処理領域の画像V2が所定面積以上の場合にはそのデー
タ単独で基準部分の位置を検出する。
When the image V1 of the circular processing region R1 is not detected and the image V2 of the ring processing region has a predetermined area or more, the position of the reference portion is detected by the data alone.

〔実施例〕〔Example〕

第2図は、本発明による画像データ処理方法を実施す
るための構成を示すもので、搬送されてくる車両10の停
止位置をロボット11にティーチングする画像データ処理
装置を示す。
FIG. 2 shows an arrangement for carrying out an image data processing method according to the present invention, and shows an image data processing apparatus for teaching a stop position of a conveyed vehicle 10 to a robot 11.

このうち、12は、ボデー底面の円形状の基準穴19を撮
像するTVカメラである。13は、TVカメラ12から出力され
る読出し走査に対応した画像信号のレベル弁別を行い、
2値化したドット画像信号を出力する画像信号処理回路
である。
Among them, 12 is a TV camera for imaging a circular reference hole 19 on the bottom surface of the body. 13 performs level discrimination of the image signal corresponding to the read scan output from the TV camera 12,
An image signal processing circuit that outputs a binarized dot image signal.

14は、パーソナルコンピュータもしくはマイクロコン
ピュータである画像データ処理装置である。このコンピ
ュータは、読出し走査に対応したドット画像信号を画像
メモリに一旦取込む。読出しのために、第3図に示すよ
うに、撮像面の原点Oを中心にした円形状処理領域R11
及びリング状処理領域R12のアドレス範囲を予めプログ
ラムされている。また、基準穴画像の検出面積値に対す
る実際の重心点とのずれ量をテーブルとして格納されて
いる。
Reference numeral 14 denotes an image data processing device that is a personal computer or a microcomputer. This computer temporarily takes in a dot image signal corresponding to the reading scan into an image memory. For reading, as shown in FIG. 3, a circular processing region R11 centered on the origin O of the imaging surface.
The address range of the ring-shaped processing region R12 is programmed in advance. Also, the amount of deviation from the actual center of gravity point with respect to the detected area value of the reference hole image is stored as a table.

これにより、CPUは、画像メモリから先ず円形状処理
領域R11のドット画像データをプログラムに従って取込
んで、基準穴19の一部又は全部の画像が存在するか否か
を判断する。存在する場合には、その面積値を演算して
正規の面積の例えば1/2を上廻ると判断すると、その重
心位置を求めると共に、テーブルから補正値を検索し
て、実際の基準穴19の画像の重心位置を演算する。面積
値が1/2を下廻ると判断すると、処理領域R12の画像デー
タを取込んで双方を併た画像データから同様にして重心
位置を求める。同様に、処理領域R12で外寄りに検出さ
れ、その面積が1/2を上廻る場合には単独で、下廻る場
合には残りの領域R13、即ち結果として全域の処理を行
う。求めた基準穴19の中心位置データは、そのまま或は
車両10の特定部分の形状の位置データに加工してロボッ
ト11に出力する。
Accordingly, the CPU first takes in the dot image data of the circular processing region R11 from the image memory according to the program, and determines whether or not a part or all of the image of the reference hole 19 exists. If there is, when the area value is calculated and it is determined that the area exceeds the normal area, for example, 1/2, the position of the center of gravity is obtained, and the correction value is searched from the table to obtain the actual reference hole 19. Calculate the center of gravity of the image. If it is determined that the area value is less than 1/2, the image data of the processing region R12 is fetched, and the center of gravity position is similarly obtained from the image data of both. Similarly, when the area is detected outside in the processing region R12 and the area is more than 1/2, the processing is performed alone, and when the area is smaller, the remaining area R13, that is, the entire area is processed as a result. The obtained center position data of the reference hole 19 is processed as it is or processed into position data of the shape of a specific portion of the vehicle 10 and output to the robot 11.

次に、動作を第3図及び第4図のフローチャートを参
照して説明する。
Next, the operation will be described with reference to the flowcharts of FIGS.

車両10が搬送されてきて停止して、ラインから動作開
始信号が発せられると、TVカメラ12は基準穴19を撮像す
ることにより、画像信号処理回路13は基準穴19を弁別し
得るしきい値を越える画像信号を検出してドット画像信
号として出力する。画像データ処理装置は、読出し走査
に対応してドット画像データを画像メモリに取込む。先
ず、処理領域R11からドット画像データを読出して基準
穴画像、即ち対象画像V11を検出し、次いでその面積が1
/2以上の場合、その重心位置Pを求めると共に、中心O
とを結ぶ直線L上の補正量dをその面積に対応してテー
ブルから検索し、最終的に実際の重心位置P0を演算して
位置データとして送信する。処理領域R11に真円の画像
が得られた場合には、補正なしで直接実際の重心位置P0
を求める。
When the vehicle 10 is conveyed and stopped and an operation start signal is issued from the line, the TV camera 12 captures an image of the reference hole 19, and the image signal processing circuit 13 can discriminate the reference hole 19. Are detected and output as dot image signals. The image data processing device loads the dot image data into the image memory in response to the read scan. First, dot image data is read from the processing region R11 to detect a reference hole image, that is, a target image V11.
/ 2 or more, the center of gravity position P is obtained and the center O
The correction amount d on the straight line L connecting the door searches the table corresponding to the area, and transmits the final actual position data by calculating the center-of-gravity position P 0. When an image of a perfect circle is obtained in the processing region R11, the actual center of gravity position P 0 is directly obtained without correction.
Ask for.

対象画像V11の面積が1/2以下の場合、処理領域R12の
ドット画像データを読出し、対象画像V12を検出した場
合には、対象画像V11のデータと併て面積が1/2を上廻る
と、又は処理領域R12のみで面積1/2を上廻る対象画像V1
2を検出した場合には、同様に補正演算により又は直接
実際の重心位置P0を検出する。
If the area of the target image V11 is less than or equal to 、, the dot image data of the processing region R12 is read out, and if the target image V12 is detected, the area together with the data of the target image V11 exceeds 1/2. Or the target image V1 that exceeds the area 1/2 by only the processing region R12
When detecting the 2 similarly detects the correction calculation or by direct actual gravity center position P 0.

処理領域R12で外寄り対象画像を検出した場合、その
面積が1/2を越えると同様に補正をして実際の重心位置P
0を求め、1/2以下の場合さらに残りの処理領域R13のド
ット画像データを処理して対象画像V13を検出し、併て
重心位置P0を求める。この領域にも1/2以上の対象画像
が検出されない場合には、異常報知を行う。
When an out-of-bounds target image is detected in the processing region R12, if the area exceeds half, the same correction is performed and the actual center-of-gravity position P is calculated.
0 look, 1/2 or less when further processing the dot image data of the remaining processing region R13 detects an object image V13, obtains the center-of-gravity position P 0 Te併. If no more than half of the target image is detected in this area as well, abnormality notification is performed.

尚、前述の実施例は基準穴を1個撮像する場合につい
て説明したが、1個のイメージセンサで複数個の基準穴
を撮像する場合、それぞれに複数種類の処理領域を設定
する。
In the above-described embodiment, a case where one reference hole is imaged has been described. However, when a plurality of reference holes are imaged by one image sensor, a plurality of types of processing areas are set for each.

〔発明の効果〕〔The invention's effect〕

以上、本発明によれば、画像メモリの処理領域を円形
の基準部分が占める標準的な円形状アドレス領域に設定
しておくことにより、被加工物の搬入位置の検出時間を
短縮できる。さらに、大きくずれている場合のみ相応し
た広い領域の画像データを処理することにより、画像処
理は検出確度を損なうことなく効率的に行われる。
As described above, according to the present invention, by setting the processing area of the image memory to the standard circular address area occupied by the circular reference portion, it is possible to reduce the time required to detect the carry-in position of the workpiece. Furthermore, by processing image data in a wide area corresponding only to a large deviation, image processing is efficiently performed without impairing detection accuracy.

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

第1図は本発明によるイメージセンサによる画像処理方
法の原理を説明する図、第2図は同方法を実施する画像
処理装置の構成を示す図、第3図は同装置の動作を説明
する図及び第4図は同装置の動作を説明するフローチャ
ートである。 11……ロボット、12……TVカメラ、 19……基準穴。
FIG. 1 is a diagram illustrating the principle of an image processing method using an image sensor according to the present invention, FIG. 2 is a diagram illustrating a configuration of an image processing device that performs the method, and FIG. 3 is a diagram illustrating the operation of the image processing device. FIG. 4 is a flowchart for explaining the operation of the apparatus. 11… Robot, 12… TV camera, 19… Reference hole.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】逐次搬送されてくる被加工物を自動機に作
業させるために、停止した被加工物の円形状基準部分を
イメージセンサで撮像し、その撮像面に対応した画像デ
ータを画像メモリに一旦取込み、この画像メモリから読
出した画像データを処理して基準部分の位置を検出し、
この位置データを自動機へティーチングするためのイメ
ージセンサの画像データ処理方法において、 画像メモリの読出しを行って処理する処理領域を、標準
位置に在る円形状基準部分が占める画像メモリのアドレ
ス領域よりも大きめの円形状と、この円形を囲むリング
状とに設定しておき、 画像データ処理を行う際に、先ず前記円形状処理領域か
ら読出した画像データを処理し、前記基準部分の画像が
所定面積以上に検出できた場合には、前記基準部分の位
置を検出してこの位置データを自動機へティーチング
し、 一方、前記所定面積以下の場合には、前記リング状処理
領域からも読出しを行って画像データ処理を行い、前記
円形状処理領域の画像データの処理結果と併て、又は前
記所定面積が得られず、かつ前記リング状処理領域の前
記基準部分の画像が所定面積以上の場合には単独で前記
基準部分の位置を検出する、ことを特徴とするイメージ
センサの画像データ処理方法。
An image sensor captures an image of a circular reference portion of a stopped workpiece, and stores image data corresponding to the imaging surface in order to cause an automatic machine to work on the workpiece sequentially conveyed. Once, processing the image data read from this image memory to detect the position of the reference portion,
In the image data processing method of the image sensor for teaching the position data to the automatic machine, the processing area for reading and processing the image memory is set to be smaller than the address area of the image memory occupied by the circular reference portion at the standard position. In the case of performing image data processing, first, the image data read out from the circular processing area is processed, and the image of the reference portion is set to a predetermined size. If the area is larger than the area, the position of the reference portion is detected and the position data is taught to the automatic machine. If the area is smaller than the predetermined area, reading is also performed from the ring-shaped processing area. Image data processing, together with the processing result of the image data of the circular processing area, or the predetermined area is not obtained, and the ring-shaped processing area of the Image quasi portion for detecting a position of the reference portion alone in the case of a predetermined area or more, the image data processing method of an image sensor, characterized in that.
JP2129518A 1990-05-19 1990-05-19 Image data processing method for image sensor Expired - Fee Related JP2757228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2129518A JP2757228B2 (en) 1990-05-19 1990-05-19 Image data processing method for image sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2129518A JP2757228B2 (en) 1990-05-19 1990-05-19 Image data processing method for image sensor

Publications (2)

Publication Number Publication Date
JPH0425389A JPH0425389A (en) 1992-01-29
JP2757228B2 true JP2757228B2 (en) 1998-05-25

Family

ID=15011486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2129518A Expired - Fee Related JP2757228B2 (en) 1990-05-19 1990-05-19 Image data processing method for image sensor

Country Status (1)

Country Link
JP (1) JP2757228B2 (en)

Also Published As

Publication number Publication date
JPH0425389A (en) 1992-01-29

Similar Documents

Publication Publication Date Title
EP0327069A2 (en) Object recognition system for a robot
JPH0810132B2 (en) Target pattern rotation angle detection method
US4645993A (en) Position control method
JP2757228B2 (en) Image data processing method for image sensor
KR0130950B1 (en) Method for recognizing circular hole
JPH0575243B2 (en)
JPH0417472B2 (en)
JPS59114407A (en) Area measurement system of object
JPS60194303A (en) Attitude decision system for object in visual sensor processor
JPH06226561A (en) Circular position recognizing device
JP2818423B2 (en) Image processing device and work positioning device for machine tool using the same
JPS6059736B2 (en) Item position detection method
JPS56141508A (en) Method for detecting inclination of object
JPH0821081B2 (en) Window control method
JPS6180003A (en) Visual sense system with real length conversion and correction function
JPS58129888A (en) Position detector
JPH07104694B2 (en) Method of determining center of gravity of reference hole in work
JPH061247B2 (en) Defect inspection method by image processing
JPS57208441A (en) Detection system of deviation in pattern position by 2-chip comparison
JPH0524669B2 (en)
JPH0616855U (en) Multi CPU line sensor controller
JP2874752B2 (en) Image processing position detection method
JPS61194303A (en) Positioning apparatus
JPH02198311A (en) Object checking apparatus
JPH0738224B2 (en) Model determination device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees