TWI398619B - Orthogonal correction method - Google Patents

Orthogonal correction method Download PDF

Info

Publication number
TWI398619B
TWI398619B TW99107057A TW99107057A TWI398619B TW I398619 B TWI398619 B TW I398619B TW 99107057 A TW99107057 A TW 99107057A TW 99107057 A TW99107057 A TW 99107057A TW I398619 B TWI398619 B TW I398619B
Authority
TW
Taiwan
Prior art keywords
image
line
orthogonal
correction
scanning
Prior art date
Application number
TW99107057A
Other languages
Chinese (zh)
Other versions
TW201131137A (en
Original Assignee
Chroma Ate Inc
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 Chroma Ate Inc filed Critical Chroma Ate Inc
Priority to TW99107057A priority Critical patent/TWI398619B/en
Publication of TW201131137A publication Critical patent/TW201131137A/en
Application granted granted Critical
Publication of TWI398619B publication Critical patent/TWI398619B/en

Links

Landscapes

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

Description

正交校正方法Orthogonal correction method

本發明係關於一種正交校正方法,特別是指一種運算圖像之幾何比例關係之正交校正方法。The present invention relates to an orthogonal correction method, and more particularly to an orthogonal correction method for geometrical proportional relationship of an operation image.

習知技術中,許多正交校正方法係藉由一操作員利用角規等硬體工具,進行一校正作業。其係利用一掃描系統對一校準片進行掃描,並取得一擷取影像。再藉由操作員對該擷取影像進行目測後,並判斷出掃描系統是否具有一偏移角度,再藉由角規等硬體工具對掃描系統進行校正。然而,藉由操作員利用目測方式與角規等硬體工具,進行掃描系統之校正的方式,往往會因為人為疏失而導致校正不準確。In the prior art, many orthogonal correction methods perform a calibration operation by an operator using a hardware tool such as a corner gauge. It scans a calibration sheet with a scanning system and obtains a captured image. After the operator visually measures the captured image, and determines whether the scanning system has an offset angle, the scanning system is corrected by a hardware tool such as a corner gauge. However, by using a hardware tool such as a visual inspection method and a corner gauge to perform calibration of the scanning system, the correction is often inaccurate due to human error.

因此,習知技術中會因為校正不準確而無法快速完成掃描系統之校正,且往往必須花費更多時間來重複進行校正。因此如何提升校正之準確度與速度,便是相當重要之議題。Therefore, in the prior art, the calibration of the scanning system cannot be quickly completed because the correction is inaccurate, and it is often necessary to spend more time to repeat the correction. Therefore, how to improve the accuracy and speed of correction is a very important issue.

在此前提下,本案發明人深感實有必要開發出一種新的正交校正方法藉以同時改善上述種種問題。Under this premise, the inventor of this case deeply felt the need to develop a new orthogonal correction method to simultaneously improve the above problems.

有鑒於習知技術中,利用人工目測判斷出掃描系統之偏移角度,並藉由角規等硬體工具,進行掃描系統之校正。往往會因為操作人員之疏失,而導致校正之不準確,進而花費更多時間來重複進行校正。In the prior art, the offset angle of the scanning system is determined by manual visual inspection, and the calibration of the scanning system is performed by a hardware tool such as an angle gauge. It is often because of the operator's omission that the correction is inaccurate and it takes more time to repeat the correction.

緣此,本發明之主要目的在於提供一種正交校正方法,其係利用一校正片對一掃描檢測系統進行校正,其中,該校正片與掃描檢測系統沿一設定方向相對移動。藉由掃描檢測系統對校正片沿一線掃描方向進行一線掃描作業,並取得一掃描幾何圖像,再透過該掃描幾何圖像與一已知幾何圖像進行幾何比例之比對,藉以求得一校正角度。最後,根據該校正角度調整設定方向與該線掃描方向中之至少一者,使該設定方向與該線掃描方向相互正交。Accordingly, it is a primary object of the present invention to provide an orthogonal correction method for correcting a scanning detection system using a calibration sheet, wherein the calibration sheet and the scanning detection system are relatively moved in a set direction. Scanning detection system performs a line scan operation on the calibration slice along the line scan direction, and obtains a scan geometric image, and then compares the geometrical ratio of the scanned geometric image with a known geometric image to obtain a comparison. Correct the angle. Finally, at least one of the set direction and the line scan direction is adjusted according to the correction angle such that the set direction and the line scan direction are orthogonal to each other.

因此,透過該掃描幾何圖像與該已知幾何圖像間之幾何相關性,經過簡單的幾何公式推導,係可準確且快速地運算出校正角度。藉此,可有效解決上述之種種問題。Therefore, the geometrical correlation between the scanned geometric image and the known geometric image can be accurately and quickly calculated by a simple geometric formula. Thereby, the above various problems can be effectively solved.

本發明為解決習知技術之問題,所採用之技術手段係提供一種正交校正方法,係用以在一線掃描影像擷取裝置與一校正片沿一設定方向相對移動時,使該設定方向與該線掃描影像擷取裝置之一線掃描方向相互正交,該校正片具有一已知幾何圖像,且該正交校正方法包含以下步驟:The invention solves the problems of the prior art, and the technical means adopted provides an orthogonal correction method for the first-line scanning image capturing device and a correction piece to move relative to each other in a set direction, so that the setting direction is The line scanning directions of the line scanning image capturing device are orthogonal to each other, the calibration sheet has a known geometric image, and the orthogonal correction method comprises the following steps:

(a) 使該線掃描影像擷取裝置與該校正片沿該設定方向相對移動,並利用該線掃描影像擷取裝置沿該線掃描方向對該校正片進行一線掃描作業,藉以取得該校正片之一掃描幾何圖像;(a) moving the line scan image capturing device and the correcting piece relative to each other in the set direction, and using the line scanning image capturing device to perform a line scan operation on the correcting piece along the line scanning direction, thereby obtaining the correcting piece One of the scanned geometric images;

(b) 利用該掃描幾何圖像與該已知幾何圖像之至少二幾何比例對應條件,運算出一校正角度;以及(b) calculating a correction angle using the scan geometry image and at least two geometric scales of the known geometric image;

(c) 依據該校正角度,調整該設定方向與該線掃描方向中之至少一者,使該設定方向與該線掃描方向相互正交。(c) adjusting at least one of the set direction and the line scanning direction according to the correction angle such that the set direction and the line scanning direction are orthogonal to each other.

相較於習知正交校正方法中,利用人工目測判斷出掃描系統之偏移角度,並藉由角規等硬體工具,進行掃描系統之校正。由於在本發明例所揭露之正交校正方法中,係藉由掃描幾何圖像與已知幾何圖像間的幾何相關性,進行幾何比例之比對。顯而易見地,藉由本發明例所揭露之正交校正方法,不需藉由繁複地操作程序,僅需利用簡單的幾何公式推導,就可以準確且快速地運算出校正角度,進而提升正交校正效率。藉以有效解決以上所述之種種問題。Compared with the conventional orthogonal correction method, the offset angle of the scanning system is determined by manual visual inspection, and the calibration of the scanning system is performed by a hardware tool such as an angle gauge. Since the orthogonal correction method disclosed in the example of the present invention performs the geometric ratio comparison by scanning the geometric correlation between the geometric image and the known geometric image. Obviously, the orthogonal correction method disclosed in the example of the present invention can accurately and quickly calculate the correction angle without further complicated operation procedure by using a complicated operation procedure, thereby improving the orthogonal correction efficiency. . In order to effectively solve the above problems.

本發明所採用的具體實施例,將藉由以下之實施例及圖式作進一步之說明。The specific embodiments of the present invention will be further described by the following examples and drawings.

本發明所提供之正交校正方法可廣泛運用於校正各種掃描檢測系統,而且相關之組合實施方式更是不勝枚舉,故在此不再一一贅述,僅列舉其中一個較佳實施例加以具體說明。The orthogonal correction method provided by the present invention can be widely applied to correct various scanning detection systems, and the related combined implementation manners are numerous, so it will not be further described herein, and only one of the preferred embodiments is specifically described. Description.

請參閱第一圖,其係本發明較佳實施例之系統架構側視示意圖,本發明係利用一校正片1對一掃描檢測系統2進行校正。掃描檢測系統2係可包含一載台21、一線掃描影像擷取裝置22、一轉動平台23、一電子裝置24與一光源25。Please refer to the first figure, which is a side view of a system architecture of a preferred embodiment of the present invention. The present invention utilizes a calibration sheet 1 to correct a scanning detection system 2. The scanning detection system 2 can include a stage 21, a line scan image capturing device 22, a rotating platform 23, an electronic device 24, and a light source 25.

校正片1係放置於載台21上,並沿一設定方向D1移動。校正片1係可具有一已知幾何圖像f1,已知幾何圖像f1係可為校正片1之外輪廓或為標記於校正片1之表面之幾何圖像。於本較佳實施例中,已知幾何圖像f1係為校正片1之外輪廓,且為一圓形圖像。已知幾何圖像f1係可儲存於電子裝置24中。The correction sheet 1 is placed on the stage 21 and moved in a set direction D1. The correction sheet 1 may have a known geometric image f1 which may be the outer contour of the correction sheet 1 or a geometric image marked on the surface of the correction sheet 1. In the preferred embodiment, the geometric image f1 is known to be the outer contour of the correction sheet 1 and is a circular image. The geometric image f1 is known to be stored in the electronic device 24.

線掃描影像擷取裝置22係設置於轉動平台23上,且線掃描影像擷取裝置22係電性連接於電子裝置24。因此,在線掃描影像擷取裝置22擷取一掃描幾何圖像後,可將其所擷取的掃描幾何圖像傳送至電子裝置24。The line scan image capturing device 22 is disposed on the rotating platform 23 , and the line scanning image capturing device 22 is electrically connected to the electronic device 24 . Therefore, after the online scanning image capturing device 22 captures a scanning geometric image, the scanned geometric image captured by the online scanning image capturing device 22 can be transmitted to the electronic device 24.

電子裝置24包含一記憶單元241、一顯示單元242、一運算單元243與一控制單元244。記憶單元241可用以儲存已知幾何圖像f1,記憶單元241係可電性連接於運算單元243。顯示單元242係可用以顯示掃描幾何圖像,顯示單元242係可電性連接於運算單元243。運算單元243係可用以運算比對程序,運算單元243係可電性連接於線掃描影像擷取裝置22。控制單元244係可用以執行校正程序,控制單元244係可電性連接於運算單元243與轉動平台23。電子裝置係可為一電腦。The electronic device 24 includes a memory unit 241, a display unit 242, an operation unit 243, and a control unit 244. The memory unit 241 can be used to store the known geometric image f1, and the memory unit 241 can be electrically connected to the arithmetic unit 243. The display unit 242 can be used to display a scanned geometric image, and the display unit 242 can be electrically connected to the arithmetic unit 243. The arithmetic unit 243 can be used to calculate a comparison program, and the arithmetic unit 243 can be electrically connected to the line scan image capturing device 22. The control unit 244 can be used to perform a calibration process, and the control unit 244 can be electrically connected to the arithmetic unit 243 and the rotating platform 23. The electronic device can be a computer.

請參閱第二圖,其係本發明較佳實施例之系統架構俯視示意圖,並請一併參閱第一圖。在利用校正片1對掃描檢測系統2進行校正時,可以先將校正片1放置於載台21上,並使校正片1與線掃描影像擷取裝置22之間產生一相對移動。Please refer to the second figure, which is a schematic top view of the system architecture of the preferred embodiment of the present invention, and please refer to the first figure. When the scanning detection system 2 is corrected by the correction sheet 1, the correction sheet 1 can be placed on the stage 21 first, and a relative movement between the correction sheet 1 and the line scanning image capturing unit 22 is generated.

特別必須強調的是,在本文中所謂的相對移動,係泛指校正片1與線掃描影像擷取裝置22之間存在的相對移動關係,在實務運用上,只要校正片1、載台21與線掃描影像擷取裝置22中之其中一者移動,即可產生上述之相對移動。較佳者,在本實施例中,可使校正片1沿上述之設定方向D1移動而產生上述之相對移動,並使光源25將一檢測光束(圖未標示)投照射於校正片1;在檢測光束穿透載台21後,可使線掃描影像擷取裝置22在沿一線掃描方向D2對校正片1進行掃描時,可以取得校正片1之掃描幾何圖像。對熟悉該項技術領域者而言,上述的掃描作業方式即為透射式線掃描作業。In particular, it should be emphasized that the relative movement referred to herein refers to the relative movement relationship between the calibration sheet 1 and the line scan image capturing device 22. In practice, as long as the calibration sheet 1 and the loading table 21 are The relative movement of the line scan image capture device 22 is effected by one of the line scan image capture devices 22. Preferably, in the embodiment, the correcting sheet 1 can be moved along the set direction D1 to generate the relative movement, and the light source 25 can illuminate a detecting beam (not shown) on the correcting sheet 1; After the detection beam penetrates the stage 21, the line scan image capturing device 22 can obtain the scanned geometric image of the correction sheet 1 when scanning the correction sheet 1 along the line scanning direction D2. For those skilled in the art, the scanning operation described above is a transmissive line scan operation.

如第二圖所示,在進行上述之透射式線掃描作業時,設定方向D1與線掃描方向D2之間會具有一夾角ω1 。其中,透射式線掃描作業係為習知技術,故於此不多加贅述。As shown in the second figure, when the above-described transmissive line scanning operation is performed, there is an angle ω 1 between the set direction D1 and the line scanning direction D2. Among them, the transmissive line scanning operation is a conventional technique, so it will not be described here.

當線掃描影像擷取裝置22完成透射式線掃描作業並取得掃描幾何圖像後,線掃描影像擷取裝置22係將掃描幾何圖像傳送至電子裝置24,藉以使電子裝置24依據掃描幾何圖像與已知幾何圖像f1進行比對程序。After the line scan image capturing device 22 completes the transmissive line scan operation and obtains the scan geometry image, the line scan image capture device 22 transmits the scan geometry image to the electronic device 24, so that the electronic device 24 is based on the scan geometry. The program is compared to the known geometric image f1.

舉例而言,請參閱第三圖,其係顯示本發明較佳實施例中之線掃描方向與設定方向相互正交時,校正片之已知幾何圖像與掃描幾何圖像之對照圖。在完成上述的透射式線掃描作業後,可將掃描幾何圖像傳送至電子裝置24,且顯示於顯示單元242。For example, please refer to the third figure, which is a comparison diagram of a known geometric image and a scanned geometric image of a calibration patch when the line scanning direction and the setting direction are orthogonal to each other in the preferred embodiment of the present invention. After the transmissive line scan operation described above is completed, the scanned geometric image can be transmitted to the electronic device 24 and displayed on the display unit 242.

此時,電子裝置24的運算單元243會對掃描幾何圖像與已知幾何圖像f1進行比對程序。如第三圖所示,若顯示在顯示單元242的掃描幾何圖像為一圓形圖像f2,則表示設定方向D1與線掃描方向D2之間之夾角ω1 係為90度;此時,顯示單元242可顯示已完成校正程序之相關訊息。At this time, the arithmetic unit 243 of the electronic device 24 compares the scanned geometric image with the known geometric image f1. As shown in the third figure, if the scanned geometric image displayed on the display unit 242 is a circular image f2, it means that the angle ω 1 between the set direction D1 and the line scanning direction D2 is 90 degrees; The display unit 242 can display related information that the calibration procedure has been completed.

請參閱第四圖與第五圖所示,第四圖係本發明較佳實施例之設定方向與線掃描方向不相互正交之系統架構俯視示意圖;第五圖係顯示發明較佳實施例之線掃描方向與設定方向相互不正交之校正片與掃描幾何圖像之對照圖;同時,並請一併參閱第一圖。在完成上述的透射式線掃描作業後,可將掃描幾何圖像傳送至電子裝置24,且顯示於顯示單元242。Please refer to the fourth and fifth figures. The fourth figure is a schematic top view of the system architecture in which the setting direction and the line scanning direction are not orthogonal to each other in the preferred embodiment of the present invention; and the fifth figure shows the preferred embodiment of the invention. A comparison chart between the calibration slice and the scanned geometric image in which the line scanning direction and the setting direction are not orthogonal to each other; and, please refer to the first figure together. After the transmissive line scan operation described above is completed, the scanned geometric image can be transmitted to the electronic device 24 and displayed on the display unit 242.

此時,電子裝置24的運算單元243會對掃描幾何圖像與已知幾何圖像f1進行比對運算,如第五圖所示,若顯示在顯示單元242的掃描幾何圖像因為校正角度θ而扭曲成一橢圓形圖像f3,則表示掃描幾何圖像不同於已知幾何圖像f1。在此情況下,表示線掃描影像擷取裝置22之線掃描方向D2與校正片1之設定方向D1相互不正交,亦即設定方向D1與線掃描方向D2之間之夾角ω2 不是90度;此時,顯示單元242可顯示必須進行後續校正程序之相關訊息。At this time, the arithmetic unit 243 of the electronic device 24 compares the scanned geometric image with the known geometric image f1, as shown in the fifth figure, if the scanned geometric image displayed on the display unit 242 is corrected because of the angle θ The distortion into an elliptical image f3 indicates that the scanned geometric image is different from the known geometric image f1. In this case, the line scanning direction D2 of the line scan image capturing device 22 and the setting direction D1 of the correction sheet 1 are not orthogonal to each other, that is, the angle ω 2 between the setting direction D1 and the line scanning direction D2 is not 90 degrees. At this time, the display unit 242 can display a related message that a subsequent correction procedure must be performed.

如第四圖所示,設定方向D1與線掃描方向D2之間係具有一夾角ω2 與一校正角度θ,且夾角ω2 與校正角度θ互為餘角。接下來要進行的校正工作就是計算出校正角度θ,據以調整轉動平台23,使夾角ω2 為90度,並將校正角度θ歸零。As shown in the fourth figure, the set direction D1 and the line scanning direction D2 have an angle ω 2 and a correction angle θ, and the angle ω 2 and the correction angle θ are mutually complementary angles. The correction work to be performed next is to calculate the correction angle θ, thereby adjusting the rotating platform 23 so that the angle ω 2 is 90 degrees and the correction angle θ is zeroed.

緊接著,將進一步列舉一種計算校正角度θ的方法。於第五圖中,當線掃描影像擷取裝置22之線掃描方向D2與校正片1之設定方向D1之間夾有校正角度θ時。可依據校正角度θ與線掃描影像擷取裝置22之一掃描距離L於校正片1之已知幾何圖像f1外接一菱形圖像。並依據對頂角定理、同位角定理與菱形幾何特性,可以標示出夾角ω2 與二半夾角ω2 /2。Next, a method of calculating the correction angle θ will be further enumerated. In the fifth diagram, when the correction angle θ is sandwiched between the line scanning direction D2 of the line scan image capturing device 22 and the setting direction D1 of the correction sheet 1. A diamond image may be externally connected to the known geometric image f1 of the correction sheet 1 according to the correction angle θ and the scanning distance L of one of the line scan image capturing devices 22. According to the apex angle theorem, the collocation theorem and the geometrical characteristics of the diamond, the angle ω 2 and the angle ω 2 /2 can be indicated.

於本發明之較佳實施例中,由於已知幾何圖像f1與橢圓形圖像f3皆為二維平面,因此,可於已知幾何圖像f1選定至少三個參考點,並將該等參考點連成至少三條參考線段;同時,可在橢圓形圖像f3中,找出至少三個對應於該等參考點之對應點,並將該等對應點連成至少三分別對應上述至少三參考線段之對應線段,並利用該等參考線段與該等對應線段之至少二幾何比例對應條件,運算出該校正角度。In a preferred embodiment of the present invention, since both the geometric image f1 and the elliptical image f3 are known to be two-dimensional planes, at least three reference points can be selected for the known geometric image f1, and such The reference point is connected to at least three reference line segments; at the same time, at least three corresponding points corresponding to the reference points are found in the elliptical image f3, and the corresponding points are connected to at least three corresponding to the at least three Referencing the corresponding line segment of the line segment, and calculating the correction angle by using at least two geometric ratios of the reference line segments and the corresponding line segments.

但是,為了方便說明如何運算出校正角度θ,可於第五圖中之校正片1中選取一第一參考點A1、一第二參考點A2、一第三參考點A3、一第四參考點A4與一第五參考點A5。However, in order to explain how to calculate the correction angle θ, a first reference point A1, a second reference point A2, a third reference point A3, and a fourth reference point may be selected in the calibration sheet 1 in the fifth figure. A4 and a fifth reference point A5.

並連接第一參考點A1與第二參考點A2以形成一第一參考線段Y,連接第一參考點A1與第三參考點A3以形成一第二參考線段R1,連接第一參考點A1與第四參考點A4以形成一第三參考線段X,連接第一參考點A1與第五參考點A5以形成一第四參考線段R2。And connecting the first reference point A1 and the second reference point A2 to form a first reference line segment Y, connecting the first reference point A1 and the third reference point A3 to form a second reference line segment R1, connecting the first reference point A1 with The fourth reference point A4 is formed to form a third reference line segment X, and the first reference point A1 and the fifth reference point A5 are connected to form a fourth reference line segment R2.

另外,由於線掃描影像擷取裝置之線掃描方向D2與校正片1之設定方向D1之間夾有校正角度θ,因此掃描幾何圖像係會由圓形圖像f2扭曲成橢圓形圖像f3。故可依據線掃描影像擷取裝置22之掃描距離L於橢圓形圖像f3外接一正方形圖像。In addition, since the correction angle θ is sandwiched between the line scanning direction D2 of the line scan image capturing device and the setting direction D1 of the correction sheet 1, the scanning geometric image is distorted from the circular image f2 into an elliptical image f3. . Therefore, a square image can be externally connected to the elliptical image f3 according to the scanning distance L of the line scan image capturing device 22.

並於橢圓形圖像f3中選取一第一對應點B1、一第二對應點B2、一第三對應點B3、一第四對應點B4與一第五對應點B5。其中,第一對應點B1、第二對 應點B2、第三對應點B3、第四對應點B4與第五對應點B5係分別對應於第一參考點A1、第二參考點A2、第三參考點A3、第四參考點A4與第五參考點A5。And selecting a first corresponding point B1, a second corresponding point B2, a third corresponding point B3, a fourth corresponding point B4 and a fifth corresponding point B5 in the elliptical image f3. Wherein, the first corresponding point B1, the second pair The point B2, the third corresponding point B3, the fourth corresponding point B4 and the fifth corresponding point B5 correspond to the first reference point A1, the second reference point A2, the third reference point A3, and the fourth reference point A4, respectively. Five reference points A5.

連接第一對應點B1與第二對應點B2以形成一第一對應線段S1,連接第一對應點B1與第三對應點B3以形成一第二對應線段P,連接第一對應點B1與第四對應點B4以形成一第三對應線段S2,連接第一對應點B1與第五對應點B5以形成一第四對應線段Q。Connecting the first corresponding point B1 and the second corresponding point B2 to form a first corresponding line segment S1, connecting the first corresponding point B1 and the third corresponding point B3 to form a second corresponding line segment P, connecting the first corresponding point B1 and the first Four corresponding points B4 are formed to form a third corresponding line segment S2, and the first corresponding point B1 and the fifth corresponding point B5 are connected to form a fourth corresponding line segment Q.

其中,第一對應線段S1、第二對應線P段、第三對應線段S2與第四對應線段Q係分別對應於第一參考線段Y、第二參考線段R1、第三參考線段X與第四參考線段R2。The first corresponding line segment S1, the second corresponding line segment P, the third corresponding line segment S2 and the fourth corresponding line segment Q are respectively corresponding to the first reference line segment Y, the second reference line segment R1, the third reference line segment X and the fourth Reference line segment R2.

接著,依據已知幾何圖像f1與橢圓形圖像f3之等比例關係,產生下列二恆等式:YR 1=S 1:P K (1)Then, according to the proportional relationship between the known geometric image f1 and the elliptical image f3, the following two identity equations are generated: Y : R 1 = S 1: P K (1)

XR 2=S 2:Q K (2) X : R 2= S 2: Q K (2)

其中,第一參考線段Y係可為菱形圖形長對角線之二分之一。第二參考線段R1係可為校正片1之已知幾何圖像f1之半徑。第三參考線段X係可為菱形圖形短對角線之二分之一。第四參考線段R2係可為係可為校正片1之已知幾何圖像f1之半徑。因此第四參考線段R2係相等於第二參考線段R1。The first reference line segment Y may be one-half of the long diagonal of the diamond pattern. The second reference line segment R1 may be the radius of the known geometric image f1 of the correction sheet 1. The third reference line segment X can be one-half of the short diagonal of the diamond pattern. The fourth reference line segment R2 may be the radius of the known geometric image f1 which may be the correction sheet 1. Therefore, the fourth reference line segment R2 is equal to the second reference line segment R1.

第一對應線段S1係可為正方形圖形對角線之二分之一。第二對應線段P係可為橢圓形圖像f3之短軸半徑。第三對應線段S2係可為正方形圖形對角線之二分之一,因此,第三對應線段S2係相等於第一對應線段S1。第四對應線段Q係可為橢圓形圖像f3之長軸半徑。The first corresponding line segment S1 may be one-half of a square graphic diagonal. The second corresponding line segment P may be the minor axis radius of the elliptical image f3. The third corresponding line segment S2 may be one-half of the diagonal of the square pattern, and therefore, the third corresponding line segment S2 is equal to the first corresponding line segment S1. The fourth corresponding line segment Q can be the major axis radius of the elliptical image f3.

另外,由第五圖中可知,線掃描影像擷取裝置之線掃描方向D2與校正片1之設定方向D1之間夾有校正角度θ,而菱形圖形之長對角線係劃分出二半夾角ω2 /2。因此,根據三角函數定理可推導出下列二方程式:In addition, as can be seen from the fifth figure, the correction angle θ is sandwiched between the line scanning direction D2 of the line scan image capturing device and the setting direction D1 of the calibration sheet 1, and the long diagonal line of the diamond pattern is divided into two halves. ω 2 /2. Therefore, according to the trigonometric function theorem, the following two equations can be derived:

假設線掃描影像擷取裝置之掃描距離L之長度為a,故菱形圖形與正方形圖形之邊長皆為a,因此根據畢氏定理可推導出下列方程式:Assuming that the scanning distance L of the line scan image capturing device has a length a, the sides of the diamond pattern and the square pattern are both a, so the following equation can be derived according to the Bisch's theorem:

將方程式(3)、(4)、(5)分別帶入方程式(1)、(2),且R1=R2,則可推導出下列方程式:By introducing equations (3), (4), and (5) into equations (1), (2), and R1 = R2, the following equations can be derived:

著,由方程式(6)、(7)推導出下列方程式:The following equations are derived from equations (6) and (7):

根據餘角定理可推導出下列方程式:According to the residual angle theorem, the following equation can be derived:

θ=90°-ω2 ...(9)θ=90°-ω 2 ...(9)

將方程式(8),帶入方程式(9)中,可取得下列方程式:By bringing equation (8) into equation (9), the following equation can be obtained:

因此,當線掃描影像擷取裝置22之線掃描方向D2與校正片1之設定方向D1之間夾有校正角度θ時,則掃描幾何圖像係會扭曲成橢圓形圖像f3。此時,電子裝置24係只要分別計算出橢圓形圖像f3之長軸半徑P與短軸半徑Q之長度,並分別帶入方程式(10)中,即可求得校正角度θ。Therefore, when the correction angle θ is sandwiched between the line scanning direction D2 of the line scan image capturing device 22 and the setting direction D1 of the correction sheet 1, the scanning geometric image system is distorted into an elliptical image f3. At this time, the electronic device 24 calculates the correction angle θ by calculating the lengths of the major axis radius P and the minor axis radius Q of the elliptical image f3 and respectively bringing them into the equation (10).

當電子裝置24計算出校正角度θ後,係依據校正角度θ執行校正作業。校正作業係可為電子裝置24中之控制單元244依據校正角度θ傳送一校正訊號U至轉動平台23。轉動平台23在接收到校正訊號U後,係依據校正訊號U調整轉動平台23,使夾角ω2 為90度,並將校正角度θ歸零。藉以使得線掃描方向D2與設定方向D1相互正交。於另一於實施例中,當電子裝置24計算出校正角度θ後,係可依據校正角度θ調整校正片1之設定方向D1,藉以使得線掃描方向D2與設定方向D1相互正交。When the electronic device 24 calculates the correction angle θ, the correction operation is performed in accordance with the correction angle θ. The calibration operation may be such that the control unit 244 in the electronic device 24 transmits a correction signal U to the rotating platform 23 according to the correction angle θ. After receiving the correction signal U, the rotating platform 23 adjusts the rotating platform 23 according to the correction signal U to make the angle ω 2 90 degrees and zero the correction angle θ. Thereby, the line scanning direction D2 and the setting direction D1 are orthogonal to each other. In another embodiment, after the electronic device 24 calculates the correction angle θ, the setting direction D1 of the correction sheet 1 can be adjusted according to the correction angle θ, so that the line scanning direction D2 and the setting direction D1 are orthogonal to each other.

請參閱第六圖,為了進一步推廣本發明所揭露之技術,以下將進一步將本發明較佳實施例所揭露之技術彙整為一簡易流程圖,以便在所屬技術領域中具有通常知識者更容易記憶。下列之元件標號,請參閱第一圖、第四與第五圖。Referring to the sixth figure, in order to further promote the technology disclosed in the present invention, the technology disclosed in the preferred embodiment of the present invention will be further condensed into a simple flowchart so as to be more easily remembered by those having ordinary knowledge in the technical field. . Please refer to the first, fourth and fifth figures for the following component numbers.

使線掃描影像擷取裝置22與校正片1沿設定方向D1相對移動(步驟S100)。The line scan image capturing device 22 and the correction sheet 1 are relatively moved in the set direction D1 (step S100).

使線掃描影像擷取裝置22沿線掃描方向D2對校正片1進行線掃描作業,以取得掃描幾何圖像,並傳送至電子裝置(步驟S110)。The line scan image capturing device 22 is caused to perform a line scan operation on the correction sheet 1 in the line scanning direction D2 to acquire a scanned geometric image and transmit it to the electronic device (step S110).

判斷掃描幾何圖像是否相同於已知幾何圖像f1(步驟S120)Determining whether the scanned geometric image is identical to the known geometric image f1 (step S120)

當掃描幾何圖像不同於已知幾何圖像f1時,於已知幾何圖像f1中選定至少三參考點,並將該等參考點連成至少三參考線段(步驟S130)。When the scanned geometric image is different from the known geometric image f1, at least three reference points are selected in the known geometric image f1, and the reference points are connected into at least three reference line segments (step S130).

於掃描幾何圖像中,找出至少三對應於該等參考點之對應點,並將該等對應點連成至少三分別對應上述至少三參考線段之對應線段(步驟S140)。In the scanned geometric image, at least three corresponding points corresponding to the reference points are found, and the corresponding points are connected into at least three corresponding line segments respectively corresponding to the at least three reference line segments (step S140).

利用該等參考線段與該等對應線段之至少二幾何比例對應條件,運算出校正角度θ(步驟S150)。The correction angle θ is calculated using the condition that the reference line segments correspond to at least two geometric ratios of the corresponding line segments (step S150).

依據校正角度θ,調整設定方向D1與該線掃描方向D2中之至少一者,使設定方向D1與線掃描方向D2相互正交(步驟S160)。At least one of the setting direction D1 and the line scanning direction D2 is adjusted according to the correction angle θ, and the setting direction D1 and the line scanning direction D2 are orthogonal to each other (step S160).

相較於習知正交校正方法中,利用人工目測判斷出掃描系統之偏移角度,並藉由角規等硬體工具,進行掃描系統之校正。由於在本發明例所揭露之正交校正方法中,係藉由掃描幾何圖像與已知幾何圖像間的幾何相關性,進行幾何比例之比對。顯而易見地,藉由本發明例所揭露之正交校正方法,不需藉由繁複地操作程序,僅需利用簡單的幾何公式推導,就可以準確且快速地運算出校正角度,進而提升正交校正效率。藉以有效解決以上所述之種種問題。Compared with the conventional orthogonal correction method, the offset angle of the scanning system is determined by manual visual inspection, and the calibration of the scanning system is performed by a hardware tool such as an angle gauge. Since the orthogonal correction method disclosed in the example of the present invention performs the geometric ratio comparison by scanning the geometric correlation between the geometric image and the known geometric image. Obviously, the orthogonal correction method disclosed in the example of the present invention can accurately and quickly calculate the correction angle without further complicated operation procedure by using a complicated operation procedure, thereby improving the orthogonal correction efficiency. . In order to effectively solve the above problems.

藉由上述之本發明實施例可知,本發明確具產業上之利用價值。惟以上之實施例說明,僅為本發明之較佳實施例說明,舉凡所屬技術領域中具有通常知識者當可依據本發明之上述實施例說明而作其它種種之改良及變化。然而這些依據本發明實施例所作的種種改良及變化,當仍屬於本發明之發明精神及界定之專利範圍內。It can be seen from the above embodiments of the present invention that the present invention has industrial utilization value. The above embodiments are merely illustrative of the preferred embodiments of the present invention, and those skilled in the art will be able to make various other modifications and changes in the embodiments described herein. However, various modifications and changes made in accordance with the embodiments of the present invention are still within the scope of the invention and the scope of the invention.

1...校正片1. . . Correction film

2...掃描檢測系統2. . . Scan detection system

21...載台twenty one. . . Loading platform

22...線掃描影像擷取裝置twenty two. . . Line scan image capture device

23...轉動平台twenty three. . . Rotating platform

24...電子裝置twenty four. . . Electronic device

241...記憶單元241. . . Memory unit

242...顯示單元242. . . Display unit

243...運算單元243. . . Arithmetic unit

244...控制單元244. . . control unit

25...光源25. . . light source

D1...設定方向D1. . . Set direction

D2...線掃描方向D2. . . Line scan direction

f1...已知幾何圖像F1. . . Known geometric image

f2...圓形圖像F2. . . Circular image

f3...橢圓形圖像F3. . . Oval image

ω1 、ω2 ...夾角ω 1 , ω 2 . . . Angle

θ...校正角度θ. . . Correction angle

A1...第一參考點A1. . . First reference point

A2...第二參考點A2. . . Second reference point

A3...第三參考點A3. . . Third reference point

A4...第四參考點A4. . . Fourth reference point

A5...第五參考點A5. . . Fifth reference point

B1...第一對應點B1. . . First corresponding point

B2...第二對應點B2. . . Second corresponding point

B3...第三對應點B3. . . Third corresponding point

B4...第四對應點B4. . . Fourth corresponding point

B5...第五對應點B5. . . Fifth corresponding point

Y...第一參考線段Y. . . First reference line segment

R1...第二參考線段R1. . . Second reference line segment

X...第三參考線段X. . . Third reference line segment

R2...第四參考線段R2. . . Fourth reference line segment

S1...第一對應線段S1. . . First corresponding line segment

P...第二對應線段P. . . Second corresponding line segment

S2...第三對應線段S2. . . Third corresponding line segment

Q...第四對應線段Q. . . Fourth corresponding line segment

U...校正訊號U. . . Correction signal

第一圖係本發明較佳實施例之系統架構側視示意圖;The first figure is a side view of a system architecture of a preferred embodiment of the present invention;

第二圖係本發明較佳實施例之系統架構俯視示意圖;2 is a top plan view of a system architecture of a preferred embodiment of the present invention;

第三圖係顯示本發明較佳實施例中之線掃描方向與設定方向相互正交時,校正片之已知幾何圖像與掃描幾何圖像之對照圖;The third figure shows a comparison diagram of the known geometric image and the scanned geometric image of the calibration sheet when the line scanning direction and the setting direction are orthogonal to each other in the preferred embodiment of the present invention;

第四圖係本發明較佳實施例之設定方向與線掃描方向不相互正交之系統架構俯視示意圖;The fourth drawing is a schematic plan view of a system architecture in which the setting direction and the line scanning direction are not orthogonal to each other in the preferred embodiment of the present invention;

第五圖係顯示發明較佳實施例之線掃描方向與設定方向相互不正交之校正片與掃描幾何圖像之對照圖;以及Figure 5 is a view showing a comparison of a calibration slice and a scanning geometric image in which the line scanning direction and the setting direction are not orthogonal to each other in the preferred embodiment of the invention;

第六圖係本發明較佳實施例之流程圖。Figure 6 is a flow chart of a preferred embodiment of the present invention.

1...校正片1. . . Correction film

2...掃描檢測系統2. . . Scan detection system

21...載台twenty one. . . Loading platform

22...線掃描影像擷取裝置twenty two. . . Line scan image capture device

23...轉動平台twenty three. . . Rotating platform

24...電子裝置twenty four. . . Electronic device

241...記憶單元241. . . Memory unit

242...顯示單元242. . . Display unit

243...運算單元243. . . Arithmetic unit

244...控制單元244. . . control unit

25...光源25. . . light source

D1...設定方向D1. . . Set direction

f1...已知幾何圖像F1. . . Known geometric image

f2...圓形圖像F2. . . Circular image

f3...橢圓形圖像F3. . . Oval image

U...校正訊號U. . . Correction signal

Claims (7)

一種正交校正方法,係用以在一線掃描影像擷取裝置與一校正片沿一設定方向相對移動時,使該設定方向與該線掃描影像擷取裝置之一線掃描方向相互正交,該校正片具有一已知幾何圖像,且該正交校正方法包含:(a) 使該線掃描影像擷取裝置與該校正片沿該設定方向相對移動,並利用該線掃描影像擷取裝置沿該線掃描方向對該校正片進行一線掃描作業,藉以取得該校正片之一掃描幾何圖像;(b) 利用該掃描幾何圖像與該已知幾何圖像之至少二幾何比例對應條件,運算出一校正角度;以及(c) 依據該校正角度,調整該設定方向與該線掃描方向中之至少一者,使該設定方向與該線掃描方向相互正交。The method of orthogonal correction is used to make the set direction and the line scanning direction of the line scan image capturing device orthogonal to each other when the first line scanning image capturing device and the correcting piece move relative to each other in a set direction. The slice has a known geometric image, and the orthogonal correction method comprises: (a) moving the line scan image capturing device and the correcting piece relative to the set direction, and scanning the image capturing device along the line The line scanning direction performs a one-line scanning operation on the calibration sheet to obtain a scanning geometric image of the calibration sheet; (b) calculating a condition corresponding to at least two geometric proportions of the scanning geometric image and the known geometric image And a correction angle; and (c) adjusting at least one of the set direction and the line scanning direction according to the correction angle such that the set direction and the line scanning direction are orthogonal to each other. 如申請專利範圍第1項所述之正交校正方法,其中,該已知幾何圖像係為該校正片之外輪廓。The orthogonal correction method of claim 1, wherein the known geometric image is an outer contour of the calibration sheet. 如申請專利範圍第1項所述之正交校正方法,其中,該已知幾何圖像係標記於該校正片之表面。The orthogonal correction method of claim 1, wherein the known geometric image is marked on a surface of the calibration sheet. 如申請專利範圍第1項所述之正交校正方法,其中,該已知幾何圖像係為一圓形圖像。The orthogonal correction method of claim 1, wherein the known geometric image is a circular image. 如申請專利範圍第4項所述之正交校正方法,其中,該步驟(b)中,當該設定方向與該線掃描方向互不正交時,該掃描幾何圖像係為一橢圓形圖像。The orthogonal correction method according to claim 4, wherein, in the step (b), when the set direction and the line scanning direction are not orthogonal to each other, the scanned geometric image is an elliptical image. image. 如申請專利範圍第1項所述之正交校正方法,其中,該步驟(b)前更包含一步驟(b1),其係在該已知幾何圖像中選定至少三參考點,並將該等參考點連成至少三參考線段;同時,在該掃描幾何圖像中,找出至少三對應於該等參考點之對應點,並將該等對應點連成至少三分別對應上述至少三參考線段之對應線段。The orthogonal correction method according to claim 1, wherein the step (b) further comprises a step (b1) of selecting at least three reference points in the known geometric image, and The reference points are connected into at least three reference line segments; at the same time, in the scanned geometric image, at least three corresponding points corresponding to the reference points are found, and the corresponding points are connected into at least three corresponding to the at least three references respectively. The corresponding line segment of the line segment. 如申請專利範圍第6項所述之正交校正方法,其中,該步驟(b)係利用該等參考線段與該等對應線段之至少二幾何比例對應條件,運算出該校正角度。The orthogonal correction method according to claim 6, wherein the step (b) calculates the correction angle by using at least two geometric ratios of the reference line segments and the corresponding line segments.
TW99107057A 2010-03-11 2010-03-11 Orthogonal correction method TWI398619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99107057A TWI398619B (en) 2010-03-11 2010-03-11 Orthogonal correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99107057A TWI398619B (en) 2010-03-11 2010-03-11 Orthogonal correction method

Publications (2)

Publication Number Publication Date
TW201131137A TW201131137A (en) 2011-09-16
TWI398619B true TWI398619B (en) 2013-06-11

Family

ID=49030119

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99107057A TWI398619B (en) 2010-03-11 2010-03-11 Orthogonal correction method

Country Status (1)

Country Link
TW (1) TWI398619B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642202A (en) * 1994-12-01 1997-06-24 Xerox Corporation Scan image target locator system for calibrating a printing system
TW403884B (en) * 1997-12-08 2000-09-01 Mustek Systems Inc Apparatus of scanner alignment and its method
TW416216B (en) * 1999-06-24 2000-12-21 Umax Data Systems Inc Calibration method for image reading system
WO2002057999A1 (en) * 2001-01-16 2002-07-25 Applied Precision, Llc. Coordinate calibration for scanning systems
US7068825B2 (en) * 1999-03-08 2006-06-27 Orametrix, Inc. Scanning system and calibration method for capturing precise three-dimensional information of objects

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642202A (en) * 1994-12-01 1997-06-24 Xerox Corporation Scan image target locator system for calibrating a printing system
TW403884B (en) * 1997-12-08 2000-09-01 Mustek Systems Inc Apparatus of scanner alignment and its method
US7068825B2 (en) * 1999-03-08 2006-06-27 Orametrix, Inc. Scanning system and calibration method for capturing precise three-dimensional information of objects
TW416216B (en) * 1999-06-24 2000-12-21 Umax Data Systems Inc Calibration method for image reading system
WO2002057999A1 (en) * 2001-01-16 2002-07-25 Applied Precision, Llc. Coordinate calibration for scanning systems

Also Published As

Publication number Publication date
TW201131137A (en) 2011-09-16

Similar Documents

Publication Publication Date Title
CN108451536B (en) Method for automatically positioning an X-ray source of an X-ray system and X-ray system
US20170264885A1 (en) Field calibration of three-dimensional non-contact scanning system
US10102631B2 (en) Edge detection bias correction value calculation method, edge detection bias correction method, and edge detection bias correcting program
JP6041513B2 (en) Image processing apparatus, image processing method, and program
TWI489082B (en) Method and system for calibrating laser measuring apparatus
JPWO2008078744A1 (en) Three-dimensional shape measuring apparatus, method and program by pattern projection method
JP5385703B2 (en) Inspection device, inspection method, and inspection program
JP2007322162A (en) Three-dimensional shape measuring apparatus and three-dimensional shape measuring method
JP2008014700A (en) Workpiece inspection method and workpiece inspection device
CN109580786B (en) Ultrasonic probe calibration method
CN104034259A (en) Method for correcting image measurement instrument
CN111738971A (en) Circuit board stereo scanning detection method based on line laser binocular stereo vision
CN110864879B (en) TOF depth module flatness testing system and method based on projection module
CN106840035B (en) Scanning device and method for establishing object contour image
TWI398619B (en) Orthogonal correction method
JP2012013592A (en) Calibration method for three-dimensional shape measuring machine, and three-dimensional shape measuring machine
JPH09329440A (en) Coordinating method for measuring points on plural images
Liu et al. A method to reduce the systematic error of line-structured light sensors based on light plane correction
Anwar Calibrating projector flexibly for a real-time active 3D scanning system
TWI420229B (en) Method for measuring modulation transfer function value of lens
JP7381312B2 (en) Fracture surface inspection device and fracture surface inspection method
KR101703715B1 (en) The apparatus for measuring camera principal point and the method thereof
JP2007219704A (en) Image position measuring method, image position measuring device, and image position measuring program
JP3340599B2 (en) Plane estimation method
JPH0894318A (en) Optical position measuring method