• Pavel Rojtberg's avatar
    CvLevMarq: remove fixed rows instead of setting them to zero · 22b64e2c
    Pavel Rojtberg authored
    use the same approach like in fisheye calibration: instead of setting
    masked out rows to zero, remove them from the equation system.
    This way JtJ does not become singular and we can use the much faster LU
    decomposition instead of SVD.
    
    This results in a speedup of the Calibrate unit tests of 3x-10x.
    22b64e2c
compat_ptsetreg.cpp 13.4 KB