Agisoft Metashape

Agisoft Metashape => Camera Calibration => Topic started by: kiteman on July 04, 2012, 02:51:45 PM

Title: import calibration from other sw
Post by: kiteman on July 04, 2012, 02:51:45 PM
Can I import the calibration of a lens, obtained with other software? for example photomodeler?
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on July 04, 2012, 02:55:52 PM
Hello Stefano,

Agisoft Lens support format converting from CalCam, Photomodeler and iWitness data to PhotoScan/Lens.
Currently only CalCam files could be imported but you can input Photomodeler calibration data manually in the Convert dialog (Tools menu).
Title: Re: import calibration from other sw
Post by: kiteman on July 04, 2012, 04:33:33 PM
ok.. many thanks.

FX it's ok(from the manual)
fx and fy coefficients are normally equal. They may be different if the pixels of recording media were
not square, which is a very rare case. If you know the focal length of the lens, physical dimension of the
optical sensor and size of picture in pixels you may easily calculate these coefficients as: fx = focal length
in mm * x-dimension of sensor in pixels / x-dimension of sensor in mm. Similar formula applies to fy.

But for CX and CY?
In Photomodeler I think are XP and YP. Ok? but in Photomodeler the unit is in mm. Is it the same unit of Photoscan?
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on July 04, 2012, 08:17:39 PM
Hello Stefano,

When you are using Convert feature original calibration data should be copied from the other software without change.
For example, for Photomodeler - in mm:
Title: Re: import calibration from other sw
Post by: kiteman on July 05, 2012, 02:48:34 PM
I'm  sorry, but I don't find the Convert dialog (Tools menu) :-[

Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on July 05, 2012, 02:51:58 PM
Hello Stefano,

I thought you were speaking about Agisoft Lens, since the topic is in the corresponding forum. :)
Anyway you can use Lens software to convert Photomodeler data into PhotoScan xml-format to be later used in PhotoScan.
Title: Re: import calibration from other sw
Post by: kiteman on July 05, 2012, 02:54:08 PM
opss..
Title: Re: import calibration from other sw
Post by: kiteman on July 05, 2012, 03:06:49 PM
Alexey

.. Many thanks  :)
Title: Re: import calibration from other sw
Post by: VAHID on December 13, 2015, 07:07:28 PM
Hi
I have a problem importing camera calibration parameters from Australis.
I have camera calibration parameters from Australis in txt format but when I want to load it in AgiSoft it simply says'can not load calibration'
I really don't know what the problem might be.
Would you please help me?
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on December 13, 2015, 09:16:20 PM
Hello VAHID,

Are you choosing corresponding file type in the Open dialog? If so, can you attach the text file that you are loading?
Title: Re: import calibration from other sw
Post by: VAHID on December 13, 2015, 11:31:50 PM
Hi
Thanks  for your quick response
yes I select ''Australis camera parameters(*.txt)" file format in the open dialog then I select the txt file exported from Australis. but I get the error message "can't load calibration"...
By the way I was thinking of using Matlab Camera Calibration Toolbox instead of Austeralis.
Is it possible to import Matlab calibration parameters directly to Agisoft?

thanks
 
Title: Re: import calibration from other sw
Post by: VAHID on December 15, 2015, 04:01:26 PM
Hi
I have a problem importing camera calibration parameters from Australis to AgiSoft.
I use" >Tools>Camera calibration" menu and I click on "load" button then  select ''Australis camera parameters(*.txt)" file format in the open dialog then I select the calibration txt file exported from Australis. but I get the error message "can't load calibration"...

I really don't know what the problem is.
Would you please help me?

Thanks
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on December 15, 2015, 04:09:37 PM
Hello VAHID,

Can you attach the file that you are trying to import or send it to support@agisoft.com?
Title: Re: import calibration from other sw
Post by: VAHID on December 15, 2015, 08:36:11 PM
Hi Alexey
I've attached the  txt file exported from Australis.
I'm using Agisoft version 1.2.0 but the problem still remains.

Thanks alot
Title: Re: import calibration from other sw
Post by: VAHID on December 17, 2015, 11:07:17 AM
Hello Alexey
I checked my txt file exported from Australid in  convert menu of  Agisoft lens,too.
But I have the same problem. it says "can't load data"....

What is the problem exactly?

Thanks
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on December 17, 2015, 11:47:09 AM
Hello VAHID,

The file seems to include both exterior and interior orientation parameters of the camera, whereas for calibration data input it is required to have only interior orientation.

I've converted the parameters from your file in Agisoft Lens and saved the data in the suggested Australis format:
Title: Re: import calibration from other sw
Post by: elenistica on October 31, 2016, 08:11:57 PM
Hello! I am Elena, from Spain. Nice to meet you. I am trying to import from Photomodeler the calibration to Agisfot, but it is asking me a file .ini. I don't know how I can save the project in Photomodeler as .ini. Please, can you help me? Thank u so  much!!
Title: Re: import calibration from other sw
Post by: Alexey Pasumansky on November 01, 2016, 12:51:25 PM
Hello Elena,

Could you please provide a screenshot or values as a plain text from the Photomodeler calibration report?