A Hierarchical Method for Aligning Warped Meshes

Download Report

Transcript A Hierarchical Method for Aligning Warped Meshes

A Hierarchical Method for
Aligning Warped Meshes
Leslie Ikemoto1,
Natasha Gelfand2,
Marc Levoy2
1UC
Berkeley, formerly Stanford
2Stanford University
Scan Alignment Pipeline
Pairwise
alignment
October 9, 2003
Global
relaxation
A Hierarchical Method for Aligning
Warped Meshes
Scan
merging
2
Alignment Methods
Pairwise alignment:
Iterated Closest Point (ICP)
[Variant from Chen-Medioni ‘91]
Global relaxation:
Global registration
1) Compute R, t minimizing distances
from pi to tangent plane at qi
ni
Point constraints
from ICP
qi
pi
2) Apply transform and repeat
Rigid scans
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
3
The Digital Michelangelo
Statue Scanner
Calibrated motions: pitch (yellow), pan (blue),
horizontal translation (orange)
• Large
• High resolution (0.25 mm)
• Reconfigurable
• Deployed in the field
October 9, 2003
Uncalibrated motions: vertical translation (red),
remounting the scan head, reconfiguring the
scanner, moving the entire scanner
A Hierarchical Method for Aligning
Warped Meshes
4
Registration Errors
ICP
Global Registration
Correct calibration
Correct calibration
0.13 mm avg. err.
October 9, 2003
Incorrect calibration
1.81 mm avg. err.
Incorrect calibration
A Hierarchical Method for Aligning
Warped Meshes
4 mm
misalignment
5
Model Generated
Spacing of range
samples = 0.5 mm
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
6
Possible Solutions
• Calibrate the scanner better
• Learn warp by self-calibration
• Introduce compensating warp
– fit low-order polynomial to warp
– use piecewise rigid approximation to curved warp
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
7
Compensating Warp
Smooth warp
Approximate with a piecewise rigid
model of overlapping sub-meshes
Create pieces hierarchically
13 original scans
R, T
October 9, 2003
84 sub-meshes
R1..8, T1..8
A Hierarchical Method for Aligning
Warped Meshes
8
Proposed Pipeline
Initial guess
Find most
misaligned
pair of scans
Loop until error below
threshold
Dice into
pieces
Pairwise
alignment
October 9, 2003
Global
registration
Pairwise
alignment
Global
registration
A Hierarchical Method for Aligning
Warped Meshes
Scan
merging9
Design Criteria for Dicing a Scan
• Isotropic warp
– Keep even aspect ratio
Arbitrary cutting planes
• Overlap with neighbors
– Needed for alignment
– Use size to control
tendency to warp
• Sufficiently
constraining features
for alignment
No features
– Pre-analyze meshes for ICP
stability
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
10
Determining Placement
of Cutting Planes
Overlap size affects “hinge stiffness”
Smaller overlap
Lower squared error
Larger overlap
Mesh dicing scheme
Higher squared error
• Even aspect ratio: dice along longest dimension of
oriented bounding-box
• Overlap: determined empirically (30% of oriented
bounding box)
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
11
Determining Whether to Dice
Using Stability Analysis
• Sufficiently constraining features: stability analysis to
determine degenerate geometries [Gelfand et al. 3DIM03]
2 translations, 1 rotation
1 rotation
October 9, 2003
3 rotations
1 rotation, 1 translation
1 translation
A Hierarchical Method for Aligning
Warped Meshes
12
Sampling Technique
• Sample to constrain transformations
during alignment [Gelfand et al. 3DIM03]
Translation in
the plane
October 9, 2003
Rotation in
the plane
A Hierarchical Method for Aligning
Warped Meshes
Rotation out of
the plane
13
Running Times
• Forma Urbis fragment, approximately 85 cm x 120 cm
• Hardware: Intel P4, 2.80 GHz
Meshes
Polygons
(million)
Pair
Matching
Global Reg.
# Points
Selected
4 meshes
31
3:09
0:02
1200
37 scanner
sweeps
31
10:33
0:02
25,800
2:15
75 submeshes
35.8
34:00
0:04
26,200
2:30
117 submeshes
40.2
21:00
0:05
63,510
3:30
160 submeshes
46.1
20:00
0:06
123,110
3:00
197 submeshes
52.2
17:00
0:13
204,268
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
Dicing
14
Model Generated
After
Original
warping
Average error = 0.8
1.15mm
mm
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
15
More Results
Avg. err. =
0.8
0.4 mm
Double lines
After
Original
warping
Blurry lines
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
16
Conclusions
• Alignment method for smoothly warped
meshes
– Introduce minimal compensating warp
– Does not require a specific characterization of
scanner warp
– Relatively simple to implement
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
17
Limitations
Will not converge if:
• scans very noisy
• scans do not have many features
• warp is not smooth
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
18
Future Work
• Fit smooth spline
– yields non-rigid warp
– retrospective scanner
calibration
• One-to-many stability
analysis
• Improve measurement
strategy
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
19
Acknowledgements
Our sponsors…
• National Science Foundation Research
Grant IIS-0113427
• Stanford University President’s Fund
Also thanks to…
• Digital Michelangelo team
• Forma Urbis team
October 9, 2003
A Hierarchical Method for Aligning
Warped Meshes
20