JPH04336994A - Scaling jig - Google Patents

Scaling jig

Info

Publication number
JPH04336994A
JPH04336994A JP13534891A JP13534891A JPH04336994A JP H04336994 A JPH04336994 A JP H04336994A JP 13534891 A JP13534891 A JP 13534891A JP 13534891 A JP13534891 A JP 13534891A JP H04336994 A JPH04336994 A JP H04336994A
Authority
JP
Japan
Prior art keywords
scaling
jig
camera
receiver
view
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP13534891A
Other languages
Japanese (ja)
Inventor
Yumiko Hori
堀 由美子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP13534891A priority Critical patent/JPH04336994A/en
Publication of JPH04336994A publication Critical patent/JPH04336994A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)

Abstract

PURPOSE:To shorten scaling time and to make easy response even when the height of a camera from the work or the sort of the lens is changed. CONSTITUTION:At the startup time of a production line in which an image is input from a camera and a process is carried out, a scaling jig 11 is placed in the field of view of the camera, and the input image is shown in an image receiving machine 15. The scaling jig 11 has an outer white part 12, a black part 13, and an inner white part 14, making three concentric circles. Of the circles in the field of view of the camera, the part where the circumference is in the field of view perfectly is made as the scaling jig. Then a frame 6 to surround the scaling jig 11 is displayed, it is calculated to what picture element on the image receiving machine 15 the diameter of the scaling jig 11 corresponds, and the actual length per one picture element is calculated.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明はカメラから入力された
画像を受像機に映してスケーリングする場合に用いるス
ケーリング治具に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scaling jig used for scaling an image input from a camera by displaying it on a receiver.

【0002】0002

【従来の技術】ロボットのハンドがワークを把持して所
定の位置に移動させるというシステムの場合、ワークの
位置が固定されていれば、あらかじめワークの位置をロ
ボットに教えれば、目的の動作は実行可能である。しか
し、ワークがランダムに置かれている場合は、ロボット
にはワークの位置が不明であるため、ロボットに目的の
動作を実行させることは不可能である。
[Prior Art] In the case of a system in which a robot's hand grasps a workpiece and moves it to a predetermined position, if the position of the workpiece is fixed, the desired operation can be carried out by teaching the position of the workpiece to the robot in advance. It is possible. However, if the workpieces are placed randomly, the robot does not know the position of the workpieces, and therefore it is impossible to make the robot perform the desired operation.

【0003】この場合、例えばロボットのハンドにカメ
ラを取り付けておけば以下のようにして、目的の動作が
実行可能となる。■  ワークがあると思われる位置に
、カメラ、すなわちハンドを移動する。■  カメラか
らワークの画像を入力する。■  上記画像からワーク
の位置を視覚センサが計算する。■  ワークの位置を
視覚センサからロボットに教える。■  これでワーク
の位置が分かり、ロボットはワークを把持して所定の位
置に移動する。
[0003] In this case, for example, if a camera is attached to the robot's hand, the desired operation can be executed as follows. ■ Move the camera, or hand, to the position where the workpiece is thought to be. ■ Input the image of the workpiece from the camera. ■ The visual sensor calculates the position of the workpiece from the above image. ■ Teach the robot the position of the workpiece using a visual sensor. ■ The position of the workpiece is now known, and the robot grasps the workpiece and moves it to the specified position.

【0004】このため、このロボットが使用される生産
ラインの立上げ時に、図4に示すようにスケーリング治
具を用いてスケーリング(後述)が行なわれる。すなわ
ち、ロボットのハンド1に装着されたカメラ2にレンズ
3を通してスケーリング治具4を撮像して、これをテレ
ビジョン受像機(以下受像機という)に映してスケーリ
ングするものである。
For this reason, when starting up a production line in which this robot is used, scaling (described later) is performed using a scaling jig as shown in FIG. That is, the scaling jig 4 is imaged by a camera 2 attached to a robot hand 1 through a lens 3, and the image is displayed on a television receiver (hereinafter referred to as a receiver) for scaling.

【0005】図4及び図5は、従来のスケーリング手順
を示す図で、図4はスケーリング治具の平面図、図5は
受像機による画像である。図において、4は正方形の形
状を持つスケーリング治具、5は受像機、6はカメラ2
のX軸、7は同じくY軸である。
FIGS. 4 and 5 are diagrams showing a conventional scaling procedure. FIG. 4 is a plan view of a scaling jig, and FIG. 5 is an image taken by a receiver. In the figure, 4 is a scaling jig with a square shape, 5 is a receiver, and 6 is a camera 2.
7 is the X axis, and 7 is the Y axis.

【0006】スケーリングとは、カメラ2の単位画素当
たりの長さが、いくつになるかを換算するために必要な
動作である。このスケーリングの結果、1画素当たり約
2mmに相当すると仮定し、入力された画像から、ワー
クの長さが10画素であれば、実際の長さは約20mm
に相当することが分かる。同様にワークの座標(位置)
も分かる。
[0006] Scaling is an operation necessary to convert the length per unit pixel of the camera 2. Assuming that the result of this scaling corresponds to approximately 2 mm per pixel, and from the input image, if the length of the workpiece is 10 pixels, the actual length is approximately 20 mm.
It can be seen that this corresponds to Similarly, the coordinates (position) of the workpiece
I also understand.

【0007】すなわち、上記生産ライン立上げ時に、ス
ケーリング治具4をカメラ2の視野内に置き、入力画像
を受像機5に映す。スケーリング治具4の各辺が、受像
機5のX軸6及びY軸7と平行になるように、スケーリ
ング治具4の向きを調整する。次に、スケーリング治具
4の一辺が受像機5上で何画素になるかを調べ、1画素
当たりの実際の長さ(スケーリングデータ)を計算する
。スケーリングを生産ラインの立上げ時に行なうのは、
スケーリングデータはワークからカメラ2までの高さが
変化すると、同様に変化するためである。
That is, when starting up the production line, the scaling jig 4 is placed within the field of view of the camera 2, and the input image is projected onto the receiver 5. The orientation of the scaling jig 4 is adjusted so that each side of the scaling jig 4 is parallel to the X axis 6 and Y axis 7 of the image receiver 5. Next, it is determined how many pixels one side of the scaling jig 4 has on the receiver 5, and the actual length per pixel (scaling data) is calculated. Scaling is done when starting up a production line.
This is because the scaling data similarly changes when the height from the workpiece to the camera 2 changes.

【0008】[0008]

【発明が解決しようとする課題】上記のような従来のス
ケーリング治具では、形状が正方形であるため、その各
辺が受像機5のX軸6及びY軸7と平行になるように、
受像機5を見ながら調整しなければならないという問題
点がある。また、形状が1種類であるため、ワークから
のカメラ2の高さが変化したり、レンズ3が変更になっ
たりした場合には、その都度適当なスケーリング治具の
用意が必要であるという問題点がある。
[Problems to be Solved by the Invention] Since the conventional scaling jig as described above has a square shape, the scaling jig is scaled so that each side thereof is parallel to the X-axis 6 and Y-axis 7 of the image receiver 5.
There is a problem in that adjustments must be made while looking at the receiver 5. Another problem is that since there is only one type of shape, if the height of the camera 2 from the workpiece changes or the lens 3 is changed, it is necessary to prepare an appropriate scaling jig each time. There is a point.

【0009】この発明は上記問題点を解決するためにな
されたもので、治具の向きの調整が省略できると共に、
カメラの高さやレンズの変更に左右されることを防止で
きるスケーリング治具を提供することを目的とする。
[0009] This invention was made to solve the above-mentioned problems, and the adjustment of the direction of the jig can be omitted, and
The purpose of the present invention is to provide a scaling jig that can be prevented from being affected by changes in camera height or lens.

【0010】0010

【課題を解決するための手段】この発明に係るスケーリ
ング治具は、その形状を真円形状にしたものである。
[Means for Solving the Problems] A scaling jig according to the present invention has a perfect circular shape.

【0011】また、治具の形状を黒色及び白色の同心円
にしたものである。
Furthermore, the shape of the jig is black and white concentric circles.

【0012】0012

【作用】この発明においては、治具を真円形状にしたた
め、カメラのX軸及びY軸との関係はなくなる。
[Operation] In this invention, since the jig has a perfect circular shape, there is no relationship with the X-axis and Y-axis of the camera.

【0013】また、治具を黒色及び白色の同心円にした
ため、治具とする部分を黒色及び白色のいずれにでも決
定できる。
Furthermore, since the jig is made of black and white concentric circles, the part to be used as the jig can be determined to be either black or white.

【0014】[0014]

【実施例】図1〜図3はこの発明の一実施例を示す図で
、図1はスケーリング治具の平面図、図2及び図3はス
ケーリング治具を受像機に映した図であり、従来装置と
同様の部分は同一符号で示す。なお、図4はこの実施例
にも共用される。
[Embodiment] FIGS. 1 to 3 are views showing an embodiment of the present invention. FIG. 1 is a plan view of a scaling jig, and FIGS. 2 and 3 are views of the scaling jig projected onto a receiver. Portions similar to those of the conventional device are designated by the same reference numerals. Note that FIG. 4 is also used in this embodiment.

【0015】図において、11は真円状に形成されたス
ケーリング治具、12はスケーリング治具11の外の白
部分、13は同じく黒部分、14は同じく内の白部分で
、外白部分12、黒部分13及び内白部分14のそれぞ
れの外周線は同心円となっている。15は受像機、16
は受像機15に映ったスケーリング治具11の画素数を
計算するために受像機15に表示させる枠である。
In the figure, 11 is a scaling jig formed into a perfect circle, 12 is an outer white part of the scaling jig 11, 13 is a black part, and 14 is an inner white part. , the outer circumferential lines of the black portion 13 and the inner white portion 14 are concentric circles. 15 is a receiver, 16
is a frame displayed on the receiver 15 in order to calculate the number of pixels of the scaling jig 11 reflected on the receiver 15.

【0016】次に、この実施例の使用手順を図2により
説明する。カメラ3から画像を入力して処理を行なう生
産ライン立上げ時に、スケーリング治具11をカメラ2
の視野内に置き、入力画像を受像機15に映す。カメラ
2の視野内に入った円の内、円周が完全に視野内に入っ
た部分をスケーリング治具とする。図2では外白部分1
2がスケーリング治具となっている。次に、外白部分1
2の外周円を囲む枠16を表示させ、外白部分12の外
周円の直径が受像機15上で何画素に相当するかを調べ
る。そして、1画素当たりの実際の長さを計算する。
Next, the procedure for using this embodiment will be explained with reference to FIG. When starting up a production line where images are input from camera 3 and processed, scaling jig 11 is attached to camera 2.
The input image is projected onto the receiver 15. Among the circles within the field of view of the camera 2, the part whose circumference is completely within the field of view is used as a scaling jig. In Figure 2, the outer white part 1
2 is a scaling jig. Next, outer white part 1
A frame 16 surrounding the outer circumferential circle of the outer white portion 12 is displayed, and it is checked how many pixels the diameter of the outer circumferential circle of the outer white portion 12 corresponds to on the receiver 15. Then, calculate the actual length per pixel.

【0017】次に、スケーリング治具11全体がカメラ
2の視野内に映らない場合について、図3により説明す
る。この場合は、カメラ2の視野内に入った円の内、円
周が完全に視野内に入った部分をスケーリング治具とす
る。図3では黒部分13がスケーリング治具となってい
る。次に、図2と同様に黒部分13の外周円を囲む枠1
6を表示させ、黒部分13の外周円の直径が受像機15
上で何画素に相当するかを調べ、1画素当たりの実際の
長さを計算する。
Next, a case where the entire scaling jig 11 is not visible within the field of view of the camera 2 will be explained with reference to FIG. In this case, the portion of the circle whose circumference is completely within the field of view of the camera 2 is used as the scaling jig. In FIG. 3, the black portion 13 is a scaling jig. Next, as in FIG. 2, a frame 1 surrounding the outer circumference of the black part 13
6 is displayed, and the diameter of the outer circle of the black part 13 is the same as that of the receiver 15.
Check how many pixels correspond to the above and calculate the actual length per pixel.

【0018】上記実施例では、スケーリング治具11の
色を、外側から白、黒、白の順にしたが、黒、白、黒の
順でもよい。また、色区分を3区分にしたが、4区分、
5区分等でもよい。
In the above embodiment, the colors of the scaling jig 11 are arranged in the order of white, black, and white from the outside, but the order of colors may be black, white, and black. In addition, the color classification was divided into 3 categories, but 4 categories,
It may be divided into 5 categories, etc.

【0019】[0019]

【発明の効果】以上説明したとおりこの発明では、スケ
ーリング治具の形状を真円状にしたので、カメラのX軸
及びY軸との関係はなくなり、向きの調整が省略できる
効果がある。
As explained above, in the present invention, the shape of the scaling jig is made into a perfect circle, so there is no relationship with the X-axis and Y-axis of the camera, and the adjustment of the orientation can be omitted.

【0020】また、治具の形状を黒色及び白色の同心円
にしたので、治具とする部分を黒色及び白色のいずれに
でも決定でき、カメラの高さやレンズの変更に応じてス
ケーリング治具を何種類も用意する手間が省け、スケー
リングを短時間で完了できる効果がある。
Furthermore, since the shape of the jig is made into black and white concentric circles, the part to be used as the jig can be determined to be either black or white, and the scaling jig can be used in any way depending on the height of the camera or the change of the lens. It saves the effort of preparing types, and has the effect of completing scaling in a short time.

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

【図1】この発明によるスケーリング治具の一実施例を
示す平面図。
FIG. 1 is a plan view showing an embodiment of a scaling jig according to the present invention.

【図2】図1のスケーリング治具を受像機に映した図。FIG. 2 is a diagram showing the scaling jig of FIG. 1 projected on a receiver.

【図3】図2の別の例を示す図。FIG. 3 is a diagram showing another example of FIG. 2;

【図4】従来のスケーリング説明図。FIG. 4 is an explanatory diagram of conventional scaling.

【図5】図4のスケーリング治具の平面図。FIG. 5 is a plan view of the scaling jig shown in FIG. 4.

【図6】図5のスケーリング治具を受像機に映した図。FIG. 6 is a diagram showing the scaling jig shown in FIG. 5 projected on a receiver.

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

2  カメラ 11  スケーリング治具 12  同心円(外白部分) 13  同心円(黒部分) 14  同心円(内白部分) 15  受像機 2 Camera 11 Scaling jig 12 Concentric circles (outer white part) 13 Concentric circles (black part) 14 Concentric circles (inner white part) 15 Receiver

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  カメラから入力された画像を受像機に
映してスケーリングする場合に用いられ、上記カメラに
よって撮像される所定形状を有するものにおいて、上記
所定形状を真円形状としたことを特徴とするスケーリン
グ治具。
Claim 1: Used for scaling an image input from a camera by displaying it on a receiver, and having a predetermined shape to be imaged by the camera, characterized in that the predetermined shape is a perfect circle shape. scaling jig.
【請求項2】  所定形状を黒色及び白色の同心円とし
たことを特徴とする請求項1記載のスケーリング治具。
2. The scaling jig according to claim 1, wherein the predetermined shape is black and white concentric circles.
JP13534891A 1991-05-13 1991-05-13 Scaling jig Pending JPH04336994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13534891A JPH04336994A (en) 1991-05-13 1991-05-13 Scaling jig

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13534891A JPH04336994A (en) 1991-05-13 1991-05-13 Scaling jig

Publications (1)

Publication Number Publication Date
JPH04336994A true JPH04336994A (en) 1992-11-25

Family

ID=15149666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13534891A Pending JPH04336994A (en) 1991-05-13 1991-05-13 Scaling jig

Country Status (1)

Country Link
JP (1) JPH04336994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07198355A (en) * 1993-12-28 1995-08-01 Matsushita Electric Ind Co Ltd Measuring method of component recognition camera scale ratio and angle of rotation in electronic component mounting machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07198355A (en) * 1993-12-28 1995-08-01 Matsushita Electric Ind Co Ltd Measuring method of component recognition camera scale ratio and angle of rotation in electronic component mounting machine

Similar Documents

Publication Publication Date Title
CN100476572C (en) Image processing system, projector,and image processing method
EP0498659B1 (en) Adjustment apparatus for video display means
JPS59115677A (en) Picture processor
US20190385377A1 (en) Virtual spatially registered video overlay display
JPH049332B2 (en)
US6471355B1 (en) Image control system
JP2893078B2 (en) Shading correction method and device
JPH07286820A (en) Position measuring method using three-dimensional visual sensor, and positional deviation correcting method
CN110097516A (en) Inner hole wall surface pattern distortion correcting method, system and medium
JPH04336994A (en) Scaling jig
US20050105822A1 (en) Variable distortion aberration image pickup device
JP2020092418A (en) Image correction method and apparatus of the same
JPH04365586A (en) Optical axis aligning method and orthogonal axis aligning method for hand eye
RU2199150C2 (en) Optoelectronic system calibration device
JPH0675617A (en) Camera view point change system
JP2006323127A (en) Image projection system, image processing device and image processing program
US20050030380A1 (en) Image providing apparatus, field-of-view changing method, and computer program product for changing field-of-view
JPH02276901A (en) Position shift correcting method for visual sensor
JP2007081925A (en) Omnidirectional imaging apparatus
JPH0391877A (en) Picture processing device
JPH01116401A (en) Parallax correction system for visual sensor
KR0138336B1 (en) Center location regulation method and apparatus for projection t.v
JPH09183088A (en) Robot device with visual sensor
JPS5818110A (en) Measuring method for solid body
JPH05301195A (en) Camera position slippage detecting method in visual sensor