Blog Archives
Update 05/07/2011: Normals Fix & Radius Learning
Introduction
Normals fixes page 1. r radius estimation page 6.
Unify Normals
BSP is very fast but has a percentage of failed unifications at sharper regions, and required
tuning the r radii by remapping the per point r. MST ran for 2 hours but could
not finish. The following explain each improvement to minimize failed
unification.
r limits
nn.r has been scaled down by 0.5, and min
clamped by distance to the kth neighbor (set as degrees=6). Remap changes are
fairly unstable, because larger r unifies irrelevant neighbors. If nn.r is
minimized to 1st neighbor distance, it effectively becomes MST. But distance similarity
alone does not correctly unify neighbors.
k limits
Each unifier can only affect k nearest
ununified neighbors (set as degrees=6). Where k=1 models MST, k limit is a
tradeoff between normals propagation speed versus accuracy. Because corner
points have highly varied neighbors distances, k limit is more stable than r
limits. This also prevents unifiers unifying across two nearby parallel
surfaces (Figure k limits).
|
Figure k limits. |
3.5 Normals Artifact Fix
3.5 Normals Artifact Fix
Under following
tests, parameters are uniform with k=50, r=0.2, and Gaussian distance kernel
(images in folder nn_anisotropic). Figures show a progressive improvement
extended from the randomized anisotropic feature planes [Li10].
|
|
Figure norm1. High precision but accuracy |
Figure ani3. Processes half the points, |
|
|
Figure ani4: Only the 25% quartile fixes |
ani5_nj moved: The residual of pi to |
|
ani6 degree12 (Left), ani6 degree24 P = 1 – (1-(1-ε)d)M [Li10], d = 3 P = 1 – εM this method Given ε Assuming 400 |
|
ani6 degree24 farnn k 50, ani7 degree48 For point 418 with 100% skewed neighbors, For the single |
The propagation
derived from [Li10], copies normal from plane to pi directly, so only works if
the surface spanning pi & pj is nearly planar. [Li10] method works because
each pi have M=200 unique random planes. But with residuals calculation of N
neighbors in S point set, the cost is at least O(N*M*S). Residual weighted
normals may be more stable, but requires normals to be unified beforehand.
3.6 Normals Artifact Fix
post-unification
Pre-unified
normals brings relevant normals closer, with 3 significant advantages: allows
the anisotropic fix to adjust normals gradually via weighted residual,
iteration, and smaller neighborhoods, instead of single plane selection (as
limited in [Li10]). Iterative nj, residual, and p_confidence updating converges
the normals in otherwise unstable regions as the very sharp corner shows.
|
arcs Orig, arcs exact 48 0.01: Original |
|
Sigma weight: nj residuals weighted by |
|
Iterations: 0, 1st, 4th iterations show better stability while converging towards the weighted |
|
Weighted residual, plus distance, & |
The equation, based on the bilateral
filtering concept, combines the three types of pairwise similarities:
α,β,γ Gaussian weighted kernel functions.
a, b constants determine importance of
distance versus residual (both spatial similarities).
Normal can remove
outliers by angular dissimilarity, and prevent sudden pop due to rotating
toward an very different angle. Notice the one minus especially penalizes nj’s
very similar to ni but pointing in opposite direction, since the normals
unification step has already unified relevant points.
Conclusion
& Future Work
Future
investigations include more robust estimator of neighborhood radius, more
accurate curvature estimator, and possibly geometry segmentation based on these
surface properties. Efficiency and parallelism can also be improved to suit
real-time processing and visualization.
|
Normals |