On Fri, Jul 17, 2009 at 04:20:07AM -0700, Bart van Andel wrote:
> 
> On 17 jul, 09:00, Rogier Wolff <rew-googlegro...@bitwizard.nl> wrote:
> > > Well, by "rotated 45 degrees" I just mean rotated by tilting the
> > > camera. And why would it need a lot of code change?
> >
> > Yes. But you can't store them in a file that way.
> 
> Of course, I know. They can be stored in 90 degree increments.
> >
> > Let me explain by showing you my workflow....
> > [...]
> 
> That more or less answers my question. By pretty obvious preprocessing
> the images you can effectively work around the Hugin limitation of
> combining landscape and portrait orientation images from the same
> camera into one lens. "Forgetting" an image shows where the problem
> is. That's why I don't get it that Hugin can't do this by itself, if
> it's really just this simple.
> 
> I guess this would be called a feature request :)

Still..... I just scetched the way I ran into this item. More
"plausible non-user-error" situations could arise. For example, my
camera doesn't rotate the image, but just uses the exif tag to
indicate which side is up. How about a camera that does the lossless
jpeg rotation itself? And if you're calling me rotating my camera for
a second row a user-error, I want to say that there are good reasons:
It takes about 16 images to make a 360 pano in portrait mode. To
augment that with some extra visual information in the "down"
direction, I need only 5 more images in landscape mode. That reduces
the complexity of the hugin process enormously.


Anyway, with a simple preprocessing trick in hugin, it shouldn't be too
hard to make this work. 

When an image is "portrait" (vsize > hsize), rotate it by -90 degrees
internally, and set the default roll parameter to 90. Nobody would
notice.

Now, the "hfov" parameter always refers to the longest side of the
image. (and might need an eventual rename....)

And linking portrait and landscape images from the same lens becomes
easy.

        Roger.

-- 
** r.e.wo...@bitwizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to