• Andrey Filippov's avatar
    CLAUDE: per-sensor lwir photometric recalibration + JNA bayer-guard fix · ebef0b23
    Andrey Filippov authored
    curt_cond_test rework: both PERSENSOR stacks now converted with the test's
    own uniform sensor-domain task grid (scale 1.0) instead of leftover GPU
    state (MB secondary tasks with negative fractional scales made 'raw'
    renders = -1/6 x input; leftover virtual-view grid lost the same border
    ROI on every sensor). perSensorFromRawJp4 no longer overwrites the scene's
    conditioned image_data.
    
    GpuQuadJna.setBayerImages(force,center) restored the base-class skip-guard
    via a native-side jna_bayer_set flag (gpuTileProcessor is null in JNA shell
    instances): every execConvertDirect unconditionally re-pulled
    quadCLT.getResetImageData(), silently clobbering explicit uploads - made
    the raw baseline bit-identical to the conditioned render.
    
    CuasMotion.perSensorLinearFit(): per-sensor a+b*x photometric fit over
    safe tiles (weak strength<0.5 or far disparity<1 from -INTER-INTRA-LMA,
    inner rect, 8x8 tile->pixel map) against the cross-sensor mean, gauge
    keep_averages (mean offset 0, mean scale 1), 3-sigma outlier rejection.
    Validated on 1773135476_186641: sensor-mean spread 1353->5 counts,
    cross-sensor RMS 358->17 (inliers), b in 0.83..1.11.
    
    CuasMotion.applyLwirLinearCalibration(): folds the fit into the 16+16
    lwir offsets/scales (scale'=b*scale, offset'=offset-a/scale'), updates the
    center instance + photometric_scene provenance, saves -INTERFRAME.corr-xml.
    Applied the standard way at load they compensate the remaining per-sensor
    mismatch of the raw /jp4/ tiffs.
    Co-Authored-By: 's avatarClaude Fable 5 <noreply@anthropic.com>
    ebef0b23
Name
Last commit
Last update
..
calibration Loading commit data...
cameras Loading commit data...
common Loading commit data...
correction Loading commit data...
cuas Loading commit data...
dct Loading commit data...
gpu Loading commit data...
ims Loading commit data...
jp4 Loading commit data...
lwir Loading commit data...
mcp Loading commit data...
orthomosaic Loading commit data...
readers Loading commit data...
tensorflow Loading commit data...
tileprocessor Loading commit data...
vegetation Loading commit data...
x3d/export Loading commit data...