Sensor sampling
How many pixels land on the feature you need to see? Set the lens, working distance and sensor, then compare the feature under the pixel grid with the image the camera actually records.
How many pixels land on the feature you need to see? Set the lens, working distance and sensor, then compare the feature under the pixel grid with the image the camera actually records.
m = f / (WD − f)Thin lens magnification for an object at working distance WD, the same model as the field of view tool.
N = feature size · m / pixel sizeThe feature size divided by the object-space pixel, pixel size / m. A colour sensor samples each colour on every other pixel, so the verdict uses N / 2.
ν = m / (2 · pixel size)The finest bar pattern the sensor can record, in line pairs per mm on the object: one pixel per bar.
Airy diameter = 2.44 · λ · Nw, Nw = N · (1 + m)Once the Airy disk is wider than about 2 pixels, stopping down further softens the image. The simulation blurs the feature with a Gaussian of σ = 0.42 · λ · Nw, a close fit to the Airy core.
H = f² / (N · c) + f
near = s (H − f) / (H + s − 2f)
far = s (H − f) / (H − s)Same model as the depth of field tool, with the circle of confusion c set to one pixel and s the working distance.