How is the .pts file generated from the command line?

488 views
Skip to first unread message

zuozhu...@gmail.com

unread,
Jul 26, 2017, 6:48:06 AM7/26/17
to PTGui Support
hello all:
How is the .pts file generated from the command line?
think you.

Erik Krause

unread,
Jul 26, 2017, 11:11:58 AM7/26/17
to pt...@googlegroups.com

Am 26.07.2017 um 12:48 schrieb zuozhu...@gmail.com:
> How is the .pts file generated from the command line?

From http://www.ptgui.com/support.html#5_34 : "If configured the batch
stitcher can also align the images and generate control points (Pro
version only). To do so enable 'Align images and save the modified
project' at 'Batch Stitcher actions' in the Project Settings tab. This
allows for fully automated batch stitching of images without user
interaction. "


--
Erik Krause

zuozhu...@gmail.com

unread,
Jul 26, 2017, 8:41:55 PM7/26/17
to PTGui Support
This is through. Pts file generation. Jpg file. I want to generate it directly from the command line. Pts

在 2017年7月26日星期三 UTC+8下午11:11:58,Erik Krause写道:

PTGui Support

unread,
Jul 27, 2017, 3:43:27 AM7/27/17
to pt...@googlegroups.com, zuozhu...@gmail.com
Hi,

I'm sorry but currently it is not possible to generate .pts files from
the command line. You can use the batch builder to generate .pts files
but this must be done from the GUI.

Kind regards,

New House Internet Services BV
Joost Nieuwenhuijse

-----------------------------------------------
PTGui - Photo Stitching Software

www.ptgui.com
For support see: http://www.ptgui.com/faq/
-----------------------------------------------
> --
> Many people are reading this forum via email and get every post
> delivered to their inbox. To limit the amount of data please do not add
> attachments or images to your posts; instead upload your files at a file
> sharing site (for example http://sendspace.com// ) and include a link in
> your message.
> ---
> 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 post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/635b8259-8be6-418b-a54f-4772bae41ad3%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/635b8259-8be6-418b-a54f-4772bae41ad3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Erik Krause

unread,
Jul 27, 2017, 11:05:07 AM7/27/17
to pt...@googlegroups.com
Am 27.07.2017 um 02:41 schrieb zuozhu...@gmail.com:
> This is through. Pts file generation. Jpg file. I want to generate it
> directly from the command line. Pts

You need a .pts as a template and the images. Provided the proper
settings PTGui pro will load both, align the images and save the
modified .pts (and eventually create the panorama). The template can be
relatively broad and thus usable for a lot of panoramas.

.pts files are simple text files. Up to version 10 it's an enhanced
version of the original panotools PTStitcher file format:
http://wiki.panotools.org/PTStitcher#Example_Script
Since version 11 it's XML based.

So of course you can create a .pts from the command line, f.e. if you
simply echo all the lines into the file. But why would you want to do this?

--
Erik Krause
http://www.erik-krause.de

zuozhu...@gmail.com

unread,
Jul 28, 2017, 2:46:45 AM7/28/17
to PTGui Support
Thank you very much for your reply!!!

在 2017年7月27日星期四 UTC+8下午11:05:07,Erik Krause写道:

zuozhu...@gmail.com

unread,
Jul 28, 2017, 2:46:59 AM7/28/17
to PTGui Support, zuozhu...@gmail.com
Thank you very much for your reply

在 2017年7月27日星期四 UTC+8下午3:43:27,PTGui Support写道:

imkevi...@gmail.com

unread,
Sep 29, 2018, 11:45:04 PM9/29/18
to PTGui Support
hello ,execuse me ,i'm looking for the same question . what i want is just make panorama , i have the idea is use the ptgui by command, but first, there is no idea how to generate .pts by command. have you got it ? can you help me ? thanks for your reply

在 2017年7月26日星期三 UTC+8下午6:48:06,zuozhu...@gmail.com写道:

PTGui Support

unread,
Sep 30, 2018, 4:39:42 AM9/30/18
to pt...@googlegroups.com
Hi,

I'm sorry, there currently is no way to generate a project file on the
command line.

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 post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/a42e433b-fa7a-4f63-9675-a219abc69cce%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/a42e433b-fa7a-4f63-9675-a219abc69cce%40googlegroups.com?utm_medium=email&utm_source=footer>.

Erik Krause

unread,
Sep 30, 2018, 6:45:51 AM9/30/18
to pt...@googlegroups.com
Am 30.09.2018 um 05:45 schrieb imkevi...@gmail.com:
> what i want is just
> make panorama , i have the idea is use the ptgui by command, but first,
> there is no idea how to generate .pts by command

What exactly do you want to achieve? I currently can't think of a
scenario where you would need to create a .pts file from scratch. For
using PTGui from the command line see
http://www.ptgui.com/support.html#6_32

To use that for mass stitching from the command line you have two
possibilities: Either you rename the image files to match the file names
in the .pts file, or you use a stream editor (like sed or awk) to modify
a .pts file accordingly. .pts files are text files. v11 uses a JSON
format which is pretty self-explanatory, while v10 and earlier use the
PTStitcher script format:
https://wiki.panotools.org/PTStitcher#Example_Script
Reply all
Reply to author
Forward
0 new messages