NEWS

ALG-TECH Stereo Technology: High-Precision Stereo Imaging Based on AA Optical-Center Alignment

Author:艾利光科技 Release Time:2026-11-26 85Views

Stereo cameras measure depth and reconstruct 3D space through the principle of binocular disparity, inspired by human vision. They are now widely deployed in Embodied AI robotics, AR interaction, automotive vision, and industrial inspection. As a professional machine vision product and solution provider, ALG-TECH has leveraged years of accumulated optical expertise to achieve full AA (Active Alignment) process coverage across its camera portfolio, using precision active-alignment manufacturing to enable high-accuracy stereo vision products.

Part 01: The Core Principles of Binocular Stereo Imaging

Binocular stereo vision mimics the way human eyes perceive the world. Based on triangulation and the disparity principle, two synchronized cameras capture images simultaneously, and spatial depth is computed from pixel offsets — transforming 2D images into 3D spatial reconstruction. It is the foundational perception technology for robots, vehicles, and AR.

Bionic Parallax and the Parallel Stereo Geometry Model

A stereo camera uses two parallel optical axes arranged along the same horizontal baseline, for which the depth formula Z = Bf/d holds, where:

Z = B × f / d

· B: physical distance between the left and right optical centers (baseline)

· f: lens focal length

· d: horizontal disparity

· Z: depth of the target

The rule: the closer the object, the larger the disparity d and the smaller the depth Z; the farther the object, the closer the disparity approaches 0 and the harder accurate ranging becomes.

The Four-Step Workflow of Complete Stereo Imaging

A complete stereo depth output consists of four steps: calibration → stereo rectification → stereo matching → depth reconstruction.

1. Camera calibration: a checkerboard pattern is used to solve for the camera intrinsics (focal length, distortion) and stereo extrinsics (relative pose), eliminating native lens distortion.

2. Epipolar rectification: geometric transformation of the images so that matching point pairs fall on the same horizontal line (epipolar line); matching is thereby simplified from a full-image search to a single-row search.

3. Stereo matching: corresponding points between the left and right views are matched pixel by pixel, and pixel differences are computed to generate a disparity map.

4. Depth conversion and 3D reconstruction: the depth formula is applied to generate a depth map, from which a 3D point cloud is further derived.

Part 02: How Optical-Center Alignment Affects Stereo Vision

Optical-center alignment refers to the assembled spatial position of the left and right lens optical centers, together with the parallelism of the two optical axes and the coplanarity of the two imaging planes. In an ideal standard stereo pair:

· The left and right optical centers lie on the same horizontal baseline (X-axis).

· The two optical axes are strictly parallel and perpendicular to the baseline.

· The left and right image sensors lie on the same plane.

In real production and assembly, however, zero theoretical tolerance is unachievable. Various mechanical offsets and angular deviations break the ideal stereo geometric constraints. Even with software-based stereo calibration compensation, once errors exceed the acceptable limit, problems arise: the optical axes become difficult to align and the rectified images are excessively cropped.


The Compensation Limit of Calibration and Rectification

Camera calibration can only correct offsets through intrinsic/extrinsic parameter algorithms — and that correction has limits:

· Minor assembly deviations: calibration plus stereo rectification can essentially level the epipolar lines.

· Excessive optical-center offset (e.g., vertical deviation greater than 20 pixels): the rectified images suffer severe distortion and corner cropping; a hardware defect of this magnitude cannot be fully remedied by software.

Why Optical Axes Remain Misaligned After Calibration When Assembly Error Is Too Large

1. Calibration can only optimize parameters; it cannot correct physical hardware misalignment.

· Sensor PCB offset: the CMOS image sensor is shifted up/down or left/right relative to the lens mount (the physical principal point deviates from the lens's geometric optical center).

· Lens tilt/yaw: the left and right lens optical axes are physically tilted or non-parallel.

· Module bracket deformation: the left and right modules are vertically misaligned and the baseline is tilted.

Calibration algorithms (Zhang's calibration plus stereo calibration) solve for an optimal rotation matrix R and translation vector T on imaging data produced by deformed hardware:

· Intrinsic optimization can only correct the principal-point coordinates in the pixel coordinate system (the image optical center); it cannot change the actual spatial orientation of the lens's physical optical axis.

· Extrinsic optimization compensates for lens tilt through rotation R, but rotational compensation has a physical limit: once monocular distortion and imaging distortion are coupled, no single set of R/T can simultaneously make the epipolar lines strictly horizontal across the entire field of view while keeping the optical axes parallel in space.


2. Coupling of distortion and assembly errors exacerbates the optical-center alignment problem.

Radial and tangential lens distortion are inherent lens properties, and assembly eccentricity introduces additional tangential distortion. Under large assembly errors, distortion coefficients, principal point, and extrinsics become mutually coupled. To minimize reprojection error, the algorithm compromises: it either sacrifices optical-axis parallelism to reduce reprojection error, or forcibly levels the epipolar lines at the cost of abnormal distortion correction. Optical-axis alignment and low reprojection error cannot be satisfied simultaneously.

Why Large Assembly Errors Cause Extensive Image Cropping After Calibration

Stereo rectification is a critical post-calibration step: a rectification mapping table is generated from the calibrated R/T, projecting the two distorted images onto an idealized virtual stereo imaging plane with parallel optical axes, achieving horizontal epipolar matching.

1. Rectification requires large perspective transformation of the images

When lens pitch, vertical misalignment, or a large inter-axis angle exists, the algorithm must apply large rotations, translations, and perspective stretching to map both images onto coplanar, parallel rectification planes. The consequences:

· Corner pixels of the original images fall outside the valid pixel boundary after rectification mapping.

· To guarantee that the valid fields of view of both rectified images overlap completely, the algorithm must crop all pixels outside the overlapping region — the larger the assembly deviation, the more edge pixels must be cropped.

In other words, before rectification the epipolar lines of the left and right images are misaligned; after rectification, perspective stretching generates black cropped regions along the image edges, leaving only the central overlapping field as valid. The larger the assembly error, the greater the proportion of cropped black borders.



2. Principal-point (image optical center) offset causes additional cropping

Assembly eccentricity causes the principal point to shift substantially across the pixel plane after monocular calibration. Since rectification reconstructs the image around the ideal principal-point position, one side of the image shifts wholesale toward the edge, and large areas of edge pixels are cropped.

When errors exceed the acceptable limit, calibration alone still leaves the optical axes hard to align and the rectified images excessively cropped — incompatible with the mass-production requirements of high-precision stereo cameras. AA (Active Alignment) uses real-time imaging feedback during assembly to dynamically fine-tune the relative position between lens and sensor, directly correcting pitch, yaw, optical-center offset, and other errors at the assembly stage.

Part 03: ALG-TECH's AA Optical-Center Alignment Process

AA (Active Alignment) is the core precision assembly process for high-end optoelectronic module mass production. ALG-TECH has achieved full AA process coverage across its entire stereo product line. Through real-time closed-loop optical inspection plus six-axis dynamic fine-tuning and fixation, it thoroughly resolves the tolerance bottleneck of traditional passive assembly and establishes a high-precision optical benchmark for stereo systems.

The Technical Bottleneck of Traditional Passive Assembly

Traditional camera modules rely on passive assembly — screw locking plus mechanical fixture positioning — so imaging accuracy depends entirely on component machining tolerances and fixture positioning accuracy, with overall assembly errors reaching tens of microns. For high-precision stereo systems, lens eccentricity greater than 5 μm alone can cause permanent defects such as resolution degradation, edge vignetting, image distortion, and optical-axis deviation — failing to meet the parallelism and coplanarity benchmarks required for stereo vision.

A Dual-Core Calibration System: Individual Self-Alignment Plus Stereo Co-Alignment

Individual Self-Alignment (the Foundational Benchmark for Monocular Imaging)

Each left and right lens is independently and precisely optically tuned so that the lens optical center coincides with the sensor's physical center with high precision, and the optical axis is strictly perpendicular to the imaging plane. This fundamentally prevents monocular defects such as uneven resolution, native distortion, and edge blur caused by optical-center offset or axis tilt. Only after each channel's optical parameters pass full inspection on the T10 system can it proceed to stereo pairing — eliminating inherent monocular hardware flaws at the source.

The T10 software calibration pass screen: ALG-TECH's proprietary T10 camera test software measures optical-center offset, tilt angle, and full-field MTF resolution online during mass production, judging PASS only when all parameters meet specifications, thus completing individual self-alignment verification.

Stereo Co-Alignment (the Core Benchmark for Depth Ranging)

Once the monocular benchmark is met, stereo pairing calibration is performed to strictly ensure that the two optical axes are highly parallel, the baseline distance conforms to design tolerances, and the left and right epipolar lines are horizontally aligned. This faithfully reproduces the ideal parallel stereo geometric model, keeps the disparity computation logic intact and effective, and thoroughly prevents systemic failures — such as ranging drift, distorted 3D models, and AR virtual-real misalignment — caused by baseline offset or optical-axis angle errors.

A Fully In-House, End-to-End Quality Control System

ALG-TECH has built a fully proprietary closed-loop precision production line, keeping the entire workflow — AA assembly, optical inspection, hermetic sealing, and reliability burn-in — fully under its own control:

· Precision AA assembly: six-axis fine-adjustment precision fixtures complete both dimensions of active alignment — individual self-alignment and stereo co-alignment — in one station.

· Optical inspection: the in-house T10 test system quantifies optical-center offset, tilt angle, and full-field MTF parameters, screening every unit optically.

· Hermeticity inspection: the CD300 high-precision leak detector tests cavity sealing, preventing lens fogging and precision drift caused by moisture ingress.

· High-temperature burn-in: simulating long-term powered operation, it verifies the stability of the adhesive-locked structure and prevents optical-axis drift or structural loosening over long service life.


With its full-stack AA active optical-center alignment process, ALG-TECH resolves industry pain points such as stereo optical-center misalignment, optical-axis skew, disparity distortion, and ranging drift — delivering professional, reliable, high-precision stereo vision solutions for automotive perception, intelligent robotics, AR spatial computing, industrial 3D inspection, and other high-end applications.