• Andrey Filippov's avatar
    CLAUDE: undistortPxPy(): invert correction direction (getRDistByR) · 79c105c4
    Andrey Filippov authored
    The RECTILINEAR nadir pass multiplied sampling coordinates by getRByRDist()
    (distorted->ideal), but sampling positions must be moved to where the ideal
    ray lands in the distorted image - the FORWARD distortion getRDistByR(),
    same direction as GeometryCorrection.getImageCoordinates(). The old code
    ADDED the common radial distortion to the output instead of removing it.
    
    Evidence (graveyard ref 1763232420_274928, flat constant-disparity terrain
    where translation flow must be uniform for a true pinhole image):
    - plain NADIR-MERGED edge/center flow ratio 0.965 (expected 0.954 from the
      calibration polynomial: ~4.8 px barrel at the edge),
    - old RECTILINEAR 0.952 - worse than uncorrected,
    - COLMAP self-calibrated f=1003/k1=-0.385 on the old rectilinear stack.
    Co-authored-by: 's avatarClaude <claude@elphel.com>
    79c105c4
Name
Last commit
Last update
docs Loading commit data...
eclipse_project_setup Loading commit data...
focusing_data_files Loading commit data...
ij_macros Loading commit data...
ijplugins Loading commit data...
scripts Loading commit data...
src/main Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
Eyesis_Correction.xml Loading commit data...
INSTALL-CODEX-ECLIPSE.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
mcp.allowed.example Loading commit data...
pom.xml Loading commit data...