JPH02210206A - Center indexing method for circle - Google Patents

Center indexing method for circle

Info

Publication number
JPH02210206A
JPH02210206A JP63275707A JP27570788A JPH02210206A JP H02210206 A JPH02210206 A JP H02210206A JP 63275707 A JP63275707 A JP 63275707A JP 27570788 A JP27570788 A JP 27570788A JP H02210206 A JPH02210206 A JP H02210206A
Authority
JP
Japan
Prior art keywords
circle
coordinates
center
axis
image processing
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
JP63275707A
Other languages
Japanese (ja)
Inventor
Takahiro Yamamoto
隆弘 山本
Koji Shiozaki
塩崎 宏二
Kiyoaki Shimizu
清水 清彬
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.)
Lossev Technology Corp
Original Assignee
Lossev Technology 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 Lossev Technology Corp filed Critical Lossev Technology Corp
Priority to JP63275707A priority Critical patent/JPH02210206A/en
Publication of JPH02210206A publication Critical patent/JPH02210206A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To take a highly accurate measurement even with low resolution by finding the coordinates of intersections of (n) scanning lines parallel to an X and a Y axis and arcs, every semicircle, and calculating the center coordinates of the circle from specific expressions when the center of the circle is indexed by image processing on X-Y orthogonal coordinates. CONSTITUTION:When the center of the circle is indexed by the image processing on the X-Y orthogonal coordinates, the coordinates of intersections of (n) scanning lines parallel to the X axis and the arcs and the coordinates of intersections of (n) scanning lines parallel to the Y axis and the arcs are found, every semicircle. Then the center coordinates of the circle are calculated from the expressions to take a highly accurate measurement even with the low resolution.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、画像処理によって、円の中心を割り出す方法
に関する。
TECHNICAL FIELD OF THE INVENTION The present invention relates to a method for determining the center of a circle by image processing.

従来技術 円の中心を画像処理の分野で精度よく測定する方法とし
て、次の測定方法がある。
BACKGROUND ART As a method for accurately measuring the center of a circle in the field of image processing, there is the following measurement method.

第一の測定方法は、第5図に示すように、矢印の移動方
向で円弧の端部を画像処理によって認識し、そのときの
ステッピングモータの回転量をロータリエンコーダで計
数することによって、送りピッチを精度として、円の半
径Rから中心を求める方法である。
The first measurement method, as shown in Figure 5, is to recognize the end of the arc in the moving direction of the arrow through image processing, and then count the amount of rotation of the stepping motor at that time with a rotary encoder to determine the feed pitch. This is a method of finding the center from the radius R of the circle, with the accuracy as follows.

また、第二の測定方法は、第6図に示すように、■フレ
ーム内で、円全体をX方向およびY方向の高分解能のn
分割走査線で認識し、その各方向毎に直径り外で走査線
の本数を計数し、中心座標を求める技法である。
As shown in Figure 6, the second measurement method is to measure the entire circle with high resolution n in the X and Y directions within the frame.
This is a technique that recognizes divided scanning lines, counts the number of scanning lines outside the diameter in each direction, and calculates the center coordinates.

さらに、第三の測定方法は、第7図に示すように、予め
カメラの認識位置を定めておき、円の4箇所の端部で円
弧を認識し、そのドツト数からX軸およびY軸方向につ
いて直径をn分割ピッチのドツト数から計数する技法で
ある。
Furthermore, as shown in Figure 7, the third measurement method is to determine the recognition position of the camera in advance, recognize the arc at the four ends of the circle, and use the number of dots to determine the number of dots in the X-axis and Y-axis directions. This is a technique of counting the diameter from the number of dots divided into n division pitches.

これらの技法では、いずれも、カメラの分解能で精度1
決まり、さらに円の1本または2本の直径上の円弧のみ
が観測されるため、円全体の正確なデータが得られず、
その分測定データの精度が落ち、正確な中心の割り出し
が困難であった。
All of these techniques have an accuracy of 1 due to the camera resolution.
Furthermore, since only arcs on one or two diameters of the circle are observed, accurate data for the entire circle cannot be obtained,
As a result, the accuracy of the measurement data decreased, making it difficult to accurately determine the center.

発明の目的 したがって、本発明の目的は、画像処理の分野で、円全
体のデータを求め一円の中心を正確に割り出すことであ
る。
OBJECTS OF THE INVENTION Accordingly, it is an object of the present invention to obtain data for an entire circle and accurately determine the center of a circle in the field of image processing.

発明の解決手段 上記目的のもとに、本発明は、X方向およびY方向毎に
、円の4箇所で座標を求め、その4つの座標に基づいて
円の中心を平均化しながら求めている。
Solution to the Invention Based on the above object, the present invention obtains coordinates at four points on a circle in each of the X and Y directions, and averages the center of the circle based on the four coordinates.

第1図および第2図は、本発明の原理を示している。ま
ず、第1図で、X−Y直交座標上で、円の中心座標はX
軸と円弧との交点座標x、、Xz、およびY軸と円弧と
の交点座標yl、yzをそれぞれ平均化することによっ
て下記の式から求められる。
1 and 2 illustrate the principle of the invention. First, in Figure 1, on the X-Y orthogonal coordinates, the center coordinates of the circle are
It is obtained from the following equation by averaging the intersection coordinates x, , Xz between the axis and the circular arc, and the intersection coordinates yl, yz between the Y axis and the circular arc, respectively.

この技法は、既に述べた第6図および第7図の技法と基
本的に同じであるため、その測定精度に限界がある。
Since this technique is basically the same as the technique of FIGS. 6 and 7 already described, there is a limit to its measurement accuracy.

次に、第2図は、X軸およびY軸方向について、円の4
箇所で交点座標XI 、xz 、X2 、Xa、yl、
y2、y3、y4を求め、それを平均化しながら円の中
心座標を求めている。すなわち、円の中心座標はそれぞ
れ下記の式によって求められる。
Next, Fig. 2 shows the 4th axis of the circle in the
Intersection coordinates XI, xz, X2, Xa, yl,
y2, y3, and y4 are obtained, and the center coordinates of the circle are obtained by averaging them. That is, the center coordinates of each circle are determined by the following formulas.

この測定原理によると、円の8箇所で交点座標が求めら
れ、それらの値が平均化されるため、低い分解能でも、
円の中心座標が精度よく測定できる。
According to this measurement principle, the intersection coordinates are found at eight points on the circle, and these values are averaged, so even with low resolution,
The center coordinates of a circle can be measured with high accuracy.

本発明の中心割り出し方法は、上記の原理を基礎とし、
画像処理分野の特徴的な事項すなわち走査線の数毎に上
記の測定原理を拡張し、測定対象の円全体を把握しなが
ら、低分解能で精度よく測定するようにしている。
The center determining method of the present invention is based on the above principle,
The above measurement principle is extended to each characteristic of the field of image processing, that is, the number of scanning lines, and the measurement is performed with low resolution and high precision while grasping the entire circle of the measurement target.

測定装置の構成 第3図は、測定装置1の構成を示している。Measuring device configuration FIG. 3 shows the configuration of the measuring device 1.

測定対象の光ディスクなどの円2は、カメラ3の移動範
囲内に設置される。そして、このカメラ3は、X−Y位
置決め装置4によって光ディスクの円2の測定位置に移
動し、そこで円2を観測し、フレームメモリ5に記憶さ
せる。
A circle 2 such as an optical disk to be measured is placed within the movement range of the camera 3. Then, this camera 3 is moved by the X-Y positioning device 4 to the measuring position of the circle 2 on the optical disk, observes the circle 2 there, and stores it in the frame memory 5.

そして、画像処理装置6は、本発明の中心割り出し方法
に基づくプログラムを内蔵しており、キーボード7から
の指令に基づき、フレームメモリ5からの円2のデータ
およびX−Y位置決め装置4の移動量のデータなどに基
づいて、必要な演算を行い、円2の中心を求め、デイス
プレィ8によって表示するか、またはプリンタ9に記録
してい(。
The image processing device 6 has a built-in program based on the center determining method of the present invention, and based on commands from the keyboard 7, the data of the circle 2 from the frame memory 5 and the amount of movement of the X-Y positioning device 4 are stored. Based on the data, etc., necessary calculations are performed to determine the center of the circle 2, and the center is displayed on the display 8 or recorded on the printer 9 (.

円の中心割り出し方法 測定に際し、X−Y位置決め装置4は、X−Y直交座標
上で、X軸およびY軸毎にそれぞれの測定箇所に順次移
動させていく。このときの移動量のデータは、画像処理
装置6に入力されている。
Method for determining the center of a circle During measurement, the X-Y positioning device 4 sequentially moves each X-axis and Y-axis to respective measurement points on the X-Y orthogonal coordinates. The data on the amount of movement at this time is input to the image processing device 6.

もちろん、−視野で円の測定箇所のすべてがとらえられ
るとき、カメラ3の移動の必要はない。
Of course, there is no need to move the camera 3 when all of the measuring points of the circle are captured in the field of view.

ここで、カメラ3の視野は、例えば58.5(n)であ
り、X軸およびY軸方向のドツト数は、それぞれ512
.480である。このため、X軸およびY軸方向の精度
は、それぞれ下記のようになる。
Here, the field of view of the camera 3 is, for example, 58.5(n), and the number of dots in the X-axis and Y-axis directions is 512, respectively.
.. It is 480. Therefore, the accuracy in the X-axis and Y-axis directions is as follows.

X軸方向精度:585001512 =114.3  
(μn/dat )Y軸方向精度:58500/480
 =121.9  (、lJm/dat )次に、カメ
ラ3は、4箇所の測定箇所すなわち上下の半円毎にX軸
に平行なn個の走査線によって、円弧を撮像して、その
画像を電気的な信号に変換し、フレームメモリ5に記憶
させる。そこで、画像処理装置6は、それぞれの走査線
と円弧との交点を画像処理によって求め、ドツトの数か
ら、X軸上の交点座標を求め、下記の弐から円2の中心
のX座標を算出する。
X-axis direction accuracy: 585001512 = 114.3
(μn/dat) Y-axis direction accuracy: 58500/480
= 121.9 (,lJm/dat) Next, the camera 3 images the arc using n scanning lines parallel to the X axis at each of the four measurement points, that is, the upper and lower semicircles, and It is converted into an electrical signal and stored in the frame memory 5. Therefore, the image processing device 6 uses image processing to find the intersection between each scanning line and the circular arc, finds the coordinates of the intersection on the X axis from the number of dots, and calculates the X coordinate of the center of the circle 2 from the number 2 below. do.

同様に、カメラ3は、4箇所の測定箇所すなわち左右の
半円毎にY軸に平行なn個の走査線によって、円弧を撮
像して、その画像を電気的な信号に変換し、フレームメ
モリ5に記憶させる。そこで、画像処理装置6は、それ
ぞれの走査線と円弧との交点を画像処理によって定め、
ドツトの数から、Y軸上の交点座標を求め、下記の式か
ら円2の中心のY座標を算出する。
Similarly, the camera 3 images the arc using n scanning lines parallel to the Y-axis at each of the four measurement points, that is, the left and right semicircles, converts the image into an electrical signal, and stores it in the frame memory. 5 to be memorized. Therefore, the image processing device 6 determines the intersection of each scanning line and the circular arc by image processing,
The coordinates of the intersection on the Y axis are determined from the number of dots, and the Y coordinate of the center of circle 2 is calculated from the following formula.

この測定によると、合計8箇所の交点座標位置で、0回
の測定が行われ、その平均が求められることになるため
、走査線およびドツト数が低分解能であっても、交点座
標値は、円全体について平均化により高い精度で求めら
れることになる。
According to this measurement, 0 measurements are performed at a total of 8 intersection coordinate positions, and the average is calculated, so even if the scanning line and number of dots have low resolution, the intersection coordinate value is This can be determined with high precision by averaging over the entire circle.

なお、この方法は、光ディスクの中心位置にハブを固定
することを前提として開発されたが、その他の中心の割
り出し分野、例えばノズル孔の中心割り出しや、ICフ
ラットパッケージの中心割り出し、あるいは加工対象の
円形のワークを座標系の原点に一敗させるときなどに応
用できる。
Although this method was developed on the premise of fixing the hub at the center position of an optical disk, it can also be used in other center locating fields, such as locating the center of a nozzle hole, locating the center of an IC flat package, or locating the center of a processing object. This can be applied when moving a circular workpiece to the origin of a coordinate system.

発明の効果 本発明では、円周上でX軸およびY軸方向毎に、4箇所
の交点座標が観測され、しかも各交点座標毎にn個の交
点座標が求められ、それが平均化されるため、低分解能
でも高い精度の測定が可能となり、また円周全体が観測
されるため、部分的な観測位置のデータよりも信顛性が
高められる。
Effects of the Invention In the present invention, four intersection coordinates are observed for each of the X-axis and Y-axis directions on the circumference, and n intersection coordinates are determined for each intersection coordinate, and these are averaged. This makes it possible to measure with high accuracy even with low resolution, and since the entire circumference is observed, the reliability is higher than data from partial observation positions.

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

第1図および第2図は本発明の測定原理の説明図、第3
図は測定装置のブロック線図、第4図は測定状況の説明
図、第5図、第6図および第7図は従来の測定方法の説
明図である。 1・・測定装置、2・・光ディスクなどの円、3・・カ
メラ、4・・X−Y位置決め装置、5・・フレームメモ
リ、6・・画像処理装置、7・・キーボード、8・・デ
イスプレィ、9・・プリンタ。 第7図 第3図 第4図
Figures 1 and 2 are explanatory diagrams of the measurement principle of the present invention;
The figure is a block diagram of the measuring device, FIG. 4 is an explanatory diagram of the measurement situation, and FIGS. 5, 6, and 7 are explanatory diagrams of the conventional measuring method. 1. Measuring device, 2. Circle of optical disk, etc., 3. Camera, 4. X-Y positioning device, 5. Frame memory, 6. Image processing device, 7. Keyboard, 8. Display. , 9...Printer. Figure 7 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 X−Y直交座標上で、円の中心を画像処理によって割り
出すに際し、半円毎にX軸に平行なn個の走査線と円弧
との交点座標、および半円毎にY軸に平行なn個の走査
線と円弧との交点座標をそれぞれ求め、下記の演算式か
ら円の中心座標を算出することを特徴とする円の中心割
り出し方法。 ▲数式、化学式、表等があります▼ ▲数式、化学式、表等があります▼
[Claims] When determining the center of a circle on the X-Y orthogonal coordinates by image processing, the intersection coordinates of n scanning lines parallel to the X axis and the circular arc for each semicircle, and A method for determining the center of a circle, characterized in that the coordinates of the intersections of n scanning lines parallel to the Y-axis and the circular arc are determined, and the coordinates of the center of the circle are calculated from the following arithmetic expression. ▲There are mathematical formulas, chemical formulas, tables, etc.▼ ▲There are mathematical formulas, chemical formulas, tables, etc.▼
JP63275707A 1988-10-31 1988-10-31 Center indexing method for circle Pending JPH02210206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63275707A JPH02210206A (en) 1988-10-31 1988-10-31 Center indexing method for circle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63275707A JPH02210206A (en) 1988-10-31 1988-10-31 Center indexing method for circle

Publications (1)

Publication Number Publication Date
JPH02210206A true JPH02210206A (en) 1990-08-21

Family

ID=17559247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63275707A Pending JPH02210206A (en) 1988-10-31 1988-10-31 Center indexing method for circle

Country Status (1)

Country Link
JP (1) JPH02210206A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208380A (en) * 2006-01-31 2007-08-16 Fujitsu Ltd Dc offset correction apparatus and method thereof
CN106813569A (en) * 2015-11-30 2017-06-09 中国科学院沈阳自动化研究所 A kind of automobile tire 3-D positioning method based on line-structured light
CN113878217A (en) * 2021-11-10 2022-01-04 中国航发南方工业有限公司 Electron beam welding method and electron beam welding device for aviation parts

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59178580A (en) * 1983-03-30 1984-10-09 Fujitsu Ltd Calculating system of center fix point of pattern
JPS61198007A (en) * 1985-02-27 1986-09-02 Omron Tateisi Electronics Co Center position measuring method for circular pattern using image pickup device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59178580A (en) * 1983-03-30 1984-10-09 Fujitsu Ltd Calculating system of center fix point of pattern
JPS61198007A (en) * 1985-02-27 1986-09-02 Omron Tateisi Electronics Co Center position measuring method for circular pattern using image pickup device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007208380A (en) * 2006-01-31 2007-08-16 Fujitsu Ltd Dc offset correction apparatus and method thereof
CN106813569A (en) * 2015-11-30 2017-06-09 中国科学院沈阳自动化研究所 A kind of automobile tire 3-D positioning method based on line-structured light
CN106813569B (en) * 2015-11-30 2019-02-15 中国科学院沈阳自动化研究所 A kind of automobile tire 3-D positioning method based on line-structured light
CN113878217A (en) * 2021-11-10 2022-01-04 中国航发南方工业有限公司 Electron beam welding method and electron beam welding device for aviation parts

Similar Documents

Publication Publication Date Title
US7366637B2 (en) Form measuring instrument
CN100335860C (en) Workpiece inspection method
US4866643A (en) Method for automatic compensation of probe offset in a coordinate measuring machine
JPH1183438A (en) Position calibration method for optical measuring device
CN115979118B (en) Device and method for measuring verticality error and error azimuth angle of cylindrical part
CN107044837A (en) Method, device and control device for demarcating detection tool coordinates system
CN106813570B (en) The identification of elongated cylindrical object dimensional and localization method based on line-structured light scanning
JP2001241941A (en) Geometrical element measuring device and method
JPH02210206A (en) Center indexing method for circle
Jie-chi et al. Two dimensional tracing and measurement using touch trigger probes
CN109099873A (en) A kind of indexing single-line type method for measuring spatial location and device
JPS63108215A (en) Method and device for measuring tooth by using coordinate measuring machine
JPH02253114A (en) Method and instrument for measuring degree of straightness
JPS6130681B2 (en)
JPH10103905A (en) Measurement method
JP2754128B2 (en) Cylindricity measuring device and measuring method
JPH045328B2 (en)
CN113099218B (en) Method for testing performance of video image measuring instrument
KR100230942B1 (en) Three dimensional comparative measuring apparatus
JPH075012U (en) Three-point inner diameter measuring instrument for inclined irregular shaped holes
JPH04252911A (en) Three-dimensional measuring apparatus
JP3477921B2 (en) Projector
CN114413756A (en) Standard circular arc surface vertex positioning method and device
CN116379924A (en) Repeated positioning precision determining method, device, equipment and storage medium
CN116625216A (en) Pose detection device and method for rotating shaft