[ptx] faster stitcher

Ed Halley ed at halley.cc
Sat Nov 22 23:58:53 GMT 2003


Pablo, that all sounds awesome, until you got to the part where you
explained dependencies.  Can you reword it, thinking from the viewpoint
of "I have Hugin and wxGTK/wxWindows and panotools; what do I need to
get, install or change to use vigra and the new stitcher?"

I'll be happy to test the new stitcher thoroughly; most of my images are
off-center rectilinear or equirectilinear and have huge black swaths
that eat up memory and time.

And what will you call the new stitcher?  Are there any Norse myths
about needle-wielders or seamstresses?  ;)

On Sat, 2003-11-22 at 18:44, Pablo d'Angelo wrote:
> Hi,
> 
> Since I already had most things needed to stitch pictures already, I decided
> to write a stitcher that is a bit more efficient than PTSticher. The only
> real optimsation I did was to avoid remapping to many black pixels.
> 
> Currently, it supports all projections panotools support, but only bilinear
> interpolation and not color correction. Feathering is also not done.
> 
> The seam is placed so that pixels close to the image centers are choosen (I
> create something like the credibility image Bruno mentioned, except that its
> contains exactly the distance of the current point to the middle of the
> pic.) The resulting seams look similar to the ones created by PTSticher.
> 
> A small comparison with PTSticher, same pano, same interpolator,
> both compiled in Debug mode and -O:
> 
> PTSticher:
> real    7m57.109s
> user    7m21.200s
> sys     0m8.120s
> 
> My stitcher:
> real    1m55.364s
> user    1m37.900s
> sys     0m2.720s
> 
> The pano consisted of 18 images (1600x1200), the output size was 4800x900. (360°deg
> cylindrical, schweineburg, from my gallery page).
> 
> The stitcher is in the utils directory and need a installation of vigra
> (1.2.0), including impex. The fftw bindings are currently not needed.  I use
> it for reading/writing the files, so that I'm independant of wxWindows an
> can also support more than just 8 bit images in the future.  Hmm, there
> might be conflicts with the vigra include files, if the version packaged
> with hugin doesn't fit to the libs installed on the system. in that case
> just remove hugin/src/include/vigra and "make distclean; make".
> 
> No worries, hugin itself won't depend on a fully installed vigra in the forseeable
> future.
> 
> ciao
>   Pablo
> --
> http://wurm.wohnheim.uni-ulm.de/~redman/
> Please use PGP
-- 
[ e d @ h a l l e y . c c ]



More information about the ptX mailing list