TW201621813A - Method and system for processing point clouds of an object - Google Patents

Method and system for processing point clouds of an object Download PDF

Info

Publication number
TW201621813A
TW201621813A TW103138624A TW103138624A TW201621813A TW 201621813 A TW201621813 A TW 201621813A TW 103138624 A TW103138624 A TW 103138624A TW 103138624 A TW103138624 A TW 103138624A TW 201621813 A TW201621813 A TW 201621813A
Authority
TW
Taiwan
Prior art keywords
point cloud
area
point
repaired
cloud data
Prior art date
Application number
TW103138624A
Other languages
Chinese (zh)
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 TW103138624A priority Critical patent/TW201621813A/en
Publication of TW201621813A publication Critical patent/TW201621813A/en

Links

Landscapes

  • Image Processing (AREA)

Abstract

The present invention provides a method and a system for processing point clouds of an object. The system comprises one or more modules. The one or more modules retrieve data of the point clouds of the object from a storage device of an electronic device. An average value of distances between any two point clouds and a curvature parameter are obtained from a user. The one or more modules determine an area of the point clouds that needs to be processed, and determine a minimum encasing box of the determined area. A plurality of points is selected from a region between the determined area and the minimum encasing box, and a curved surface is constructed based on the plurality of points. The one or more modules interpolate on the curved surface based on the average value to obtain one or more discrete points, and insert the discrete points to the determined area of the point clouds. One or more unorganized points of the determined area are determined based on the average value and the curvature parameter, and further deleted from the determined area. When the point clouds do not comprise other determined areas to process, the one or more modules generate smooth treatment on the point clouds.

Description

點雲修補方法及系統Point cloud repair method and system

本發明涉及一種點雲處理方法及系統,尤其是涉及一種修補缺失點雲的方法及系統。The present invention relates to a point cloud processing method and system, and more particularly to a method and system for repairing a missing point cloud.

三維掃描設備掃描待量測產品生成點雲時,由於掃描設備本身的原因或者其他外界因素的干擾,在三維掃描設備難以掃描到的位置及貼有標誌點的位置會造成點雲的缺失。現有的點雲處理系統中,點雲修補一般透過簡單點雲擬合缺失曲面,用曲面上的點填補缺失處的點。該種點雲修補方法容易造成缺失處填充痕跡明顯,而且可能導致點雲的失真及變形。When the 3D scanning device scans the product to be measured to generate a point cloud, due to the reason of the scanning device itself or other external factors, the position that is difficult to scan by the three-dimensional scanning device and the position where the marking point is attached may cause a missing point cloud. In the existing point cloud processing system, the point cloud patch generally fits the missing surface through a simple point cloud, and fills the missing point with the point on the surface. This kind of point cloud repair method is easy to cause obvious filling marks in the missing place, and may cause distortion and deformation of the point cloud.

鑒於以上內容,有必要提供一種點雲修補方法及系統,可以實現缺失點雲的高精度修補,既確保了填充的自然性,又保證了待量測產品的形狀不會改變。In view of the above, it is necessary to provide a point cloud repair method and system, which can realize high-precision repair of missing point clouds, which ensures the naturalness of the filling and ensures that the shape of the product to be measured does not change.

一種點雲修補方法,應用於電子裝置中,該方法包括步驟:(a)導入產品的點雲資料,以及接收使用者輸入的點間距及曲率過濾參數;(b)在所述點雲資料中確定一個待修補區域,並確定該待修補區域的最小包圍盒;(c)於該待修補區域外且該最小包圍盒內選取預設數量的點,將所選取的點擬合成B樣條曲面;(d)根據所述點間距在B樣條曲面上插值以獲得多個離散點,並將該多個離散點填補至所述待修補區域中;(e)根據所述點間距及曲率過濾參數,確定並刪除所述待修補區域的雜亂點;(f)判斷所述點雲資料中是否還存在其他的待修補區域,當所述點雲資料中還存在其他的待修補區域時,返回步驟(b);及當所述點雲資料中不存在其他的待修補區域時,對經過填補的點雲資料進行平滑處理。A point cloud repairing method is applied to an electronic device, the method comprising the steps of: (a) importing point cloud data of a product, and receiving a point spacing and a curvature filtering parameter input by a user; (b) in the point cloud data Determining a to-be-repaired area and determining a minimum bounding box of the area to be repaired; (c) selecting a preset number of points outside the to-be-repaired area and fitting the selected point to a B-spline surface (d) interpolating on the B-spline surface according to the point spacing to obtain a plurality of discrete points, and filling the plurality of discrete points into the area to be repaired; (e) filtering according to the point spacing and curvature a parameter, determining and deleting a clutter point of the to-be-repaired area; (f) determining whether there are other areas to be repaired in the point cloud data, and returning other area to be repaired in the point cloud data, returning Step (b); and when there is no other area to be repaired in the point cloud data, smoothing the filled point cloud data.

一種點雲修補系統,運行於電子裝置中,該系統包括:資料接收模組,用於導入產品的點雲資料,以及接收使用者輸入的點間距及曲率過濾參數;區域確定模組,用於當所述點雲資料中存在待修補區域時,在所述點雲資料中確定一個待修補區域,並確定該待修補區域的最小包圍盒;曲面擬合模組,用於在該待修補區域外且該最小包圍盒內選取預設數量的點,將所選取的點擬合成B樣條曲面;孔洞填補模組,用於根據所述點間距在B樣條曲面上插值以獲得多個離散點,並將該多個離散點填補至所述待修補區域中;過濾模組,用於根據所述點間距及曲率過濾參數,確定並刪除所述待修補區域的雜亂點;判斷模組,用於判斷所述點雲資料中是否還存在其他的待修補區域;及平滑處理模組,用於當所述點雲資料中不存在其他的待修補區域時,對經過填補的點雲資料進行平滑處理。A point cloud repairing system, running in an electronic device, the system comprising: a data receiving module, configured to import point cloud data of a product, and receive a point spacing and a curvature filtering parameter input by a user; and an area determining module, configured to: When there is an area to be repaired in the point cloud data, a to-be-repaired area is determined in the point cloud data, and a minimum bounding box of the area to be repaired is determined; a surface fitting module is used in the area to be repaired And selecting a preset number of points in the minimum bounding box to fit the selected point into a B-spline surface; and a hole filling module for interpolating on the B-spline surface according to the point spacing to obtain multiple discretes Pointing, and filling the plurality of discrete points into the to-be-repaired area; the filtering module is configured to determine and delete the cluttered points of the to-be-repaired area according to the point spacing and curvature filtering parameters; The method is configured to determine whether there is another area to be repaired in the point cloud data, and a smoothing processing module, configured to: when there is no other area to be repaired in the point cloud data, the filled point is Data smoothed.

相較於習知技術,本發明所提供之點雲修補方法及系統,可以實現缺失點雲的高精度修補,既確保了填充的自然性,又保證了待量測產品的形狀不會改變。Compared with the prior art, the point cloud repairing method and system provided by the present invention can realize high-precision repair of the missing point cloud, which ensures the naturalness of the filling and ensures that the shape of the product to be measured does not change.

圖1係本發明點雲修補系統較佳實施例之硬體架構圖。1 is a hardware architecture diagram of a preferred embodiment of a point cloud patching system of the present invention.

圖2係本發明點雲修補系統較佳實施例之功能模組圖。2 is a functional block diagram of a preferred embodiment of the point cloud patching system of the present invention.

圖3係本發明點雲修補方法較佳實施例之作業流程圖。3 is a flow chart showing the operation of a preferred embodiment of the point cloud repairing method of the present invention.

圖4係本發明所生成的三次B樣條曲面之示例圖。4 is an exemplary diagram of a cubic B-spline surface generated by the present invention.

參閱圖1所示,係本發明點雲修補系統較佳實施例之硬體架構圖。該點雲修補系統10運行於電子裝置100中,該電子裝置100可以是電腦、伺服器、程式設計邏輯控制器(Programmable Logic Controller,PLC)、量測機台、或者其它具備運算能力的電子裝置。Referring to Figure 1, there is shown a hardware architecture diagram of a preferred embodiment of the point cloud patching system of the present invention. The point cloud patching system 10 runs in the electronic device 100, and the electronic device 100 can be a computer, a server, a Programmable Logic Controller (PLC), a measuring machine, or other computing device capable of computing power. .

所述電子裝置100還包括部件,如處理器20、儲存單元30及顯示單元40。電子裝置100的部件10-40透過系統匯流排進行通訊。The electronic device 100 further includes components such as a processor 20, a storage unit 30, and a display unit 40. Components 10-40 of electronic device 100 communicate via a system bus.

所述處理器20用於執行所述點雲修補系統10以及在所述電子裝置100內安裝的各類軟體,例如作業系統等。所述儲存單元30可以是硬碟,或者其他類型的儲存卡或儲存裝置。所述的儲存單元30用於儲存各類資料,例如,不同產品的點雲資料及用於儲存利用所述點雲修補系統10所設置、接收及處理後的資料。所述的顯示單元40用於顯示各類視覺化資料。The processor 20 is configured to execute the point cloud patching system 10 and various types of software installed in the electronic device 100, such as an operating system. The storage unit 30 can be a hard disk, or other type of memory card or storage device. The storage unit 30 is configured to store various types of materials, for example, point cloud data of different products and for storing data set, received, and processed by the point cloud patching system 10. The display unit 40 is used to display various types of visualized materials.

參閱圖2所示,係本發明點雲修補系統較佳實施例之功能模組圖。在本實施方式中,所述點雲修補系統10包括多個功能模組,分別是:資料接收模組11、區域確定模組12、曲面擬合模組13、孔洞填補模組14、過濾模組15、判斷模組16、及平滑處理模組17。本發明所稱的模組是指一種能夠被處理器20所執行並且能夠完成固定功能的一系列電腦程式段,其儲存在儲存單元30中。在本實施例中,關於各模組的功能將在圖3的流程圖中具體描述。Referring to FIG. 2, it is a functional module diagram of a preferred embodiment of the point cloud patching system of the present invention. In the embodiment, the point cloud repairing system 10 includes a plurality of functional modules, namely: a data receiving module 11, a region determining module 12, a surface fitting module 13, a hole filling module 14, and a filtering module. The group 15, the determination module 16, and the smoothing module 17 are provided. The module referred to in the present invention refers to a series of computer programs that can be executed by the processor 20 and that can perform fixed functions, which are stored in the storage unit 30. In the present embodiment, the functions of the respective modules will be specifically described in the flowchart of FIG.

參閱圖3所示,係本發明點雲修補方法較佳實施例之流程圖。Referring to FIG. 3, it is a flow chart of a preferred embodiment of the point cloud repairing method of the present invention.

步驟S310,資料接收模組11導入產品的點雲資料,以及接收使用者輸入的參數。所述點雲資料包括,但不限於:點的三維座標、點的標識及點雲總數等。所述點雲資料可以從電子裝置100的儲存單元30中導入,也可以從其他外接的儲存裝置或者點雲掃描裝置中導入。In step S310, the data receiving module 11 imports the point cloud data of the product and receives the parameters input by the user. The point cloud data includes, but is not limited to, a three-dimensional coordinate of a point, an identifier of a point, and a total number of point clouds. The point cloud data may be imported from the storage unit 30 of the electronic device 100, or may be imported from other external storage devices or point cloud scanning devices.

在本實施方式中,所述輸入的參數包括,但不限於:點間距及曲率過濾參數等。該點間距可以根據使用者輸入的數位進行確定,或者是將所述點雲資料中所有相鄰點之間的距離的平均值作為所述點間距(又稱點平均間距)。此外,在其他實施方式中,所述點間距還可以是根據預設規則進行動態生成。In this embodiment, the input parameters include, but are not limited to, a dot pitch and a curvature filter parameter. The dot pitch may be determined according to the digit input by the user, or the average value of the distance between all adjacent points in the point cloud data may be used as the dot pitch (also referred to as a point average pitch). In addition, in other embodiments, the dot pitch may also be dynamically generated according to a preset rule.

在本實施方式中,所述曲率過濾參數用於過濾曲率變化太大的點。所述曲率過濾參數由系統或使用者設置,如為0.8。需要說明的是,所述點雲資料中的各點的曲率均為0至1中的一個數值。In this embodiment, the curvature filtering parameter is used to filter a point where the curvature changes too much. The curvature filtering parameter is set by the system or user, such as 0.8. It should be noted that the curvature of each point in the point cloud data is a value of 0 to 1.

步驟S320,區域確定模組12在所述點雲資料中確定一個待修補區域,並確定該待修補區域的最小包圍盒。該最小包圍盒可以為,但不限於,所述待修補區域的最小外包矩形。In step S320, the area determining module 12 determines a to-be-repaired area in the point cloud data, and determines a minimum bounding box of the area to be repaired. The minimum bounding box may be, but is not limited to, a minimum outsourcing rectangle of the area to be repaired.

在本實施方式中,所述待修補區域透過接收使用者的選擇而確定,或由區域確定模組12根據預設方法來確定。例如,該預設方法為:區域確定模組12判斷在點雲資料中是否有孔洞缺失點雲資料的面積大於一個預設面積,並在點雲資料中有孔洞缺失點雲資料的面積大於所述預設面積時,即確定該孔洞為待修補區域。所述預設面積根據造成點雲資料缺失的物體(例如標誌點)的面積來確定,如為造成點雲資料缺失的物體的面積的80%。In this embodiment, the area to be repaired is determined by receiving a user's selection, or is determined by the area determining module 12 according to a preset method. For example, the preset method is: the area determining module 12 determines whether the area of the missing point cloud data in the point cloud data is larger than a preset area, and the area of the missing point cloud data in the point cloud data is larger than the area. When the preset area is described, the hole is determined to be the area to be repaired. The predetermined area is determined according to an area of an object (for example, a marker point) that causes missing point cloud data, such as 80% of an area of an object that causes missing point cloud data.

步驟S330,曲面擬合模組13於該待修補區域外且該最小包圍盒內選取預設數量的點,利用預設的數學方法將所選取的點擬合成B樣條曲面。所述預設的數學方法可以是牛頓迭代法,或者現有技術中採用的其他數學方法。採用牛頓迭代法可以加快擬合B樣條曲面的速度。In step S330, the surface fitting module 13 selects a preset number of points outside the to-be-repaired area and the minimum bounding box, and fits the selected points into a B-spline surface by using a preset mathematical method. The predetermined mathematical method may be a Newton iteration method, or other mathematical methods employed in the prior art. The Newton iteration method can speed up the fitting of B-spline surfaces.

所述B樣條曲面可以為三次B樣條曲面,以實現產品特徵的最大保留,擬合成的三次B樣條曲面如圖4所示。The B-spline surface can be a cubic B-spline surface to achieve maximum retention of product features, and the cubic B-spline surface is fitted as shown in FIG. 4 .

在本實施方式中,所述預設數量的點均勻離散地分佈於所述待修補區域外且位於所述最小包圍盒內,例如,每隔一個第一預設距離選取一個點,以獲得所述預設數量的點,該第一預設距離為矩形總邊長的一半。所述點的預設數量由使用者或系統預設,如為5。In this embodiment, the preset number of points are evenly and discretely distributed outside the to-be-repaired area and located in the minimum bounding box, for example, selecting a point every other first preset distance to obtain a A preset number of points, the first preset distance being half of the total side length of the rectangle. The preset number of points is preset by the user or the system, such as 5.

步驟S340,孔洞填補模組14根據所述點間距在B樣條曲面上插值以獲得多個離散點,並將該多個離散點填補至所述待修補區域中。Step S340, the hole filling module 14 interpolates on the B-spline surface according to the dot pitch to obtain a plurality of discrete points, and fills the plurality of discrete points into the to-be-repaired area.

在本實施方式中,孔洞填補模組14根據所述點間距在B樣條曲面的x1方向以等間隔取等參曲線,再對每一條等參曲線在x2方向根據所述點間距取等間隔點,並將該等間隔點作為所述離散點。In the present embodiment, the hole filling module 14 takes an isoparametric curve at equal intervals in the x1 direction of the B-spline surface according to the dot pitch, and then equally spaced each of the isoparametric curves in the x2 direction according to the dot pitch. Point and use the interval points as the discrete points.

在其他實施方式中,孔洞填補模組14還利用各等間隔點的曲率來獲得離散點。例如:孔洞填補模組14在獲得上述等間隔點後,判斷各等間隔點的曲率是否大於一個預設曲率值,當該等間隔點的曲率大於所述預設曲率值時,將該等間隔點按照x1方向向左移動一個第二預設距離,當該等間隔點的曲率不大於所述預設曲率值時,該等間隔點的位置保持不變,所述等間隔點即構成所述離散點。該第二預設距離=(曲率-預設曲率值)*點間距,所述預設曲率值由使用者或系統預設,如為0.5。該種以曲率變化作為權值來取得離散點的方法,更符合點雲的分佈特徵(曲率變化大的地方,點雲密度大),從而使得點雲的修補更自然。In other embodiments, the hole filling module 14 also utilizes the curvature of each equally spaced point to obtain discrete points. For example, after obtaining the interval points, the hole filling module 14 determines whether the curvature of each equal interval point is greater than a preset curvature value, and when the curvature of the interval points is greater than the preset curvature value, the interval is The point is moved to the left by a second preset distance according to the x1 direction. When the curvature of the interval points is not greater than the preset curvature value, the positions of the equal interval points remain unchanged, and the equal interval points constitute the discrete point. The second preset distance=(curvature-preset curvature value)*point spacing, the preset curvature value is preset by the user or the system, such as 0.5. This method of obtaining discrete points by using curvature change as a weight is more in line with the distribution characteristics of the point cloud (where the curvature changes greatly, the point cloud density is large), so that the patching of the point cloud is more natural.

所述各等間隔點的曲率用於表徵各等間隔點在B樣條曲面上的形變程度。所述各等間隔點的曲率可使用現有技術中已有的在B樣條曲面上求曲率的方式得出。The curvature of each of the equally spaced points is used to characterize the degree of deformation of each equally spaced point on the B-spline surface. The curvature of each of the equally spaced points can be derived using the curvature found on the B-spline surface as is known in the art.

步驟S350,過濾模組15根據所述點間距及曲率過濾參數,確定並刪除所述待修補區域的雜亂點。所述雜亂點包括,但不限於,曲率大於所述曲率過濾參數的點及沒有鄰近點的孤立點。In step S350, the filtering module 15 determines and deletes the messy points of the to-be-repaired area according to the point spacing and the curvature filtering parameter. The clutter points include, but are not limited to, points having a curvature greater than the curvature filtering parameter and isolated points having no adjacent points.

在本實施方式中,過濾模組15判斷所述待修補區域內的各點在一個預設間距內是否存在其他的點,當某個點在所述預設間距內不存在其他的點,則判定該點為沒有鄰近點的孤立點。所述預設間距由系統或使用者預設,如為2倍的點平均間距。In this embodiment, the filter module 15 determines whether there are other points in the preset interval within the to-be-repaired area. When a certain point does not have other points within the preset interval, The point is determined to be an isolated point with no neighboring points. The preset spacing is preset by the system or the user, such as a point average spacing of 2 times.

步驟S360,判斷模組16判斷所述點雲資料中是否還存在其他的需要修補的待修補區域。當所述點雲資料中還存在其他的需要修補的待修補區域時,返回執行步驟S320。當所述點雲資料中不存在其他的需要修補的待修補區域時,執行步驟S370。In step S360, the determining module 16 determines whether there are other areas to be repaired that need to be repaired in the point cloud data. When there are other areas to be repaired in the point cloud data that need to be repaired, the process returns to step S320. When there is no other area to be repaired in the point cloud data that needs to be repaired, step S370 is performed.

步驟S370,平滑處理模組17對經過填補的點雲資料進行平滑處理。在進行平滑處理時,平滑處理模組17確定每個點的法向量,並利用移動最小距離法將各點沿著其法向量的方向拉動進行迭代,直至各點滿足平滑要求的精度後停止。所述滿足平滑要求的精度由使用者或系統預設,如為平均點間距的十分之一。In step S370, the smoothing processing module 17 performs smoothing processing on the filled point cloud data. When the smoothing process is performed, the smoothing processing module 17 determines the normal vector of each point, and iterates by moving the points along the direction of the normal vector by the moving minimum distance method until the points satisfy the accuracy of the smoothing requirement and then stops. The accuracy that satisfies the smoothing requirement is preset by the user or the system, such as one tenth of the average dot pitch.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅爲本發明之較佳實施例,本發明之範圍並不以上述實施例爲限,舉凡熟悉本案技藝之人士爰依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and equivalent modifications or variations made by those skilled in the art in accordance with the spirit of the present invention are It should be covered by the following patent application.

100‧‧‧電子裝置100‧‧‧Electronic devices

10‧‧‧點雲修補系統10‧‧‧ Point Cloud Patching System

11‧‧‧資料接收模組11‧‧‧ Data receiving module

12‧‧‧區域確定模組12‧‧‧Regional Determination Module

13‧‧‧曲面擬合模組13‧‧‧Surface fitting module

14‧‧‧孔洞填補模組14‧‧‧ hole filling module

15‧‧‧過濾模組15‧‧‧Filter module

16‧‧‧判斷模組16‧‧‧Judgement module

17‧‧‧平滑處理模組17‧‧‧Smoothing module

20‧‧‧處理器20‧‧‧ processor

30‧‧‧儲存單元30‧‧‧ storage unit

40‧‧‧顯示單元40‧‧‧Display unit

no

10‧‧‧點雲修補系統 10‧‧‧ Point Cloud Patching System

11‧‧‧資料接收模組 11‧‧‧ Data receiving module

12‧‧‧區域確定模組 12‧‧‧Regional Determination Module

13‧‧‧曲面擬合模組 13‧‧‧Surface fitting module

14‧‧‧孔洞填補模組 14‧‧‧ hole filling module

15‧‧‧過濾模組 15‧‧‧Filter module

16‧‧‧判斷模組 16‧‧‧Judgement module

17‧‧‧平滑處理模組 17‧‧‧Smoothing module

Claims (10)

一種點雲修補方法,應用於電子裝置中,該方法包括:
資料接收步驟:導入產品的點雲資料,以及接收使用者輸入的點間距及曲率過濾參數;
區域確定步驟:在所述點雲資料中確定一個待修補區域,並確定該待修補區域的最小包圍盒;
曲面擬合步驟:於該待修補區域外且該最小包圍盒內選取預設數量的點,將所選取的點擬合成B樣條曲面;
孔洞填補步驟:根據所述點間距在B樣條曲面上插值以獲得多個離散點,並將該多個離散點填補至所述待修補區域中;
過濾步驟:根據所述點間距及曲率過濾參數,確定並刪除所述待修補區域的雜亂點;
判斷步驟:判斷所述點雲資料中是否還存在其他的待修補區域,當所述點雲資料中還存在其他的待修補區域時,返回區域確定步驟;及
平滑處理步驟:當所述點雲資料中不存在其他的待修補區域時,對經過填補的點雲資料進行平滑處理。
A point cloud repairing method is applied to an electronic device, the method comprising:
Data receiving step: importing the point cloud data of the product, and receiving the point spacing and curvature filtering parameters input by the user;
a region determining step: determining a to-be-repaired area in the point cloud data, and determining a minimum bounding box of the to-be-repaired area;
a surface fitting step: selecting a preset number of points outside the area to be repaired and in the minimum bounding box, and fitting the selected point into a B-spline surface;
a hole filling step: interpolating on the B-spline surface according to the dot pitch to obtain a plurality of discrete points, and filling the plurality of discrete points into the to-be-repaired region;
a filtering step: determining and deleting a clutter point of the to-be-repaired area according to the point spacing and curvature filtering parameters;
a determining step: determining whether there are other areas to be repaired in the point cloud data, and returning an area determining step when there are other areas to be repaired in the point cloud data; and a smoothing processing step: when the point cloud When there is no other area to be repaired in the data, the filled point cloud data is smoothed.
如申請專利範圍第1項所述之點雲修補方法,所述待修補區域透過以下方法來確定:
判斷在點雲資料中是否有孔洞缺失點雲資料的面積大於一個預設面積,並在點雲資料中有孔洞缺失點雲資料的面積大於所述預設面積時,確定該孔洞為待修補區域。
The point cloud repairing method described in claim 1, wherein the area to be repaired is determined by the following method:
Determining whether the area of the missing point cloud data in the point cloud data is larger than a predetermined area, and determining that the hole is the area to be repaired when the area of the missing point cloud data in the point cloud data is larger than the predetermined area .
如申請專利範圍第1項所述之點雲修補方法,所述將所選取的點擬合成B樣條曲面的方法為牛頓迭代法。For the point cloud repair method described in claim 1, the method of fitting the selected point to the B-spline surface is a Newton iteration method. 如申請專利範圍第1項所述之點雲修補方法,所述多個離散點透過以下方法獲得:
根據所述點間距在B樣條曲面的x1方向以等間隔取等參曲線,並對每一條等參曲線在x2方向根據所述點間距取等間隔點;
判斷各等間隔點的曲率是否大於預設曲率值;
當該等間隔點的曲率大於所述預設曲率值時,將該等間隔點按照x1方向向左移動預設距離;及
將上述等間隔點作為所述離散點。
The point cloud repairing method of claim 1, wherein the plurality of discrete points are obtained by:
Obtaining an isoparametric curve at equal intervals in the x1 direction of the B-spline surface according to the dot pitch, and taking equal intervals according to the dot pitch in the x2 direction for each isoparametric curve;
Determining whether the curvature of each equally spaced point is greater than a preset curvature value;
When the curvature of the interval points is greater than the preset curvature value, the interval points are moved to the left by a preset distance according to the x1 direction; and the equal interval points are used as the discrete points.
如申請專利範圍第1項所述之點雲修補方法,所述雜亂點包括曲率大於所述曲率過濾參數的點及沒有鄰近點的孤立點。The point cloud repairing method of claim 1, wherein the clutter point comprises a point having a curvature greater than the curvature filtering parameter and an isolated point having no adjacent point. 一種點雲修補系統,運行於電子裝置中,該系統包括:
資料接收模組,用於導入產品的點雲資料,以及接收使用者輸入的點間距及曲率過濾參數;
區域確定模組,用於當所述點雲資料中存在待修補區域時,在所述點雲資料中確定一個待修補區域,並確定該待修補區域的最小包圍盒;
曲面擬合模組,用於在該待修補區域外且該最小包圍盒內選取預設數量的點,將所選取的點擬合成B樣條曲面;
孔洞填補模組,用於根據所述點間距在B樣條曲面上插值以獲得多個離散點,並將該多個離散點填補至所述待修補區域中;
過濾模組,用於根據所述點間距及曲率過濾參數,確定並刪除所述待修補區域的雜亂點;
判斷模組,用於判斷所述點雲資料中是否還存在其他的待修補區域;及
平滑處理模組,用於當所述點雲資料中不存在其他的待修補區域時,對經過填補的點雲資料進行平滑處理。
A point cloud patching system running in an electronic device, the system comprising:
a data receiving module, configured to import point cloud data of the product, and receive a point spacing and a curvature filtering parameter input by the user;
a region determining module, configured to determine a to-be-repaired area in the point cloud data when the to-be-repaired area exists in the point cloud data, and determine a minimum bounding box of the to-be-repaired area;
a surface fitting module, configured to select a preset number of points outside the area to be repaired and in the minimum bounding box, and fit the selected point into a B-spline surface;
a hole filling module, configured to interpolate on the B-spline surface according to the dot pitch to obtain a plurality of discrete points, and fill the plurality of discrete points into the to-be-repaired area;
a filtering module, configured to determine, according to the point spacing and the curvature filtering parameter, the disordered point of the to-be-repaired area;
a judging module, configured to determine whether there is another area to be repaired in the point cloud data; and a smoothing processing module, configured to: when there is no other area to be repaired in the point cloud data, the filled module Point cloud data is smoothed.
如申請專利範圍第6項所述之點雲修補系統,所述區域確定模組透過以下方法確定所述待修補區域:
判斷在點雲資料中是否有孔洞缺失點雲資料的面積大於一個預設面積,並在點雲資料中有孔洞缺失點雲資料的面積大於所述預設面積時,確定該孔洞為待修補區域。
The point cloud repairing system of claim 6, wherein the area determining module determines the area to be repaired by:
Determining whether the area of the missing point cloud data in the point cloud data is larger than a predetermined area, and determining that the hole is the area to be repaired when the area of the missing point cloud data in the point cloud data is larger than the predetermined area .
如申請專利範圍第6項所述之點雲修補系統,所述將所選取的點擬合成B樣條曲面的方法為牛頓迭代法。For the point cloud repair system described in claim 6, the method of fitting the selected point to the B-spline surface is a Newton iteration method. 如申請專利範圍第6項所述之點雲修補系統,所述孔洞填補模組透過以下方法獲得多個離散點:
根據所述點間距在B樣條曲面的x1方向以等間隔取等參曲線,並對每一條等參曲線在x2方向根據所述點間距取等間隔點;
判斷各等間隔點的曲率是否大於預設曲率值;
當該等間隔點的曲率大於所述預設曲率值時,將該等間隔點按照x1方向向左移動預設距離;及
將上述等間隔點作為所述離散點。
The point cloud patching system of claim 6, wherein the hole filling module obtains a plurality of discrete points by:
Obtaining an isoparametric curve at equal intervals in the x1 direction of the B-spline surface according to the dot pitch, and taking equal intervals according to the dot pitch in the x2 direction for each isoparametric curve;
Determining whether the curvature of each equally spaced point is greater than a preset curvature value;
When the curvature of the interval points is greater than the preset curvature value, the interval points are moved to the left by a preset distance according to the x1 direction; and the equal interval points are used as the discrete points.
如申請專利範圍第6項所述之點雲修補系統,所述雜亂點包括曲率大於所述曲率過濾參數的點及沒有鄰近點的孤立點。
The point cloud patching system of claim 6, wherein the clutter point comprises a point having a curvature greater than the curvature filtering parameter and an isolated point having no adjacent point.
TW103138624A 2014-11-06 2014-11-06 Method and system for processing point clouds of an object TW201621813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103138624A TW201621813A (en) 2014-11-06 2014-11-06 Method and system for processing point clouds of an object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103138624A TW201621813A (en) 2014-11-06 2014-11-06 Method and system for processing point clouds of an object

Publications (1)

Publication Number Publication Date
TW201621813A true TW201621813A (en) 2016-06-16

Family

ID=56755537

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103138624A TW201621813A (en) 2014-11-06 2014-11-06 Method and system for processing point clouds of an object

Country Status (1)

Country Link
TW (1) TW201621813A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768482A (en) * 2019-03-15 2020-10-13 财团法人工业技术研究院 Collage expansion method, encoder and decoder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111768482A (en) * 2019-03-15 2020-10-13 财团法人工业技术研究院 Collage expansion method, encoder and decoder

Similar Documents

Publication Publication Date Title
CN105631936A (en) Point cloud repair method and system
Brujic et al. Fast and accurate NURBS fitting for reverse engineering
JP5890105B2 (en) Designing parts modeled by parallel geodesic lines
CN110226806B (en) Sole gluing track generation method and device
US9158297B2 (en) Computing device and method for generating measurement program of product
CN105590335A (en) Point cloud mesh refinement system and point cloud mesh refinement method
US20160138914A1 (en) System and method for analyzing data
CN111159800B (en) Method and device for automatically generating 3D model based on CAD file
CN104346753A (en) Cutting optimization processing system and cutting optimization processing method
US20160171761A1 (en) Computing device and method for patching point clouds of object
CN106780721B (en) Three-dimensional laser spiral scanning point cloud three-dimensional reconstruction method
Owen et al. Surface mesh sizing control
US20180240272A1 (en) Displacement directed tessellation
TW201618039A (en) System and method for compensating a right angle margin of point clouds
Wang et al. Efficient analysis-suitable T-spline fitting for freeform surface reconstruction and intelligent sampling
CN108563915B (en) Vehicle digital simulation test model construction system and method, and computer program
US20160147218A1 (en) Computing device and method for outputting programs of a workpiece
JP5834317B2 (en) Error image generation method
TW201621813A (en) Method and system for processing point clouds of an object
Liu et al. A reconstruction algorithm for blade surface based on less measured points
Amirfakhrian Approximation of 3D-parametric functions by bicubic B-spline functions
CN107561106A (en) A kind of measuring method and device of streak shape morphology characterization parameter
CN110211040B (en) Point cloud compression method and device based on weight
Sassais et al. Methods to generate numerical models of terrain for spatial ENC presentation
Głut et al. Definition and interpolation of discrete metric for mesh generation on 3D surfaces