TWI392986B - System and method for integrating dispersed point-clouds of an object - Google Patents

System and method for integrating dispersed point-clouds of an object Download PDF

Info

Publication number
TWI392986B
TWI392986B TW95129544A TW95129544A TWI392986B TW I392986 B TWI392986 B TW I392986B TW 95129544 A TW95129544 A TW 95129544A TW 95129544 A TW95129544 A TW 95129544A TW I392986 B TWI392986 B TW I392986B
Authority
TW
Taiwan
Prior art keywords
point cloud
ball
small
scanning
balls
Prior art date
Application number
TW95129544A
Other languages
Chinese (zh)
Other versions
TW200809447A (en
Inventor
Chih Kuang Chang
Xin-Yuan Wu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW95129544A priority Critical patent/TWI392986B/en
Publication of TW200809447A publication Critical patent/TW200809447A/en
Application granted granted Critical
Publication of TWI392986B publication Critical patent/TWI392986B/en

Links

Description

離散點雲整合系統及方法 Discrete point cloud integration system and method

本發明是關於一種點雲處理系統及方法,尤其是涉及一種對多次掃描同一物體所得到的離散點雲加以整合的系統及方法。 The present invention relates to a point cloud processing system and method, and more particularly to a system and method for integrating discrete points obtained by scanning the same object multiple times.

逆向工程是相對於正向工程而言,所謂正向工程是指已有產品的設計圖紙,然後按圖紙加工出產品實物。而逆向工程是由高速三維鐳射掃描器對已有的實物(樣品或模型)進行準確、高速的掃描,獲取實物的點雲資料,根據所獲點雲資料構建三維數位模型,進而利用CAM系統完成產品的製造。 Reverse engineering is relative to forward engineering. The so-called forward engineering refers to the design drawings of existing products, and then the physical products are processed according to the drawings. Reverse engineering is a high-speed three-dimensional laser scanner that accurately and high-speed scans existing physical objects (samples or models), acquires point cloud data of real objects, constructs a three-dimensional digital model based on the obtained point cloud data, and then uses the CAM system to complete Manufacturing of products.

利用鐳射掃描器對同一物體進行掃描,一般不能一次性掃描完,要獲取物體完整的點雲資料集合,通常需要從不同角度對物體進行掃描(多視角資料獲取),再通過一些方法把這些多次掃描所獲取的離散點雲通過對齊復位恢復其原有的相互之間空間位置關係,合併成一個的完整的點雲,以獲取物體表面較完整的三維資訊。 Scanning the same object with a laser scanner is generally not possible to scan at one time. To obtain a complete set of point cloud data of an object, it is usually necessary to scan the object from different angles (multi-view data acquisition), and then use some methods to The discrete point clouds acquired by the sub-scan are restored to their original spatial positional relationship by alignment reset, and merged into a complete point cloud to obtain a complete three-dimensional information of the surface of the object.

目前產業界的此類方法存在著對採集過程的特殊要求,或著精密複雜的位移裝置等方面的嚴格控制。如通過產品的特徵(產品上的點線面之類)進行定位的方法:在產品上預設標記點,根據掃描所得的每兩組不同視角三維資料中共有的一定數目的標記點位置的關係,確定各視角之間座標轉換關係。但多次定位會產生較大的誤差。而精度高的操作又很麻煩。 At present, such methods in the industry have special requirements for the collection process, or strict control of sophisticated and complex displacement devices. For example, the method of positioning by the characteristics of the product (dotted line on the product): presetting the marked points on the product, according to the relationship between the number of marked points in the three-dimensional data of each two different perspectives obtained by scanning. , to determine the coordinate conversion relationship between the various perspectives. However, multiple positioning will produce a large error. The high precision operation is very troublesome.

鑒於以上內容,有必要提供一種離散點雲整合系統及方法,將多次掃描物體所獲取的離散點雲通過對齊復位恢復其原有的相互之間空間位置關係,合併成一個的完整的點雲,以獲取物體表面較完整的三維資訊。 In view of the above, it is necessary to provide a discrete point cloud integration system and method, and the discrete point clouds acquired by multiple scanning objects are restored to their original spatial positional relationship by alignment reset, and merged into one complete point cloud. To obtain a more complete three-dimensional information on the surface of the object.

一種離散點雲整合系統,該系統包括電腦、與該電腦相連的掃描器及放置掃描物體的治具,所述治具上有三個小球。所述電腦包括:點雲獲取模組,用於獲取掃描器掃描物體每一面所得的物體的點雲以及對應於該每一面的治具上三個小球的點雲;球擬合模組,用於根據掃描物體每一面所得的三個小球的點雲分別擬合出一組小球;計算模組,用於計算各組擬合小球中每個小球的位置,以及計算各組擬合小球中每兩個小球之間的距離;匹配模組,用於以物體的某一面為基準面,以掃描該面得到的擬合小球為基準小球,找到其他面中與該面各個小球相匹配的小球;及對齊模組,用於將掃描物體其他面所得到的各組擬合小球根據匹配關係經過平移、旋轉變換對齊到作為基準的擬合小球所在的位置,得到對齊過程中的變換矩陣,並以掃描物體基準面得到的物體的點雲為基準點雲,根據所得到的變換矩陣將掃描物體各面得到的點雲對齊到該基準點雲所在的位置,得到物體完整的點雲。 A discrete point cloud integration system includes a computer, a scanner coupled to the computer, and a fixture for placing the scanned object, the fixture having three small balls thereon. The computer includes: a point cloud acquisition module, configured to acquire a point cloud of an object obtained by the scanner scanning each side of the object, and a point cloud corresponding to three small balls on the jig of each side; a ball fitting module, A set of small balls is respectively fitted to the point clouds of the three small balls obtained from each side of the scanned object; a calculation module is used to calculate the position of each of the small balls in each group, and calculate each group Fit the distance between each two small balls in the ball; the matching module is used to use one side of the object as a reference surface, and the matching small ball obtained by scanning the surface is used as a reference ball to find other faces and The small ball matching the small balls on the surface; and the alignment module is used to align the matched balls of the other groups obtained by scanning the other faces according to the matching relationship, and the aligned ball is aligned as a reference. Position, obtain the transformation matrix in the alignment process, and use the point cloud of the object obtained by scanning the reference plane of the object as a reference point cloud, and align the point cloud obtained by scanning each surface of the object to the reference point cloud according to the obtained transformation matrix. Position, get the object finished Point cloud.

一種離散點雲整合方法,該方法包括以下步驟:(A)將待掃描物體固定於可翻轉且含有三個小球的治具上;(B)翻轉治具掃描該物體的所有面,在掃描該物體每一面的同時,將治具上的三個小球掃描一次;(C)獲取掃描該物體各面得到的該物體的點雲,及掃描物體該面得到的治具上三個小球的點雲;(D)根據掃描物體每一面所得的三個小球的點雲分別擬合出一組小球;(E)計算每一組擬合小球中各小球的位置,並計算各組擬合小球中每兩個小球之間的距離;(F)以物體的某一面為基準面,以掃描物體該面 得到的擬合小球為基準小球,找到其他面中與該面各小球相匹配的小球;(G)將掃描物體其他面所得到的各組擬合小球根據匹配關係經過平移、旋轉變換對齊到作為基準的擬合小球所在的位置,得到對齊過程中的變換矩陣;及(H)以掃描物體基準面得到的物體的點雲為基準點雲,根據所得到的變換矩陣將掃描物體各面得到的點雲對齊到該基準點雲,得到物體完整的點雲。 A discrete point cloud integration method, the method comprising the steps of: (A) fixing an object to be scanned on a jig that can be inverted and containing three small balls; (B) flipping the jig to scan all faces of the object, in scanning Simultaneously, the three small balls on the jig are scanned once on each side of the object; (C) acquiring a point cloud of the object obtained by scanning each side of the object, and three small balls on the jig obtained by scanning the object on the side a point cloud; (D) fitting a set of small balls according to the point clouds of the three small balls obtained on each side of the scanned object; (E) calculating the position of each small ball in each set of fitted small balls, and calculating Each group fits the distance between each two small balls in the small ball; (F) uses one side of the object as a reference surface to scan the surface of the object The obtained fitting ball is a reference ball, and the small ball matching the small balls of the surface in other faces is found; (G) each group of fitting balls obtained by scanning other faces of the object is translated according to the matching relationship, The rotation transformation is aligned to the position of the fitted sphere as the reference to obtain the transformation matrix in the alignment process; and (H) the point cloud of the object obtained by scanning the object reference plane is used as the reference point cloud, according to the obtained transformation matrix The point cloud obtained by scanning each side of the object is aligned to the reference point cloud to obtain a complete point cloud of the object.

相較於習知技術,本發明提供的離散點雲整合系統及方法利用三個小球將多次掃描物體所獲取的離散點雲對齊復位,恢復其原有的相互之間空間位置關係,整合成物體的完整的點雲,操作簡單,精度高。 Compared with the prior art, the discrete point cloud integration system and method provided by the present invention utilizes three small balls to align and reset the discrete point clouds acquired by multiple scanning objects, and restore the original spatial positional relationship between the two. The complete point cloud of the object, simple operation and high precision.

10‧‧‧治具 10‧‧‧ fixture

20‧‧‧鐳射掃描器 20‧‧‧Laser scanner

30‧‧‧電腦 30‧‧‧ computer

310‧‧‧點雲獲取模組 310‧‧‧Point Cloud Acquisition Module

320‧‧‧球擬合模組 320‧‧‧Ball fitting module

330‧‧‧點雲修剪模組 330‧‧‧ Point Cloud Trim Module

340‧‧‧計算模組 340‧‧‧Computation Module

350‧‧‧匹配模組 350‧‧‧ Matching module

360‧‧‧對齊模組 360‧‧‧Alignment module

370‧‧‧點雲輸出模組 370‧‧‧ point cloud output module

圖1係本發明離散點雲整合系統較佳實施例的硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of a discrete point cloud integration system of the present invention.

圖2係圖1中電腦的功能模組圖。 Figure 2 is a functional block diagram of the computer of Figure 1.

圖3係本發明離散點雲整合方法較佳實施例的流程圖。 3 is a flow chart of a preferred embodiment of the discrete point cloud integration method of the present invention.

圖4(A)、圖4(B)、圖4(C)係兩組擬合小球對齊過程不同階段的示意圖。 Fig. 4(A), Fig. 4(B), and Fig. 4(C) are schematic diagrams showing different stages of the two sets of fitting ball alignment processes.

如圖1所示,係本發明離散點雲整合系統較佳實施例的硬體架構圖。該系統主要包括治具10、掃描器(本實施例為鐳射掃描器20)和電腦30。 As shown in FIG. 1, it is a hardware architecture diagram of a preferred embodiment of the discrete point cloud integration system of the present invention. The system mainly includes a jig 10, a scanner (in this embodiment, a laser scanner 20), and a computer 30.

治具10用於放置待掃描的物體A,該治具10上有三個陶瓷小球,如圖中所示,球a,球b和球c。其中,三個小球大小可相同,也可不同,於本實施例中,三個小球大小相同,且三個小球所組成的三角形為不等邊三角形。該治具可以360°翻轉,以便於對物體A的各個面進行掃描。 The jig 10 is used to place an object A to be scanned, and the jig 10 has three ceramic balls, as shown in the figure, a ball a, a ball b and a ball c. The size of the three small balls may be the same or different. In this embodiment, the three small balls are the same size, and the triangle formed by the three small balls is an equilateral triangle. The jig can be flipped 360° to facilitate scanning of the various faces of object A.

鐳射掃描器20用於掃描放置於治具10上的物件A,獲取多次掃描所得的物件A的離散點雲,在掃描物件A每一面的同時,鐳射掃描器20將對應於該面治 具上的三個小球掃描一次,獲取三個小球的點雲。 The laser scanner 20 is configured to scan the object A placed on the jig 10 to obtain a discrete point cloud of the object A obtained by multiple scans. While scanning each side of the object A, the laser scanner 20 will correspond to the face. The three small balls on the ball are scanned once to obtain a point cloud of three small balls.

電腦30用於接受鐳射掃描器20掃描物體A每一面所得的物體A的點雲以及三個小球的點雲,根據掃描物體A每一面的同時所得的小球的點雲分別擬合(fit)出小球,如:掃描物體A正面得到小球a,b,c的點雲“scan0”,“scan1”,“scan2”,利用最小二乘法根據點雲“scan0”,“scan1”,“scan2”擬合出一組小球Q1,Q2,Q3;翻轉治具10,掃描物體A反面得到小球a,b,c的點雲“scan3”,“scan4”,“scan5”,利用最小二乘法根據點雲“scan3”,“scan4”,“scan5”擬合出一組小球M1,M2,M3。之後,電腦30將擬合出的小球進行匹配,如擬合出的小球M1對應於Q1,M2對應於Q2,M3對應於Q3。 The computer 30 is configured to receive a point cloud of the object A obtained by scanning the laser A on each side of the object A and a point cloud of three small balls, and respectively fit the point clouds of the small balls obtained by scanning each side of the object A (fit) ) a small ball, such as: scan the front of the object A to get the point cloud "scan0", "scan1", "scan2" of the small ball a, b, c, using the least squares method according to the point cloud "scan0", "scan1", " Scan2" fits a set of small balls Q1, Q2, Q3; flips the fixture 10, scans the opposite side of the object A to get the point cloud "scan3", "scan4", "scan5" of the small ball a, b, c, using the smallest two Multiplication is based on the point cloud "scan3", "scan4", "scan5" to fit a set of small balls M1, M2, M3. After that, the computer 30 matches the fitted small balls, for example, the fitted small ball M1 corresponds to Q1, M2 corresponds to Q2, and M3 corresponds to Q3.

接下來,電腦30選定物體A某一面為基準面,以掃描該面得到的擬合小球作為基準小球,將其他面的各組小球經過平移、旋轉等變換與作為基準的小球對齊(align)至各個相匹配的小球重合,得到變換矩陣。進而,電腦30以掃描物體A基準面所得到的物體A的點雲為基準點雲,將掃描物體A其他面所得的點雲根據上述所得的變換矩陣與基準點雲對齊,得到物體A完整的點雲。 Next, the computer 30 selects a certain surface of the object A as a reference surface, and scans the matching sphere obtained by the surface as a reference ball, and aligns the other groups of the small spheres with the transformation and rotation to align with the reference sphere. (align) to each matching small ball coincides to obtain a transformation matrix. Further, the computer 30 uses the point cloud of the object A obtained by scanning the reference plane of the object A as a reference point cloud, and aligns the point cloud obtained by the other surface of the scanned object A with the reference point cloud according to the obtained transformation matrix, thereby obtaining the object A intact. Point cloud.

如圖2所示,係圖1中電腦30的功能模組圖。該電腦30包括:點雲獲取模組310、球擬合模組320、點雲修剪模組330、計算模組340、匹配模組350、對齊模組360及點雲輸出模組370。 As shown in FIG. 2, it is a functional module diagram of the computer 30 in FIG. The computer 30 includes a point cloud acquisition module 310, a ball fitting module 320, a point cloud clipping module 330, a calculation module 340, a matching module 350, an alignment module 360, and a point cloud output module 370.

點雲獲取模組310用於獲取鐳射掃描器20掃描物體A每一面所得的物體A的點雲以及對應於該每一面的治具上三個小球的點雲。 The point cloud acquisition module 310 is configured to acquire a point cloud of the object A obtained by the laser scanner 20 scanning each side of the object A and a point cloud corresponding to the three small balls on the jig of each side.

球擬合模組320用於根據掃描物體A每一面所得的三個小球的點雲分別擬合出一組小球,如:掃描物體A正面得到小球a,b,c的點雲“scan0”,“ scan1”,“scan2”,利用最小二乘法根據點雲“scan0”,“scan1”,“scan2”擬合出一組小球Q1,Q2,Q3;翻轉治具10,掃描物體A反面得到小球a,b,c的點雲“scan3”,“scan4”,“scan5”,利用最小二乘法根據點雲“scan3”,“scan4”,“scan5”擬合出一組小球M1,M2,M3。 The ball fitting module 320 is configured to respectively fit a set of small balls according to the point clouds of the three small balls obtained by scanning each side of the object A, for example, the point cloud of the small objects a, b, c is obtained by scanning the front of the object A. Scan0"," Scan1", "scan2", using the least squares method to fit a set of small balls Q1, Q2, Q3 according to the point cloud "scan0", "scan1", "scan2"; flip the fixture 10, scan the object A to get the small ball a, b, c point cloud "scan3", "scan4", "scan5", using the least squares method to fit a set of small balls M1, M2, M3 according to the point cloud "scan3", "scan4", "scan5" .

點雲修剪模組330用於進一步對每個擬合小球的雜亂點雲進行修剪,並用於在得到物體A完整的點雲後刪除擬合小球及掃描物體各面所得到的治具上三個小球的點雲。 The point cloud trimming module 330 is further configured to trim the chaotic point cloud of each fitting ball, and is used to delete the fitting ball and the jig obtained by scanning each surface of the object after obtaining the complete point cloud of the object A. Three small balls of point clouds.

計算模組340用於計算各組擬合小球中每個小球的位置,以及計算各組擬合小球中每兩個小球之間的距離。 The calculation module 340 is configured to calculate the position of each of the small balls in each set of fitted balls, and calculate the distance between each of the two small balls in each set of fitted balls.

匹配模組350用於以物體A的某一面為基準面,以掃描該面得到的擬合小球為基準小球,找到其他面中與該面各個小球相匹配的小球。假設以掃描物體A正面得到的一組擬合小球Q1,Q2,Q3為基準小球,因治具10上三個小球a,b,c兩兩之間的距離不等:|ab|≠|bc|≠|ca|,故每組擬合小球中兩兩小球之間的距離也不等,及|Q1Q2|≠|Q2Q3|≠|Q3Q1|,|M1M2|≠|M2M3|≠|M3M1|,依據每組擬合小球中兩兩小球之間的距離與其他組擬合小球中兩兩小球之間的距離的對應關係,找到各組擬合小球之間各小球的對應關係,如若|Q1Q2|=|M1M2|,|Q2Q3|=|M2M3|,|Q3Q1|=|M3M1|,則可得出M1對應於Q1,M2對應於Q2,M3對應於Q3。 The matching module 350 is configured to use a certain surface of the object A as a reference surface, and the matching small ball obtained by scanning the surface is used as a reference small ball to find a small ball matching the small balls of the surface in the other surface. Suppose that a set of fitting balls Q1, Q2, and Q3 obtained from the front side of the scanning object A are used as reference balls, because the distance between the two small balls a, b, and c on the jig 10 is not equal: | ab | ≠| bc |≠| ca |, so the distance between two or two small balls in each set of fitting balls is not equal, and | Q 1 Q 2|≠| Q 2 Q 3|≠| Q 3 Q 1| , M 1 M 2|≠| M 2 M 3|≠| M 3 M 1|, according to the distance between two small balls in each set of fitting balls, and the other groups fit two or two small balls in the small ball Correspondence between the distances, find the correspondence between the small balls of each group of fitting balls, if | Q 1 Q 2|=| M 1 M 2|, | Q 2 Q 3|=| M 2 M 3|,| Q 3 Q 1|=| M 3 M 1|, then it can be concluded that M1 corresponds to Q1, M2 corresponds to Q2, and M3 corresponds to Q3.

對齊模組360用於將掃描物體A其他面所得到的各組擬合小球根據匹配關係 對齊到作為基準的擬合小球,如擬合小球M1,M2,M3分別對應於擬合小球Q1,Q2,Q3,以擬合小球Q1,Q2,Q3為基準,將擬合小球M1,M2,M3作為一個整體經過平移、旋轉變換直至擬合小球M1,M2,M3與擬合小球Q1,Q2,Q3分別對齊至重合,得到對齊過程中的變換矩陣。 The alignment module 360 is configured to match each group of the obtained small balls obtained by scanning other faces of the object A according to the matching relationship. Align to the fitted sphere as a reference, such as fitting small balls M1, M2, M3 corresponding to the fitting balls Q1, Q2, Q3, respectively, to fit the small balls Q1, Q2, Q3 as a reference, the fitting will be small The balls M1, M2, and M3 are transformed as a whole through the translation and rotation until the fitting balls M1, M2, and M3 are aligned with the fitting balls Q1, Q2, and Q3, respectively, to obtain a transformation matrix in the alignment process.

接下來,對齊模組360以掃描物體A基準面得到的物體A的點雲為基準點雲,根據所得到的變換矩陣將掃描物體A各面得到的點雲對齊到該基準點雲所在的位置,得到物體A完整的點雲。 Next, the alignment module 360 uses the point cloud of the object A obtained by scanning the reference plane of the object A as a reference point cloud, and aligns the point cloud obtained by scanning each surface of the object A to the position where the reference point cloud is located according to the obtained transformation matrix. , get the complete point cloud of object A.

點雲輸出模組370用於輸出對齊後所得到的物體A的完整的點雲,並報告對齊精度。 The point cloud output module 370 is used to output a complete point cloud of the object A obtained after alignment, and report the alignment accuracy.

如圖3所示,係本發明離散點雲整合方法較佳實施例的流程圖。 As shown in FIG. 3, it is a flowchart of a preferred embodiment of the discrete point cloud integration method of the present invention.

首先,將物體A固定在輔助掃描的治具10上,該治具10上有三個陶瓷小球a,b,c,且該治具10可以360°翻轉(步驟S10)。 First, the object A is fixed to the jig 10 for auxiliary scanning, and the jig 10 has three ceramic balls a, b, c, and the jig 10 can be turned 360° (step S10).

接下來,翻轉治具10,鐳射掃描器20掃描該物體A的每一面,在掃描該物體A每一面的同時,鐳射掃描器20將治具上的三個小球掃描一次(步驟S12)。 Next, the jig 10 is turned over, and the laser scanner 20 scans each side of the object A. While scanning each side of the object A, the laser scanner 20 scans the three balls on the jig once (step S12).

點雲獲取模組310獲取掃描該物體A各面得到的該物體A的點雲,及掃描物體A每個面時,對應於該面得到的治具10上三個小球的點雲,如掃描物體A正面得到三個小球的點雲為“scan0”,“scan1”,“scan2”,掃描物體A反面得到三個小球的點雲為“scan3”,“scan4”,“scan5”(步驟S14)。 The point cloud acquisition module 310 acquires a point cloud of the object A obtained by scanning each surface of the object A, and when scanning each surface of the object A, a point cloud corresponding to three small balls on the jig 10 obtained on the surface, such as Scanning the front side of object A to get three small balls of point cloud as "scan0", "scan1", "scan2", and scanning the object A to get the three small balls of point cloud as "scan3", "scan4", "scan5" ( Step S14).

球擬合模組320應用數學法則,如最小二乘法,根據掃描物體A每一面得到的三個小球的點雲分別擬合出對應於物體A該面的一組小球,例如:利用最小二乘法,根據點雲“scan0”,“scan1”,“scan2”擬合出一組小球 Q1,Q2,Q3,根據點雲“scan3”,“scan4”,“scan5”擬合出一組小球M1,M2,M3(如圖4(A)所示)(步驟S16)。 The ball fitting module 320 applies a mathematical rule, such as a least squares method, to respectively fit a set of small balls corresponding to the face of the object A according to the point clouds of the three small balls obtained on each side of the scanned object A, for example: using the smallest The second multiplication method, fitting a set of small balls according to the point cloud "scan0", "scan1", "scan2" Q1, Q2, and Q3, a set of small balls M1, M2, and M3 (shown in FIG. 4(A)) are fitted according to the point cloud "scan3", "scan4", and "scan5" (step S16).

點雲修剪模組330對擬合出來的各個小球的雜亂點雲進行修剪(步驟S18)。 The point cloud trimming module 330 trims the scrambled point clouds of the respective small balls (step S18).

計算模組340計算各組擬合小球中每個小球的位置,以及計算各組擬合小球中兩兩小球之間的距離,如計算|Q1Q2|,|Q2Q3|,|Q3Q1|,及計算|M1M2|,|M2M3|,|M3M1|(步驟S20)。 The calculation module 340 calculates the position of each of the small balls in each set of fitted balls, and calculates the distance between the two small balls in each set of fitted balls, as calculated | Q 1 Q 2|, | Q 2 Q 3|, | Q 3 Q 1|, and calculation | M 1 M 2|, | M 2 M 3|, | M 3 M 1| (step S20).

匹配模組350以物體A的某一面為基準面,以掃描該面得到的擬合小球為基準小球,找到其他面中與該面各個小球相匹配的小球。假設以物體A的正面為基準面,以掃描物體A正面得到的一組擬合小球Q1,Q2,Q3為基準小球,因治具10上三個小球a,b,c兩兩之間的距離不等:|ab|≠|bc|≠|ca|,故每組擬合小球中兩兩小球之間的距離也不等,及|Q1Q2|≠|Q2Q3|≠|Q3Q1|,|M1M2|≠|M2M3|≠|M3M1|,依據每組擬合小球中兩兩小球之間的距離與其他組擬合小球中兩兩小球之間的距離的對應關係,找到各組擬合小球之間各小球的對應關係,假設|Q1Q2|=|M1M2|,|Q2Q3|=|M2M3|,|Q3Q1|=|M3M1|,則可得出M1對應於Q1,M2對應於Q2,M3對應於Q3(步驟S22)。 The matching module 350 takes a certain surface of the object A as a reference surface, and uses the fitted small ball obtained by scanning the surface as a reference ball to find a small ball matching the small balls of the surface in the other surface. Suppose that the front side of the object A is used as a reference surface, and a set of fitting balls Q1, Q2, and Q3 obtained by scanning the front surface of the object A are used as reference balls, because the three small balls a, b, and c on the jig 10 are two or two. The distance between them is not equal: | ab |≠| bc |≠| ca |, so the distance between two or two small balls in each group of fitting balls is not equal, and | Q 1 Q 2|≠| Q 2 Q 3|≠| Q 3 Q 1|,| M 1 M 2|≠| M 2 M 3|≠| M 3 M 1|, according to the distance between the two balls in each set of fitting balls and other groups Fit the corresponding relationship between the distances between the two small balls in the ball, and find the correspondence between the small balls between the fitted balls, assuming that | Q 1 Q 2|=| M 1 M 2|, | Q 2 Q 3|=| M 2 M 3|,| Q 3 Q 1|=| M 3 M 1|, it can be concluded that M1 corresponds to Q1, M2 corresponds to Q2, and M3 corresponds to Q3 (step S22).

對齊模組360用於將掃描物體A其他面所得到的各組擬合小球根據匹配關係對齊到作為基準的擬合小球,如擬合小球M1,M2,M3分別對應於擬合小球Q1,Q2,Q3,則可以擬合小球Q1,Q2,Q3為基準,將擬合小球M1,M2,M3 作為一個整體經過平移、旋轉變換直至擬合小球M1,M2,M3與擬合小球Q1,Q2,Q3分別對齊至重合,得到對齊過程中的變換矩陣,具體方法如下:(a)平移擬合小球M1、M2、M3組成的空間三角形M1M2M3至頂點M1與頂點Q1重合(如圖4(B)所示),得到第一個變換矩陣;(b)以頂點Q1為旋轉原點、平面Q1Q2M2(或平面M1Q2M2,因頂點M1與頂點Q1重合)的法向量為旋轉軸、邊Q1Q2與邊Q1M2的內夾角為旋轉角度,將邊M1M2旋轉至與邊Q1Q2重合,得到第二個變換矩陣;(c)以頂點Q1為旋轉原點、Q1Q2為旋轉軸、邊Q1M2與邊Q1Q3的內夾角為旋轉角度,將邊M1M3旋轉至與邊Q1Q3重合(如圖4(C)所示),得到第三個變換矩陣(步驟S24)。 The alignment module 360 is configured to align each set of fitting balls obtained by scanning other faces of the object A according to the matching relationship to the fitting ball as a reference, such as fitting the small balls M1, M2, and M3 respectively corresponding to the fitting. Ball Q1, Q2, Q3, can fit the ball Q1, Q2, Q3 as the benchmark, will fit the ball M1, M2, M3 As a whole, the translation and rotation transformations are performed until the fitting balls M1, M2, M3 and the fitting balls Q1, Q2, and Q3 are aligned to coincide, respectively, and the transformation matrix in the alignment process is obtained, and the specific method is as follows: (a) The spatial triangle M1M2M3 composed of the small balls M1, M2, and M3 coincides with the vertex Q1 and the vertex Q1 (as shown in FIG. 4(B)), and the first transformation matrix is obtained; (b) the vertex Q1 is used as the rotation origin and the plane Q1Q2M2 (or plane M1Q2M2, because vertex M1 coincides with vertex Q1), the normal vector is the rotation axis, the inner angle of the edge Q1Q2 and the edge Q1M2 is the rotation angle, and the edge M1M2 is rotated to coincide with the edge Q1Q2 to obtain the second transformation matrix; (c) With the vertex Q1 as the rotation origin, Q1Q2 as the rotation axis, and the inner angle of the side Q1M2 and the side Q1Q3 as the rotation angle, the side M1M3 is rotated to coincide with the side Q1Q3 (as shown in Fig. 4(C)), and the Three transformation matrices (step S24).

對齊模組360以掃描物體A基準面得到的物體A的點雲為基準點雲,根據所得到的變換矩陣將掃描物體A其他面得到的點雲對齊到該基準點雲,得到物體A完整的點雲(S26)。 The alignment module 360 uses the point cloud of the object A obtained by scanning the reference plane of the object A as a reference point cloud, and aligns the point cloud obtained by scanning the other surface of the object A to the reference point cloud according to the obtained transformation matrix, and obtains the complete object A. Point cloud (S26).

點雲修剪模組330進一步刪除擬合小球及掃描物體A各面時所得的治具上三個小球的點雲(S28)。 The point cloud trimming module 330 further deletes the point cloud of the three small balls on the jig obtained by fitting the small balls and scanning the respective faces of the object A (S28).

最後,點雲輸出模組370輸出對齊後所得到的物體A的完整的點雲,並報告對齊精度(步驟S30)。 Finally, the point cloud output module 370 outputs the complete point cloud of the object A obtained after the alignment, and reports the alignment accuracy (step S30).

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明。任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 The present invention has been described above in terms of preferred embodiments, and is not intended to limit the invention. The scope of the present invention is defined by the scope of the appended claims, unless otherwise claimed.

10‧‧‧治具 10‧‧‧ fixture

20‧‧‧鐳射掃描器 20‧‧‧Laser scanner

30‧‧‧電腦 30‧‧‧ computer

Claims (7)

一種離散點雲整合系統,該系統包括電腦、與該電腦相連的掃描器及放置掃描物體的治具,所述治具上有三個小球,該三個小球組成一個不等邊三角形,所述電腦包括:點雲獲取模組,用於獲取掃描器掃描物體每一面所得的物體的點雲以及對應於該每一面的治具上三個小球的點雲;球擬合模組,用於根據掃描物體每一面所得的三個小球的點雲分別擬合出一組小球;計算模組,用於計算各組擬合小球中每個小球的位置,以及計算各組擬合小球中每兩個小球之間的距離;匹配模組,用於以物體的某一面為基準面,以掃描該面得到的擬合小球為基準小球,找到其他面中與該面各個小球相匹配的小球;及對齊模組,用於將掃描物體其他面所得到的各組擬合小球根據匹配關係經過平移、旋轉變換對齊到作為基準的擬合小球所在的位置,得到對齊過程中的變換矩陣,並以掃描物體基準面得到的物體的點雲為基準點雲,根據所得到的變換矩陣將掃描物體各面得到的點雲對齊到該基準點雲所在的位置,得到物體完整的點雲。 A discrete point cloud integration system, the system comprising a computer, a scanner connected to the computer, and a fixture for placing a scanning object, the fixture having three small balls, the three small balls forming an inequilateral triangle, The computer includes: a point cloud acquisition module for acquiring a point cloud of an object obtained by scanning the scanner on each side of the object and a point cloud corresponding to three small balls on the jig of each side; a ball fitting module, A set of small balls are respectively fitted to the point clouds of the three small balls obtained from each side of the scanned object; a calculation module is used for calculating the position of each of the small balls in each group, and calculating each group The distance between each two small balls in the small ball; the matching module is used to take a certain surface of the object as a reference surface, and the matching small ball obtained by scanning the surface is used as a reference ball, and the other surface is found a matching ball for each small ball; and an alignment module for aligning each group of fitted balls obtained by scanning other faces of the object according to a matching relationship by a translational and rotational transformation to a fitting ball as a reference Position, get the transformation in the alignment process Array, and the point cloud of the object obtained by scanning the reference plane of the object is used as a reference point cloud, and the point cloud obtained by scanning each surface of the object is aligned to the position where the reference point cloud is located according to the obtained transformation matrix, and a complete point cloud of the object is obtained. . 如申請專利範圍第1項所述的離散點雲整合系統,其中所述電腦還包括點雲修剪模組,用於對擬合出的各小球的雜亂點雲進行修剪,及用於在得到物體完整的點雲後刪除擬合小球及掃描物體各面所得到的治具上三個小球的點雲。 The discrete point cloud integration system of claim 1, wherein the computer further comprises a point cloud trimming module for trimming the matched point cloud of each small ball, and for obtaining After the complete point cloud of the object, delete the point cloud of the three small balls on the fixture obtained by fitting the small ball and scanning each side of the object. 如申請專利範圍第1項所述的離散點雲整合系統,其中所述電腦還包括點雲輸出模組,用於輸出對齊後的物體完整的點雲,並報告對齊精度。 The discrete point cloud integration system of claim 1, wherein the computer further comprises a point cloud output module for outputting a complete point cloud of the aligned object and reporting the alignment accuracy. 一種離散點雲整合方法,該方法包括以下步驟:將待掃描物體固定於可翻轉且含有三個小球的治具上,該三個小球組成一個不等邊三角形;翻轉治具掃描該物體的所有面,在掃描該物體每一面的同時,將治具上的三個小球掃描一次;獲取掃描該物體各面得到的該物體的點雲,及對應於該面治具上三個小球的點雲;根據掃描物體每一面所得的三個小球的點雲分別擬合出一組小球;計算每一組擬合小球中各小球的位置,並計算各組擬合小球中每兩個小球之間的距離;以物體的某一面為基準面,以掃描該面得到的擬合小球為基準小球,找到其他面中與該面各小球相匹配的小球;將掃描物體其他面所得到的各組擬合小球根據匹配關係經過平移、旋轉變換對齊到作為基準的擬合小球所在的位置,得到對齊過程中的變換矩陣;及以掃描物體基準面得到的物體的點雲為基準點雲,根據所得到的變換矩陣將掃描物體各面得到的點雲對齊到該基準點雲,得到物體完整的點雲。 A discrete point cloud integration method, the method comprising the steps of: fixing an object to be scanned on a fixture that is reversible and containing three small balls, the three balls forming an inequilateral triangle; and flipping the fixture to scan the object All the faces of the object, while scanning each side of the object, scan the three balls on the jig once; obtain a point cloud of the object obtained by scanning each side of the object, and corresponding to the three small points on the jig a point cloud of the ball; a set of small balls are respectively fitted according to the point clouds of the three small balls obtained on each side of the scanned object; the positions of the small balls in each set of fitted small balls are calculated, and the fitting of each group is calculated. The distance between each two small balls in the ball; taking a certain surface of the object as a reference surface, using the fitted ball obtained by scanning the surface as a reference ball, finding a small match in the other faces matching the small balls on the face Ball; the set of fitted balls obtained by scanning other faces of the object are aligned according to the matching relationship by the translation and rotation transformation to the position of the fitting ball as the reference, and the transformation matrix in the alignment process is obtained; and the reference object is scanned. Obtained object Cloud point cloud as a reference, according to the obtained transformation matrix of each object surface obtained scanning point clouds are aligned to the reference cloud point, cloud point to obtain the complete object. 如申請專利範圍第4項所述的離散點雲整合方法,該方法還包括以下步驟:對擬合出的各小球的雜亂點雲進行修剪。 The discrete point cloud integration method according to claim 4, further comprising the step of trimming the scrambled point clouds of each of the fitted small balls. 如申請專利範圍第4項所述的離散點雲整合方法,該方法還包括以下步驟:在得到物體完整的點雲後,刪除擬合小球及掃描物體各面所得到的治具上三個小球的點雲。 The method for integrating a discrete point cloud according to claim 4, wherein the method further comprises the following steps: after obtaining a complete point cloud of the object, deleting the fixture obtained by fitting the small ball and scanning each surface of the object The point cloud of the ball. 如申請專利範圍第4項所述的離散點雲整合方法,該方法還包括以下步驟:輸出對齊後的物體完整的點雲,並報告對齊精度。 The discrete point cloud integration method according to claim 4, the method further comprising the steps of: outputting a complete point cloud of the aligned object and reporting the alignment accuracy.
TW95129544A 2006-08-11 2006-08-11 System and method for integrating dispersed point-clouds of an object TWI392986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95129544A TWI392986B (en) 2006-08-11 2006-08-11 System and method for integrating dispersed point-clouds of an object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95129544A TWI392986B (en) 2006-08-11 2006-08-11 System and method for integrating dispersed point-clouds of an object

Publications (2)

Publication Number Publication Date
TW200809447A TW200809447A (en) 2008-02-16
TWI392986B true TWI392986B (en) 2013-04-11

Family

ID=44767148

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95129544A TWI392986B (en) 2006-08-11 2006-08-11 System and method for integrating dispersed point-clouds of an object

Country Status (1)

Country Link
TW (1) TWI392986B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6822748B2 (en) * 2002-10-29 2004-11-23 Metron Systems, Inc. Calibration for 3D measurement system
TW200516230A (en) * 2003-11-11 2005-05-16 Hon Hai Prec Ind Co Ltd A system and method for measuring point-cloud
US6996505B1 (en) * 2000-06-21 2006-02-07 Raindrop Geomagic, Inc. Methods, apparatus and computer program products for automatically generating nurbs models of triangulated surfaces using homeomorphisms

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996505B1 (en) * 2000-06-21 2006-02-07 Raindrop Geomagic, Inc. Methods, apparatus and computer program products for automatically generating nurbs models of triangulated surfaces using homeomorphisms
US6822748B2 (en) * 2002-10-29 2004-11-23 Metron Systems, Inc. Calibration for 3D measurement system
TW200516230A (en) * 2003-11-11 2005-05-16 Hon Hai Prec Ind Co Ltd A system and method for measuring point-cloud

Also Published As

Publication number Publication date
TW200809447A (en) 2008-02-16

Similar Documents

Publication Publication Date Title
CN107133989B (en) Three-dimensional scanning system parameter calibration method
Yamazaki et al. Simultaneous self-calibration of a projector and a camera using structured light
Kannala et al. A generic camera model and calibration method for conventional, wide-angle, and fish-eye lenses
CN108416812B (en) Calibration method of single-camera mirror image binocular vision system
Sturm et al. How to compute the pose of an object without a direct view?
US7830374B2 (en) System and method for integrating dispersed point-clouds of multiple scans of an object
WO2018201677A1 (en) Bundle adjustment-based calibration method and device for telecentric lens-containing three-dimensional imaging system
Lai et al. Registration and data merging for multiple sets of scan data
CN103886595B (en) A kind of catadioptric Camera Self-Calibration method based on broad sense unified model
CN104537707A (en) Image space type stereo vision on-line movement real-time measurement system
Huang et al. A single-shot-per-pose camera-projector calibration system for imperfect planar targets
CN113936099A (en) Three-dimensional image reconstruction method and system based on monocular structured light and rotating platform
Perdigoto et al. Calibration of mirror position and extrinsic parameters in axial non-central catadioptric systems
CN111028280B (en) # -shaped structured light camera system and method for performing scaled three-dimensional reconstruction of target
CN111739103A (en) Multi-camera calibration system based on single-point calibration object
CN116051659A (en) Linear array camera and 2D laser scanner combined calibration method
CN115330934A (en) Workpiece three-dimensional shape reconstruction method, system, terminal and medium
Legarda et al. Comparison and error analysis of the standard pin-hole and Scheimpflug camera calibration models
CN112991270B (en) Dynamic measurement method for deformation of large-size rotating body die
Rudakova et al. Camera matrix calibration using circular control points and separate correction of the geometric distortion field
CN115859445B (en) Bridge assembly simulation test method based on total station scanning technology and reverse algorithm
TWI392986B (en) System and method for integrating dispersed point-clouds of an object
CN112507755A (en) Target object six-degree-of-freedom positioning method and system for minimizing two-dimensional code corner re-projection error
CN109059761B (en) EIV model-based handheld target measuring head calibration method
CN113393507B (en) Unmanned aerial vehicle point cloud and ground three-dimensional laser scanner point cloud registration method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees