Here’s the ISP override file I’m using. This is the Char-lite Calibration output from nv_wrapper v1.8.0:
# Char-lite Calibration
# command: nv_wrapper 0 optical_black_file ..\imx477\outputs\ob.cfg lsc ..\imx477\outputs\lsc.cfg awb ..\imx477\outputs\awb.cfg ccm ..\imx477\outputs\ccm.cfg public_params public_params.cfg out_name ..\imx477\outputs\camera_overrides.isp
# version: 1.8.0
# created on: 16-Jul-2020 17:10
Auto Exposure:
ae.MeanAlg.HigherTarget = 120;
ae.MeanAlg.LowerTarget = 120;
ae.MeanAlg.HigherBrightness = 10000;
ae.MeanAlg.LowerBrightness = 600;
ae.MeanAlg.SlopFactor = 0.3;
ae.MeanAlg.MinTailMass = 0.001;
ae.MeanAlg.CriticalMass = 0.015;
ae.MeanAlg.ConvergeSpeed = 0.5;
ae.MaxFstopDeltaPos = 0.4;
ae.MaxFstopDeltaNeg = 0.5;
defaults.autoFramerateRange = {7.5, 120.0};
ae.PerChannelGainAdjustment = {1.0, 1.0, 1.0, 1.0};
Flicker:
flicker.ConfidenceThreshold = 32;
flicker.SuccessFrameCount = 8;
flicker.FailureFrameCount = 3;
flicker.CorrectionFreqList = {100, 120};
AWB:
awb.NumGrayLineSoftClampPoints = 2;
awb.GrayLineSoftClamp[0] = {0.9268, 0.9268};
awb.GrayLineSoftClamp[1] = {1.6582, 1.6582};
awb.GrayLineThickness = 0.0088;
awb.HighU = 1.6582;
awb.LowU = 0.9268;
awb.GrayLineSlope = -0.9946;
awb.GrayLineIntercept = 2.4544;
awb.module_cal_enable = 0;
AWB v4:
awb.v4.NumGrayLineSoftClampPoints = 3;
awb.v4.GrayLineSoftClamp[0] = {0.9268, 0.9268};
awb.v4.GrayLineSoftClamp[1] = {0.9268, 0.9268};
awb.v4.GrayLineSoftClamp[2] = {1.6582, 1.6582};
awb.v4.GrayLineThickness = 0.0442;
awb.v4.HighU = 1.6582;
awb.v4.LowU = 0.9268;
awb.v4.FusionNumLights = 5;
CCM (Color Correction Matrix):
colorCorrection.srgbMatrix[0] = {1.53743000, -0.19831000, 0.05253000};
colorCorrection.srgbMatrix[1] = {-0.20559000, 1.69073000, -0.45222000};
colorCorrection.srgbMatrix[2] = {-0.33184000, -0.49242000, 1.39969000};
Optical Black:
opticalBlack.manualBiasR/GR/GB/B = 64;
opticalBlack.float.manualBias = 0.06256109;
Lens Shading:
ap15Function.lensShading = TRUE;
lensShading.module_cal_enable = 0;
lensShading.falloff_factor = 20;
lensShading.falloff_PointsCount = 6;
lensShading.imageHeight = 1944;
lensShading.imageWidth = 2592;
lensShading.ctrlPointsCount = 3;
lensShading.ctrlPoints[0].cct = 2856 (light_family=1);
lensShading.ctrlPoints[1].cct = 4000 (light_family=2);
lensShading.ctrlPoints[2].cct = 6500 (light_family=1);
Noise Reduction v2: {1, 2, 3, 5, 6, 7, 7} across all modes
Noise Reduction v6: Chroma and Luma enabled, GainThreshold Chroma=1.0, Luma=2.0
Sharpness v2 is {3, 3, 5, 5, 5, 5, 5} and Tone Curve is Gamma=2.4 across all 9 presets with standard curve control.
One thing I notice: the CCM matrix looks like it was calibrated once and we’re applying the same matrix to all cameras. I haven’t tried swapping lenses between good/bad units yet — that’s a good call. I’ll do that and report back. But given the magnitude of the red shift (Red at ~250 while Green/Blue at ~205-210), I’d be surprised if the lens is the culprit.