summaryrefslogtreecommitdiff
path: root/graphics/panomatic/files/patch-panomatic-TestCode.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-TestCode.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-TestCode.cpp')
-rw-r--r--graphics/panomatic/files/patch-panomatic-TestCode.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/panomatic/files/patch-panomatic-TestCode.cpp b/graphics/panomatic/files/patch-panomatic-TestCode.cpp
new file mode 100644
index 000000000000..2146241344b4
--- /dev/null
+++ b/graphics/panomatic/files/patch-panomatic-TestCode.cpp
@@ -0,0 +1,18 @@
+--- panomatic/TestCode.cpp.orig 2008-03-10 20:17:33.000000000 +0000
++++ panomatic/TestCode.cpp 2008-03-11 08:52:59.000000000 +0000
+@@ -88,13 +88,10 @@
+ }
+
+ void TestCode::drawRansacMatches(std::string& i1, std::string& i2,
+- PointMatchVector_t& iOK, PointMatchVector_t& iNOK, Ransac& iRansac, bool iHalf)
++ PointMatchVector_t& iOK, PointMatchVector_t& iNOK, Ransac& iRansac, float iScale)
+ {
+- double aDoubleFactor = 1.0;
+- if (iHalf)
+- aDoubleFactor = 2.0;
++ double aDoubleFactor = 1.0 / iScale;
+
+-
+ std::cout << "writing file outcomp.png ..." << endl;
+
+ // write a side by side image with match pairs and