Panorama project

Bruno Postle bruno at postle.net
Sun May 4 15:15:46 BST 2003


On Fri 02-May-2003 at 05:38:00 +0200, Pablo d'Angelo wrote:
> 
> I used imagemagick because of the following: it can read more
> excotic image (16 bit tiff or so) formats (actually I haven't
> check if wxwindows can do that), and when I want to analyse the
> image (ctrl point fine tune or searching), I need access to the
> pixels anyway, and image magick comes with support for different
> functions of that.  So this could also be made GUI independant.

ImageMagick is very good for reading and writing an enormous range
of file formats; on the other hand, wx is linked against libpng and
libtiff, so it's probably ok *reading* 16 bit per channel tiff/png
images.

You can read individual pixels with ImageMagick, but there are no
methods for getting interpolated values - You have to implement
interpolation yourself, or use Helmut's library to extract remapped
portions of images.

> does imagemagick run on the mac as well?

It does.

Slightly off-topic: I discovered the reason why I couldn't get the
ptopengui sources to even open with Kylix on linux - Apparently
Borland Kylix *only* works with redhat-7.2 :-(

> the process interface is also different for windows. actually the
> windows versions of PTOptimizer open a window, and the linux
> version just prints some stuff to the terminal, so that needs to
> be encasulated somewere as well. Probably the runOptimizer() and
> runStitcher() commands should be encapsulated in their own class,
> that just uses the panorama model to do the nessecary stuff.  some
> day we might even include the PT optimizer in our code.

PTOptimizer is just a wrapper for a function which exists in the
libpano library.  PtGUI calls the library directly, which then
displays the progress dialogs just as it does when you run
PTOptimizer.exe.

I not sure what the differences are between the windows and linux
sources for the library - There are some patched versions floating
around too, it would be good to get all this stuff into one cvs
tree.

-- 
Bruno



More information about the ptX mailing list