OpenStitching / stitching

A Python package for fast and robust Image Stitching
Apache License 2.0
1.93k stars 148 forks source link

Retrieving Transformation Matrix Used to Stitch Mosaic? #160

Closed ericvaughn11 closed 9 months ago

ericvaughn11 commented 9 months ago

Hi,

Thanks for the excellent implementation and tutorial! I've successfully used the package to stitch an 4x4 array of images using AffineStitcher, but I also need the pixels used for each of the 16 images for filtering data that I will overlay onto this mosaic. Is there a way to easily retrieve the transformation matrix used to stitch the 16 images?

Thanks, Eric

lukasalexanderweber commented 9 months ago

Hey Eric,

I'm quite sure you'll get the transformation matrix from the cameras.

See e.g. here