A microscope objective on a machine-vision camera resolves detail far below a micron, but the software still counts pixels. Turning pixels into micrometers is calibration, and the datasheet magnification only starts that calculation: adapter factors are rounded, focus moves some stacks, and a zoom body multiplies every other error. This guide is for anyone wiring an objective, or a fixed-magnification telecentric lens, to a machine-vision camera for dimensional measurement. You will lock the optical magnification first, image a 0.01 mm stage micrometer, measure line centers to a tenth of a pixel, and program the scale you measured rather than the one you calculated. A worked example at 20x shows exactly where nominal and measured part ways.
Lock the magnification before you calibrate
Calibration stores one number: micrometers per pixel. That number is only true for the optical stack it was measured on, so freeze the stack first. Choose the objective, the camera adapter and the camera; set a zoom body on a click stop, never between stops; focus on the plane the parts occupy; then lock the focus with whatever the hardware offers — clamp screw, focus stop, parfocal stop.
Conjugates matter. A finite-tube objective (the kind marked 160 or 180) is designed around one sensor position: move the camera or refocus, and magnification moves with it. Infinity-corrected objectives behind their matching tube lens hold magnification through focus far better, but the C-mount adapter still contributes its real factor, not the round figure on its barrel. If an autofocus routine refocuses between parts, calibrate at the plane it returns to and keep it there — the focus-lock habit from camera calibration applies unchanged.
The procedure is otherwise the same as any lens calibration: image a known length, divide by the pixel span. What changes is the reference and the focus discipline.
What you need
- A stage micrometer with 0.01 mm divisions (10 µm) over a 1-2 mm scale, certified if an audit needs traceable numbers. Use an objective-side slide, not an eyepiece graticule: the graticule sits in the eyepiece's own image plane and only serves visual work.
- Production illumination: same wavelength, same condenser setting. Chromatic aberration focuses each color at a slightly different depth, so calibrating in blue and measuring in red moves both focus and, a little, the scale.
- Software that finds a line center at subpixel precision, or a saved frame and any tool that computes a profile centroid.
- For a purpose-built station rather than an adapted microscope, a fixed-magnification telecentric lens with a mono camera does the same job with more tolerance to part movement.
A 1x telecentric lens keeps the arithmetic honest — one object pixel is one sensor pixel — and the LS-TCL-1972 is exactly that.
- Sensor format
- 2/3"
- Mount
- C-mount
- Image circle
- 8-11 mm
- Type
- Object-side telecentric
For finer sampling without a microscope objective, the LS-TCL-0811 gives 1.36x at a 73 mm working distance and adds a coaxial light port for shiny surfaces.
- Sensor format
- 2/3"
- Mount
- C-mount
- Image circle
- 8-11 mm
- Type
- Object-side telecentric
Pair either lens with a mono sensor; the MV-CS200-10UM runs 20 MP on a 1" format over USB3, which leaves line profiles free of color interpolation.
- Sensor format
- 1"
- Lens mount
- C-mount
- Interface
- USB3
- Resolution
- 16-25 MP
The nominal calculation is a first guess
A camera with 3.45 µm pixels behind a 20x objective and a 1x adapter computes as 3.45 ÷ (20 × 1) = 0.1725 µm per pixel. Put a 0.5x adapter in front and the same stack gives 3.45 ÷ 10 = 0.345 µm per pixel: the adapter halves the total magnification and doubles the object-space size of one pixel. A 2/3" sensor is about 8.8 mm wide, so this stack sees roughly 8.8 ÷ 20 = 0.44 mm of field. The same field-of-view arithmetic from magnification covers telecentric lenses, and the object-space pixel calculation is the machine-vision statement of the first formula.
Treat the result as a guess good to about a percent. Adapter factors ship rounded to 0.35x, 0.5x, 0.66x and 1x, sensor pitches are sometimes quoted rounded, and any focus error moves a finite-tube stack. The stage micrometer reports what the stack actually does.
Calibrate against the stage micrometer
Eight steps, fifteen minutes, one slide.
- Freeze the stack. Mount the production objective, adapter and camera; put the slide at the working plane; focus to the sharpest line centers; lock the focus.
- Light it like production. Same LED wavelength and condenser setting as inspection. Keep exposure off saturation — brightest pixels under about 90% of full scale — so line profiles keep their shape.
- Square the scale. Rotate slide or camera until the divisions run level, both ends within a pixel or two of the same row.
- Capture several frames. Three to five averaged frames pull sensor noise and table vibration out of the line positions.
- Locate line centers at subpixel precision. A profile centroid is enough; the same fitting used for subpixel edge measurement works on micrometer lines.
- Span as many divisions as the field allows. At 20x on a 2/3" sensor, 40 divisions span 400 µm. Endpoint noise divides by the span: a ±1 px error at each end is 0.09% of a 400 µm span (about 2,319 px) but 0.7% of a 50 µm span (290 px).
- Calibrate both axes. Horizontal divisions give the x-scale; rotate the slide 90° or read a perpendicular span for the y-scale. On a leveled stage the two agree; a gap of several tenths of a percent means tilt, so level it rather than program two scales.
- Program and verify. Enter the measured scale, then measure a different span — divisions 5 to 35, say, which is 300 µm — and check the reading before the first real part.
Worked example: 20x objective, 3.45 µm pixels
Nominal says 3.45 µm ÷ (20 × 1) = 0.1725 µm per pixel.
Measured says otherwise. The 0.44 mm field shows about 40 clean divisions; center to center, the 400 µm span measures 2,286 px. The real scale is 400 µm ÷ 2,286 px = 0.175 µm per pixel, 1.4% coarser than nominal. As a cross-check, 2,448 px × 0.175 µm ≈ 0.43 mm of field, which matches the estimate.
What the gap costs: a feature that truly spans 100 µm covers 100 ÷ 0.175 = 571.4 px. Software programmed with the nominal value reads 571.4 × 0.1725 = 98.6 µm — 1.4 µm low. On a ±1 µm tolerance for a 100 µm dimension, the unmeasured scale alone uses up the entire budget.
The decision: program 0.175 µm per pixel, the measured number, stored against this objective-adapter-camera-zoom combination. Keep 0.1725 only as a sanity check; a measured value far from nominal means a wrong pitch, a zoom between stops or a defocused capture.
Depth of field sets the focus budget
A calibration is only as good as the focus it was taken at. A common wave-optics estimate for depth of field in air is λ/NA²; at 550 nm it gives, as an order of magnitude (conventions differ by about a factor of two on where sharp ends):
| Objective NA | Depth of field at 550 nm |
|---|---|
| 0.25 | ~9 µm |
| 0.45 | ~2.7 µm |
| 0.75 | ~1 µm |
Inside those few microns the line centers stay put; outside them, edges soften and finite-tube stacks shift magnification as well. This is the case for object-side telecentric behavior, whether it comes from a good objective behind its tube lens or from a machine-vision telecentric lens: the two designs side by side differ exactly here, and telecentric depth of field is validated the same way as this section. Whatever the optics, lock the focus mechanically and re-check it against the slide whenever the bench has been disturbed.
Check the scale across the field
A center reading does not vouch for the corners. Whatever field correction the optics leave over shows up as scale that changes with position: capture the slide centered, then shifted left, then shifted right, and compare the three scales. Keep the position-dependent part under about a tenth of the measurement budget — with a ±1 µm budget on 100 µm (1%), that means scale changes below roughly 0.1% from center to corner. If the optics exceed that, restrict the measurement to the calibrated center region or apply a distortion model; distortion correction for pixel-to-millimeter work covers the mechanics, and geometric versus TV distortion explains what the printed percentage actually promises.
When to recalibrate
- Objective swapped, or the nosepiece turned to another position
- Adapter, camera or sensor changed
- Zoom ring moved off its calibrated stop
- Focus re-set, stage replaced, head serviced or the column transported
- Illumination wavelength changed
- The morning slide reading drifts by more than about 0.2% from the stored scale
The last line is the working habit: one slide reading per shift takes under a minute and catches everything above before it reaches a measurement report.
Parts and next steps
If you are specifying hardware rather than adapting a microscope, the machine vision lenses catalog holds the fixed-magnification and telecentric series — magnifications from under 0.1x to beyond 2x — and area scan cameras the mono sensors. The lens finder filters by magnification and sensor format, and the lens configurator walks a measurement stack through the same choices. Send the objective, adapter and sensor you run to the contact page and we will check the scale arithmetic with you. The lenses topic page gathers the rest of the optics guides.
Questions
Do you calibrate a microscope lens before or after locking the magnification?
After. Freeze the objective, adapter, zoom position and focus first, then calibrate, because the stored micrometers per pixel belong to that exact stack. If a finite-tube objective later refocuses or the zoom ring turns, the scale has moved and calibration must be redone. Infinity objectives behind their own tube lens tolerate refocus better, but the one-minute slide reading settles it either way.
How far is the nominal magnification calculation from the measured scale?
Expect a percent or so. In the worked example, nominal gave 0.1725 µm per pixel and the stage micrometer gave 0.175 µm per pixel — a 1.4% gap worth 1.4 µm on a 100 µm reading. Rounded adapter factors, rounded sensor pitches and focus drift on finite-tube stacks produce gaps of that size routinely, which is why the measured value is the one programmed into the software.
Which stage micrometer divisions work best for this calibration?
A 0.01 mm slide: 10 µm divisions over a 1-2 mm scale, certified if an audit needs traceability. At 20x a 0.44 mm field shows dozens of divisions, so span 30-40 of them for a solid average. Below roughly 5x total magnification, switch to a 0.1 mm division slide so a usefully long span still fits in the field.
Does the pixel scale survive a camera or adapter swap?
No. The scale divides sensor pitch by total magnification, so a new camera brings a new pitch and a new adapter brings a new real factor. Recompute the nominal from the new pitch, then recalibrate with the slide. Keep one calibration record per objective-adapter-camera-zoom combination and label it with all four values so nobody reuses a scale that no longer applies.
How often should a microscope measurement calibration be re-checked?
Re-run a single slide reading every shift or every morning; it takes under a minute. Recalibrate when the reading moves by more than about 0.2%, after any hardware or wavelength change, and after the head or stage has been serviced or shipped. On a stable bench, drift between checks normally stays well inside that action level.


