• 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
..
jna Loading commit data...
ExportForGPUDevelopment.java Loading commit data...
GPUTileProcessor.java Loading commit data...
GpuQuad.java Loading commit data...
JCuda_ImageJ_Example_Plugin.java Loading commit data...
TpTask.java Loading commit data...
package-info.java Loading commit data...