Does PTGui have SDK or API?

888 views
Skip to first unread message

Nicolás Díez

unread,
Feb 18, 2013, 6:28:13 AM2/18/13
to pt...@googlegroups.com
Hi,

I would need to add PTgui functionalities to a software Im writing. Does PTGui have any kind of SDK or API in order to use its functions??

Thanks,

cheers

PTGui Support

unread,
Feb 18, 2013, 11:28:33 AM2/18/13
to pt...@googlegroups.com
Hi Nicol�s,

The only way to interact with PTGui is by launching it from the command
line, see 5.34:

http://www.ptgui.com/support.html#5_34

There's no embeddable component or API or SDK.

Kind regards,

New House Internet Services BV
Joost Nieuwenhuijse

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

www.ptgui.com
For support see: http://www.ptgui.com/faq/
-----------------------------------------------
> --
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui" group.
> To post to this group, send email to pt...@googlegroups.com
> To unsubscribe from this group, send email to
> ptgui+un...@googlegroups.com
> Please do not add attachments to your posts; instead upload your files
> at a file sharing site (for example http://ge.tt/ ) and include a link
> in your message.
> For more options, visit this group at http://groups.google.com/group/ptgui
>
> ---
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

DaveN

unread,
Feb 18, 2013, 11:58:33 PM2/18/13
to PTGui Support
You may want to have a look at Hugin for your purposes.

Nicolás Díez

unread,
Feb 19, 2013, 4:57:50 AM2/19/13
to pt...@googlegroups.com
Perfect, thank you guys.

2013/2/19 DaveN <tahoed...@yahoo.com>

Jim Watters

unread,
Feb 20, 2013, 9:17:47 PM2/20/13
to pt...@googlegroups.com
Joost I am surprised you did not mention Panotools The Open Source software from
which PTGui has evolved.

On 2013-02-18 12:28 PM, PTGui Support wrote:
> The only way to interact with PTGui is by launching it from the command line,
> see 5.34:
> http://www.ptgui.com/support.html#5_34
> There's no embeddable component or API or SDK.
>
> On 18/02/2013 12:28, Nicol�s D�ez wrote:
>> I would need to add PTgui functionalities to a software Im writing. Does
>> PTGui have any kind of SDK or API in order to use its functions??

--
Jim Watters
http://photocreations.ca

PTGui Support

unread,
Feb 21, 2013, 4:44:45 AM2/21/13
to pt...@googlegroups.com
Well Nicol�s asked specifically about PTGui. But yes there are
alternatives such as PTStitcher, nona and PTMender, these are stitchers
that can be launched from the command line as well.

I must clarify that PTGui evolved from Panotools in the sense that it
started as a graphical user interface for it. But it does not use the
panotools source code or library.

Joost

l_d_allan

unread,
May 12, 2013, 6:10:53 PM5/12/13
to pt...@googlegroups.com
Feature request:
How about a "macro recording capability" so that certain steps could be recorded, a'la many apps such as Visual-Studio, Excel, Word, etc.?
An api/sdk would be great, but a "macro recorder of menu options" would perhaps provide a Pareto'ish solution (80% of benefit with perhaps significantly less effort on the part of PTGui development).
 
My speculation is that there might be libraries "out there" that can possibly be used to "bolt on" a menu macro recorder, rather than having to "re-invent the wheel".
 
Here's an example: remove all CP's above the horizon (in clouds). The macro might remember that on the "baseline image-pairs", a rectangle inclosing the upper 40% of the image was selected, and then "Delete CP's within rectangle" was selected. Then apply this to all image-pairs. (or can something like this already be done?  if so, my bad)

Erik Krause

unread,
May 12, 2013, 6:50:56 PM5/12/13
to pt...@googlegroups.com
Am 13.05.2013 00:10, schrieb l_d_allan:
> Here's an example: remove all CP's above the horizon (in clouds). The macro
> might remember that on the "baseline image-pairs", a rectangle inclosing
> the upper 40% of the image was selected, and then "Delete CP's within
> rectangle" was selected. Then apply this to all image-pairs. (or can
> something like this already be done? if so, my bad)

Use a project of yours with many images, paint a red mask on the sky and
copy it over to all images. On Project Settings tab "Template behaviour"
section check "Image Masks". Uncheck what you don't want to be copied
over. Save this project as a template.

To use it load your images into PTGui, then apply the template, then
create control points. Then on Source Images tab select all images
(Ctrl+A on Windows), right click and choose "Clear Mask".

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

l_d_allan

unread,
May 13, 2013, 5:04:49 AM5/13/13
to pt...@googlegroups.com

On Sunday, May 12, 2013 4:50:56 PM UTC-6, Erik Krause wrote:
Use a project of yours with many images
 
Attached is a pano from yesterday. Taken on the way home without my panohead or tripod. 14 images in portrait mode. Mild wind, so the clouds were moving. Removed all the CP's above the horizon by hand. Avg/Max error ended up as 0.54 / 0.93.
 
 
choose "Clear Mask".
 
Ahh ... I haven't used the "Mask" feature that much, and I think of using Masks in a Composite situation (like with and without people standing in the middle of one of the frames ... see attached 360 degree FOV interior). My limited experience with the "Paint With Red To Hide" is that the red area is gone, and won't show in the final pano.
 
Still ....
 
Even though I used a less than ideal example for "Menu Macro Recorder", my FeatureRequest still may be worth considering ... "pls implement Menu-Macro-Recorder'
 
Also, my speculation is that accomplishing my example might be easier with a "Menu Macro Recorder" than the steps you described. Or not?
130309a_154539-42-4_PioneersMuseum_PanoFe_Mask.jpg
130309a_154539-44-4_PioneersMuseum_PanoFe_Mask.jpg
130512p_161676-89-14_StetsonFrontRangeClouds_Pano.jpg

Erik Krause

unread,
May 13, 2013, 1:24:29 PM5/13/13
to pt...@googlegroups.com
Am 13.05.2013 11:04, schrieb l_d_allan:
> Ahh ... I haven't used the "Mask" feature that much, and I think of using
> Masks in a Composite situation (like with and without people standing in
> the middle of one of the frames ... see attached 360 degree FOV interior).

That is one purpose masks where invented for. The other one is to exempt
areas from control point generation.

> My limited experience with the "Paint With Red To Hide" is that the red
> area is gone, and won't show in the final pano.

That's why you need to clear the masks after control point generation.

> Also, my speculation is that accomplishing my example might be easier with
> a "Menu Macro Recorder" than the steps you described. Or not?

No, since recording macros is completely inflexible in this case. If you
have different amount of sky or you have a hill in some images you can't
modify the process. With the mask approach you can paint masks
individually.

And if you like fixed masks, you can save a couple of masks to files
with speaking name (f.e. 40_percent_sky_mask, 30_percent_mask) and load
that masks to all selected images. This works even for multi row
panoramas, since you can load different saved masks to different groups
of images.
Reply all
Reply to author
Forward
0 new messages