CN107403468A - A kind of robust registration algorithm between similarity transformation three-dimensional body - Google Patents
A kind of robust registration algorithm between similarity transformation three-dimensional body Download PDFInfo
- Publication number
- CN107403468A CN107403468A CN201710622440.4A CN201710622440A CN107403468A CN 107403468 A CN107403468 A CN 107403468A CN 201710622440 A CN201710622440 A CN 201710622440A CN 107403468 A CN107403468 A CN 107403468A
- Authority
- CN
- China
- Prior art keywords
- mtd
- msub
- point
- mrow
- msubsup
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/20—Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
Landscapes
- Engineering & Computer Science (AREA)
- Architecture (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Prostheses (AREA)
Abstract
The invention discloses the robust registration algorithm between a kind of similarity transformation three-dimensional body, comprise the following steps:First, using the registration law of point-to-point, user is firstly the need of at least 3 pairs of corresponding points are provided, and then algorithm can go out rotation, zooming and panning parameter according to the Euclidean distance iterative between corresponding points pair;After preliminary convergence, we arrive the registration law of plane using point, if random selection is done, using the distance of point of the iteration closest approach method optimization point between to plane, so as to obtain final similarity transformation.The present invention uses two step registration laws, with reference to point-to-point and point to the advantage and disadvantage of Plat algorithm, is compensated mutually, adds robustness;Introduce amount of zoom, it is proposed that a new iterative algorithm for similarity transformation, so as to improve the accuracy of algorithm.
Description
Technical field
The present invention relates to computer graphical and image processing field, and in particular to the Shandong between a kind of similarity transformation three-dimensional body
Rod registration algorithm.
Background technology
Two or more three-dimensional bodies or point cloud are registered, is one and finds geometric transformation between them
Process.People only consider rigid body translation as a rule, that is, assume do not have deformation between two objects.But actually should
In, generally can all there is different degrees of scaling between object, this brings trouble to registration.It is this at the same find rotation, contracting
The process put and translated also is called 3D Procrustes analyses, very common in the industrial flow of non real-time system, such as three
Tie up among the post-processing of scan data and the data acquisition of film game special.The most frequently used method of industrial quarters at present
It is singular value decomposition (SVD, Singular Value Decomposition) method that Horn et al. is proposed, this method calculates first
Scaling, then utilizes polar decomghtion (Polar Decomposition) analytical Calculation based on SVD to go out spin matrix.This method speed
Degree is fast, but must manually select more point, is not so good as iterative algorithm in terms of accuracy and robustness.It is most popular at present to open
Source point cloud storehouse (PCL) realizes similar method, but as described in document, approximate matrix is not under Frobenius norms
It is optimal.
The content of the invention
To solve the above problems, the invention provides the robust between a general similarity transformation object and accurate registration
Method, this method is widely portable between tri patch, the registration between point cloud and between tri patch and point cloud, in number
In the case of having defect, still can effectively it be registered.
To achieve the above object, the technical scheme taken of the present invention is:
A kind of robust registration algorithm between similarity transformation three-dimensional body, comprises the following steps:First, using point-to-point
(Point-to-Point) registration law, user need first to provide at least 3 pairs of corresponding points, and then algorithm can be according to corresponding points to it
Between Euclidean distance iterative go out rotation, zooming and panning parameter;After preliminary convergence, we arrive plane using point
(Point-to-Plane) registration law, if random selection is done, using iteration closest approach (ICP, Iterative Closest
Point) method optimizes point of the point between to the distance of plane, so as to obtain final similarity transformation (Similarity
Transformation)。
Preferably, specifically comprise the following steps:
S1, the registration law first by point-to-point (Point-to-Point), user need first to provide at least 3 pairs of correspondences
Point, these corresponding points are preferably located at the diverse location of object;It is assumed that selection m (m > 2) individual corresponding points pair so that these points are to it
Between it is minimum apart from sum, so as to similitude transformation matrix T and translation t corresponding to solving, be shown below:
Formula (2) is substituted intoAnd by value to be solved be classified as a vectorial r=[s, α, beta, gamma,
tx, ty, tz]T, then can obtain:
The iterative formula is until convergence, and at this moment two models tentatively align;
S2, point of use to plane registration law, object function are changed into:
Wherein,It is the point p of destination objectjThe normal vector at place;Formula (2) is substituted into above formula, obtained:
Wherein,a2=[- yj, xj, 0]T·nj, a3=[zj, 0 ,-xj]T·nj, a4=[0 ,-zj, yj]T·nj;
Here we take n point (n > m), can by around corresponding points stochastical sampling realize.
The invention has the advantages that:
Using two step registration laws, the advantage and disadvantage of Plat algorithm are arrived with reference to point-to-point and point, is compensated mutually, both avoided
Algorithm is absorbed in local minimum, reduces the manually input of user again, while also add robustness;With rigid registration algorithm phase
Than we introduce amount of zoom, it is proposed that a new iterative algorithm for similarity transformation, improve the accuracy of algorithm.
Brief description of the drawings
The different scan data for having defect of 3D models and a yardstick in Fig. 1 embodiment of the present invention.
Fig. 2 is two models of gross alignment of the embodiment of the present invention.
Fig. 3 is two models of Accurate align in the embodiment of the present invention.
Embodiment
In order that objects and advantages of the present invention are more clearly understood, the present invention is carried out with reference to embodiments further
Describe in detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to limit this hair
It is bright.
The rigid transformation (rigid transformation) for only translating and rotating can be by a point p=[x, y, z]T
Transform to p ':
P '=Rp+t,
Wherein, R is 3 × 3 spin matrix, and t=[tx, ty, tz]TIt is translation in space;According to minimum rotation
(Infinitesimal Rotation) is theoretical, and a spin matrix can be approximated by:
Wherein, α, β and γ represent the anglec of rotation around z, y and x-axis respectively, the above formula only when these rotation amount all very littles
Just set up;If it is considered that the yardstick of model may change, we just need to introduce amount of zoom s, spatial alternation at this moment
Referred to as similarity transformation (Similarity Transformation), T is denoted as, its approximate representation is by we:
Identical with formula (1), the formula assumes that rotation amount is very small.
The embodiments of the invention provide the robust registration algorithm between a kind of similarity transformation three-dimensional body, comprise the following steps:
First by point-to-point (Point-to-Point) registration law, user needs first to provide at least 3 pairs of corresponding points, this
A little corresponding points are preferably located at the diverse location of object;It is assumed that selection m corresponding points pair so that these points to the distance between sum
Minimum, so as to solve corresponding similitude transformation matrix T and translation t, it is shown below:
Formula (2) is substituted into above formula by us, and value to be solved is classified as into vectorial r=[s, α, beta, gamma, a tx, ty, tz]T, then
It can obtain:
The iterative formula is until convergence, and at this moment two models tentatively align;
S2, point of use to plane registration law, the method similar to before, only this time we are used a little to flat
The distance in face, object function are changed into:
Wherein,It is the point p of destination objectjThe normal vector at place.As before, we are by formula (2)
Above formula is substituted into, is obtained:
Wherein,a2=[- yj, xj, 0]T·nj, a3=[zj, 0 ,-xj]T·nj, a4=[0 ,-zj, yj]T·
nj.Here we take n point (n > m), can by around corresponding points stochastical sampling realize.P ' is nearest by iteration
Point method obtains, and we used space octree structure for this process to be accelerated.If model has defect, can crop
It is corresponding, realize that robust is registered.
Embodiment
In order to which the different scan data for having defect of a 3D model and a yardstick is alignd (Fig. 1), our two steps
Registration algorithm first uses two models (Fig. 2) of point-to-point registration technology gross alignment, then arrives plane registration algorithm using again
Two models (Fig. 3) of Accurate align.In this example, user only needs to provide 3 pairs of corresponding points.
Formula (3) and formula (4) can be by being expressed as matrix form:
Mr=b.
This is an overdetermined equation, and we can pass through normal equation M corresponding to itTMr=MTB solves its least square
Solution, Cholesky, which is decomposed, can effectively solve this very small linear system.It can be seen that in whole two steps registration process
In, we are optimizing zooming parameter s always, therefore can obtain optimal scaling.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (2)
1. the robust registration algorithm between a kind of similarity transformation three-dimensional body, it is characterised in that comprise the following steps:First, use
The registration law of point-to-point, user need first to provide at least 3 pairs of corresponding points, then algorithm can according to the Europe between corresponding points pair it is several in
Apart from iterative go out rotation, zooming and panning parameter;After preliminary convergence, we arrive the registration law of plane using point, with
It is final similar so as to obtain using the distance of iteration closest approach method optimization point of the point between to plane if machine selection is done
Conversion.
2. the robust registration algorithm between a kind of similarity transformation three-dimensional body as claimed in claim 1, it is characterised in that specific bag
Include following steps:
S1, the registration law first by point-to-point, user need first to provide at least 3 pairs of corresponding points:Point p on the object of sourcej=[xj,
yj, zj]TWith the point p on target objectj'=[xj', yj', zj'], j=1...m;Wherein m is the number of corresponding points pair so that this
A little points to the distance between sum it is minimum, so as to similitude transformation matrix T and translation t corresponding to solving, be shown below:
Formula (2) is substituted intoWherein, α, β and γ represent the anglec of rotation around z, y and x-axis, s respectively
To scale, if it is t to make the translation in three dimensionsx, tyAnd tz, and by value to be solved be classified as a vectorial r=[s, α, beta, gamma,
tx, ty, tz]T, then can obtain:
<mrow>
<msubsup>
<mo>&Sigma;</mo>
<mi>j</mi>
<mi>m</mi>
</msubsup>
<mo>|</mo>
<mo>|</mo>
<mfenced open = "[" close = "]">
<mtable>
<mtr>
<mtd>
<msub>
<mi>x</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<mrow>
<mo>-</mo>
<msub>
<mi>y</mi>
<mi>j</mi>
</msub>
</mrow>
</mtd>
<mtd>
<msub>
<mi>z</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<msub>
<mi>y</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<msub>
<mi>x</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mrow>
<mo>-</mo>
<msub>
<mi>z</mi>
<mi>j</mi>
</msub>
</mrow>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<msub>
<mi>z</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mrow>
<mo>-</mo>
<msub>
<mi>x</mi>
<mi>j</mi>
</msub>
</mrow>
</mtd>
<mtd>
<msub>
<mi>y</mi>
<mi>j</mi>
</msub>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
</mfenced>
<mi>r</mi>
<mo>-</mo>
<mfenced open = "[" close = "]">
<mtable>
<mtr>
<mtd>
<mrow>
<msup>
<msub>
<mi>x</mi>
<mi>j</mi>
</msub>
<mo>&prime;</mo>
</msup>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<msup>
<msub>
<mi>y</mi>
<mi>j</mi>
</msub>
<mo>&prime;</mo>
</msup>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<msup>
<msub>
<mi>z</mi>
<mi>j</mi>
</msub>
<mo>&prime;</mo>
</msup>
</mrow>
</mtd>
</mtr>
</mtable>
</mfenced>
<mo>|</mo>
<msup>
<mo>|</mo>
<mn>2</mn>
</msup>
<mo>=</mo>
<mn>0.</mn>
<mo>-</mo>
<mo>-</mo>
<mo>-</mo>
<mrow>
<mo>(</mo>
<mn>3</mn>
<mo>)</mo>
</mrow>
</mrow>
The iterative formula is until convergence, and at this moment two models tentatively align;
S2, point of use to plane registration law, object function are changed into:
Wherein,It is the point p of destination objectjThe normal vector at place;Formula (2) is substituted into above formula, obtained:
<mrow>
<msubsup>
<mi>&Sigma;</mi>
<mi>j</mi>
<mi>n</mi>
</msubsup>
<msup>
<mrow>
<mo>&lsqb;</mo>
<msubsup>
<mi>a</mi>
<mn>1</mn>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>a</mi>
<mn>2</mn>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>a</mi>
<mn>3</mn>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>a</mi>
<mn>4</mn>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>n</mi>
<mi>x</mi>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>n</mi>
<mi>y</mi>
<mi>j</mi>
</msubsup>
<mo>,</mo>
<msubsup>
<mi>n</mi>
<mi>z</mi>
<mi>j</mi>
</msubsup>
<mo>&rsqb;</mo>
</mrow>
<mi>T</mi>
</msup>
<mo>&CenterDot;</mo>
<mi>r</mi>
<mo>=</mo>
<msub>
<mi>&Sigma;</mi>
<mi>j</mi>
</msub>
<msup>
<msub>
<mi>p</mi>
<mi>j</mi>
</msub>
<mo>&prime;</mo>
</msup>
<mo>&CenterDot;</mo>
<msub>
<mi>n</mi>
<mi>j</mi>
</msub>
<mo>-</mo>
<mo>-</mo>
<mo>-</mo>
<mrow>
<mo>(</mo>
<mn>4</mn>
<mo>)</mo>
</mrow>
</mrow>
Wherein,a2=[- yj, xj, 0]T·nj, a3=[zj, 0 ,-xj]T·nj, a4=[0 ,-zj, yj]T·nj;This
Target point p in stepj' it is the point p on the object of sourcejClosest approach of the n > m points of surrounding stochastical sampling on destination object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622440.4A CN107403468A (en) | 2017-07-22 | 2017-07-22 | A kind of robust registration algorithm between similarity transformation three-dimensional body |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710622440.4A CN107403468A (en) | 2017-07-22 | 2017-07-22 | A kind of robust registration algorithm between similarity transformation three-dimensional body |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107403468A true CN107403468A (en) | 2017-11-28 |
Family
ID=60401272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710622440.4A Pending CN107403468A (en) | 2017-07-22 | 2017-07-22 | A kind of robust registration algorithm between similarity transformation three-dimensional body |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107403468A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102034275A (en) * | 2010-12-10 | 2011-04-27 | 中国人民解放军国防科学技术大学 | Large-scale deformation-oriented non-rigid registration method |
CN103679741A (en) * | 2013-12-30 | 2014-03-26 | 北京建筑大学 | Method for automatically registering cloud data of laser dots based on three-dimensional line characters |
CN103824326A (en) * | 2014-03-05 | 2014-05-28 | 北京工业大学 | Dynamic human body three-dimensional modeling method |
CN105447908A (en) * | 2015-12-04 | 2016-03-30 | 山东山大华天软件有限公司 | Dentition model generation method based on oral cavity scanning data and CBCT (Cone Beam Computed Tomography) data |
CN105488535A (en) * | 2015-12-05 | 2016-04-13 | 乔付 | Three-dimensional point cloud matching method |
-
2017
- 2017-07-22 CN CN201710622440.4A patent/CN107403468A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102034275A (en) * | 2010-12-10 | 2011-04-27 | 中国人民解放军国防科学技术大学 | Large-scale deformation-oriented non-rigid registration method |
CN103679741A (en) * | 2013-12-30 | 2014-03-26 | 北京建筑大学 | Method for automatically registering cloud data of laser dots based on three-dimensional line characters |
CN103824326A (en) * | 2014-03-05 | 2014-05-28 | 北京工业大学 | Dynamic human body three-dimensional modeling method |
CN105447908A (en) * | 2015-12-04 | 2016-03-30 | 山东山大华天软件有限公司 | Dentition model generation method based on oral cavity scanning data and CBCT (Cone Beam Computed Tomography) data |
CN105488535A (en) * | 2015-12-05 | 2016-04-13 | 乔付 | Three-dimensional point cloud matching method |
Non-Patent Citations (3)
Title |
---|
刘斌等: "结合八叉树和最近点迭代算法的点云配准", 《测绘科学》 * |
周雅等: "增强现实中虚拟物体的投影注册算法研究", 《北京理工大学学报》 * |
赵兴东等: "《矿用三维激光数字测量原理及其工程应用》", 31 December 2016 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wu et al. | Hand-eye calibration: 4-D procrustes analysis approach | |
Garro et al. | Solving the pnp problem with anisotropic orthogonal procrustes analysis | |
CN102156970B (en) | Fisheye image correction method based on distorted straight slope calculation | |
CN107358633A (en) | Join scaling method inside and outside a kind of polyphaser based on 3 points of demarcation things | |
CN107358629B (en) | Indoor mapping and positioning method based on target identification | |
CN103106688A (en) | Indoor three-dimensional scene rebuilding method based on double-layer rectification method | |
Huang et al. | The common self-polar triangle of concentric circles and its application to camera calibration | |
CN111144349B (en) | Indoor visual relocation method and system | |
WO2020063878A1 (en) | Data processing method and apparatus | |
CN111754579A (en) | Method and device for determining external parameters of multi-view camera | |
CN109785373B (en) | Speckle-based six-degree-of-freedom pose estimation system and method | |
CN104406594B (en) | The Measurement Algorithm of spacecrafts rendezvous spacecraft relative pose | |
WO2024093635A1 (en) | Camera pose estimation method and apparatus, and computer-readable storage medium | |
CN107707899A (en) | Multi-view image processing method, device and electronic equipment comprising moving target | |
Kostavelis et al. | Visual odometry for autonomous robot navigation through efficient outlier rejection | |
CN114022542A (en) | Three-dimensional reconstruction-based 3D database manufacturing method | |
CN109948624A (en) | Method, apparatus, electronic equipment and the computer storage medium of feature extraction | |
EP3801201A1 (en) | Measuring surface distances on human bodies | |
JP6086491B2 (en) | Image processing apparatus and database construction apparatus thereof | |
Liu et al. | 6d object pose estimation without pnp | |
CN107403468A (en) | A kind of robust registration algorithm between similarity transformation three-dimensional body | |
Zhao et al. | Linear MonoSLAM: A linear approach to large-scale monocular SLAM problems | |
CN110428457A (en) | A kind of point set affine transform algorithm in vision positioning | |
CN110135474A (en) | A kind of oblique aerial image matching method and system based on deep learning | |
Park et al. | Improvement on Zhang's camera calibration |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171128 |