New PTstitcherNG

172 views
Skip to first unread message

Wim Koornneef

unread,
Dec 26, 2009, 6:14:31 PM12/26/09
to PTGui Support
@ All,
This is great news, the Prof did it again:
http://tech.groups.yahoo.com/group/PanoToolsNG/message/35985

On my machine, an iMac Intel with OSX 10.6.2 stitching and blending is
more then twice as fast as with PTGui Stitcher+Blender.
More good news is that it must be possible to configure PTGui for
using the new stitcher.

@ Joost,
Is it possible to modify PTGui to make it possible that a default
PTGui projekt file can run PTstitcher without the need to modify the
script ?

Wim

PTGui Support

unread,
Dec 27, 2009, 5:19:19 AM12/27/09
to pt...@googlegroups.com
Hi Wim,

I haven't tried it yet but it sounds amazing.
What modifications do you need to make to the script?

Joost

John Houghton

unread,
Dec 27, 2009, 6:09:59 AM12/27/09
to PTGui Support
On Dec 27, 10:19 am, PTGui Support <supp...@ptgui.com> wrote:
> I haven't tried it yet but it sounds amazing.
> What modifications do you need to make to the script?
>
For tiff output, I didn't need to make any modifications to the
script. It objected to the p line when I tried jpeg, though, and you
need to reset any automatic exposure correction settings. I do have
problems getting the run to get all the way through to producing the
output file on Windows 7 32bit. It usually terminates at an arbitrary
point with a "PTStitcherNG.exe has stopped working". I sometimes get
a complete tif file but without the .tif extension. The blending
looks good, however.

John

Wim Koornneef

unread,
Dec 27, 2009, 6:48:49 AM12/27/09
to PTGui Support
Hello Joost and John,

I can confirm John's findings with PTStitcherNG and PTGui for Mac OSX.
TIFF is output with a error warning at the end but the image is
created but the file name is without an extension.
For JPEG output the "p" line in the script must be edited manually
(can be done by enabling the option "Show script" in the Create
Panorama tab), the quotes at the end of the line must be set after
JPEG and then the output is created but again, with a warning and
without the file extension (.jpg).

wrong line: p w6800 h3400 f2 v360 u20 n"JPEG g0 q100"
working line: p w6800 h3400 f2 v360 u20 n"JPEG" g0 q100

Best,
Wim

Federico Infanti

unread,
Dec 27, 2009, 8:23:01 AM12/27/09
to pt...@googlegroups.com
Hi Wim, can you please share how do you did to make PTstitcherNG with
PTGgui on your mac?
cheers
federico

2009/12/27 Wim Koornneef <mvo...@gmail.com>:

> --
> 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 you may upload files at
> http://groups.google.com/group/ptgui/files
> For more options, visit this group at http://groups.google.com/group/ptgui

Ken Warner

unread,
Dec 27, 2009, 12:28:10 PM12/27/09
to pt...@googlegroups.com
I'm seeing similar behavior on W7 Pro 64. It doesn't run and then
it ran three times in a row -- then stopped running again. But
this is with the p line set to "tiff"

Note: I got it to run 3 times after I put the "m i0" on the same line
as the p line -- ?????

p f1 w1500 h900 v360 n"tiff" m i0

When it runs -- it's blazing fast.

Ken Warner

unread,
Dec 27, 2009, 12:40:04 PM12/27/09
to pt...@googlegroups.com
Here's something --

When it crashes, the crash report lists an ntdll.dll

Problem signature:
Problem Event Name: APPCRASH
Application Name: PTStitcherNG.exe
Application Version: 0.0.0.0
Application Timestamp: 4b35efc3
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdb3b
Exception Code: c0000005
Exception Offset: 0002de64
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Wim Koornneef

unread,
Dec 28, 2009, 3:49:55 AM12/28/09
to PTGui Support
Hello Federico,

For using PTSTitcherNG with PTGui you have to set the path to
PTSTitcherNG in the Preferences, in the Panorama Tools tab with the
Browse button.
When outputing the pano in the Create Panorama tab you choose the
option "Stitch using Panorama Tools".
For a JPEG pano you have to enable the option "Show script" to
manually move the quotation mark from the end of the P line to right
after "JPEG
Thats all.

Wim

On Dec 27, 2:23 pm, Federico Infanti <federico.infa...@gmail.com>
wrote:

Bernhard Vogl

unread,
Dec 28, 2009, 5:23:21 AM12/28/09
to PTGui Support
This is a PTStitcherNG-related problem. I'm still experimenting with
the Stitcher - Until now it looks to me as if it is OS related (runs
on XP, doesn't on Win7).

Best regards
Bernhard

Wim Koornneef

unread,
Dec 28, 2009, 6:58:09 AM12/28/09
to PTGui Support
@Joost

In some recent replies on the PanoToolsNG forum prof. Helmut Dersch
announced that he will solve several incompatibility issues regarding
PTGui so we can expect that the next PTStitcherNG beta will run much
better when using PTGui as frontend app. I think that this is good
news :-)

Wim

michael crane

unread,
Dec 28, 2009, 8:00:06 AM12/28/09
to pt...@googlegroups.com
Ken, did you find anything about this ? I get that same error.
regards
mick

2009/12/27 Ken Warner <kwarn...@verizon.net>:

Ken Warner

unread,
Dec 28, 2009, 1:07:25 PM12/28/09
to pt...@googlegroups.com
Well, I tried various compatibility modes and when they failed, they
all failed in ntdll.dll.

Helmut says he's going to check it out on W7 machines this week or
next. I think I'll put it aside until he does.

It's no surprise to me that there are compatibility problems with W7.
I've seen other programs that fail to run on W7.

Scott W

unread,
Dec 28, 2009, 1:08:47 PM12/28/09
to PTGui Support
I have played with it some and have had about the same experiences as
others, sometime it works but I end up with tiff files with no
extension.

Whereas the speed is nice it seems that it does not support cropping,
which is a feature I really like in PTGui, so I am not sure how much I
will use it.

Scott

Federico Infanti

unread,
Dec 28, 2009, 2:35:38 PM12/28/09
to pt...@googlegroups.com
thanks Wim, i will to try right now. Finally i've upgraded my ptgui to
the last releases and i wish to try this present of prof. Dersch.
federico

2009/12/28 Wim Koornneef <mvo...@gmail.com>:

Wim Koornneef

unread,
Dec 29, 2009, 4:00:40 AM12/29/09
to PTGui Support
Hello Scott,

You are wrong about the lack of cropping in PTStitcher.
With the "C" param (C=Cut) in each image line you can set the crop.
The C param is optional, for a full frame image (fisheye or
rectangular) you don't need it but for a circular fisheye image with
black image parts at the short side (or all sides) of the image you
must use them to prevent errors.
With the "S" param (S=Selection), also optional, you can mask out
parts of the source image that you don't want to be included in the
stitchted result. I guess the S param is working more or less the same
as the blend priority of PTgui.
Both the C and S params are setting a rectangular.
I suggest that you read the "PTStitcherNG.html" file (included in the
download of PTStitcherNG) with info about the C and S params in the
"Projectfile" part at the end of the page.

Based on the postings of prof. Helmut Dersch on the PanotoolsNG forum
I expect that the next PTStitcherNG beta will be capable to handle the
crop settings of PTGui so then there is no need to manualy set the C
params.
BTW, using the C param in the present beta PTStitcherNG03b can be
difficult because there is a bug in the beta 03b that prevents an easy
use of it, only with a workaround (read the postings on the
PanotoolsNG forum) it is possible.
I suggest you give it another try when the next beta of PTStitcherNG
is available.

Wim

Wim Koornneef

unread,
Dec 29, 2009, 5:10:16 AM12/29/09
to PTGui Support
Hello Scott,

Perhaps I did misunderstood you and instead of cropping of the source
images you meant cropping of the output as you can do in the Panorama
Editor of PTGui.
Cropping of the output seems to be impossible with PTStitcherNG.

Wim

Scott W

unread,
Dec 29, 2009, 10:48:42 AM12/29/09
to PTGui Support
Yes it is cropping on the output that I would really miss.

PTStitchNG_cuda is crazy fast, a image of around 130 MP takes only
around 15 second to stitch on my computer (and graphic card), but if I
have to crop the resulting image in PhotoShop Elements it takes a
number of minutes to do so.

I am also finding that the blending is not nearly as good as with
PTGui's blending, I can see the level shifts between the images. I
also have an issue with TIFF files as they don't work will with my
viewing software, ACDSee.

All of that said it is a lot of fun to stitch something in a few
seconds that would normal take a number of minutes.

Scott

> > > > Wim- Hide quoted text -
>
> - Show quoted text -

Wim Koornneef

unread,
Dec 31, 2009, 9:47:14 AM12/31/09
to PTGui Support
@ All,

Faster then expected a new beta of PTStitcherNG is available.

http://n4.nabble.com/Announcement-PTStitcherNG0-4b-td991368.html#a991368

I tested the stitcher with an excisting PTGui Pro file and without any
fidling of the script the output is fine, I can output in JPEG and
TIFF without errors so it seems to me that there are no more
compatibility issues when using PTStitcherNG with a PTGui projekt
file.

I wish you all a Good 2010,
Wim

David

unread,
Dec 31, 2009, 1:51:24 PM12/31/09
to PTGui Support
How does PTstitcherNG get installed with PTGUI? I have it as a plugin
on the PTStitcher tab, but it doesn't appear to replace the regular
version of PTStitcher already in use by PTGUI.

Ken Warner

unread,
Dec 31, 2009, 2:12:34 PM12/31/09
to pt...@googlegroups.com
You won't see any indication in the pull-down menu but it
does work.

Willy Kaemena

unread,
Dec 31, 2009, 3:45:37 PM12/31/09
to pt...@googlegroups.com
Wim

until now I was a quiet observer, hardly understanding the PT stuff here in this tread

You have made it much easier with your mail below. Today I downloaded the latest version 0.4b. In the  respective Mac folder  there is the PTstitcherNG.app  and the  " PTStitcherNG " file. I pointed my PTgui pref. to the  PTStitcherNG,  set the output using Panotools but getting in the terminal window  following error:

....  Processing script /Volumes/LaCieRaid/Syria VR/Homas Mosque2 13072007/HomsMosque2.pts
Parsing script line:
o f2 y-18.5165 r-0.039498 p0.625197 v=0 a=0 b=0 c=0 d=0 e=0 g=0 t=0 C-558,3152,80,3790
Assertion failed: (d->cut.x >= 0 && d->cut.x + d->cut.width <= d->source_width), function parser_get_image, file parser.c, line 710.
Abort
[macintosh-5:~] kaemena%


Any suggestion what I am doing wrong?

Willy

Willy Kaemena



Wim Koornneef

unread,
Jan 1, 2010, 5:59:42 AM1/1/10
to PTGui Support
Hello Willy,

Are you sure that you pointed to the right PTStitcherNG file ?
You may only use the executable file in PTGui and not the Applescript
droplet.
The Applescript droplet is for use as a standalone stitcher with a
projektfile that is prepared for PTStitcherNG.
You mention the Terminal window in your posting but only when using
the AppleScript droplet as standalone app, or when the AppleScript
droplet is wrongly pointed in PTGUI, you get a Terminal window so
perhaps you meant the Console window instead.

In the error lines I read "v=0 a=0 b=0 c=0 d=0 e=0" and that is wrong
because that is data that belongs to the image lines of your PTgui
projekt.
When using PTStitcherNG with PTGui the parameters that are set in the
dummy line of your PTGui projekt will replace all "v=0 a=0 b=0 c=0 d=0
e=0" stuff. So all params with values "=0" will be automaticly
replaced by there full values as set in the dummy line when the
projekt is send to PTStitcherNG. This is another indication that you
probably pointed to the wrong PTStitcherNG file.

I suggest that you first test your system with the test files and the
PTStitcherNG Applescript droplet included in the PTStitcherNG
download. If this test is succesful then you know your system is
compatible with PTStitcherNG.

Then copy all text of the test projekt file and make a new PTGui
projekt with the test images.
Don't optimize, align, or whatever you normally do with a new projekt
but go straight to the Create panorama tab, set PTStitcher as stitcher
to use, enable "Show script" and hit the Create Panorama button.
In the script window that shows you replace all text by the copied
text of the test projekt.
When the output is fine and there are no errors then you know that
PTGui is configured properly and that there must be something in your
PTGui projekt that is incompatible with PTStitcherNG.
What it can be if that happens I can't tell without seeing the projekt
file.

Please keep in mind that PTStitcherNG is not capable of doing the
advanced stuff that PTGui can do, so no HDR, Fusion, Exposure
correction, devignetting, etc, etc, so if you really need this stuff
you can't use PTStitcherNG.

Success,
Wim

On Dec 31 2009, 9:45 pm, Willy Kaemena <wkaem...@googlemail.com>
wrote:

> wkaem...@gmail.com

Wim Koornneef

unread,
Jan 1, 2010, 6:07:17 AM1/1/10
to PTGui Support
Hello David,

You have to set PTstitcherNG in the Panorama Tools tab of the prefs,
not in the Plugins tab.
I guess this is why you can't get PTstitcherNG working.
When you set PTstitcherNG properly it will replace your regular
PTstitcher.

Success,
Wim

Willy Kaemena

unread,
Jan 1, 2010, 9:35:45 AM1/1/10
to pt...@googlegroups.com
Wim thank you so much for your answer.

Yes I made a test with the  provided  test project and it works well using the Apple script.

I am quite ignorant to  pure system tasks  so for me  Terminal and  Console  was something like the same for me.

I will do the suggested  further steps now and I will keep you informed. Thanks  again for your great help.

Willy

For more options, visit this group at http://groups.google.com/group/ptgui

Willy Kaemena



Willy Kaemena

unread,
Jan 1, 2010, 10:05:07 AM1/1/10
to Wim Koornneef
Wim

attached the project file  of successfully running PTgui with PTstitcherNG using the sample  pictures.

and the project file of a normal PTgui project trying to use the new PTstitcher which ended in a 4kb tif


Willy


Begin forwarded message:

Wim Koornneef

unread,
Jan 1, 2010, 3:14:57 PM1/1/10
to PTGui Support
Hello Willy,

I found the reason why your PTGui projekt failed with PTStitcherNG.

When you shoot your cropped fish eye images in portrait mode then the
first value of the C param in the script is always negative.
When you manually set the first value of the C param to "0"(zero) and
the second value to the image width then the problem is gone.
BTW, my own test images are shot in landscape mode and the images are
rotated by the script.
In my case the negative value is the third of the C param and in this
position it seems to be that a negative value is no problem.

I informed prof. Helmut Dersch about the bug and I am confident that
this issue will be solved.

Best,
Wim


On Jan 1, 4:05 pm, Willy Kaemena <wkaem...@googlemail.com> wrote:
> Wim
>

Wim Koornneef

unread,
Jan 1, 2010, 3:23:01 PM1/1/10
to PTGui Support
My answer was incomplete, my camera is in portrait mode but the
orientation of the images is in landscape position, hence the rotation
of the images by the script.

Wim

Reply all
Reply to author
Forward
0 new messages