summaryrefslogtreecommitdiff
path: root/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-26 20:24:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-26 20:24:03 +0000
commitcdd73bb9c473de2752feaf1af1c5216c321cd631 (patch)
tree10749cb9e9ff651da19e00499e638480c2e46317 /graphics/panomatic/files/patch-panomatic-PanoDetector.cpp
parent- Update to 0.28 (diff)
Pan-o-matic is a tool that automates the creation of control points in Hugin.
WWW: http://aorlinsk2.free.fr/panomatic/ PR: ports/121859 Submitted by: Iouri V. Ivliev <ii@any.com.ru>
Diffstat (limited to 'graphics/panomatic/files/patch-panomatic-PanoDetector.cpp')
-rw-r--r--graphics/panomatic/files/patch-panomatic-PanoDetector.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp b/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp
new file mode 100644
index 000000000000..3312d71e7aaa
--- /dev/null
+++ b/graphics/panomatic/files/patch-panomatic-PanoDetector.cpp
@@ -0,0 +1,22 @@
+--- 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;