>
> The code which does the transformations is in libpano. First you have
> to get a checkout of the code from their repository. Then you have to
> look into the file math.c. The routines from where you can find your
> way down are 'execute_stack' and 'execute_stack_new'.


Ya, i have checked both routines, the functions in math.c and also those in
remap.c. As you told the transformation is rather complicated one(even i
fear the same looking at the code), I was not able to locate the only piece
that does what i need.

and ya, I too feel the same of digging in to sources only when it comes to
understanding something with libpano. Why didn't they built
a documentation? I tried even searching on google if anyone else has
written but failed. Meanwhile let me try looking at pano_trafo.

On Tue, Feb 14, 2012 at 11:25 PM, kfj <[email protected]> wrote:

>
>
> On 14 Feb., 18:25, Dan <[email protected]> wrote:
> > in the software that creates the panorama
>
> The code which does the transformations is in libpano. First you have
> to get a checkout of the code from their repository. Then you have to
> look into the file math.c. The routines from where you can find your
> way down are 'execute_stack' and 'execute_stack_new'.
>
> The transform is a rather complicated sequence of separate partial
> transforms, including translations, rotations and more involved stuff.
> These are modelled as individual functions which are put onto a stack,
> which is, later on, executed for every target pixel in the warped
> image. The execution of the transformation stack is done inside the
> warping routine, and once the source location needed for the target
> pixel has been determined, it's interpolated from the source image and
> written to the target. Then the same is done for the next target pixel
> and so on. I wish there was proper documentation for this - I have had
> to work it out from the sources myself. If you want to just play with
> the transform and not dig into the C code, you can use the utility
> program pano_trafo which comes with hugin, and if you have a python-
> enabled hugin, you can use the transforms in python as well.
>
> Kay
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx
>

-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to