Algorithmadvanced
Hammersley sampling for coordinate measurement
Also called Woo-Liang sampling.
Places the N probe points of a measuring machine on a surface patch at the Hammersley points (i/N, radical inverse of i), which have a lower discrepancy than a grid or random points.
- Time
- Θ(N log N) worst
- Space
- Θ(1) extra
- Where
- N = the number of probe points
- Model
- Word RAM
- Properties
- deterministicexactofflineiterative
- Evidence
- Proof sketchCode in 1 languages
- Origin
- T. C. Woo, R. Liang, 1993
Hammersley sampling places the probe points of a coordinate measuring machine on a surface patch. For points it takes the Hammersley set , , where the radical inverse mirrors the binary digits of about the binary point, and maps it from the unit square onto the patch. Woo and Liang proposed it in 1993, after the use of the same set in quasi-Monte Carlo integration. The set has a star discrepancy of , against about for a grid or random points, so averages over the patch, such as the moments of a least-squares fit, are estimated better from the same number of points. This page proves the bound for and cites the general constant. It also proves two limits: low discrepancy does not mean small holes, and a sample can only underestimate a minimum zone form error. The order in which the probe visits the points is CMM probe path planning.
In plain words
A machine checks a surface by touching it at some points, and each touch takes time. We want few points that still tell us the shape well. A square grid leaves long empty strips between its rows, and it can line up with marks left by the cutting tool. Random points leave clumps and gaps.
The Hammersley points fix this. Number the points from 0. Across the surface, the points go in equal steps. For the other direction, write the point's number in binary and read the digits backward, after a point. Point 1 goes halfway up, point 2 a quarter up, point 3 three quarters up. Each new point lands in a gap left by the earlier ones. When the number of points is a power of two, cut the surface into as many equal strips as there are points: each strip holds exactly one point.
The problem
The input is a number of probe points and a surface patch, either a rectangle of a planar face or a parameterized patch , . The output is points on the patch, to be measured and then fitted by a reference feature or evaluated for form error. The aim is a point set that represents the whole patch: its star discrepancy
in the parameter square should be small. The radical inverse in base of is , as on the Halton sequence page.
The algorithm
HAMMERSLEY-PROBES(N, patch)- 1
for i ← 0 to N − 1 - 2
u ← i / N - 3
v ← φ_2(i) ▷ reverse the binary digits of i after the point - 4
if patch is a rectangle (x0, y0, w, h) then probe at (x0 + u·w, y0 + v·h) - 5
else probe at S(u, v)
Line L3, the radical inverse. The code takes the digits of from the least significant one by repeated division and builds as an exact fraction. For , is the -bit reversal of divided by , so the first values are the multiples of in a mixed order. For a dimension , the code puts for the first primes in the other coordinates.
Lines L4 and L5, the map. A rectangle is an affine image of the square, and the mapped points keep their discrepancy relative to the rectangle. A parameterized patch keeps the points even in , which is even on the surface only when the area element is constant, as on a cylinder in the angle and the height. On other patches, reparameterize by area first, or the points crowd where the map shrinks area.
Example
Eight points on a face. For the binary reversal gives
so the set is . On a face of mm with a corner at the origin, the probe points are in mm. Each of the eight columns of width mm and each of the eight rows of height mm holds one point, and so does each cell of the and partitions.
Exact discrepancies. The brute force of the tests gives, for :
| proved bound | cited bound | ||||
|---|---|---|---|---|---|
| 2 | 4 | 2 | 3 | 4.5 | |
| 3 | 8 | 2.5 | 4 | 5 | |
| 4 | 16 | 2.75 | 5 | 5.5 | |
| 5 | 32 | 3.125 | 6 | 6 | |
| 6 | 64 | 3.4375 | 7 | 6.5 |
grows by less than when doubles, the growth. The discrepancy page has a measured table that compares Hammersley points with random points, a grid and the Halton sequence.
Holes. On a grid of candidate centers, the largest empty disk inside the square measured for has the radius for the Hammersley set, and for the centered grid. The Hammersley set is more even on boxes, not on disks.
Correctness
The correctness file proves:
- The radical inverse. The code computes , and for it is the reversal of the digits of divided by , a bijection onto the multiples of .
- The net property. For , every box of area holds exactly one point.
- The bound. For , : split an anchored box into strips along the binary digits of its width, and each strip makes an error of less than one point.
- The cited constant. Niederreiter's Theorem 3.8 gives, in dimension with the bases ,
which for , is for every . The file cites it and does not prove it.
- The brute force over the corners formed by the point coordinates is the exact star discrepancy.
- Holes. An empty disk inside the square has a radius of at most .
- Underestimation. The minimum zone of a sample is never wider than the minimum zone of the whole surface.
- The map to a rectangle keeps the discrepancy.
Proof: The radical inverse, the net property of the base-2 Hammersley set, its star discrepancy bound (m + 1)/N for N = 2^m, the size of empty disks, and why a sample never overstates the minimum zonefull
Setup. For an integer base and an integer with base- digits , , the radical inverse is
The -point Hammersley set in dimension is with the first primes. For a set of points in , the star discrepancy is
where is the box .
Lemma 1 (the radical inverse). The code returns , and it stops after steps for . If , then , where is the integer whose base- digits are those of in reverse order. So maps one to one onto , and for all .
Proof. The loop takes the digits of from the least significant one by divmod, and keeps with and after steps, which is . It stops when the quotient is , after the number of digits of . If , pad its digits to length ; then , which is the integer with the digits in reverse order. Reversal of digits is a bijection of , and gives .
Lemma 2 (the net property). Let and with base . For every with and all integers , , the box
of area holds exactly one point of .
Proof. Write with binary digits. The first coordinate lies in exactly when the leading digits of form the number . By Lemma 1, , so its first binary digits after the point are , the trailing digits of ; and lies in exactly when those digits, read in this order, form . The leading digits and the trailing digits are disjoint and together are all digits, so exactly one meets both conditions.
A set with this property is a -net in base in Niederreiter's terms.
Theorem 3 (discrepancy for N = 2^m). For , the base-2 Hammersley set has .
Proof. Fix and let be the number of points in . Write in binary, and let . Then is the disjoint union of the intervals for the with , and a rest of length less than . Each has the form .
Consider one strip with . Split into intervals of length and a rest of length less than . Each of the boxes is a box of Lemma 2, so it holds one point and has area : count and times area agree there. The rest lies inside one box (or is empty when and is empty), so it holds or point and has area in ; there the count and times the area differ by less than . The strip lies inside a column , a box with , so the same holds for it.
Add over the at most strips and the strip : . Divide by and take the supremum over .
The exact values for are , so is , below . They are computed by the brute force of Lemma 4 in the tests.
The general bound (cited). Niederreiter (1992, Theorem 3.8) proves that the -point Hammersley set in dimension with pairwise coprime bases has
with the leading constant . For and it reads , for every , not only powers of . At this is , which is sharper than Theorem 3 for . This file does not prove the general bound; the tests check it against the exact discrepancy for in two dimensions and for small in three.
Lemma 4 (the brute force is exact). For points in , let be the set of first coordinates together with , and likewise. Then
where counts the points with and the points with .
Proof. If or , the box is empty and has area . Otherwise let be consecutive values of with , and likewise. No coordinate lies strictly between and , so a point has exactly when , and exactly when ; the same holds for . So on the cell the count of is constant and equals both and . On the cell, is largest at , which is a candidate of the first kind. And has the supremum , approached as from above; if or and is not a coordinate, this value is , and otherwise is a candidate of the second kind. Every candidate value is attained or approached by local discrepancies, so the maximum equals the supremum.
Lemma 5 (empty disks). If an open disk of radius inside holds no point of , then .
Proof. For a box , the count of is in terms of the counts of anchored boxes, and the area is the same signed sum of the four products. Each of the four terms has an error of at most , so the count of differs from times its area by at most . The disk contains half-open squares of side for every , which are empty, so for all such , and .
So the Hammersley set leaves no hole larger than for . This is weaker than the centered grid, whose largest empty disk has the radius . Low discrepancy is a statement about averages over boxes, not about the worst gap.
Lemma 6 (a sample never overstates the minimum zone). Let be the surface of a part and the sampled points. For every form tolerance whose zone is a region that must hold the points, the minimum zone width of is at most that of .
Proof. Every zone that holds holds , so the minimum over the zones that hold is over a larger set.
So a sample can only underestimate the minimum zone form error, and the gap is the error of the sampling. By Lemma 5, a parameter point at distance at least from the edge of the domain has a sample at a distance of at most . So when the deviation from the nominal surface is Lipschitz in the parameters with the constant , the sample underestimates the deviation of a peak away from the edge by at most .
Least-squares references (cited). The least-squares plane of points spread over a patch depends on the mean and covariance of the points, which are averages of polynomials of the coordinates. For a parameterization with constant area element, these averages are quadrature sums of integrals over the patch, and the Koksma-Hlawka inequality bounds their errors by , with the variation of the integrand in the sense of Hardy and Krause. This is why a low discrepancy helps the least-squares fit, while Lemma 5 is what matters for the minimum zone.
Lemma 7 (the mapped points). On a rectangle , the affine map sends each anchored box of the unit square to an anchored box of the rectangle with the same fraction of the area, so the mapped points have the same star discrepancy relative to the rectangle. On a patch , the points are even in the parameters, and even on the surface only when the area element is constant.
Proof. The map is a bijection of boxes to boxes that multiplies all areas by and keeps the counts. For a patch, the area of the image of a region is , which is a constant times the area of for every exactly when the area element is constant.
Termination. The main loop runs times, and each radical inverse stops by Lemma 1. The brute-force discrepancy loops over at most corners.
Complexity
The radical inverse of takes divisions on the word RAM, so points take time. A bit reversal by table lookup, or an update of from by the carry of the increment, gives amortized time per point and in total. The extra space is beyond the output. The brute-force star discrepancy used in the tests takes time in two dimensions.
Properties
- Deterministic. The same always gives the same points, which makes measurements repeatable.
- Not extensible. The first coordinate depends on , so the -point set is not a prefix of the -point set. To add points to a measurement already made, use the Halton sequence, with a discrepancy larger by a factor of order .
- Best order in the plane. By Schmidt's lower bound, cited on the discrepancy page, every -point set in the square has , so the Hammersley set has the best possible order.
- Exact. The code returns exact fractions.
- Distinct coordinates. The first coordinates are the values , and for the second coordinates are the same values in another order, so no two points share a row or a column.
Variants and improvements
- Halton-Zaremba points. Woo, Liang, Hsieh and Lee (1995) compared the Hammersley set with the Halton-Zaremba set, a variant of the second coordinate, and with uniform sampling.
- Stratification. Lee, Mou and Shen (1997) combined the Hammersley sequence with stratified sampling in sampling strategies for common features.
- Other low-discrepancy sets. A Sobol sequence or a scrambled net gives the same order. Latin hypercube sampling and stratified sampling are randomized alternatives with one point per row or per cell.
- Curves and higher dimensions. On a line or a circle, the centered points have the least star discrepancy, , and the order of the one-dimensional radical inverse is useful only to stop early with even coverage. In dimension the code uses prime bases.
- Adaptive sampling. Measure a first Hammersley set, fit, and add points where the residuals are large. This targets the peaks that decide a minimum zone.
When to use it
Use it to choose a fixed number of probe points on a planar face or on a patch with a near-constant area element, when the result is a least-squares fit or another average over the surface. It is simple, deterministic and better than a grid on boxes. Use a grid or a hole-minimizing set when the worst gap matters, and an adaptive scheme when the minimum zone form error must not be missed. Use the Halton sequence when the number of points is not known in advance.
Pitfalls
- Low discrepancy is not small holes. The measured largest hole of Hammersley points is slightly larger than that of an grid. A narrow dent can fall between points.
- A sample underestimates the minimum zone. Every zone of the surface holds the sample, so the form error from the points is never larger than the true one. Report it as a lower bound of the true form error, with the number of points.
- Distorted maps. On a patch whose area element varies, such as a cone near its apex or a trimmed spline surface, points even in are not even on the surface.
- Inaccessible points. Some points may be hard to reach for the probe or may lie on trimmed-away regions. Skip them and record it, or move them by a small amount, but do not silently replace them by a grid.
- Edge points. The point is at the corner of the patch, on an edge where a probe can slip. Shift the set by half a step, using , or shrink the patch by the probe radius.
Implementations
Each implementation follows the pseudocode above. A comment @line links a line of code to a line of the pseudocode. Point at a line of the pseudocode to see the matching code. The build runs the native tests of each language.
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/hammersley-sampling-for-cmm/. The authors are listed in prov/9X9MZP.jsonl.
"""Hammersley sampling of a surface patch for coordinate measurement.
The Hammersley set of N points in the unit square is (i/N, phi_2(i)) for
i = 0, ..., N-1, where phi_2 reverses the binary digits of i about the
binary point. Woo and Liang (1993) proposed it to place the probe points of a
coordinate measuring machine on a surface. The points are mapped to a
rectangle or through a parameterization of the patch.
All coordinates are exact Fractions. The module also has the exact star
discrepancy of a planar point set by brute force, for checks.
"""
from fractions import Fraction
from math import log
PRIMES = (2, 3, 5, 7, 11, 13, 17, 19, 23, 29)
def radical_inverse(i, base=2):
"""phi_b(i): the base-b digits of i mirrored about the radix point."""
if i < 0 or base < 2:
raise ValueError("need i >= 0 and base >= 2")
num, den = 0, 1
while i > 0:
i, digit = divmod(i, base)
num = num * base + digit
den *= base
return Fraction(num, den)
def hammersley(n, dim=2):
"""The n-point Hammersley set in [0, 1)^dim, as tuples of Fractions.
The first coordinate is i/n and coordinate k + 1 is the radical inverse
of i in the k-th prime base.
"""
if n < 1 or not 1 <= dim <= len(PRIMES) + 1:
raise ValueError("bad n or dim")
pts = []
for i in range(n): # @line L1
u = Fraction(i, n) # @line L2
rest = tuple(radical_inverse(i, PRIMES[k]) for k in range(dim - 1)) # @line L3
pts.append((u,) + rest)
return pts
def probe_points_on_rectangle(n, x0, y0, width, height):
"""Hammersley probe points (x, y) on the rectangle [x0, x0+width) x [y0, y0+height)."""
return [(x0 + u * width, y0 + v * height) for u, v in hammersley(n, 2)] # @line L4
def probe_points_on_patch(n, surface):
"""Hammersley probe points on a patch surface(u, v) with (u, v) in [0, 1)^2.
The map should be close to area preserving, or the points crowd where it
shrinks area.
"""
return [surface(u, v) for u, v in hammersley(n, 2)] # @line L5
def star_discrepancy_2d(points):
"""Exact star discrepancy of points in [0, 1)^2.
D* = sup over boxes [0, x) x [0, y) of |count / N - x y|. The supremum is
approached at x and y taken from the point coordinates and 1: with open
boxes from above (count too small) and closed boxes from below (count
too large). Time O(N^3).
"""
pts = [(Fraction(x), Fraction(y)) for x, y in points]
n = len(pts)
xs = sorted({x for x, _ in pts} | {Fraction(1)})
ys = sorted({y for _, y in pts} | {Fraction(1)})
best = Fraction(0)
for x in xs:
for y in ys:
vol = x * y
open_count = sum(1 for p, q in pts if p < x and q < y)
closed_count = sum(1 for p, q in pts if p <= x and q <= y)
best = max(best, vol - Fraction(open_count, n), Fraction(closed_count, n) - vol)
return best
def niederreiter_bound(n, dim=2):
"""Niederreiter's bound (Theorem 3.8) on the star discrepancy of the
n-point Hammersley set in the first dim - 1 prime bases:
dim/n + (1/n) prod_k ((b_k - 1)/(2 log b_k) log n + (b_k + 1)/2)."""
prod = 1.0
for k in range(dim - 1):
b = PRIMES[k]
prod *= (b - 1) / (2 * log(b)) * log(n) + (b + 1) / 2
return dim / n + prod / n
def net_bound(m):
"""The bound (m + 1)/2^m for the base-2 Hammersley set of 2^m points,
proved on the correctness page from the net property."""
return Fraction(m + 1, 2 ** m)
if __name__ == "__main__":
for n in (4, 16, 64):
d = star_discrepancy_2d(hammersley(n))
print(n, float(d), niederreiter_bound(n))
test_hammersley_sampling_for_cmm.py 197 lines
# SPDX-License-Identifier: MIT
# Part of https://algorithm.tamnd.com/hammersley-sampling-for-cmm/. The authors are listed in prov/9X9MZP.jsonl.
import random
import unittest
from fractions import Fraction
from hammersley_sampling_for_cmm import (
PRIMES,
hammersley,
net_bound,
niederreiter_bound,
probe_points_on_patch,
probe_points_on_rectangle,
radical_inverse,
star_discrepancy_2d,
)
def digits(i, base):
"""Base-b digits of i, least significant first."""
out = []
while i > 0:
i, d = divmod(i, base)
out.append(d)
return out
def radical_inverse_by_definition(i, base):
"""phi_b(i) = sum_j a_j b^-(j+1) for i = sum_j a_j b^j."""
return sum((Fraction(a, base ** (j + 1)) for j, a in enumerate(digits(i, base))), Fraction(0))
def star_discrepancy_3d(points):
"""Exact star discrepancy in [0, 1)^3 by the same corner argument as in
two dimensions; time O(N^4)."""
pts = [tuple(Fraction(c) for c in p) for p in points]
n = len(pts)
axes = [sorted({p[k] for p in pts} | {Fraction(1)}) for k in range(3)]
best = Fraction(0)
for x in axes[0]:
for y in axes[1]:
for z in axes[2]:
vol = x * y * z
op = sum(1 for p in pts if p[0] < x and p[1] < y and p[2] < z)
cl = sum(1 for p in pts if p[0] <= x and p[1] <= y and p[2] <= z)
best = max(best, vol - Fraction(op, n), Fraction(cl, n) - vol)
return best
def local_discrepancy(points, x, y):
n = len(points)
count = sum(1 for p, q in points if p < x and q < y)
return abs(Fraction(count, n) - x * y)
class TestDefinition(unittest.TestCase):
def test_radical_inverse_matches_definition(self):
for base in (2, 3, 5, 7):
for i in range(500):
self.assertEqual(radical_inverse(i, base), radical_inverse_by_definition(i, base))
def test_small_values(self):
self.assertEqual([radical_inverse(i) for i in range(8)],
[Fraction(k, 8) for k in (0, 4, 2, 6, 1, 5, 3, 7)])
self.assertEqual([radical_inverse(i, 3) for i in range(4)],
[Fraction(0), Fraction(1, 3), Fraction(2, 3), Fraction(1, 9)])
def test_points_match_definition(self):
for n in (1, 2, 7, 16, 50):
for dim in (1, 2, 3, 4):
pts = hammersley(n, dim)
self.assertEqual(len(pts), n)
for i, p in enumerate(pts):
self.assertEqual(p[0], Fraction(i, n))
for k in range(1, dim):
self.assertEqual(p[k], radical_inverse_by_definition(i, PRIMES[k - 1]))
self.assertTrue(all(0 <= c < 1 for c in p))
def test_van_der_corput_permutation(self):
# The first b^m values of phi_b are the multiples of b^-m in some order.
for base, m in ((2, 6), (3, 4), (5, 3)):
n = base ** m
got = sorted(radical_inverse(i, base) for i in range(n))
self.assertEqual(got, [Fraction(k, n) for k in range(n)])
def test_net_property(self):
# For N = 2^m, every box of the form
# [a 2^-j, (a+1) 2^-j) x [c 2^-(m-j), (c+1) 2^-(m-j)) holds one point.
for m in range(0, 8):
n = 2 ** m
pts = hammersley(n, 2)
for j in range(m + 1):
counts = {}
for u, v in pts:
key = (int(u * 2 ** j), int(v * 2 ** (m - j)))
counts[key] = counts.get(key, 0) + 1
self.assertEqual(len(counts), n)
self.assertTrue(all(c == 1 for c in counts.values()))
class TestDiscrepancy(unittest.TestCase):
def test_brute_force_is_a_supremum(self):
# No sampled box beats the computed value, and the value is attained
# in the limit, so random boxes come close on small sets.
rng = random.Random(11)
for n in (3, 5, 8, 13):
pts = [(Fraction(rng.randint(0, 99), 100), Fraction(rng.randint(0, 99), 100)) for _ in range(n)]
d = star_discrepancy_2d(pts)
for _ in range(2000):
x, y = Fraction(rng.randint(0, 1000), 1000), Fraction(rng.randint(0, 1000), 1000)
self.assertLessEqual(local_discrepancy(pts, x, y), d)
near = max(
local_discrepancy(pts, Fraction(a, 1000), Fraction(b, 1000))
for a in range(0, 1001, 1)
for b in (0, 1000)
)
self.assertLessEqual(near, d)
def test_known_values(self):
self.assertEqual(star_discrepancy_2d(hammersley(1)), 1)
self.assertEqual(star_discrepancy_2d(hammersley(2)), Fraction(3, 4))
self.assertEqual(star_discrepancy_2d(hammersley(4)), Fraction(1, 2))
# One point at the center of the square: the worst box is [0,1)^2
# minus the closed quadrant at the point, or the open quadrant.
self.assertEqual(star_discrepancy_2d([(Fraction(1, 2), Fraction(1, 2))]), Fraction(3, 4))
def test_niederreiter_bound_2d(self):
for n in range(1, 49):
d = star_discrepancy_2d(hammersley(n, 2))
self.assertLessEqual(float(d), niederreiter_bound(n, 2))
def test_net_bound(self):
for m in range(0, 7):
n = 2 ** m
d = star_discrepancy_2d(hammersley(n, 2))
self.assertLessEqual(d, net_bound(m))
def test_niederreiter_bound_3d(self):
for n in (1, 2, 3, 5, 8, 12, 16):
d = star_discrepancy_3d(hammersley(n, 3))
self.assertLessEqual(float(d), niederreiter_bound(n, 3))
def test_empty_disk_bound(self):
# Lemma 5 of the proof page: an empty disk inside the square has a
# radius of at most sqrt(2 D*). Centers on a fine grid.
for n in (16, 64):
pts = [(float(u), float(v)) for u, v in hammersley(n)]
bound = (2 * float(star_discrepancy_2d(hammersley(n)))) ** 0.5
worst = 0.0
steps = 100
for a in range(steps + 1):
for b in range(steps + 1):
cx, cy = a / steps, b / steps
r = min(((cx - x) ** 2 + (cy - y) ** 2) ** 0.5 for x, y in pts)
if min(cx, cy, 1 - cx, 1 - cy) >= r:
worst = max(worst, r)
self.assertGreater(worst, 0.0)
self.assertLessEqual(worst, bound)
def test_better_than_random_on_average(self):
# Measured, not a theorem for each seed: 64 Hammersley points against
# the mean of ten sets of 64 uniform random points.
rng = random.Random(12)
d_h = star_discrepancy_2d(hammersley(64))
rand = []
for _ in range(10):
pts = [(Fraction(rng.randint(0, 9999), 10000), Fraction(rng.randint(0, 9999), 10000)) for _ in range(64)]
rand.append(star_discrepancy_2d(pts))
self.assertLess(d_h, sum(rand) / len(rand))
class TestProbePoints(unittest.TestCase):
def test_rectangle(self):
pts = probe_points_on_rectangle(8, 10, 20, 40, 16)
self.assertEqual(pts[0], (10, 20))
self.assertEqual(pts[1], (15, 28))
self.assertTrue(all(10 <= x < 50 and 20 <= y < 36 for x, y in pts))
def test_patch(self):
def cylinder(u, v):
# A quarter of a cylinder of radius 5 and height 30: the map from
# (u, v) scales area by a constant, so the points stay even.
import math
t = float(u) * math.pi / 2
return (5 * math.cos(t), 5 * math.sin(t), 30 * float(v))
pts = probe_points_on_patch(16, cylinder)
self.assertEqual(len(pts), 16)
for x, y, z in pts:
self.assertAlmostEqual(x * x + y * y, 25.0, places=9)
self.assertTrue(0 <= z < 30)
if __name__ == "__main__":
unittest.main()
History
Hammersley introduced the point set in 1960 in a paper on Monte Carlo methods for multivariable problems, beside Halton's sequence of the same year. Niederreiter's monograph of 1992 gives the discrepancy bounds with explicit constants and the theory of nets. Woo and Liang brought the set to dimensional metrology in 1993, for the probe points on surfaces measured by a coordinate measuring machine. Woo, Liang, Hsieh and Lee extended the comparison to the Halton-Zaremba set in 1995, and Lee, Mou and Shen combined the method with stratified sampling in 1997.
References
- T. C. Woo and R. Liang, Dimensional measurement of surfaces and their sampling, Computer-Aided Design 25(4), 1993, 233 to 239, the proposal of the Hammersley sequence for the probe points of surface measurement and its comparison with uniform sampling
- T. C. Woo, R. Liang, C. C. Hsieh and N. K. Lee, Efficient sampling for surface measurements, Journal of Manufacturing Systems 14(5), 1995, 345 to 354, the comparison of the Hammersley and Halton-Zaremba sequences with uniform sampling for surface measurement
- G. Lee, J. Mou and Y. Shen, Sampling strategy design for dimensional measurement of geometric features using coordinate measuring machine, International Journal of Machine Tools and Manufacture 37(7), 1997, 917 to 934, sampling strategies for coordinate measurement that combine the Hammersley sequence with stratified sampling
- J. M. Hammersley, Monte Carlo methods for solving multivariable problems, Annals of the New York Academy of Sciences 86(3), 1960, 844 to 874, the fixed-size point set with first coordinate i/N and radical inverses in the other coordinates
- Harald Niederreiter, Random Number Generation and Quasi-Monte Carlo Methods, SIAM, CBMS-NSF Regional Conference Series in Applied Mathematics 63, 1992, Chapter 2 (star discrepancy, the Koksma-Hlawka inequality), Chapter 3, Theorem 3.8 (the discrepancy bound of the Hammersley point set), Chapter 4 ((t, m, s)-nets)
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 | H1 sketch |
|
| Lean | L0 no Lean part |
|
| Code (python) | I0 not checked yet |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag 9X9MZP Edit this page History Report an error Markdown