[ptx] Hugin not "optimizing"... The solution ?

JP jpok at freemail.hu
Tue Apr 26 22:40:08 BST 2005


Brian Innes a écrit :

>
> In the console terminal where I launched hugin from, these results are 
> shown:
>
> Optimizing Variables
> Strategy 2
> Average (rms) distance between Controlpoints
> after 0 iteration(s):          1.06572448955975 units
> Strategy 2
> Average (rms) distance between Controlpoints
> after 1 iteration(s):          1.06292067976743 units
> Strategy 2
> Average (rms) distance between Controlpoints
> after 2 iteration(s):          1.06292067801524 units
>
> So PTOptimizer is running from Hugin, but it seems results aren't 
> getting passed back to Hugin correctly.
>
I've trying to launch hugin from a terminal so I can watch the results. 
I saw Hugin can't locate PT_script.txt file. Here is the terminal outputs :

Average (rms) distance between Controlpoints
after 2 iteration(s):          6.56424764072731 units

ERROR: 23:15:54.836820 (Panorama.cpp:894) readOptimizerOutput(): Could 
not open PT_script.txt
ERROR: 23:16:06.812179 (Panorama.cpp:894) readOptimizerOutput(): Could 
not open PT_script.txt
ERROR: 23:16:16.939472 (Panorama.cpp:894) readOptimizerOutput(): Could 
not open PT_script.txt
ERROR: 23:16:26.935824 (Panorama.cpp:894) readOptimizerOutput(): Could 
not open PT_script.txt
ERROR: 23:16:35.690461 (Panorama.cpp:894) readOptimizerOutput(): Could 
not open PT_script.txt

I think the initial cause of the malfunction is here.
So I tried to specify the location of this file named PT_script.txt 
(name waited by the optimizer) in the file > preferences dialog (like 
this /tmp/PT_script.txt).
And, miracle ! It works !!

Thanks to all the contributors for resolving this problem.

Paul Atreides


More information about the ptX mailing list