Home > Krita, Open Source > Aligning images (2)

Aligning images (2)

I have been making some progress on image adjustment, I am now able to estimate the distortion parameter and to correctly position the images:

The main problem I got was that I was trying to estimate the distortion parameters with two different set, one for the first image, and one for the second. The goal was to be the most general as possible, in case some one wants to create an image with pictures taken with different lens (or with a different focal distance), but it’s definitively not the most common use case, so it probably don’t fit in Krita’s use case for panorama creation.

The difference of color is caused because I use a naive blending algorithm, I will need to have a look at enblend to see how to improve that.

  1. Ants Aasma
    20 April, 2007 at 19:39

    You should probably also check out < HREF="http://smartblend.panotools.info/" REL="nofollow">Smartblend<>. The algorithms themselves are surprisingly simple for the results that they give.

  2. Matthias
    20 April, 2007 at 19:57

    Sorry if it sounds stupid, but why not just use (and maybe improve/contribute to) libpano and enblend instead of reinventing (worse and slower) algorithms?With libpano and enblend all the basics are covered and you could concentrate on a super perfect never seen before GUI.

  3. Samuel S. Weber
    21 April, 2007 at 11:44

    That smartblend is pretty cool.

  4. Cyrille Berger
    22 April, 2007 at 14:39

    Hum yes, I forgot about smartblend, I wonder how it behaves against eblend 3.0 (which include deghosting), the comparison linked from smartblend’s website are with an older version.@matthias, I didn’t use libpano for two reasons, one there is no documentation (no example of use, and not of the API, so I usually don’t fight with a library unless I believe it will be much much faster to use that library instead of reinventing the wheel), the second is I like to discover new stuff, new algorithm, and I strongly believe you need to write an implementation before you can consider you know how the algorithm works. As for worse, well the result of positioning and lens distortion are of the level of libpano, and as for speed, optimization alone (which is the only things I could scavenge from libpano) is a very fast operation, I didn’t find a difference between the two.In fact, my reference is http://www.cs.ubc.ca/~mbrown/panorama/panorama.html, but unfortunately they don’t give source and they charge for the software.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: