Typo where constant should follow config variable?
NicksonYap opened this issue · comments
Was going through the source code and found this line
OpenPano/src/stitch/transform_estimate.cc
Line 46 in ed87d3c
It's quite weird for the number 800 to appear here only
Probably it should be replaced with SIFT_WORKING_SIZE?
I'm really unsure
Line 19 in ed87d3c
Such that it from:
ransac_inlier_thres = (shape1.w + shape1.h) * 0.5 / 800 * RANSAC_INLIER_THRES;
to:
ransac_inlier_thres = (shape1.w + shape1.h) * 0.5 / SIFT_WORKING_SIZE * RANSAC_INLIER_THRES;
The 800 here is unrelated to SIFT_WORKING_SIZE
. It's merely a parameter and it can already be tuned by tuning RANSAC_INLIER_THRES
.