Am 05.09.25 um 11:52 schrieb 'chenyuanrong' via PTGui Support:
> I will perform YOLO recognition on the original image to obtain some
> coordinate point information. This data needs to be displayed on the TIFF
> image generated by PTGui. The transformation logic is quite complex. Could
> you provide command line instructions to help me perform this conversion?
No, I'm sorry. You'll have to work that out for yourself.
But may be there are other options. Think about creating images with the
same dimensions as the original images and only the relevant pixels
colored in a machine-readable way. Then apply the project file from the
original panorama as a template (without aligning or optimization etc.)
to those images. The colored pixels will then be in the exact same
location in the panorama as the original area you marked. Any automatic
image processing (like ImageMagick or even php GD) should be able to
find those pixels and output the corresponding coordinates.
May be even an alpha channel works for that.
Keep in mind, that PTGui will interpolate colors along the edges of a
marked area. This can be avoided if you use Nearest Neighbor
interpolator (Create Panorama tab -> Advanced). But don't do that for
the original panorama!