EO/IR Boresight Alignment: How to Align Thermal and Visible Cameras
Quick answer: EO/IR boresight alignment means making the thermal and visible optical axes point at the same scene location, at the same time, across the working field of view. It is not just centring two images on a bench. Parallax, different fields of view, lens distortion, mount stiffness and temperature drift all affect the result after the payload is installed.
This guide explains what boresight error looks like, how to measure it, and how to specify an alignment procedure for a dual-camera UAV payload, security camera or robot.
1. What boresight error is
Each camera has an optical axis. If the axes are parallel but separated by a baseline, the images have parallax: a near target shifts differently from a far target. If the axes are not parallel, the images have an angular offset that grows with distance. If the fields of view differ, the same pixel coordinate in each image does not represent the same angle.
EO/IR systems usually need more than one alignment:
- Boresight: the thermal and visible axes are aligned at a reference distance.
- Registration: the images are mapped into a common coordinate frame.
- Parallax compensation: the residual shift with distance is modelled or measured.

2. Why bench alignment is not enough
A bench setup may align the cameras on a collimator at a fixed target distance. That is useful for manufacturing, but the installed payload adds new variables: the bracket may flex, the gimbal may have backlash, the lens may shift with temperature, and the visible and thermal cameras may have different distortion profiles.
The result is a residual error that changes with zoom, focus, temperature and gimbal angle. A dual-camera system that looks aligned at 20°C and 10 m may be visibly offset at 50°C or at 500 m. A good specification states the conditions and the acceptable error at each condition.
3. Measuring the error
A practical alignment procedure uses a target that is visible in both bands: a heated blackbody target with a visible crosshair, a resistive grid, or a collimator with an IR and visible reticle. The target is placed at a known distance and angle. The operator records the pixel coordinates of the target centre in both images, then converts the difference into angular error using each camera’s IFOV.
For a two-axis check, move the target across the field of view and record the error at centre, left, right, top and bottom. This reveals rotation, scale and distortion errors that a single centre point would miss.

4. Correcting the error
Depending on the hardware, correction can be mechanical or software-based:
- Mechanical: adjust the camera mount, shim the bracket, or align the lens barrel.
- Software: apply an affine or homography transform, correct lens distortion, and compensate for parallax using distance.
- Hybrid: mechanically align the axes to a reasonable tolerance, then use software for residual correction.
Software correction is convenient, but it cannot recover detail that one camera did not capture, and it depends on a stable geometry. If the bracket moves with vibration or temperature, the correction must adapt or the design must be stiffened.
5. The installation variables
| Variable | Effect | What to check |
|---|---|---|
| Baseline between cameras | Parallax at close range | Minimum focus distance and target distance |
| Field-of-view mismatch | Different pixel scale | Common overlap and registration |
| Lens distortion | Non-uniform offset | Calibration across the field |
| Mount stiffness | Shift under vibration | Modal and shock test |
| Temperature | Focus and mount drift | Alignment at hot and cold limits |
| Gimbal backlash | Angle-dependent error | Repeatability in both axes |
6. Specifying the tolerance
“Aligned” is not a specification. Define:
- the angular error in milliradians or pixels at a stated IFOV;
- the target distance or range of distances;
- the field-of-view positions tested;
- the temperature range;
- the gimbal angles and vibration conditions;
- the acceptance method and the report.
A common mistake is to specify a pixel error at one camera’s resolution without saying which camera. A 2-pixel error in a 640×512 thermal image is a different angle from a 2-pixel error in a 1920×1080 visible image. Convert to angle or to a common reference.

7. Testing after installation
Run the alignment check after the payload is assembled and again after environmental testing. A vibration or thermal cycle can move a bracket or a lens. If the error changes beyond tolerance, the design needs a mechanical fix, not only a new software calibration.
For UAV payloads, test at the gimbal angles used in service and with the props or a shaker running if practical. For fixed security cameras, test at the installed tilt and with the sun load expected on the housing. The goal is to prove the alignment survives the real installation.
Frequently asked questions
Can I align EO/IR cameras without a collimator?
You can do a rough alignment with a distant target, but a repeatable measurement needs a known target and a method. A collimator or a temperature-controlled target reduces uncertainty.
Does software registration replace mechanical alignment?
No. Software can correct residuals, but a large mechanical error reduces overlap, wastes pixels and may not be stable. Align mechanically first, then correct the residual.
Why does alignment change when I zoom?
Zoom can move the optical axis or change distortion. If the visible camera zooms and the thermal camera does not, the registration must account for the changing scale and boresight.
Which ERDI products are relevant?
Dual-camera UAV and security products can use the ERUTM64-9 or ERUTM128 thermal core. Review the UAV gimbal integration guide and the integration checklist.
Next step: define the baseline, the working distance range, the fields of view and the acceptable angular error. Those four inputs determine whether mechanical alignment, software registration or both are needed. Contact ERDI for a dual-camera configuration review.
