gtsfm icon indicating copy to clipboard operation
gtsfm copied to clipboard

use pixel thresholds relative to image size

Open johnwlambert opened this issue 3 years ago • 1 comments

Make pixel thresholds a function of the image size, to avoid treating 480p and 1296p images differently.

A good reference is http://phototour.cs.washington.edu/ModelingTheWorld_ijcv07.pdf: We set the RANSAC outlier threshold to be 0.6% of the maximum image dimension, i.e., 0.006 max(image width,image height) (about six pixels for a 1024×768 image).

COLMAP users also complain about how in COLMAP this is hard-coded in their issue #1278.

johnwlambert avatar Sep 16 '21 12:09 johnwlambert