hugin under debian woody

Frederic frederic at gbiloba.org
Thu Oct 2 16:05:57 BST 2003


On Thursday 02 October 2003 11:46, Pablo d'Angelo wrote:

> But if you don't you can set PTStitcher / PTOptimizer in ~/.huginrc:
>
> [PanoTools]
> PTStitcherExe=/path/to/PTStitcher

Ok, it works. But the result is only my first picture !!! When I click on
'Calculate visible field of view, I obtain the field of view of my shots, plus one.
So, if I have pictures taken with a 38mm foccal lens (about 59 degres fov), I obtain
a hov of 60...

I detected another problem: when I reload a project, I get:

TRACE 13:22:15.023456 (MainFrame.cpp:310) OnLoadProject():
TRACE 13:22:17.296983 (PanoramaMemento.cpp:418) loadPTScript():
DEBUG 13:22:17.297215 (PanoramaMemento.cpp:431) loadPTScript(): p line: p f2 w3000 h674 v169  k0 n"JPEG q90 g"
DEBUG 13:22:17.297498 (PanoramaMemento.cpp:442) loadPTScript(): options.VFOV: 37,9687 ratio: 0,224667
DEBUG 13:22:17.297626 (Panorama.cpp:121) getPTStringParam(): p:27 e:37
DEBUG 13:22:17.297677 (Panorama.cpp:123) getPTStringParam(): output: ##JPEG q90 g##
DEBUG 13:22:17.297746 (PanoramaMemento.cpp:467) loadPTScript(): m line: m g1 i0
DEBUG 13:22:17.297813 (PanoramaMemento.cpp:467) loadPTScript(): m line:
DEBUG 13:22:17.297901 (PanoramaMemento.cpp:477) loadPTScript(): i line: i w1280 h960 f0 a0 b-0,01 c0 d0 e0 p0 r0 v50 y0  u10 n"P4080001.JPG"
DEBUG 13:22:17.297989 (Panorama.cpp:132) readVar(): r:0
DEBUG 13:22:17.298097 (Panorama.cpp:132) readVar(): p:0
DEBUG 13:22:17.298164 (Panorama.cpp:132) readVar(): y:0
DEBUG 13:22:17.298245 (Panorama.cpp:132) readVar(): a:0
DEBUG 13:22:17.298310 (Panorama.cpp:132) readVar(): b:-0,01
DEBUG 13:22:17.298385 (Panorama.cpp:132) readVar(): c:0
DEBUG 13:22:17.298446 (Panorama.cpp:132) readVar(): d:0
DEBUG 13:22:17.298506 (Panorama.cpp:132) readVar(): e:0
DEBUG 13:22:17.298565 (Panorama.cpp:132) readVar(): v:50
DEBUG 13:22:17.298650 (Panorama.cpp:121) getPTStringParam(): p:55 e:67
DEBUG 13:22:17.298703 (Panorama.cpp:123) getPTStringParam(): output: ##P4080001.JPG##
DEBUG 13:22:17.298750 (PanoramaMemento.cpp:570) loadPTScript(): filename: /home/fma/perso/photo/panotools-tests/P4080001.JPG
DEBUG 13:22:17.298811 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080001.JPG
DEBUG 13:22:17.298907 (PanoramaMemento.cpp:477) loadPTScript(): i line: i w1280 h960 f0 a=0 b=0 c=0 d0 e0 p0 r0 v=0 y0  u10 n"P4080002.JPG"
DEBUG 13:22:17.298976 (Panorama.cpp:132) readVar(): r:0
DEBUG 13:22:17.299040 (Panorama.cpp:132) readVar(): p:0
DEBUG 13:22:17.299102 (Panorama.cpp:132) readVar(): y:0
DEBUG 13:22:17.299175 (Panorama.cpp:132) readVar(): a:=0
DEBUG 13:22:17.299237 (Panorama.cpp:132) readVar(): b:=0
DEBUG 13:22:17.299295 (Panorama.cpp:132) readVar(): c:=0
DEBUG 13:22:17.299353 (Panorama.cpp:132) readVar(): d:0
DEBUG 13:22:17.299413 (Panorama.cpp:132) readVar(): e:0
DEBUG 13:22:17.299473 (Panorama.cpp:132) readVar(): v:=0
DEBUG 13:22:17.299553 (Panorama.cpp:121) getPTStringParam(): p:54 e:66
DEBUG 13:22:17.299605 (Panorama.cpp:123) getPTStringParam(): output: ##P4080002.JPG##
DEBUG 13:22:17.299651 (PanoramaMemento.cpp:570) loadPTScript(): filename: /home/fma/perso/photo/panotools-tests/P4080002.JPG
DEBUG 13:22:17.299714 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080001.JPG
DEBUG 13:22:17.299759 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080002.JPG
DEBUG 13:22:17.299853 (PanoramaMemento.cpp:477) loadPTScript(): i line: i w1280 h960 f0 a=0 b=0 c=0 d0 e0 p0 r0 v=0 y0  u10 n"P4080003.JPG"
DEBUG 13:22:17.299921 (Panorama.cpp:132) readVar(): r:0
DEBUG 13:22:17.299983 (Panorama.cpp:132) readVar(): p:0
DEBUG 13:22:17.300044 (Panorama.cpp:132) readVar(): y:0
DEBUG 13:22:17.300130 (Panorama.cpp:132) readVar(): a:=0
DEBUG 13:22:17.300193 (Panorama.cpp:132) readVar(): b:=0
DEBUG 13:22:17.300251 (Panorama.cpp:132) readVar(): c:=0
DEBUG 13:22:17.300308 (Panorama.cpp:132) readVar(): d:0
DEBUG 13:22:17.300367 (Panorama.cpp:132) readVar(): e:0
DEBUG 13:22:17.300428 (Panorama.cpp:132) readVar(): v:=0
DEBUG 13:22:17.300513 (Panorama.cpp:121) getPTStringParam(): p:54 e:66
DEBUG 13:22:17.300564 (Panorama.cpp:123) getPTStringParam(): output: ##P4080003.JPG##
DEBUG 13:22:17.300610 (PanoramaMemento.cpp:570) loadPTScript(): filename: /home/fma/perso/photo/panotools-tests/P4080003.JPG
DEBUG 13:22:17.300671 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080001.JPG
DEBUG 13:22:17.300715 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080002.JPG
DEBUG 13:22:17.300759 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080003.JPG
DEBUG 13:22:17.306472 (PanoramaMemento.cpp:587) loadPTScript(): v line: v
DEBUG 13:22:17.306556 (PanoramaMemento.cpp:587) loadPTScript(): v line:
DEBUG 13:22:17.311882 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080001.JPG
DEBUG 13:22:17.311960 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080002.JPG
DEBUG 13:22:17.312006 (PanoImage.cpp:93) PanoImage(): PanoImage dtor, image= /home/fma/perso/photo/panotools-tests/P4080003.JPG
Aborted

And hugin stops.

> I'll probably add a next and prev button like in the other GUI's, that
> just moves to the next / previous images on both tabs.

Good.

> I usually use horizontal/vertical control points in the same image to
> help the optimizer to tune pitch and yaw for all images.

You are right.

> I don't have time to comment this in detail, but acutally I want to
> automate the control point selection to the point where control poins
> are created automatically, and you might only need to remove bad ones.

It is a better idea :o)

-- 
   Frederic

   http://www.gbiloba.org



More information about the ptX mailing list