From 2dc83000f642298a849fe966a180a0c8ee240835 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 3 Oct 2012 15:01:55 +0000 Subject: - Fix build with clang - Switch to SF mirror - Add USE_DOS2UNIX PR: ports/171859 Approved by: Iouri Ivliev (maintainer) --- .../files/patch-panomatic-PanoDetector.cpp | 40 ++++++++++------------ 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'graphics/panomatic/files/patch-panomatic-PanoDetector.cpp') diff --git a/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp b/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp index 3312d71e7aaa..9094481aefb2 100644 --- a/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp +++ b/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp @@ -1,22 +1,20 @@ ---- panomatic/PanoDetector.cpp.orig 2008-03-10 21:17:33.000000000 +0100 -+++ panomatic/PanoDetector.cpp 2008-04-26 20:15:44.000000000 +0200 +--- panomatic/PanoDetector.cpp.orig 2008-03-10 20:17:33.000000000 +0000 ++++ panomatic/PanoDetector.cpp 2012-09-24 12:02:46.529117189 +0000 @@ -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; + _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,7 +67,7 @@ + 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 << " Scale factor : " << _scale << endl; + cout << "SURF Options" << endl; + cout << " Extended : " << (_extendedSurf?"yes":"no") << endl; + cout << " Score threshold : " << _surfScoreThreshold << endl; -- cgit v1.2.3