The measuring machine 1 is configured for scanning a physical object, for obtaining a set of points (hereinafter “point cloud”). Each of the point in the set of points contains n-dimensional coordinates data (hereinafter “point cloud data”) corresponding to the point.
The database 5 electronically connects with the measuring machine 1 via the network 3, and is configured for saving the point cloud data.
The network 3 is an electronic network, which may be the Internet, an Intranet, or any other suitable type of communications link.
The application terminals 4 are electronically connected with the application server 2, and may be located at various internal departments of an organization that implements the system. The application server 2 is accessible via any one of the application terminals 4 provided in the organization to obtain results of a processed point cloud data.
The application server 2 includes a plurality of function modules mainly configured for processing the point cloud data thereby yielding processed point cloud data and simulating a cloud point simulation based on the point cloud data.
The receiving module 20 is configured for receiving the point cloud data that may be from the database 5. The receiving module 20 is also configured for receiving parameters set by a user, the parameters may be, allowable tolerance, point size, and so on.
The detecting module 21 is configured for detecting whether the parameters set by the user are valid. The alerting module 22 is configured for notifying the user when any of the parameters are not valid.
The computing module 23 is configured for computing an equation of a least squares line based on the point cloud data using the least squares method. The computing module 23 is also configured for computing the residual value of each point of the point cloud. The residual value of each point is a difference between the each point to the least squares line. Furthermore, the computing module 23 is configured for computing the straightness of the least squares line.
The constructing module 24 is configured for constructing a connected points line. The connected points line is a curved line that is formed by using a smooth line to connect the points of the point cloud.
The simulating module 25 is configured for simulating a cloud point simulation by utilizing the point cloud data, the least squares line, the residual value of each point, and the connected points line. The cloud point simulation is shown in
Furthermore, the system also may include a saving module 26 configured for saving the cloud point simulation; a printing module 27 configured for printing the cloud point simulation; and an animation generating module 28 configured for generating the cloud point simulation animation.
In step S10, the receiving module 20 receives point cloud data that may be from the database 5.
In step S11, the receiving module 20 receives parameters set by the user. The parameters may include an allowable tolerance, point size, and so on.
In step S12, the detecting module 21 detects whether the parameters are valid, namely detecting whether the parameters meets a predetermined criteria correspondingly.
If any of the parameters are not valid, in step S13, the alerting module 22 notifies the user that the parameter is not valid, and the procedure returns to step S11.
If all the parameters are valid, in step S14, the computing module 23 computes an equation of a least squares line derived based on the point cloud data using the least squares method.
In step S15, the computing module 23 further computes the residual value of each point of the point cloud to the least squares line.
In step S16, the computing module 23 further computes the straightness of the least squares line. If the least squares line is derived from 2-dimensional coordinate data of the points, the straightness is the sum of the largest residual values of two points on the upper bound and the lower bound of the least squares line. In another example, if the least squares line is derived from 3-dimensional coordinate data of the points, the straightness is the biggest residual value multiplied by 2.
In step S17, the constructing module 24 constructs the connected points line.
In step S18, the figure simulating module 25 simulates a cloud point simulation based on the point cloud data, the least squares line, the residual value of each point, and the connected points line.
In step S19, the detecting module 21 detects if the user wishes to save the cloud point simulation. If the user wishes to save the cloud point simulation, in step S20, the saving module 26 saves the cloud point simulation. In step S21, the detecting module 21 detects if the user wishes to print the cloud point simulation. If the user wishes to print the cloud point simulation, in step S22, the printing module 27 prints the cloud point simulation. In step S23, the detecting module 21 detects if the user wishes to generate a cloud point simulation animation. If the user wishes to generate the cloud point simulation animation, the animation generating module 28 generates the cloud point simulation animation.
Although the present invention has been specifically described on the basis of a preferred embodiment and preferred method, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment and method without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
200610200832.3 | Aug 2006 | CN | national |