Agisoft Metashape

Agisoft Metashape => Bug Reports => Topic started by: wangyanru on June 15, 2019, 02:30:53 PM

Title: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: wangyanru on June 15, 2019, 02:30:53 PM
In photoscan v1.4.4,    when I use the xml format camera parameters exported from  from photoscan v1.2   ,the  dense cloud point can not be reconstructed correctly.


Is there any difference between  photoscan v1.4.4 and  photoscan v1.2 ?and how can i correct the camera xml file from v.1.2 to v1.4.4?
 
Title: Re: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: Alexey Pasumansky on June 15, 2019, 03:22:00 PM
Hello wangyanru,

Can you please provide the XML file that you are using for import (from the version 1.2)?
Title: Re: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: wangyanru on June 15, 2019, 03:42:52 PM
This is the xml exported from v1.2 , and when I use the same pictures in v1.4, and wanna import the cameras xml to build dense point cloud, it failed,reconstructed nothing
Title: Re: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: wangyanru on June 15, 2019, 03:48:47 PM
here is the version change log,but I can not figure out what is the detailed format change, I wonder this may be the bug source?



• Changed type of format argument in Chunk.importCameras() and Chunk.exportCameras() methods to CamerasFormat
Title: Re: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: Alexey Pasumansky on June 15, 2019, 04:25:19 PM
Hello wangyanru,

The main changes related to the calibration format between versions 1.2 and 1.5 are the following:
f_new = fy
b1_new = fx - fy
b2_new = skew
cx_new = cx - width/2
cy_new = cy - height/2
p2_new = p1
p1_new = p2
Title: Re: inconsistant camera parameters exported from photoscan v1.2 and photoscan 1.4.4
Post by: wangyanru on June 15, 2019, 05:37:10 PM
Thank you for your reply! It is really useful !!! ;D