From cdd73bb9c473de2752feaf1af1c5216c321cd631 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 26 Apr 2008 20:24:03 +0000 Subject: 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 --- graphics/panomatic/files/patch-panomatic-main.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 graphics/panomatic/files/patch-panomatic-main.cpp (limited to 'graphics/panomatic/files/patch-panomatic-main.cpp') diff --git a/graphics/panomatic/files/patch-panomatic-main.cpp b/graphics/panomatic/files/patch-panomatic-main.cpp new file mode 100644 index 000000000000..f25f34dc29ea --- /dev/null +++ b/graphics/panomatic/files/patch-panomatic-main.cpp @@ -0,0 +1,22 @@ +--- panomatic/main.cpp.orig 2008-03-10 21:19:09.000000000 +0100 ++++ panomatic/main.cpp 2008-04-26 20:26:30.000000000 +0200 +@@ -92,6 +92,7 @@ + MyOutput my; + cmd.setOutput(&my); + ++ ValueArg aArgScale("","scale", "Scale image with factor to detect keypoints (default:0.5)\n", false, 0.5, "float"); + SwitchArg aArgFullScale("","fullscale", "Uses full scale image to detect keypoints (default:false)\n", false); + SwitchArg aArgSurfExtended("","surf128", "Uses extended SURF (128 descriptors) (default:true)", true); + ValueArg aArgSurfScoreThreshold("","surfscore", "SURF Detection score threshold (default : 1000)\n", false, 1000, "int"); +@@ -175,8 +176,9 @@ + if (aArgSieve2Size.isSet()) ioPanoDetector.setSieve2Size(aArgSieve2Size.getValue()); + if (aArgLinearMatch.isSet()) ioPanoDetector.setLinearMatch(aArgLinearMatch.getValue()); + if (aArgLinearMatchLen.isSet()) ioPanoDetector.setLinearMatchLen(aArgLinearMatchLen.getValue()); +- if (aArgFullScale.isSet()) ioPanoDetector.setDownscale(false); +- ++ if (aArgFullScale.isSet()) ioPanoDetector.setScale(1.); ++ if (aArgScale.isSet()) ioPanoDetector.setScale(aArgScale.getValue()); ++ + if (aArgTest.isSet()) ioPanoDetector.setTest(aArgTest.getValue()); + if (aArgCores.isSet()) ioPanoDetector.setCores(aArgCores.getValue()); + -- cgit v1.2.3