[ptx] faster stitcher
Pablo d'Angelo
pablo at mathematik.uni-ulm.de
Sun Nov 23 00:24:55 GMT 2003
On Sat, 22 Nov 2003, Ed Halley wrote:
>
> 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?"
The stitcher needs vigra:
http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/
just download and install it. The fftw support is not needed, so you don't
need to isntall libfftw.
I have used vigra inside hugin before, but it does not depend on the impex
module for loading/saving image files, because I use the wxwindows
functions for it.
A real stitcher should eventually support 16/32/float/double images etc, for
which I need vigra.
> 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.
As I wrote, its a first version that I wrote in a few hours today, building
on the code for the preview. Usage:
./stitcher project.pto output_prefix
it can also write out the individual remapped images, by changing
stitcher.cpp:87 to
PTools::stitchPanoramaSimple(pano, pano.getOptions(), dest, basename);
(output is currently hardcoded to png...). well its just the first version.
If you want to change/add features, feel free to do so, like setting the
prefix according to PanoramaOptions and so on :)
Unfortunately I won't have time to polish it by porting more advanced interpolators
from panotools to vigra, a radial luminosity brightness tool and color
correction with a global optimizer. At least not tomorrow :)
And hugin also still has some bugs/glitches.
> And what will you call the new stitcher? Are there any Norse myths
> about needle-wielders or seamstresses? ;)
Oh, haven't thought about that yet ;) suggestions welcome. *g*
ciao
Pablo
More information about the ptX
mailing list