Focus Shift After Adhesive Cure: What a Camera Module Should Promise
There is no universal number, and anyone who quotes one is guessing about your bond. For a well-designed module with a thin, symmetric bead...
read more…
Two camera module lines can both pass their own color limits and still produce modules that look different. The problem is usually not the calibration math; it is the target, the measurement geometry and the per-unit correction file. A line-level “adjust until it looks right” step hides the difference between the lens, the sensor and the IR-cut filter. The result is a pair of lines that match on the golden sample and drift apart on production. This guide defines a camera-module color specification that both lines can measure, correct and audit, with a shared master and a cross-line check.
A camera module does not emit color; it records it. Matching two lines means that the same scene, under the same illuminant, produces the same RGB values after the same processing. That depends on the lens transmission, the IR-cut filter, the sensor’s spectral response, the microlens and chief-ray angle, the module’s white balance and the image pipeline. A single color patch on a monitor is not enough to separate those contributions.
The specification should name the scene, the illuminant, the observer and the output space. A white patch under D65 is a different measurement from a white patch under a warm factory light. A raw RGB value is different from a value after white balance and gamma. The two lines should use the same definitions, or the numbers cannot be compared.
“Match the two lines” is also not the same as “match the master”. If line A is tuned to line B, an error on either line becomes the shared reference. Both lines should be calibrated to a retained master module that has a recorded spectral or tristimulus value. The custom optics service can help define the filter and coating part of that master, but the master itself must be measured and controlled.
Choose a target that exercises the colors the product must reproduce. A gray card checks the white balance and the tone curve; a color chart checks the hue and saturation errors; a white field checks the shading and the corner color. Use the same chart, the same illuminant and the same camera-to-target distance on both lines. A chart that is too small at the working distance turns the patches into a few pixels and adds sampling error.
Record the measurement geometry: the illuminant spectrum, the color temperature, the viewing angle, the distance, the aperture and the exposure. The lens shading changes with the aperture, and the IR-cut filter’s cutoff shifts with the angle. A measurement at f/2.8 is not comparable with one at f/8. The same is true for the white balance setting and the image pipeline.
Use a calibrated color target and a reference instrument where possible. The Imatest colorcheck workflow is one practical way to extract color error from a chart and to keep the measurement repeatable. The exact tool is less important than the record: chart ID, illuminant, geometry, exposure, white balance and processing version.

Lens shading is a radial change in brightness and color. It comes from the lens’s relative illumination, the coating and the angle of the chief ray at the sensor. A module with strong shading may look correct at the center and warm or dark at the corner. The soft-corner triage separates lens, holder tilt and sensor tilt; the color version of the same test compares the corner color with the center.
The sensor adds its own spectral response and microlens directivity. Two sensors with the same part number can differ in lot-to-lot response, especially in the red and near-infrared. The IR-cut filter adds a cutoff that shifts with angle and temperature. A filter that is correct on the axis can leak more at the corner, which appears as a color-dependent shading.
Measure the three contributions separately before tuning the module. A lens-only measurement on a reference sensor gives the lens transmission and shading. A sensor-only measurement with a uniform source gives the sensor response. A module measurement gives the combined result. If the module is off but the lens and sensor are both inside their limits, the filter or the assembly angle is the likely cause.
A line-level gain or white balance setting assumes that every module on the line behaves the same. That is convenient and usually wrong. A per-unit correction file, stored against the module serial number, can compensate for the lens and sensor variation that remains after assembly. The file should include the white balance gains, the color correction matrix and the shading correction, with a version number and a date.
The per-unit file also makes the two lines interchangeable. A module from line A can be moved to a position built on line B and keep its calibration, because the correction travels with the module. A line-level setting cannot do that; it is tied to the line’s own reference and drifts when the line’s lamp or sensor lot changes.
The correction should have limits. A module that needs an extreme correction is a process signal, not a candidate for a larger lookup table. Set a maximum correction range and reject modules outside it. The production test plan is the place to decide which color checks run on every unit and which run on a sample.
Before the two lines are released, run the same set of modules through both measurement stations. The study should include repeated measurements on the same unit, different operators and both stations. The result shows whether the lines disagree because the product differs or because the measurement differs.
| Check | What it catches | Acceptance idea |
|---|---|---|
| Repeatability | Same unit, same station, repeated | Station variation inside a set fraction of tolerance |
| Reproducibility | Different operators or stations | No shift larger than the color tolerance |
| Master check | Instrument drift or lamp change | Master reads inside its control band |
| Line bias | One line consistently warmer or greener | Bias corrected or the line held |
| Corner check | Shading or angle-dependent filter shift | Corner color inside the module limit |
The study should use the same chart and the same processing version on both lines. If the stations use different instruments, profile them against a common reference and record the correction. Do not assume two color meters agree because they are the same model; lamps, filters and aging can differ.
Write the specification as a set of fields that both lines can fill. The table is a starting structure; the numbers come from the product requirement and the process capability.
| Field | What to state | Why it matters |
|---|---|---|
| Reference | Master module ID and its measured values | One target for both lines |
| Illuminant | Spectrum, color temperature, intensity | Color changes with the light |
| Geometry | Distance, angle, aperture, exposure | Shading and cutoff shift with angle |
| Target | Chart type, patch set, chart ID | Comparable measurements |
| Metric | ΔE00, chromaticity, luminance | A number, not “looks close” |
| Limit | Module-to-master and line-to-line | Separate product and process limits |
| Correction | Per-unit file, version, range | Travels with the module |
| Audit | Master check and drift reaction | Catches lamp and lot changes |
A useful requirement is: each module shall be within a stated ΔE00 of the master under the defined illuminant and geometry, and the mean difference between the two lines shall be smaller than the module limit. The per-unit correction file shall be stored against the serial number, and the correction range shall be limited so that an outlier is rejected rather than absorbed.
Release the line only after the cross-line study passes. Then check the master at the start of each shift, after a lamp change, after a camera or lens lot change and after any software update. A master that moves outside its control band is a measurement problem until proven otherwise; do not adjust the product to follow a drifting instrument.
Keep a retained sample from each line and each lot. The samples let a later disagreement be traced to a product change or a measurement change. Trend the color error and the correction range; a slow rise in the correction range is an early sign of a lens or filter lot shift.
If a line drifts, stop and check the three contributions in order: lens, sensor and filter. A line that changes only at the corner is likely a shading or angle issue. A line that changes uniformly is more likely a sensor or illuminant issue. The order saves time and prevents a blanket recalibration that hides the cause.
Matching color across two module lines? Fix the master, the geometry and the per-unit correction before tuning the line. Review the custom optics options for the filter and coating side of the build.
No. Both lines should calibrate to a retained master. Line-to-line tuning makes one line’s error the shared reference.
It checks white balance, not hue or saturation. Use a chart that covers the colors the product must reproduce.
Lens shading, chief-ray angle and filter cutoff all change with field. Measure the corner separately from the center.
It is the cleanest way to keep modules interchangeable across lines. A line-level setting is tied to the line’s own reference.
Color matching is a measurement system before it is a calibration step. When both lines measure the same master the same way, the remaining differences are product differences that can be found and fixed.