Method for aligning objects
AssigneesHONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD., Hon Hai Precision Industry Co., Ltd.
InventorsCHIH-KUANG CHANG, XIN-YUAN WU, SHAO-QIN XIE, MIN WANG, HUA HUANG
Life of this patent
Estimating the term…
Abstract
A computer implemented method for aligning objects receives a reference object and a to-be-moved object; determining feature elements of the reference object. A first coordinate system is constructed according to a plurality of feature elements of the reference object. A second coordinate system is constructed according to a plurality of feature elements of the to-be-moved object. A third coordinate system is constructed according to the first coordinate system and the second coordinate system. An operation matrix is computed according to the three coordinate systems. The two objects are aligned using the operation matrix.
Claims20
A computer implemented method for aligning objects, the method comprising:
- (a) receiving two objects comprising a reference object and a to-be-moved object;
- (b) receiving a plurality of feature elements of the reference object, and constructing a first coordinate system by determining a first axis, a second axis, and an origin of the first coordinate system according to the feature elements of the reference object;
- (c) receiving a plurality of feature elements of the to-be-moved object, and constructing a second coordinate system by determining a first axis, a second axis, and an origin of the second coordinate system according to the feature elements of the to-be-moved object;
- (d) constructing a third coordinate system by determining a first axis, a second axis, and an origin of the third coordinate system according to the first coordinate system and the second coordinate system;
- (e) obtaining an operation matrix according to coordinate values of points on origin and axes of the first coordinate system and the second coordinate system, wherein the coordinate values are computed using the third coordinate system;
- and
- (f) moving each point of the to-be-measured object through multiplying coordinate values of each point of the to-be-moved object by the operation matrix, so as to align the reference object and the to-be-moved object.
A storage medium having stored thereon instructions that, when executed by a processor, causing the processor to perform a method for aligning objects, wherein the method comprises:
- (a) receiving two objects comprising a reference object and a to-be-moved object;
- (b) receiving a plurality of feature elements of the reference object, and constructing a first coordinate system by determining a first axis, a second axis, and an origin of the first coordinate system according to the feature elements of the reference object;
- (c) receiving a plurality of feature elements of the to-be-moved object, and constructing a second coordinate system by determining a first axis, a second axis, and an origin of the second coordinate system according to the feature elements of the to-be-moved object;
- (d) constructing a third coordinate system by determining a first axis, a second axis, and an origin of the third coordinate system according to the first coordinate system and the second coordinate system;
- (e) obtaining an operation matrix according to coordinate values of points on origin and axes of the first coordinate system and the second coordinate system, wherein the coordinate values are computed using the third coordinate system;
- and
- (f) moving each point of the to-be-measured object through multiplying coordinate values of each point of the to-be-moved object by the operation matrix, so as to align the reference object and the to-be-moved object.
Dependencies are inferred from the claim text.