Hi Scott,
Kind regards,
Joost Nieuwenhuijse
www.ptgui.com
On 06-02-2024 00:14, Bellevue Fine Art Repro wrote:
> I've looked at ALL of the tutorials online, and from what I see, there
> isn't a tutorial that discusses how to use PTGUI to stitch images that
> have been scanned, for example, using a scanner.
This should work, see 6.5:
https://ptgui.com/support.html#6_5
If the camera was pointing perpendicular, the first method described
here should work. For all other cases (non constant distance from the
artwork, non perpendicular) you would need to use viewpoint correction.
> We've noticed that when we run "optimize", PTGUI changes the angles and
> pitch (yaw) and the lens setting to what it thinks it should be. We've
> also noticed that when an image doesn't stitch, we're better off moving
> images around in the preview window and letting them snap into place,
> but as soon as we run optimizer after that, PTGUI messes it up again.
The only explanation I could give is there is a faulty control point
somewhere. Perhaps there's a duplicate or repeating structure in the
image. One way to find out is by dragging the image into place as good
as possible. Then take a look at the Control Points table, sort it by
distance and check if there's an outlier with a very large distance.
> We have also noticed that PTGUI seems to do better with landscapes than
> with Illustrations, as if it's looking for landscapes in an AI sort of
> way, and recognizing the horizon line.
The control point generator works best for landscapes and photographs in
general. It struggles with other kinds of images, like line drawings or
night skies.
> > For example, I am adding a dropbox link to a project I created. It is a
> painting with three rows of five images. PTGUI seems to recognize that
> there are three rows of images, as we can see them in three sets of five
> in the source images panel. But PTGUI wants to put them all on the same
> row, despite there being enough information in the image to
> differentiate between the rows....
The tiff files in your dropbox are broken, they are all zero size. So I
can't see the images but I can open the project file.
If I go to Control Points and select image 1 and 6, I'm seeing two
control points which are both in the left bottom corner of the two
images. If the images are on two different rows, I would expect them to
be at left bottom in one image, and left top in the other. With the
images loaded perhaps you can see what's going on there.
Secondly, the project is not set up as explained in 6.5 above. You can
fix that as follows:
Go to Lens Settings, and set Focal Length to 1000mm.
Click Reset to set all lens correction parameters to zero.
Go to Optimizer and uncheck 'Optimize lens focal length'
and set 'Minimize Lens Distortion: Heavy'.
Then re-run the optimizer.
If you are able to share the original images I'd be happy to take
another look.
Joost