Techniqueresearch
Slippage analysis
Also called slippable motion analysis.
Gelfand and Guibas's test of which rigid motions slide a surface patch along itself, from a 6 by 6 eigenproblem, to find planes, cylinders and other kinematic surfaces.
Slippage analysis is a technique that finds the rigid motions that slide a surface along itself, from sample points and their normals, and uses them to tell which kind of surface a patch of a scan is. A rigid motion with angular velocity and linear velocity moves a point with velocity . The motion is slippable for a surface when this velocity is tangent to the surface at every point, . Since , this is one linear equation in the six numbers per sample, with the coefficient vector . So the slippable motions are the null space of the matrix , and on real data the eigenvectors with small eigenvalues. A plane and a sphere have three slippable motions, a cylinder two, a surface of revolution, a helical surface and a general cylinder one, and a generic free-form surface none. These are the kinematic surfaces, the surfaces that a one-parameter group of rigid motions maps into themselves. Gelfand and Guibas (2004) built a segmentation of scans on this test; the same matrix had appeared in 2003 as a measure of stability for point-to-plane ICP.
In plain words
Put a surface against a copy of itself and try to move it without making a gap. A flat plate can slide in two directions and turn on the spot. A ball in a socket can turn in any direction. A shaft in a hole can turn and slide along its axis. A screw in a nut can only move by turning and advancing together. A vase can only turn about its axis. A shape like a face cannot move at all.
Slippage analysis does this test with numbers. From the points and the surface directions at the points, it finds all the ways that the patch can slide. The count and the kind of these motions say what the patch is: a plane, a sphere, a cylinder, or something else. It does not fit a radius, but an axis can be read from the motions.
When it applies
- The data are points with unit normals, from a mesh or from normal estimation on a point cloud, and the normals are reliable.
- The surfaces of interest are kinematic: planes, spheres, cylinders, surfaces of revolution (cones and tori among them), helical surfaces and extrusions. Many machined parts are made of such surfaces.
- The question is about the type of a surface or about the regions that share a type, as in a segmentation, or about which motions a registration cannot determine.
- Each patch is large enough, compared with its radius of curvature, for the motions that are not slippable to cost something.
The template
SLIPPAGE(points p_1..p_m, unit normals n_1..n_m, ratio τ)- 1
c ← the centroid of the p_i; s ← the mean of |p_i − c|; p_i ← (p_i − c) / s - 2
C ← Σ_i a_i a_iᵀ with a_i = (p_i × n_i, n_i), a 6 by 6 matrix - 3
λ_1 ≤ … ≤ λ_6 and unit eigenvectors x_1, …, x_6 of C - 4
k ← the number of i with λ_6 > τ λ_i - 5
return the space spanned by x_1, …, x_k, the slippable motions
Why it works. For a unit vector , , the sum of the squared normal velocities of the samples. So is positive semidefinite, its eigenvalues are the stationary values of this Rayleigh quotient, and is an exact slippable motion of the samples exactly when . A small eigenvalue is a motion that moves the samples almost only along the surface.
Line L1. A rotation and a translation have different units: is in radians per unit time, in length per unit time, and grows with the distance from the origin. Moving the centroid to the origin and scaling to a mean distance of makes the eigenvalues comparable and the result independent of position and size.
Line L4. On noisy data no eigenvalue is exactly , so a threshold decides which are small. Comparing with the largest eigenvalue, as a condition number does, makes the test independent of the number of samples. The threshold is a parameter of the method.
Reading the motions. For , is an infinitesimal screw motion with axis direction , the point on the axis, and the pitch : the velocity at is , along the axis. For the motion is a translation in the direction . The table gives the classic cases.
| slippable motions | surface | |
|---|---|---|
| 3 | two translations in the plane, the rotation about the normal | plane |
| 3 | the three rotations about the center | sphere |
| 2 | the rotation about the axis and the translation along it | circular cylinder |
| 1 | one rotation, pitch | surface of revolution, including the cone |
| 1 | one screw motion, pitch | helical surface |
| 1 | one translation | general cylinder, an extrusion |
| 0 | none | free-form |
When , line L5 returns a space, not single motions. For a cylinder, every combination of the rotation and the translation is slippable, and an eigen solver may return two screws instead of the pure rotation and the pure translation. The type is read from the space: it has a pure translation and a pure rotation with the same axis direction, for example.
Example. Take the unit cylinder about the axis, sampled at the four angles , , and degrees and the heights : eight points with the normals . The centroid is the origin and the mean distance is , so line L1 divides the points by . Then , and line L2 gives, in the order ,
since all mixed sums vanish by the symmetry of the samples. The eigenvalues are , so for any , and the slippable motions are spanned by the rotation and the translation : a cylinder with the axis. If the samples are only the four points at , then and the rotations about the and axes become slippable too: one ring of points with radial normals is also a ring on a sphere, and the samples cannot tell the two apart.
Cost. Lines L1 and L2 take time; the eigenproblem has a fixed size and takes constant time, by the Jacobi method for example.
Classic examples
- Segmentation into kinematic surfaces. Gelfand and Guibas compute the slippable motions of a small patch around many sample points, the slippage signature, and merge neighboring regions whose points are compatible with the same motions, in the manner of region growing. The result is a segmentation into primitives where each region is a kinematic surface, without fitting each type separately.
- Stability of registration. In point-to-plane ICP, the linearized error of a small motion is , so the slippable motions are the motions that registration cannot determine: two scans of a cylinder can slide along the axis. Gelfand, Ikemoto, Rusinkiewicz and Levoy choose samples that make the small eigenvalues of large.
- Recognition of surfaces of revolution and helical surfaces. Pottmann and Randrup test whether the normal lines of the data lie in a linear complex, which is the same equation seen in line geometry, and recover the axis and the pitch of a surface of revolution or a helical surface from the eigenvector of the smallest eigenvalue.
- Detection of primitives. Efficient RANSAC fits a fixed list of primitive types; slippage analysis gives an independent check of the type of a region before the geometric fit.
Variations
- Normalized eigenproblem. Pottmann and Randrup minimize under the normalization , which leads to a generalized eigenvalue problem and gives the axis of a surface of revolution or a helical surface directly.
- Weights. Weighting the samples by area, or by the confidence of the normal, makes the matrix less dependent on the sampling density.
- Translations only. With , the matrix is , and its null space gives the extrusion directions, the directions of a general cylinder.
- Curves in the plane. For planar curves the motions have three parameters, the matrix is , and the slippable curves are lines and circles.
- Point to point. If the vectors are built for all three directions instead of the normal only, nothing is slippable: the analysis needs the normal to separate sliding from moving off the surface.
Pitfalls
- Bad normals. The test is only as good as the normals. Near edges, normal estimation mixes two faces, and the patch looks like neither; use estimators that respect sharp features, or patches away from edges.
- Patch too small. A small piece of a cylinder, compared with its radius, is almost flat, and the rotations about axes in the tangent plane are almost slippable. The count then depends on the patch size and on ; choose the patch size from the scale of the features.
- Narrow sampling. Samples that miss a direction create false slippable motions, as in the ring example. A patch that is long in one direction and narrow in another has the same problem in a weaker form.
- Threshold. No threshold is right for all noise levels. With the test of line L4, too large a finds no slippable motions on noisy data, and too small a adds motions that are not there.
- Single eigenvectors. For the eigenvectors of a repeated eigenvalue are not unique. Classify the space, not the individual vectors.
- Cones. A cone has only one slippable motion, the rotation about its axis, so slippage alone does not separate a cone from other surfaces of revolution; a fit is needed for that.
- Boundaries. The test sees only the samples, not the boundary of the face. A disc, a strip and an infinite plane all have three slippable motions.
Exercises
- Show that for samples on the plane with normal , every row is , and that the null space of contains the translations along and and the rotation about . When is it exactly these three?
- Show that for samples on a sphere about the origin, , and that the null space of contains the three rotations. Why does a translation not slip?
- For a helical surface with axis and pitch , show that is slippable, and that the axis formula of the template gives a point on the axis.
- Show that the eigenvalues of do not change under a rigid motion of the data, if is computed after line L1. What happens without line L1?
References
- Natasha Gelfand and Leonidas J. Guibas, Shape segmentation using local slippage analysis, Proceedings of the Eurographics/ACM SIGGRAPH Symposium on Geometry Processing (SGP 2004), also doi:10.2312/SGP/SGP04/219-228, the definition of slippable motions, the 6 by 6 matrix of points and normals and its small eigenvalues, the slippage signatures of local patches, and the segmentation by merging regions with matching slippable motions
- Natasha Gelfand, Leslie Ikemoto, Szymon Rusinkiewicz and Marc Levoy, Geometrically stable sampling for the ICP algorithm, Fourth International Conference on 3-D Digital Imaging and Modeling (3DIM 2003), 260 to 267, the covariance matrix of the linearized point-to-plane error, its eigenvectors as the unstable transformations, and the normalization of rotations and translations
- Helmut Pottmann and Thomas Randrup, Rotational and helical surface approximation for reverse engineering, Computing 60(4), 1998, 307 to 322, the recognition of cylindrical surfaces, surfaces of revolution and helical surfaces from the surface normals, by line geometry and a linear complex of normal lines
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag GTWEA2 Edit this page History Report an error Markdown