[ptx] faster stitcher
Kai-Uwe Behrmann
ku.b at gmx.de
Mon Nov 24 09:03:00 GMT 2003
Hallo Pablo,
after copying the vigra-config in my executable path and libvigraimpex.a
to somewhere/lib configuring and compiling of hugin worked fine.
Great to render only the needed pixels. I tested it and obtained
an big speed up. The test consisted of 3 pics only fpr which I obtained
factor 2.7 speed up (65s-PT / 24s-Pablo).
Can You give me an hint where to search inside hugin for the handshake of
the image datas to vigra. I would like to add the missed offsets and look
where it is possible to write in the opened tiff in vigra.
What do You like to do with the *_dist.tif float grayscales?
Does it belong to Your planed credibility map approach?
Good work as usual. Thanks
Kai-Uwe
Am 23.11.03, 00:44 +0100 schrieb Pablo d'Angelo:
> 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
>
>
More information about the ptX
mailing list