freebsd-ports/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp

23 lines
1.1 KiB
C++
Raw Normal View History

--- panomatic/PanoDetector.cpp.orig 2008-03-10 21:17:33.000000000 +0100
+++ panomatic/PanoDetector.cpp 2008-04-26 20:15:44.000000000 +0200
@@ -26,7 +26,7 @@
_sieve1Width(10), _sieve1Height(10), _sieve1Size(10),
_kdTreeSearchSteps(40), _kdTreeSecondDistance(0.15), _sieve2Width(5), _sieve2Height(5),
_sieve2Size(1), _test(false), _cores(utils::getCPUCount()), _ransacIters(1000), _ransacDistanceThres(25),
- _minimumMatches(4), _linearMatch(false), _linearMatchLen(1), _downscale(true)
+ _minimumMatches(4), _linearMatch(false), _linearMatchLen(1), _scale(0.5)
{
}
@@ -67,8 +67,8 @@
cout << "Output file : " << _outputFile << endl;
cout << "Number of CPU : " << _cores << endl << endl;
cout << "Input image options" << endl;
- cout << " Downscale to half-size : " << (_downscale?"yes":"no") << endl;
- cout << "SURF Options" << endl;
+ cout << " Scale factor : " << _scale << endl;
+ cout << "SURF Options" << endl;
cout << " Extended : " << (_extendedSurf?"yes":"no") << endl;
cout << " Score threshold : " << _surfScoreThreshold << endl;
cout << "Sieve 1 Options" << endl;