Handover rough alignment to PTGui

53 views
Skip to first unread message

Marcus Wengenroth

unread,
Jun 15, 2021, 7:01:53 AM6/15/21
to PTGui Support
Hi all,
I made a robot head that automatically aligns and takes photos. The interaction with PTGui also works well so far. In the case of sky shots and white walls, however, you have to define the orientation manually. That would actually not be necessary because the orientation of each recording is known and is currently written into the file name. I could also create a json file or make the data available in some other way.

Is there a way to convey this information for the rough alignment PTGui?

Greetings, Marcus

PTGui Support

unread,
Jun 15, 2021, 7:41:56 AM6/15/21
to pt...@googlegroups.com
Hi Marcus,

PTGui can import Papywizard XML files (File - Import Papywizard) to set
the yaw and pitch of each image.

Or it would not be very hard to create a PTGui project file yourself,
it's JSON based. You could take an existing project file and modify the
yaw/pitch/roll angles.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/7c694fb1-9a5e-4cc3-8ba0-3ac773e959c8n%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/7c694fb1-9a5e-4cc3-8ba0-3ac773e959c8n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Marcus Wengenroth

unread,
Jun 15, 2021, 10:24:08 AM6/15/21
to PTGui Support
Wow, that's great! This xml-File seems to be ease to create!

Thanks a lot!

Marcus

Marcus Wengenroth

unread,
Jun 15, 2021, 12:07:52 PM6/15/21
to PTGui Support
Hm, after testing Papywizard and also trying to export with https://www.panocatcher.com/xml/ I got some code like this:

<?xml version="1.0" encoding="utf-8"?>
  <papywizard>
    <shoot>
      <pict bracket="1">
        <position pitch="45" yaw="0"/>
      </pict>
      <pict bracket="2">
        <position pitch="45" yaw="0"/>
      </pict>
      <pict bracket="3">
        <position pitch="45" yaw="0"/>
      </pict>
      <pict bracket="4">
        <position pitch="45" yaw="0"/>
      </pict>
...
    </shoot>
  </papywizard>

How is the connection to the file name established? I can't find further information to the structure of this file.

Kind wishes, Marcus

PTGui Support

unread,
Jun 15, 2021, 12:35:09 PM6/15/21
to pt...@googlegroups.com
Hi Marcus,

The values are applied in the image order: first position to first
image, second to second, etc.

Any bracketing in the papywizard file is ignored; If you have bracketed
images, PTGui applies each position to a linked group of images.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 15/06/2021 18:07, Marcus Wengenroth wrote:
> Hm, after testing Papywizard and also trying to export
> with https://www.panocatcher.com/xml/ I got some code like this:
>
> *<?xml version="1.0" encoding="utf-8"?>*
> *  <papywizard>*
> *    <shoot>*
> *      <pict bracket="1">*
> *        <position pitch="45" yaw="0"/>*
> *      </pict>*
> *      <pict bracket="2">*
> *        <position pitch="45" yaw="0"/>*
> *      </pict>*
> *      <pict bracket="3">*
> *        <position pitch="45" yaw="0"/>*
> *      </pict>*
> *      <pict bracket="4">*
> *        <position pitch="45" yaw="0"/>*
> *      </pict>*
> *...*
> *    </shoot>*
> *  </papywizard>*
>
> How is the connection to the file name established? I can't find further
> information to the structure of this file.
>
> Kind wishes, Marcus
>
> Marcus Wengenroth schrieb am Dienstag, 15. Juni 2021 um 16:24:08 UTC+2:
>
> Wow, that's great! This xml-File seems to be ease to create!
>
> Thanks a lot!
>
> Marcus
>
> PTGui Support schrieb am Dienstag, 15. Juni 2021 um 13:41:56 UTC+2:
>
> Hi Marcus,
>
> PTGui can import Papywizard XML files (File - Import Papywizard)
> to set
> the yaw and pitch of each image.
>
> Or it would not be very hard to create a PTGui project file
> yourself,
> it's JSON based. You could take an existing project file and
> modify the
> yaw/pitch/roll angles.
>
> Kind regards,
>
> Joost Nieuwenhuijse
> www.ptgui.com <http://www.ptgui.com>
> <https://groups.google.com/d/msgid/ptgui/7c694fb1-9a5e-4cc3-8ba0-3ac773e959c8n%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/ptgui/7c694fb1-9a5e-4cc3-8ba0-3ac773e959c8n%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/292d7b31-ef9f-428c-82a7-e10d96221bb3n%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/292d7b31-ef9f-428c-82a7-e10d96221bb3n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Marcus Wengenroth

unread,
Jun 16, 2021, 7:57:33 AM6/16/21
to PTGui Support
Yes, now it work's - Thanks a lot!

Marcus

Reply all
Reply to author
Forward
0 new messages