inconsistent result with same group of images

37 views
Skip to first unread message

hcg

unread,
Jan 6, 2023, 6:32:34 AM1/6/23
to PTGui Support
Hi,
I have been using PTGui for stitching microscope images (or rather stacked microscope images) together, and have had really good results with stitching up to 9x9 tiles, using a lens setting of 1000mm rectilinear.
It´s been a few months since I used it last, but today I was trying to stitch a 3x4 grid and got some unexpected results.
The first time I tried the result was perfect with no need to do any adjustements.
Two other times I got very different results with the exact same images.

I am trying to figure out what happened and how I can fix this to get a consistent result.

HC

ptgui1.jpgptgui2.jpgptgui3.jpg

Erik Krause

unread,
Jan 6, 2023, 6:50:01 AM1/6/23
to pt...@googlegroups.com
Am 06.01.2023 um 11:14 schrieb hcg:

> The first time I tried the result was perfect with no need to do any
> adjustements.
> Two other times I got very different results with the exact same images.

Without having the source images, the only thing that can be said is the
error message that PTGui gives you: It couldn't find control points for
some images. Please make images and project file available for download,
use wetransfer, dropbox etc.

The control point generator works somehow heuristic, and this might be
an edge case, where it sometimes finds the right path and sometimes not.

PTGui suggests running Align Images again to find more control points.
Did you do that and did it help?

You can try to pre-align image using Align to Grid (Project menu) or
increase the number of generated control points (Tools->Options).


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

hcg

unread,
Jan 6, 2023, 7:19:44 AM1/6/23
to PTGui Support
Hi,
thank you for your reply.
Here is a dropbox link with the 12 images and two versions of the project.

the pan101 works as expected, the pan101b does not.
It does not help to align images again for the pan101b.

Your other suggestion though, align to grid, did the trick, followed by optimise.
I had been looking for that feature, but looked in the wrong place (panorama editor window).
Thank you!

HC

Erik Krause

unread,
Jan 6, 2023, 9:13:59 AM1/6/23
to pt...@googlegroups.com
Am 06.01.2023 um 13:19 schrieb hcg:

> Here is a dropbox link with the 12 images and two versions of the project.
> https://www.dropbox.com/sh/fqcotcskfse09bj/AAACnOEMzIWjhBWKrS0pCJsma?dl=0

I had a try on your images and found a similar behavior: sometime it
works, sometimes not. It seems the problem is the blurriness of the
details in the overlap area of some images, the relatively small overlap
between some rows (especially the top 3 ones) and the similarity of the
structures. In one try, PTGui created a pretty convincing result without
hard breaks, yet with a weird placement of the images...

BTW.: I improved the result a bit by using viewpoint correction on all
but the anchor image, which I choose to be image 5, because it's in the
middle.
Reply all
Reply to author
Forward
0 new messages