agisoft-llc / metashape-scripts

Python scripts for Metashape (former PhotoScan)
MIT License
396 stars 207 forks source link

output image shape from export_for_gaussian_splatting.py is not same as the original image #113

Open leizhenyu-lzy opened 1 day ago

leizhenyu-lzy commented 1 day ago

I use the COLMAP GerrardHall Dataset to test the script.

Original Image image

Exported Result image

PolarNick239 commented 1 day ago

Hi, image is changed because of the undistortion process.

Alignment of cameras in Metashape includes precise intrinsics/extrinsics camera parameters calibration. But because of export into colmap format - those parameters should be converted into format supported by colmap, and this requires proper images transformation too.

So this is an expected behavior.