TWI637157B - Sprocket wheel inspection method and apparatus - Google Patents

Sprocket wheel inspection method and apparatus Download PDF

Info

Publication number
TWI637157B
TWI637157B TW106115894A TW106115894A TWI637157B TW I637157 B TWI637157 B TW I637157B TW 106115894 A TW106115894 A TW 106115894A TW 106115894 A TW106115894 A TW 106115894A TW I637157 B TWI637157 B TW I637157B
Authority
TW
Taiwan
Prior art keywords
coordinate value
pixel
coordinate
sampling
toothed disc
Prior art date
Application number
TW106115894A
Other languages
Chinese (zh)
Other versions
TW201901128A (en
Inventor
江智偉
孫書煌
江宏偉
Original Assignee
達奈美克股份有限公司
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 達奈美克股份有限公司 filed Critical 達奈美克股份有限公司
Priority to TW106115894A priority Critical patent/TWI637157B/en
Application granted granted Critical
Publication of TWI637157B publication Critical patent/TWI637157B/en
Publication of TW201901128A publication Critical patent/TW201901128A/en

Links

Abstract

一種齒盤檢測方法,用以檢測一齒盤旋轉時之一偏擺程度,所述齒盤檢測方法包括:將待檢測之該齒盤設置於一第一位置上並作旋轉;將一影像擷取單元設置於一第二位置上,並拍攝旋轉的該齒盤之側面而獲得複數拍攝影像,每一拍攝影像皆包含一背景影像區及一齒盤側面影像區;定義前述齒盤側面影像區中的複數像素點為複數取樣像素點,根據不同的拍攝影像之齒盤側面影像區之間的取樣像素點之一變化程度,作為檢測該偏擺程度之依據,藉之,使偏擺程度之檢測更為精準、快速,避免習知以人工目檢而有不準確及花費人力之缺點。 A sprocket detecting method for detecting a degree of yaw when a sprocket wheel is rotated, the sprocket detecting method comprising: setting the sprocket wheel to be detected to a first position and rotating; The taking unit is disposed at a second position, and the side of the rotating toothed disc is photographed to obtain a plurality of captured images, each of the captured images includes a background image area and a side surface area of the toothed disc; defining the side image area of the toothed disc The plurality of pixels in the plurality of pixels are complex sampling pixels, and according to the degree of change of one of the sampling pixels between the side image areas of the toothed discs of different captured images, as a basis for detecting the degree of the yaw, thereby making the degree of yaw The detection is more precise and fast, and avoids the disadvantages of being inaccurate and laborious by manual visual inspection.

Description

齒盤檢測方法 Sprocket detection method

本發明係有關一種齒盤檢測方法,尤指一種藉由拍攝轉動的齒盤之側面,並以拍攝影像的像素點之變化,作為檢測偏擺程度之依據的齒盤檢測方法。 The present invention relates to a method of detecting a toothed disc, and more particularly to a method of detecting a toothed disc by detecting a side of a rotating toothed disc and changing a pixel point of the captured image as a basis for detecting the degree of yaw.

齒盤,如自行車之變速齒盤,若有如第八圖中,盤面不平整或變形等問題,則齒盤(1B)在轉動時,會有偏擺的問題,若偏擺程度過大,則會對鏈條造成拉扯、產生雜音等。 A toothed disc, such as a bicycle's shifting sprocket, if there is a problem such as unevenness or deformation of the disc surface in the eighth figure, the sprocket (1B) will have a yaw problem when it is rotated. If the yaw is too large, Pulling the chain, making noise, etc.

習知檢測齒盤偏擺程度的作法,多採用目檢,將齒盤裝於一轉軸,於該轉軸轉動帶動該齒盤旋轉時,以目檢方式觀看齒盤是否偏擺或偏擺程度是否過大,然而,此種人工檢測的方式較為耗費人力,且有因人為因素而使判斷較不準確的問題。 Conventionally, the method of detecting the yaw degree of the sprocket wheel is mostly carried out by visual inspection. The sprocket wheel is mounted on a rotating shaft. When the rotating shaft rotates to drive the sprocket wheel to rotate, the slanting or yaw degree of the sprocket wheel is visually checked. Too large, however, this type of manual detection is labor intensive, and there is a problem that the judgment is less accurate due to human factors.

目前有如中華民國新型專利公告第202795號「自行車齒盤電腦輔助偏擺檢測裝置」之專利前案,該前案大體上係於一齒盤校正機台之一機座頂端裝設有一雷射測頭,該測頭係對準待測工件之周緣,且該轉軸側方機座上設有一角度計,用以量測轉軸轉動之角度;一電腦控制單元及控制盒,包含有一雷射測頭信號放大器,用以將雷射測頭所檢取信號加以放大,一計數器係用以讀取角度計所輸入之角度轉動量之信號,該兩信號再輸入電腦資料處理單元,對所取得工件周緣之數百點資料計算,而判定工件之偏擺量,供作偏擺判定校 正參考基準並用以在工件之偏擺量小於設定值時,作動該頂壓軸之氣壓閥,以允許卸下工件者。 At present, there is a patent pending case of the Republic of China New Patent Bulletin No. 202795 "Bicycle sprocket computer-assisted yaw detecting device". The pre-look is generally based on a laser measuring device at the top of one of the spur-correcting machines. a head, the probe is aligned with the circumference of the workpiece to be tested, and an angle meter is arranged on the side frame of the rotating shaft for measuring the angle of rotation of the rotating shaft; a computer control unit and a control box including a laser probe a signal amplifier for amplifying the signal detected by the laser probe, and a counter for reading the signal of the angular rotation input by the angle meter, the two signals being input into the computer data processing unit to obtain the periphery of the workpiece Hundreds of points of data are calculated, and the yaw amount of the workpiece is determined for yaw determination The reference is used as a reference and is used to actuate the pneumatic valve of the pressing shaft when the yaw amount of the workpiece is less than the set value to allow the workpiece to be unloaded.

然而,上述前案之作法過於複雜,機構設置亦較繁複,成本較為高昂。 However, the above-mentioned pre-cases are too complicated and the organization is more complicated and costly.

爰此,為提出其他能檢測齒盤偏擺程度的方法,本發明人致力於研究,提出本發明之一種齒盤檢測方法,用以檢測一齒盤旋轉時之一偏擺程度,所述之齒盤檢測方法包括:將待檢測之該齒盤設置於一第一位置,並使該齒盤於該第一位置上旋轉;將一影像擷取單元設置於一第二位置,該第二位置朝向該齒盤之一側面,使該影像擷取單元拍攝旋轉的該齒盤之該側面而獲得複數拍攝影像,每一拍攝影像皆包含一背景影像區及一齒盤側面影像區;定義前述齒盤側面影像區中的複數像素點為複數取樣像素點,根據不同的拍攝影像之齒盤側面影像區之間的取樣像素點之一變化程度,作為檢測該偏擺程度之依據。 Therefore, in order to propose another method for detecting the degree of yaw deflection, the inventors have made research and proposed a method of detecting a sprocket wheel of the present invention for detecting the degree of yaw of a toothed disc when it is rotated. The sprocket detecting method includes: setting the sprocket to be detected to a first position, and rotating the sprocket in the first position; and setting an image capturing unit to a second position, the second position Or facing the side of the sprocket, the image capturing unit captures the side of the rotating sprocket to obtain a plurality of captured images, each of the captured images includes a background image area and a sprocket side image area; The plurality of pixels in the side image area of the disc are complex sampling pixels, and the degree of change of one of the sampling pixels between the side image areas of the toothed discs of different captured images is used as a basis for detecting the degree of the yaw.

進一步,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述Y座標的延伸方向,定義一檢測區,該檢測區涵蓋該齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測區中,有一取樣像素點之X座標值為最大或最小;取得一取樣像素點最大X座標值或一取樣像素點最小X座標值,其中,所述之取樣像素點最大X座標值係為該檢測區中的取樣像素點中X座標值為最大者之X座標值,所述之取樣像素點最小X座標值係為該檢測區中的取樣像素點中X座標值為最小者之X座標值;而該變化程度,係為前述取樣像素點最大X座標值之間的差距,或是前述取樣像素點最小X座標值之間的差距。 Further, the position of the pixel point is represented by an X and Y coordinate system, wherein the distribution direction of the sampling pixel point corresponds to the extending direction of the Y coordinate, and a detection area is defined, and the detection area covers both ends of the side image area of the toothed disk. One of the sampling pixels of the portion, wherein the X coordinate value of a sampling pixel is the largest or smallest in the detection area; the maximum X coordinate value of a sampling pixel or the minimum X coordinate value of a sampling pixel is obtained, wherein The maximum X coordinate value of the sampled pixel is the X coordinate value of the sampled pixel in the detection area where the X coordinate value is the largest, and the minimum X coordinate value of the sampled pixel is the sampling pixel in the detection area. The X coordinate value of the point is the smallest X coordinate value; and the degree of change is the difference between the maximum X coordinate value of the sampling pixel point or the minimum X coordinate value of the sampling pixel point.

進一步,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述Y座標的延伸方向,定義一檢測線,該檢測線平行前述X座標之延伸方向,該檢測線對應前述齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測線上,有一取樣像素點之X座標值為最大或最小;取得一取樣像素點最大X座標值或一取樣像素點最小X座標值,其中,所述之取樣像素點最大X座標值係為該檢測線上的取樣像素點中X座標值為最大者之X座標值,所述之取樣像素點最小X座標值係為該檢測線上的取樣像素點中X座標值為最小者之X座標值;而該變化程度,係為前述取樣像素點最大X座標值之間的差距,或是前述取樣像素點最小X座標值之間的差距。 Further, the position of the pixel point is represented by an X and Y coordinate system, wherein the distribution direction of the sampling pixel point corresponds to the extending direction of the Y coordinate, and a detection line is defined, and the detection line is parallel to the extending direction of the X coordinate, and the detection is performed. The line corresponds to the sampling pixel of one of the two ends of the side surface of the sprocket wheel, and the X coordinate value of one sampling pixel is the largest or the smallest value on the detection line; the maximum X coordinate value or a sampling of a sampling pixel point is obtained. a minimum X coordinate value of the pixel, wherein the maximum X coordinate value of the sampled pixel is the X coordinate value of the largest X coordinate value of the sampled pixel on the detection line, and the minimum X coordinate value of the sampled pixel point The X coordinate value of the sampled pixel in the detection line is the smallest X coordinate value; and the degree of change is the difference between the maximum X coordinate value of the sampling pixel point, or the minimum X coordinate of the sampling pixel point The difference between the values.

進一步,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述X座標的延伸方向,定義一檢測區,該檢測區涵蓋該齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測區中,有一取樣像素點之Y座標值為最大或最小;取得一取樣像素點最大Y座標值或一取樣像素點最小Y座標值,其中,所述之取樣像素點最大Y座標值係為該檢測區中的取樣像素點中Y座標值為最大者之Y座標值,所述之取樣像素點最小Y座標值係為該檢測區中的取樣像素點中Y座標值為最小者之Y座標值;而該變化程度,係為前述取樣像素點最大Y座標值之間的差距,或是前述取樣像素點最小Y座標值之間的差距。 Further, the position of the pixel point is represented by an X and Y coordinate system, wherein the distribution direction of the sampling pixel point corresponds to the extending direction of the X coordinate, and a detection area is defined, and the detection area covers both ends of the side image area of the toothed disk. In one of the sampling pixels of the portion, the Y coordinate value of a sampling pixel in the detection area is the maximum or minimum; the maximum Y coordinate value of a sampling pixel or the minimum Y coordinate value of a sampling pixel is obtained, wherein The maximum Y coordinate value of the sampled pixel is the Y coordinate value of the sample with the Y coordinate value in the sampling area, and the minimum Y coordinate value of the sampled pixel is the sampling pixel in the detection area. The Y coordinate of the point is the minimum Y coordinate value; and the degree of change is the difference between the maximum Y coordinate value of the sampled pixel point or the minimum Y coordinate value of the sampled pixel point.

進一步,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述X座標的延伸方向,定義一檢測線,該檢測線平行前述Y座標之延伸方向,該檢測線對應前述齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測線上,有一取樣像素點之Y座標值為最大或最小;取得一取樣像素點最大Y座標值或一取樣像素點最小Y座標值,其中,所述之取樣像素點最大Y座標值係為該檢測線上的取樣像素點中Y座標值為最大者之Y 座標值,所述之取樣像素點最小Y座標值係為該檢測線上的取樣像素點中Y座標值為最小者之Y座標值;而該變化程度,係為前述取樣像素點最大Y座標值之間的差距,或是前述取樣像素點最小Y座標值之間的差距。 Further, the position of the pixel point is represented by an X and Y coordinate system, wherein the distribution direction of the sampling pixel point corresponds to the extending direction of the X coordinate, and a detection line is defined, and the detection line is parallel to the extending direction of the Y coordinate. The line corresponds to the sampling pixel of one of the two ends of the side surface of the toothed disc, and the Y coordinate of the sampling pixel is the largest or the smallest value on the detection line; the maximum Y coordinate value or a sampling of the sampling pixel is obtained. The minimum Y coordinate value of the pixel, wherein the maximum Y coordinate value of the sampled pixel is the Y of the sampled pixel on the detection line with the Y coordinate value being the largest. The coordinate value, the minimum Y coordinate value of the sampled pixel is the Y coordinate value of the smallest Y coordinate value of the sampling pixel on the detection line; and the degree of change is the maximum Y coordinate value of the sampling pixel The difference between the gaps or the minimum Y coordinate values of the aforementioned sampled pixels.

進一步,並有一顯示介面依序顯示前述拍攝影像,而該顯示介面上的像素點係對應於前述齒盤側面影像區的取樣像素點以及前述背景影像區的像素點。 Further, a display interface sequentially displays the captured image, and the pixel points on the display interface correspond to the sampling pixel points of the side image area of the toothed disc and the pixel points of the background image area.

進一步,該齒盤係為一齒盤組,該齒盤組由大小不一的複數齒盤件平行設置而成,而該檢測區係僅涵蓋該齒盤側面影像區中最大之齒盤件的兩端部之其一對應的取樣像素點。 Further, the sprocket wheel is a sprocket set which is formed by parallel arrangement of a plurality of sprocket members of different sizes, and the detection zone only covers the largest sprocket member in the side image area of the sprocket One of the corresponding sampling pixel points at both ends.

進一步,該齒盤係為一齒盤組,該齒盤組由大小不一的複數齒盤件平行設置而成,而該檢測線係僅對應該齒盤側面影像區中最大之齒盤件的兩端部之其一對應的取樣像素點。 Further, the sprocket wheel is a sprocket set which is formed by parallel arrangement of a plurality of sprocket members of different sizes, and the detection line only corresponds to the largest sprocket member in the side image area of the sprocket One of the corresponding sampling pixel points at both ends.

進一步,該變化程度係為所述取樣像素點之全部或部分的分布位置變化程度,或是分布面積變化程度。 Further, the degree of change is the degree of change in the distribution position of all or part of the sampled pixel points, or the degree of change in the distribution area.

本發明亦提出一種齒盤檢測裝置,用以進行前述之齒盤檢測方法,以檢測一齒盤旋轉時之一偏擺程度,所述之齒盤檢側裝置包括:該齒盤檢測裝置提供之位置固定或可調整固定的一第一位置及一第二位置;待檢測之該齒盤,設置於該第一位置,該齒盤有一側面朝向該第二位置;一轉動驅動單元,連接該齒盤,以驅動該齒盤使該齒盤於該第一位置上旋轉;一影像擷取單元,設置於該第二位置,用以拍攝旋轉之該齒盤的該側面而獲得複數拍攝影像,每一拍攝影像皆包含一背景影像區及一齒盤側面影像區;一處理模組,電性連接該影像擷取單元,定義前述齒盤側面影像區中的複數像素點為複數取樣像素點,該處理模組係取得前述取樣像素點,以計算不同的拍攝影像之齒盤側面影像區之間的取樣像素點之一變化程度,以獲得一偏擺程度。 The present invention also provides a sprocket detecting device for performing the foregoing sprocket detecting method for detecting a degree of yaw when a sprocket wheel is rotated, wherein the sprocket detecting device comprises: the sprocket detecting device provides Positioning or adjusting a fixed first position and a second position; the toothed disc to be detected is disposed in the first position, the toothed disc has a side facing the second position; and a rotating driving unit is connected to the tooth a disk for driving the toothed disc to rotate the toothed disc in the first position; an image capturing unit disposed at the second position for capturing the side of the rotating toothed disc to obtain a plurality of captured images, each Each of the captured images includes a background image area and a side area of a toothed disc; a processing module electrically connected to the image capturing unit to define a plurality of pixel points in the side image area of the toothed disc as a plurality of sampled pixel points, The processing module obtains the sampling pixel points to calculate a degree of change of one of the sampling pixel points between the side image areas of the toothed discs of different captured images to obtain a degree of yaw.

根據上述技術特徵可達成以下功效: According to the above technical features, the following effects can be achieved:

1.於固定位置拍攝旋轉的齒盤之側面,藉由拍攝影像的像素點的變化,擷取所述變化的值,即可代表齒盤偏擺的程度,相較於以人工目檢的方式,檢測可更為快速、準確,且不需過多人力。 1. Shooting the side of the rotating toothed disc at a fixed position, by taking the change of the pixel point of the image, and taking the value of the change, the degree of the yaw of the toothed disc can be represented, compared with the method of manual visual inspection. The detection can be faster, more accurate, and does not require too much manpower.

2.藉由抓取對應齒盤之像素點的位置邊化,即可代表齒盤偏擺的程度,檢測精準度甚高,且其中像素點的密度越高,則檢測的精準度及越高。 2. By grasping the position of the pixel point corresponding to the toothed disc, it can represent the degree of yaw deflection, and the detection accuracy is very high, and the higher the density of the pixel, the higher the accuracy and detection. .

3.相較於已知前案,設備更為簡單,成本更可降低。 3. Compared with the known case, the equipment is simpler and the cost can be reduced.

(1000)‧‧‧齒盤檢測裝置 (1000)‧‧‧ sprocket detection device

(1)、(D)‧‧‧齒盤 (1), (D) ‧ ‧ toothed disc

(10)‧‧‧側面 (10) ‧‧‧ side

(21)‧‧‧第一位置 (21) ‧‧‧First position

(22)‧‧‧第二位置 (22) ‧‧‧second position

(221)‧‧‧調整柱 (221) ‧‧‧Adjustment column

(3)‧‧‧轉動驅動單元 (3) ‧‧‧Rotary drive unit

(4)‧‧‧影像擷取單元 (4) ‧‧‧Image capture unit

(5)、(5a)、(5b)、(5c)、(5d)、(5e)‧‧‧拍攝影像 (5), (5a), (5b), (5c), (5d), (5e) ‧ ‧ images

(51)、(51a)、(51b)、(51c)、(51d)、(51e)‧‧‧背景影像區 (51), (51a), (51b), (51c), (51d), (51e) ‧ ‧ background image area

(52)、(52a)、(52b)、(52c)、(52d)、(52e)‧‧‧齒盤側面影像區 (52), (52a), (52b), (52c), (52d), (52e) ‧‧ ‧ flank

(521)、(521a)、(521b)、(521c)、(521d)、(521e)‧‧‧取樣像素點 (521), (521a), (521b), (521c), (521d), (521e) ‧ ‧ s sampling pixels

(5211)、(5211a)、(5211b)、(5211c)、(5211d)‧‧‧取樣像素點最大X座標值 (5211), (5211a), (5211b), (5211c), (5211d) ‧‧‧Sampling pixel maximum X coordinate value

(5212d)、(5212e)‧‧‧取樣像素點最大Y座標值 (5212d), (5212e)‧‧‧Sampling pixel maximum Y coordinate value

(6)‧‧‧處理模組 (6) ‧‧‧Processing module

(7)‧‧‧顯示介面 (7)‧‧‧Display interface

(8)、(8d)‧‧‧檢測區 (8), (8d) ‧ ‧ inspection area

(9)‧‧‧檢測線 (9)‧‧‧Test line

(A)、(B)‧‧‧OK字樣 (A), (B) ‧ ‧ OK words

(C)‧‧‧NG字樣 (C) ‧‧‧NG words

[第一圖]係本發明實施例列舉之齒盤檢測裝置之外觀示意圖。 [First Figure] is a schematic view showing the appearance of a toothed disc detecting device according to an embodiment of the present invention.

[第二圖]係本發明第一實施例之齒盤檢測方法中,該顯示介面顯示一拍攝影像及其檢測結果之畫面示意圖(一)。 [Second Picture] In the method of detecting a toothed disc according to the first embodiment of the present invention, the display interface displays a screen (1) of a captured image and a detection result thereof.

[第二A圖]係第二圖之局部放大圖,示意該背景影像區中的像素點,以及該齒盤側面影像區的取樣像素點。 [Fig. 2A] is a partial enlarged view of the second figure, showing pixel points in the background image area, and sampling pixel points of the side image area of the toothed disc.

[第三圖]係本發明第一實施例之齒盤檢測方法中,該顯示介面顯示另一拍攝影像及其檢測結果之畫面示意圖(二)。 [Third Diagram] In the method of detecting a toothed disc according to the first embodiment of the present invention, the display interface displays a screen view of another captured image and a detection result thereof (2).

[第四圖]係本發明第二實施例之齒盤檢測方法中,該顯示介面顯示一拍攝影像及其檢測結果之畫面示意圖(一)。 [Fourth Diagram] In the method of detecting a toothed disc according to a second embodiment of the present invention, the display interface displays a screen (1) of a captured image and a detection result thereof.

[第五圖]係本發明第二實施例之齒盤檢測方法中,該顯示介面顯示另一拍攝影像及其檢測結果之畫面示意圖(二)。 [Fifth Diagram] In the method of detecting a toothed disc according to a second embodiment of the present invention, the display interface displays a screen view of another captured image and a detection result thereof (2).

[第六圖]係本發明第三實施例之齒盤檢測方法中,該顯示介面顯示一拍攝影像及其檢測結果之畫面示意圖(一)。 [Sixth Drawing] In the method of detecting a toothed disc according to a third embodiment of the present invention, the display interface displays a screen (1) of a captured image and a detection result thereof.

[第七圖]係本發明第三實施例之齒盤檢測方法中,該顯示介面顯示另一拍攝影像及其檢測結果之畫面示意圖(二)。 [Seventh Drawing] In the method of detecting a toothed disc according to a third embodiment of the present invention, the display interface displays a screen view of another captured image and a detection result thereof (2).

[第八圖]係示意齒盤因不平整或變形等因素,而於轉動時產生偏擺之示意圖。 [Eighth image] is a schematic diagram showing the occurrence of yaw during rotation due to factors such as unevenness or deformation of the toothed disc.

綜合上述技術特徵,本發明齒盤檢測方法的主要功效將可於下述實施例清楚呈現。 In combination with the above technical features, the main effects of the sprocket detecting method of the present invention will be clearly shown in the following embodiments.

請先參閱第一圖、第二圖及第二A圖所示,列舉一齒盤檢測裝置(1000),以說明如何實施本第一實施例之一齒盤檢測方法,及其如何檢測一齒盤(1)旋轉時之一偏擺程度。所述之齒盤檢測裝置(1000)包含:該齒盤檢測裝置(1000)所提供之一第一位置(21)及一第二位置(22);待檢測之該齒盤(1),設置於該第一位置(21),該齒盤(1)有一側面(10)朝向該第二位置(22),本實施例中,該齒盤(1)為一齒盤組,該齒盤組由大小不一的複數齒盤件(11)平行設置而成;一轉動驅動單元(3),如一馬達,該轉動驅動單元(3)連接該齒盤(1),以驅動該齒盤(1)使該齒盤(1)於該第一位置(21)上旋轉;一影像擷取單元(4),如一攝像機,設置於該第二位置(22),用以拍攝旋轉之該齒盤(1)的該側面(10)而獲得複數拍攝影像(5)[如第二圖所示],其中,前述第一位置(21)及前述第二位置(22)係為位置固定或可調整地固定,如本實施例中,該第一位置(21)為位置固定,該第二位置(22)係可於一調整柱(221)上調整而固定,又該影像擷取單元所拍攝的每一拍攝影像(5)皆包含一背景影像區(51)及一齒盤側面影像區(52);一處理模組(6),電性連接該影像擷取單元(4),該處理模組(6)可以是設置於一電腦裝置的一軟、硬體,本第一實施例中,該處理模組(6)係設置於一平板電腦,要說明的是,該齒盤(1)可以是以一白背景作為背景,則該影像擷取單元(4)拍攝該齒盤(1)時,由感光之變化,該處理模組(6)可區分出前述背景影像區(51)以及前述齒盤側面影像區(52),定義位於前述齒盤側面影像區(52)中的複數像素點為複數取樣像素點(521),則該處理模組(6)係可取得前述取樣像素點(521)之位置資訊,以 計算不同的拍攝影像(5)之齒盤側面影像區(52)之間的取樣像素點(521)之一變化程度,以獲得一偏擺程度。 Please refer to the first figure, the second figure and the second figure A, and a toothed disc detecting device (1000) is illustrated to explain how to implement the toothed disc detecting method of the first embodiment, and how to detect a tooth. One degree of yaw when the disc (1) is rotated. The sprocket detecting device (1000) includes: a first position (21) and a second position (22) provided by the sprocket detecting device (1000); the sprocket (1) to be detected, set In the first position (21), the toothed disc (1) has a side surface (10) facing the second position (22). In this embodiment, the toothed disc (1) is a set of toothed discs, and the set of toothed discs A plurality of sprocket members (11) of different sizes are arranged in parallel; a rotary drive unit (3), such as a motor, is coupled to the spur (1) to drive the sprocket (1) Rotating the toothed disc (1) in the first position (21); an image capturing unit (4), such as a camera, is disposed in the second position (22) for photographing the rotating toothed disc ( a plurality of captured images (5) of the first side (10) of the first aspect (10), wherein the first position (21) and the second position (22) are fixed or adjustable. In the embodiment, the first position (21) is fixed, and the second position (22) can be adjusted and fixed on an adjustment column (221), and each image captured by the image capturing unit is A shot image (5) contains a background image area (5) 1) and a tooth image side image area (52); a processing module (6) electrically connected to the image capturing unit (4), the processing module (6) may be a soft device disposed on a computer device In the first embodiment, the processing module (6) is disposed on a tablet computer. It should be noted that the toothed disk (1) can be a white background as a background, and the image capture is performed. When the unit (4) photographs the toothed disc (1), the processing module (6) can distinguish the background image area (51) and the side surface area (52) of the toothed disc by a change in light sensitivity, and the definition is located in the tooth. The plurality of pixels in the side image area (52) of the disk are complex sampling pixels (521), and the processing module (6) can obtain the position information of the sampled pixel points (521), A degree of change in one of the sampled pixel points (521) between the side faces of the sprocket wheel (52) of different captured images (5) is calculated to obtain a degree of yaw.

要說明的是,前述像素點及取樣像素點(521),可以是指該影像擷取單元(4)拍攝前述齒盤(1)之側面(10)並儲存於一記憶單元(圖未示)時,所儲存的對應影像像素點位置的數位資訊,也可以是指該影像擷取單元(4)拍攝前述齒盤(1)之側面(10)並顯示於一顯示介面(7)時,所顯示的對應影像像素點位置的數位資訊。而本第一實施例中,該處理模組(6)設置於該平板電腦,該平板電腦之該顯示介面(7)依序顯示前述拍攝影像(5),而該顯示介面(7)上的像素點係對應於前述齒盤側面影像區(52)的取樣像素點(521)以及前述背景影像區(51)的像素點(511)[如第二A圖所示]。又前述變化程度,可為對應所述取樣像素點(521)之全部或部分的分布位置變化程度,或是分布面積變化程度。 It should be noted that the pixel point and the sampling pixel point (521) may be that the image capturing unit (4) captures the side surface (10) of the toothed disk (1) and stores it in a memory unit (not shown). The stored digital information of the pixel position of the image may also be when the image capturing unit (4) captures the side surface (10) of the toothed disk (1) and displays it on a display interface (7). The displayed digital information of the corresponding image pixel position. In the first embodiment, the processing module (6) is disposed on the tablet computer, and the display interface (7) of the tablet computer sequentially displays the captured image (5), and the display interface (7) The pixel points correspond to the sampled pixel points (521) of the aforementioned sprocket side image area (52) and the pixel points (511) of the aforementioned background image area (51) [as shown in FIG. 2A]. The degree of change may be a degree of change in the distribution position corresponding to all or part of the sampled pixel point (521), or a degree of change in the distribution area.

參閱第一圖、第二圖、第二A圖及第三圖所示,本第一實施例中,以X、Y座標系統表示前述像素點之位置,並使前述取樣像素點(521)(521a)之分佈方向對應前述Y座標的延伸方向,其可以是該處理模組(6)經影像處理使前述拍攝影像(5)(5a)的該齒盤側面影像區(52)(52a)以縱向的方式[如第二圖所示]顯示於該顯示介面(7),亦可以是該影像擷取單元(4)經由適當的擺放方式設置於該第二位置(22)而進行拍攝,而直接拍攝並使該齒盤(1)的側面(10)即以縱向的方式[如第二圖所示]呈現於該顯示介面(7)。 Referring to the first, second, second and third figures, in the first embodiment, the position of the pixel is represented by an X, Y coordinate system, and the sampling pixel (521) is The distribution direction of the 521a) corresponds to the extending direction of the Y coordinate, and the processing module (6) may perform image processing to make the sprocket side image area (52) (52a) of the captured image (5) (5a) The vertical mode (as shown in the second figure) is displayed on the display interface (7), and the image capturing unit (4) may be set in the second position (22) by appropriate placement. The direct shooting and directing of the side (10) of the chainring (1) in a longitudinal manner [as shown in the second figure] is presented to the display interface (7).

該處理模組(6)預先定義一檢測區(8),該檢測區(8)涵蓋該齒盤側面影像區(52)(52a)的兩端部之其一的取樣像素點(521)(521a),且本第一實施例中,該檢測區(8)係僅涵蓋該齒盤側面影像區(52)(521a)中最大之齒盤件的兩端部之其一對應的取樣像素點(521)(521a)。該檢測區(8)中,每一拍攝影像(5)(5a)係有一取樣像素點(521)(521a)之X座標值為最大或最小,該處理模組(6)取得一取樣像素點最大X座標值(5211)(5211a)或一取樣像素點最小X座標值(圖未示), 其中,所述之取樣像素點最大X座標值(5211)(5211a)係為該檢測區(8)中的取樣像素點(521)(5211a)中X座標值為最大者之X座標值,例如第二圖中所繪之假想線所代表的X座標值,或者第二圖之檢測區(8)中,最靠左方之取樣像素點(521)所代表的X座標值,而所述之取樣像素點最小X座標值(圖未示)係為該檢測區(8)中的取樣像素點(521)(521a)中X座標值為最小者之X座標值,例如第四圖之檢測區(8)中,最靠右方之取樣像素點(521a)所代表的X座標值。 The processing module (6) defines a detection area (8) pre-defined, and the detection area (8) covers sampling pixels (521) of one of the two ends of the side image area (52) (52a) of the sprocket ( 521a), and in the first embodiment, the detection zone (8) only covers one corresponding sampling pixel of the two ends of the largest toothed disk member in the side face image area (52) (521a) of the toothed disk. (521) (521a). In the detection area (8), each of the captured images (5) (5a) has a sampling pixel point (521) (521a) whose X coordinate value is the largest or smallest, and the processing module (6) obtains a sampling pixel point. The maximum X coordinate value (5211) (5211a) or the minimum X coordinate value of a sampled pixel (not shown), The maximum X coordinate value (5211) of the sampled pixel (5211a) is the X coordinate value of the largest X coordinate value of the sampled pixel point (521) (5211a) in the detection area (8), for example, The X coordinate value represented by the imaginary line depicted in the second figure, or the X coordinate value represented by the leftmost sampling pixel point (521) in the detection area (8) of the second figure, and the The minimum X coordinate value of the sampled pixel (not shown) is the X coordinate value of the smallest X coordinate value of the sampled pixel point (521) (521a) in the detection area (8), for example, the detection area of the fourth figure. In (8), the X coordinate value represented by the sample pixel (521a) on the right side.

要說明的是,若該齒盤(1)有不平整的問題,則該齒盤(1)旋轉時會有偏擺的現象,則取得的前述拍攝影像(5)(5a)中,該些背景影像區(51)(51a)及齒盤側面影像區(52)(52a)的分布,會有差異,而本第一實施例係根據前述差異,亦即前述變化程度,來判斷該齒盤(1)的偏擺程度。 It should be noted that if the toothed disc (1) has a problem of unevenness, the sprocket (1) may be swayed when rotated, and the obtained captured image (5) (5a) is obtained. The distribution of the background image area (51) (51a) and the sprocket side image area (52) (52a) may vary, and the first embodiment determines the toothed disc based on the aforementioned difference, that is, the degree of change described above. (1) The degree of yaw.

例如,參閱第一圖、第二圖、第二A圖及第三圖所示,本第一實施例中,該處理模組(6)取得該取樣像素點最大X座標值(5211),並如第二圖顯示於該顯示介面(7),其值為644.56,而該齒盤(1)持續旋轉,該影像擷取單元(4)持續於該第二位置(22)拍攝該齒盤(1)的側面,獲得複數拍攝影像(5)(5a),並依序顯示於該顯示介面(7),該處理模組(6)並同樣取得該些拍攝影像(5)(5a)的取樣像素點最大X座標值(5211)(5211a),如第三圖示意另一拍攝影像(5a)以及取得的另一取樣像素點最大X座標值(5211a),其值為639.38。該處理模組(6)取得前述取樣像素點最大X座標值(5211)(5211a)之間的差距[亦或於其他實施例中,該處理模組(6)取得前述取樣像素點最小X座標值,而取得取樣像素點最小X座標值之間的差距],如本第一實施例中,所述差距恰為第二圖中的取樣像素點最大X座標值(5211),即644.56,與第三圖中的取樣像素點最大X座標值(5211a),即639.38,之間的差值,其值為5.18。 For example, referring to the first, second, second, and third figures, in the first embodiment, the processing module (6) obtains the maximum X coordinate value of the sampled pixel (5211), and As shown in the second figure, the display interface (7) has a value of 644.56, and the sprocket (1) continues to rotate, and the image capturing unit (4) continues to capture the sprocket in the second position (22). On the side of 1), a plurality of captured images (5) (5a) are obtained and sequentially displayed on the display interface (7), and the processing module (6) also obtains sampling of the captured images (5) (5a). The pixel maximum X coordinate value (5211) (5211a), as shown in the third figure, another captured image (5a) and the obtained other sample pixel maximum X coordinate value (5211a), the value of which is 639.38. The processing module (6) obtains a difference between the maximum X coordinate values (5211) (5211a) of the sampled pixel points. [Or other embodiments, the processing module (6) obtains the minimum X coordinate of the sampled pixel points. Value, and the difference between the minimum X coordinate values of the sampled pixel points is obtained], as in the first embodiment, the difference is exactly the maximum X coordinate value (5211) of the sampled pixel point in the second figure, that is, 644.56, and In the third figure, the difference between the maximum X coordinate value (5211a) of the sampled pixel, ie 639.38, is 5.18.

使用者可預設一基準值,如5.50,則當前述取樣像素點最大X座標值(5211)(5211a)之間的差距超過該基準值,代表該齒盤(1)旋轉時的偏擺程度 超出規格要求,則可於該顯示介面(7)上顯示有一NG字樣,而本第一實施例中,前述取樣像素點最大X座標值(5211)(5211a)之間的差距係小於該基準值,代表該齒盤(1)旋轉時的偏擺程度符合規格要求,該顯示介面(7)上係如第三圖所示顯示有一OK字樣(A)。 The user can preset a reference value, such as 5.50, when the difference between the maximum X coordinate value (5211) (5211a) of the sampled pixel point exceeds the reference value, indicating the degree of yaw when the toothed disc (1) rotates. If the specification is exceeded, a NG word may be displayed on the display interface (7). In the first embodiment, the difference between the maximum X coordinate value (5211) (5211a) of the sampled pixel is less than the reference value. It means that the degree of yaw when the toothed disc (1) rotates meets the specification requirements, and the display interface (7) is displayed with an OK (A) as shown in the third figure.

參閱第一圖、第四圖及第五圖所示,係示意本發明一第二實施例之齒盤檢測方法,並檢測與前述第一實施例相同之該齒盤(1),本第二實施例之齒盤檢測方法與前述實施例大致相同,不同之處在於,該處理模組(6)係預先定義一檢測線(9),該檢測線(9)平行前述X座標之延伸方向,該檢測線(9)對應前述齒盤側面影像區(52b)(52c)的兩端部之其一的取樣像素點(521b)(521c),較佳的是僅對應該齒盤側面影像區(52b)(52c)中最大之齒盤件的兩端部之其一對應的取樣像素點(521b)(521c)。該檢測線(9)上,係有一取樣像素點(521b)(521c)之X座標值為最大或最小;取得一取樣像素點最大X座標值(5211b)(5211c)或一取樣像素點最小X座標值(圖未示),所述之取樣像素點最大X座標值(5211b)(5211c)係為該檢測線(9)上的取樣像素點(521b)(521c)中X座標值為最大者之X座標值,例如第四圖中所繪之假想線所代表的X座標值,或者第四圖之檢測線(9)上最靠左方之取樣像素點(521b)所代表的X座標值,而所述之取樣像素點最小X座標值係為該檢測線(9)上的取樣像素點(521b)(521c)中X座標值為最小者之X座標值,例如第四圖之檢測線(9)上最靠右方之取樣像素點(521b)所代表的X座標值。而該變化程度,係為前述取樣像素點最大X座標值(5211b)(5211c)之間的差距,或是前述取樣像素點最小X座標值之間的差距。 Referring to the first, fourth and fifth figures, a method of detecting a toothed disc according to a second embodiment of the present invention is shown, and the same (1), the second, is detected as the first embodiment. The method for detecting the toothed disc of the embodiment is substantially the same as that of the foregoing embodiment, except that the processing module (6) defines a detection line (9) in advance, and the detection line (9) is parallel to the extending direction of the X coordinate. The detection line (9) corresponds to a sampling pixel point (521b) (521c) of one of the two end portions of the side surface area (52b) (52c) of the toothed disc, and preferably only corresponds to the side image area of the toothed disc ( 52b) One of the corresponding sampling pixel points (521b) (521c) of the two ends of the largest toothed disk member in (52c). On the detection line (9), there is a sampling pixel point (521b) (521c) whose X coordinate value is maximum or minimum; and a sampling pixel point maximum X coordinate value (5211b) (5211c) or a sampling pixel point minimum X The coordinate value (not shown), the maximum X coordinate value of the sampled pixel (5211b) (5211c) is the maximum of the X coordinate value of the sampled pixel point (521b) (521c) on the detection line (9) The X coordinate value, such as the X coordinate value represented by the imaginary line depicted in the fourth figure, or the X coordinate value represented by the leftmost sample pixel point (521b) on the detection line (9) of the fourth figure The minimum X coordinate value of the sampled pixel is the X coordinate value of the smallest X coordinate value of the sampled pixel point (521b) (521c) on the detection line (9), for example, the detection line of the fourth figure. (9) The X coordinate value represented by the sample pixel point (521b) on the far right side. The degree of change is the difference between the maximum X coordinate value (5211b) (5211c) of the sampled pixel point or the minimum X coordinate value of the sampled pixel point.

例如,參閱第一圖、第四圖及第五圖所示,本第二實施例中,該處理模組(6)取得該取樣像素點最大X座標值(5211b)(5211c),並顯示於該顯示介面(7),其值為644.56,而該齒盤(1)持續旋轉,該影像擷取單元(4)持續於該第二位置(22)拍攝該齒盤(1)的側面(10),獲得複數拍攝影像(5b)(5c),並依序顯示於 該顯示介面(7),該處理模組(6)並同樣取得該些拍攝影像(5b)(5c)的取樣像素點最大X座標值(5211b)(5211c),如第五圖示意另一拍攝影像(5c)以及取得的另一取樣像素點最大X座標值(5211c),其值為639.38。該處理模組(6)取得前述取樣像素點最大X座標值(5211b)(5211c)之間的差距,例如,所述差距恰為第四圖中的取樣像素點最大X座標值(5211b),即644.56,與第五圖中的取樣像素點最大X座標值(5211c),即639.38,之間的差值,其值為5.18,且係小於該基準值5.50,代表該齒盤(1)旋轉時的偏擺程度符合規格要求,並於該顯示介面(7)上顯示有如第五圖所示之一OK字樣(B)。 For example, referring to the first, fourth, and fifth figures, in the second embodiment, the processing module (6) obtains the maximum X coordinate value (5211b) of the sampled pixel (5211c) and displays it on The display interface (7) has a value of 644.56, and the sprocket (1) continues to rotate, and the image capturing unit (4) continues to capture the side of the sprocket (1) in the second position (22) (10) ), obtain multiple captured images (5b) (5c), and display them in sequence The display interface (7), the processing module (6) also obtains the sampled pixel point maximum X coordinate value (5211b) (5211c) of the captured image (5b) (5c), as shown in the fifth figure The captured image (5c) and the acquired maximum X coordinate value (5211c) of the sampled pixel have a value of 639.38. The processing module (6) obtains a difference between the maximum X coordinate values (5211b) (5211c) of the sampled pixel points, for example, the difference is exactly the maximum X coordinate value (5211b) of the sampled pixel point in the fourth figure, That is, the difference between 644.56 and the maximum X coordinate value (5211c) of the sampled pixel in the fifth figure, that is, 639.38, is 5.18, and is less than the reference value of 5.50, which represents the rotation of the toothed disc (1). The degree of yaw is in accordance with the specification, and an OK word (B) as shown in the fifth figure is displayed on the display interface (7).

參閱第六圖及第七圖所示,係示意本發明一第三實施例之齒盤檢測方法,係檢測與前述實施例不同的另一齒盤(圖未示),本第三實施例之齒盤檢測方法與前述實施例大致相同,不同之處在於,係使前述取樣像素點(521d)(521e)之分佈方向對應前述X座標的延伸方向,其可以是該處理模組(6)經影像處理使前述拍攝影像(5d)(5e)的該齒盤側面影像區(52d)(52e)以橫向的方式顯示於該顯示介面(7),亦可以是該影像擷取單元(4)經由適當的擺放方式設置於該第二位置(22)而進行拍攝,而直接拍攝並使該另一齒盤(圖未示)的側面即以橫向的方式[如第六圖所示]呈現於該顯示介面(7)。 Referring to the sixth and seventh figures, a method of detecting a toothed disc according to a third embodiment of the present invention is to detect another toothed disc (not shown) different from the foregoing embodiment. The method for detecting the toothed disc is substantially the same as that of the foregoing embodiment, except that the distribution direction of the sampling pixel point (521d) (521e) corresponds to the extending direction of the X coordinate, which may be the processing module (6) The image processing causes the sprocket side image area (52d) (52e) of the photographic image (5d) (5e) to be displayed in the horizontal direction on the display interface (7), or the image capturing unit (4) may be via the image capturing unit (4). The appropriate placement mode is set in the second position (22) for shooting, and the direct shooting and the side of the other toothed disc (not shown) are presented in a lateral manner [as shown in the sixth figure]. The display interface (7).

該處理模組(6)預先定義一檢測區(8d),該檢測區(8d)涵蓋該齒盤側面影像區(52d)(52e)的兩端部之其一的取樣像素點(521d)(521e),較佳的是僅涵蓋該齒盤側面影像區(52d)(52e)中最大之齒盤件的兩端部之其一對應的取樣像素點(521d)(521e)。該檢測區(8d)中,係有一取樣像素點(521d)(521e)之Y座標值為最大或最小,該處理模組(6)取得一取樣像素點最大Y座標值(5212d)(5212e)或一取樣像素點最小Y座標值(圖未示),其中,所述之取樣像素點最大Y座標值(5212d)(5212e)係為該檢測區(8d)中的取樣像素點(521d)(521e)中Y座標值為最大者之Y座標值,例如第六圖中所繪之假想線所代表的Y座標值,或者第七圖 之檢測區(8d)中,最靠上方之取樣像素點(521d)所代表的X座標值,而所述之取樣像素點最小Y座標值係為該檢測區(8d)中的取樣像素點(521d)(521e)中Y座標值為最小者之Y座標值,例如第七圖之檢測區(8d)中,最靠下方之取樣像素點(521e)所代表的Y座標值。而該變化程度,係為前述取樣像素點最大Y座標值(5212d)(5212e)之間的差距,或是前述取樣像素點最小Y座標值之間的差距。 The processing module (6) defines a detection area (8d) pre-defined, and the detection area (8d) covers sampling pixels (521d) of one of the two ends of the side surface area (52d) (52e) of the sprocket ( 521e), preferably only one corresponding sampling pixel point (521d) (521e) of both ends of the largest toothed disk member of the sprocket side image area (52d) (52e) is covered. In the detection area (8d), a sampling pixel point (521d) (521e) has a Y coordinate value of a maximum or a minimum, and the processing module (6) obtains a sampling pixel point maximum Y coordinate value (5212d) (5212e). Or a sample pixel point minimum Y coordinate value (not shown), wherein the sample pixel point maximum Y coordinate value (5212d) (5212e) is the sample pixel point (521d) in the detection area (8d) ( 521e) The Y coordinate value of the largest Y coordinate is the value of the Y coordinate of the largest one, such as the Y coordinate value represented by the imaginary line depicted in the sixth figure, or the seventh figure In the detection area (8d), the X coordinate value represented by the uppermost sampling pixel point (521d), and the minimum Y coordinate value of the sampling pixel point is the sampling pixel point in the detection area (8d) ( In 521d) (521e), the Y coordinate is the smallest Y coordinate value, for example, the Y coordinate value represented by the lowermost sampling pixel (521e) in the detection area (8d) of the seventh figure. The degree of change is the difference between the maximum Y coordinate value (5212d) (5212e) of the sampled pixel point, or the difference between the minimum Y coordinate value of the sampled pixel point.

例如,參閱第六圖及第七圖所示,本第三實施例中,該處理模組(6)取得該取樣像素點最大Y座標值(5212d),並顯示於該顯示介面(7),其值為33.15,而該另一齒盤持續旋轉,該影像擷取單元(4)持續於該第二位置(22)拍攝該另一齒盤的側面,獲得複數拍攝影像(5d)(5e),並依序顯示於該顯示介面(7),該處理模組(6)並同樣取得該些拍攝影像(5d)(5e)的取樣像素點最大Y座標值(5212d)(5212e),如第五圖示意另一拍攝影像(5e)以及取得的另一取樣像素點最大Y座標值(5212e),其值為39.23。該處理模組(6)取得前述取樣像素點最大Y座標值(5212d)(5212e)之間的差距,例如,所述差距恰為第六圖中的取樣像素點最大Y座標值(5212d),即33.15,與第圖七中的取樣像素點最大Y座標值(5212e),即39.23,之間的差值,其值為6.08,係超出使用者預設的該基準值5.50,代表該另一齒盤旋轉時的偏擺程度超出規格要求,並於該顯示介面(7)上顯示有如第七圖所示之一NG字樣(C)。 For example, as shown in the sixth and seventh embodiments, in the third embodiment, the processing module (6) obtains the maximum Y coordinate value (5212d) of the sampled pixel and displays it on the display interface (7). The value is 33.15, and the other toothed disc continues to rotate, and the image capturing unit (4) continues to capture the side of the other toothed disc in the second position (22) to obtain a plurality of captured images (5d) (5e). And sequentially displayed on the display interface (7), the processing module (6) also obtains the maximum Y coordinate value (5212d) of the sampled pixel point (5212e) of the captured image (5d) (5e), as described in The five figures show another captured image (5e) and the obtained maximum sampled pixel point maximum Y coordinate value (5212e), which has a value of 39.23. The processing module (6) obtains a difference between the maximum Y coordinate value (5212d) (5212e) of the sampled pixel point, for example, the difference is exactly the maximum Y coordinate value (5212d) of the sampled pixel point in the sixth figure, That is, the difference between 33.15 and the maximum Y coordinate value (5212e) of the sampled pixel in Fig. 7 (ie, 39.23), which is 6.08, exceeds the user's preset value of 5.50, which represents the other. The degree of yaw when the toothed disc rotates exceeds the specification, and one of the NG characters (C) as shown in the seventh figure is displayed on the display interface (7).

另外,在未繪示的其他實施例中,同樣使前述取樣像素點之分佈方向同樣對應前述Y座標或X座標的延伸方向,惟,不定義有前述檢測區或檢測線,僅取得該顯示介面上X座標值或Y座標值為最大或最小之取樣像素點的X座標值或Y座標值,根據取得的複數最大或最小之X座標值或Y座標值之差距,同樣可供判斷該齒盤之偏擺程度。 In addition, in other embodiments not shown, the distribution direction of the sampling pixel points is also corresponding to the extending direction of the Y coordinate or the X coordinate, but the detection area or the detection line is not defined, and only the display interface is obtained. The X coordinate value or the Y coordinate value of the sampling point of the X coordinate value or the Y coordinate value of the largest or smallest value is also determined according to the difference between the maximum or minimum X coordinate value or the Y coordinate value of the complex number. The degree of yaw.

惟,前述第一至第三實施例中,藉由該檢測區(8)(8d)或該檢測線(9),僅檢測前述拍攝影像(5)(5a)(5b)(5c)(5d)(5e)之該齒盤側面影像區 (52)(52a)(52b)(52c)(52d)(52e)中,最大的該齒盤件之側面的兩端部之一的取樣像素點(521)(521a)(521b)(521c)(521d)(521e),因其可最明顯地反映該齒盤(1)之偏擺程度。且所述拍攝影像(5)(5a)(5b)(5c)(5d)(5e)可以是例如前述齒盤(1)每旋轉一圈供拍攝360張所述拍攝影像(5)(5a)(5b)(5c)(5d)(5e),供檢測判斷,而有較準確的檢測結果。 However, in the first to third embodiments described above, only the detected image (5) (5a) (5b) (5c) (5d) is detected by the detection area (8) (8d) or the detection line (9). (5e) the side image area of the toothed disc (52) (52a) (52b) (52c) (52d) (52e), the sampling pixel point (521) (521a) (521b) (521c) of one of the two ends of the side surface of the largest toothed member. (521d) (521e), as it most clearly reflects the degree of yaw of the spur (1). And the captured image (5) (5a) (5b) (5c) (5d) (5e) may be, for example, one rotation of the aforementioned toothed disk (1) for taking 360 shots of the captured image (5) (5a) (5b)(5c)(5d)(5e), for detection and judgment, and has more accurate detection results.

綜合上述實施例之說明,當可充分瞭解本發明之操作、使用及本發明產生之功效,惟以上所述實施例僅係為本發明之較佳實施例,當不能以此限定本發明實施之範圍,即依本發明申請專利範圍及發明說明內容所作簡單的等效變化與修飾,皆屬本發明涵蓋之範圍內。 In view of the foregoing description of the embodiments, the operation and the use of the present invention and the effects of the present invention are fully understood, but the above described embodiments are merely preferred embodiments of the present invention, and the invention may not be limited thereto. Included within the scope of the present invention are the scope of the present invention.

Claims (8)

一種齒盤檢測方法,用以檢測一齒盤旋轉時之一偏擺程度,包括:將待檢測之該齒盤設置於一第一位置,並使該齒盤於該第一位置上旋轉;將一影像擷取單元設置於一第二位置,該第二位置朝向該齒盤之一側面,使該影像擷取單元拍攝旋轉的該齒盤之該側面而獲得複數拍攝影像,每一拍攝影像皆包含一背景影像區及一齒盤側面影像區;定義前述齒盤側面影像區中的複數像素點為複數取樣像素點,根據不同的拍攝影像之齒盤側面影像區之間的取樣像素點之一變化程度,作為檢測該偏擺程度之依據,該變化程度係為所述取樣像素點之全部或部分的分布位置變化程度,或是分布面積變化程度。 A sprocket detecting method for detecting a degree of yaw of a toothed disc, comprising: setting the sprocket to be detected to a first position, and rotating the sprocket in the first position; An image capturing unit is disposed at a second position, the second position is toward a side of the toothed disc, so that the image capturing unit captures the side of the rotating toothed disc to obtain a plurality of captured images, each of which is captured Include a background image area and a side area of a toothed disc; defining a plurality of pixel points in the side image area of the toothed disc as a plurality of sampled pixel points, according to one of the sampled pixel points between the side images of the toothed disc according to different captured images The degree of change is used as a basis for detecting the degree of the yaw, which is the degree of change in the distribution position of all or part of the sampled pixel points, or the degree of change in the distribution area. 如申請專利範圍第1項所述之齒盤檢測方法,其中,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述Y座標的延伸方向,定義一檢測區,該檢測區涵蓋該齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測區中,有一取樣像素點之X座標值為最大或最小;取得一取樣像素點最大X座標值或一取樣像素點最小X座標值,其中,所述之取樣像素點最大X座標值係為該檢測區中的取樣像素點中X座標值為最大者之X座標值,所述之取樣像素點最小X座標值係為該檢測區中的取樣像素點中X座標值為最小者之X座標值;而該變化程度,係為前述取樣像素點最大X座標值之間的差距,或是前述取樣像素點最小X座標值之間的差距。 The method of detecting a toothed disc according to claim 1, wherein the position of the pixel point is represented by an X and Y coordinate system, wherein a distribution direction of the sampling pixel point corresponds to an extending direction of the Y coordinate, and a detection is defined. The detection area covers the sampling pixel of one of the two ends of the side image area of the toothed disc, and the X coordinate value of one sampling pixel in the detection area is the largest or the smallest; the maximum X of the sampling pixel is obtained. a coordinate value or a minimum X coordinate value of a sampled pixel, wherein the maximum X coordinate value of the sampled pixel is the X coordinate value of the sampled pixel in the detection area where the X coordinate value is the largest, and the sampling is performed. The minimum X coordinate value of the pixel is the X coordinate value of the smallest X coordinate value of the sampling pixel in the detection area; and the degree of change is the difference between the maximum X coordinate values of the sampling pixel, or The difference between the minimum X coordinate values of the aforementioned sampled pixel points. 如申請專利範圍第1項所述之齒盤檢測方法,其中,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述Y座標的延伸方向,定義一檢測線,該檢測線平行前述X座標之延伸方向,該檢測線對應前述齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測線上,有一取樣像素點之X座標值為最大或最小;取得一取樣像素點最大X座標值或一取樣像素點最 小X座標值,其中,所述之取樣像素點最大X座標值係為該檢測線上的取樣像素點中X座標值為最大者之X座標值,所述之取樣像素點最小X座標值係為該檢測線上的取樣像素點中X座標值為最小者之X座標值;而該變化程度,係為前述取樣像素點最大X座標值之間的差距,或是前述取樣像素點最小X座標值之間的差距。 The method of detecting a toothed disc according to claim 1, wherein the position of the pixel point is represented by an X and Y coordinate system, wherein a distribution direction of the sampling pixel point corresponds to an extending direction of the Y coordinate, and a detection is defined. a line, the detection line is parallel to the extending direction of the X coordinate, and the detection line corresponds to a sampling pixel of one of the two ends of the side surface of the toothed disc, and the X coordinate of the sampling pixel is the largest on the detection line. Or minimum; obtain a sample pixel point maximum X coordinate value or a sample pixel point a small X coordinate value, wherein the maximum X coordinate value of the sampled pixel is the X coordinate value of the sampled pixel in the detection line where the X coordinate value is the largest, and the minimum X coordinate value of the sampled pixel is The X coordinate value of the sampled pixel on the detection line is the smallest X coordinate value; and the degree of change is the difference between the maximum X coordinate value of the sampled pixel point, or the minimum X coordinate value of the sampled pixel point. The gap between the two. 如申請專利範圍第1項所述之齒盤檢測方法,其中,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述X座標的延伸方向,定義一檢測區,該檢測區涵蓋該齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測區中,有一取樣像素點之Y座標值為最大或最小;取得一取樣像素點最大Y座標值或一取樣像素點最小Y座標值,其中,所述之取樣像素點最大Y座標值係為該檢測區中的取樣像素點中Y座標值為最大者之Y座標值,所述之取樣像素點最小Y座標值係為該檢測區中的取樣像素點中Y座標值為最小者之Y座標值;而該變化程度,係為前述取樣像素點最大Y座標值之間的差距,或是前述取樣像素點最小Y座標值之間的差距。 The method of detecting a toothed disc according to claim 1, wherein the position of the pixel point is represented by an X and Y coordinate system, wherein a direction of distribution of the sampled pixel point corresponds to an extending direction of the X coordinate, and a detection is defined. The detection area covers the sampling pixel of one of the two ends of the side image area of the toothed disc, and the Y coordinate value of one sampling pixel in the detection area is the largest or the smallest; obtaining a sampling pixel point maximum Y a coordinate value or a minimum Y coordinate value of a sampled pixel, wherein the maximum Y coordinate value of the sampled pixel is a Y coordinate value of a sample having the largest Y coordinate value in the sampling pixel in the detection area, and the sampling is performed. The minimum Y coordinate value of the pixel is the Y coordinate value of the smallest Y coordinate value of the sampling pixel in the detection area; and the degree of change is the difference between the maximum Y coordinate value of the sampling pixel, or The difference between the minimum Y coordinate values of the aforementioned sampled pixel points. 如申請專利範圍第1項所述之齒盤檢測方法,其中,以X、Y座標系統表示前述像素點之位置,係使前述取樣像素點之分佈方向對應前述X座標的延伸方向,定義一檢測線,該檢測線平行前述Y座標之延伸方向,該檢測線對應前述齒盤側面影像區的兩端部之其一的取樣像素點,則該檢測線上,有一取樣像素點之Y座標值為最大或最小;取得一取樣像素點最大Y座標值或一取樣像素點最小Y座標值,其中,所述之取樣像素點最大Y座標值係為該檢測線上的取樣像素點中Y座標值為最大者之Y座標值,所述之取樣像素點最小Y座標值係為該檢測線上的取樣像素點中Y座標值為最小者之Y座標值;而該變化程度,係為前述取樣像素點最大Y座標值之間的差距,或是前述取樣像素點最小Y座標值之間的差距。 The method of detecting a toothed disc according to claim 1, wherein the position of the pixel point is represented by an X and Y coordinate system, wherein a direction of distribution of the sampled pixel point corresponds to an extending direction of the X coordinate, and a detection is defined. a line, the detection line is parallel to the extending direction of the Y coordinate, and the detection line corresponds to a sampling pixel of one of the two ends of the side surface of the toothed disc, and the Y coordinate of the sampling pixel is the largest on the detection line. Or minimum; obtain a sampling pixel point maximum Y coordinate value or a sampling pixel point minimum Y coordinate value, wherein the sampling pixel point maximum Y coordinate value is the sampling point of the detection line in the Y coordinate value is the largest The Y coordinate value, the minimum Y coordinate value of the sampled pixel is the Y coordinate value of the smallest Y coordinate value of the sampling pixel on the detection line; and the degree of change is the maximum Y coordinate of the sampling pixel The difference between the values, or the difference between the minimum Y coordinate values of the aforementioned sampled pixels. 如申請專利範圍第1項所述之齒盤檢測方法,其中,並有一顯示介面依序顯示前述拍攝影像,而該顯示介面上的像素點係對應於前述齒盤側面影像區的取樣像素點以及前述背景影像區的像素點。 The method for detecting a sprocket according to claim 1, wherein a display interface sequentially displays the captured image, and the pixel on the display interface corresponds to a sampling pixel of the side image area of the sprocket and The pixel of the aforementioned background image area. 如申請專利範圍第2項或第4項所述之齒盤檢測方法,其中,該齒盤係為一齒盤組,該齒盤組由大小不一的複數齒盤件平行設置而成,而該檢測區係僅涵蓋該齒盤側面影像區中最大之齒盤件的兩端部之其一對應的取樣像素點。 The method of detecting a toothed disc according to claim 2, wherein the sprocket wheel is a sprocket set, and the sprocket set is formed by parallelizing a plurality of sprocket members of different sizes. The detection zone only covers one of the corresponding sampling pixel points of the two ends of the largest toothed disc member in the side image area of the toothed disc. 如申請專利範圍第3項或第5項所述之齒盤檢測方法,其中,該齒盤係為一齒盤組,該齒盤組由大小不一的複數齒盤件平行設置而成,而該檢測線係僅對應該齒盤側面影像區中最大之齒盤件的兩端部之其一對應的取樣像素點。 The method of detecting a toothed disc according to the third or fifth aspect of the invention, wherein the sprocket wheel is a sprocket set, and the sprocket set is formed by parallelizing a plurality of sprocket members of different sizes, and The detection line is only corresponding to one of the sampling pixel points of the two ends of the largest toothed disc member in the side image area of the toothed disc.
TW106115894A 2017-05-12 2017-05-12 Sprocket wheel inspection method and apparatus TWI637157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106115894A TWI637157B (en) 2017-05-12 2017-05-12 Sprocket wheel inspection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106115894A TWI637157B (en) 2017-05-12 2017-05-12 Sprocket wheel inspection method and apparatus

Publications (2)

Publication Number Publication Date
TWI637157B true TWI637157B (en) 2018-10-01
TW201901128A TW201901128A (en) 2019-01-01

Family

ID=64797451

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106115894A TWI637157B (en) 2017-05-12 2017-05-12 Sprocket wheel inspection method and apparatus

Country Status (1)

Country Link
TW (1) TWI637157B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012014063A1 (en) * 2010-07-30 2012-02-02 Sicam S.R.L. Method for detecting the shape and/or dimensions of a wheel on vehicle repair workshop machines or the like
CN103615983A (en) * 2013-11-27 2014-03-05 天津大学 Air-floating type table tennis ball diameter and eccentricity detection device and method based on machine vision
CN204831194U (en) * 2015-08-05 2015-12-02 中国矿业大学 Head sheave beat detecting system based on machine vision
CN105783769A (en) * 2015-12-30 2016-07-20 南京理工大学 System and method for measuring gear 3D profile based on line laser scanning

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012014063A1 (en) * 2010-07-30 2012-02-02 Sicam S.R.L. Method for detecting the shape and/or dimensions of a wheel on vehicle repair workshop machines or the like
CN103615983A (en) * 2013-11-27 2014-03-05 天津大学 Air-floating type table tennis ball diameter and eccentricity detection device and method based on machine vision
CN204831194U (en) * 2015-08-05 2015-12-02 中国矿业大学 Head sheave beat detecting system based on machine vision
CN105783769A (en) * 2015-12-30 2016-07-20 南京理工大学 System and method for measuring gear 3D profile based on line laser scanning

Also Published As

Publication number Publication date
TW201901128A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN101207833B (en) Method for checking optical centre bias of lens of digital camera
CN106524934B (en) A kind of high-precision fine module gear vision measuring method
TWI394431B (en) Evaluation method of stereoscopic image display panel and system of the same
CN112033965B (en) 3D arc surface defect detection method based on differential image analysis
CN106017350A (en) Machine-vision-based rapid detection device and detection method for medium and small module gears
US10922795B2 (en) Method and device for measuring distortion parameter of visual reality device, and measuring system
US11614457B2 (en) Method and system for determining rotational speed by means of video camera
TWI636234B (en) Profile measuring method, profile measuring apparatus and deformation inspecting apparatus
CN110986834A (en) Automatic assembly pipe penetration monitoring method
KR20110098127A (en) Calibration device and method for revision of crack detection system by using image processing technology
JP4328333B2 (en) Glass bottle inspection equipment
TWI637157B (en) Sprocket wheel inspection method and apparatus
TWI751869B (en) Computation apparatus and method of detecting defects for near-eye display
CN106767654B (en) The detection method and system of camera level angle
US9967550B2 (en) Three-dimensional image processing system, three-dimensional image processing apparatus, and three-dimensional image processing method
JP2021068390A5 (en)
US10511780B2 (en) Detecting device, and method for controlling the same
JP4309405B2 (en) Glass bottle inspection equipment
TWI420229B (en) Method for measuring modulation transfer function value of lens
TW202134621A (en) Lens examination method and apparatus
JPWO2021171763A5 (en) Image processing device, image processing method, and program
JP2009025078A5 (en)
Lin et al. High speed 3D motion capture system for flying golf ball
CN108759661A (en) The straight line offset method of edge detection vision system
TWI477737B (en) Electronic apparatus and method with measuring function