Forum

Author Topic: exporting reference table as csv  (Read 296 times)

scottm

  • Newbie
  • *
  • Posts: 2
    • View Profile
exporting reference table as csv
« on: August 02, 2018, 06:46:39 PM »
Hi all,

I'm trying to export the 'estimated' reference table with estimated XYZ camera coordinates plus projections and pixel errors.

I've tried working with Tasks.ExportReference to accomplish this, but have not been successful in developing working code. Likely because I don't fully understand the task class.

Could someone share some code for exporting the reference tables that I could start to work with?

Thanks,

-scottm.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9490
    • View Profile
Re: exporting reference table as csv
« Reply #1 on: August 03, 2018, 02:25:51 PM »
Hello scottm,

Have you tried to use the following function?
Code: [Select]
saveReference(path, format = PhotoScan.ReferenceFormatCSV, items = PhotoScan.ReferenceItemsCameras, delimiter = ",")/code]

But note that average reprojection error and number of tie point projections cannot be save in this way, so it this information is critical, you should customize the export.
Best regards,
Alexey Pasumansky,
AgiSoft LLC

Yoann Courtois

  • Sr. Member
  • ****
  • Posts: 263
  • Engineer in Geodesy, Cartography and Surveying
    • View Profile
Re: exporting reference table as csv
« Reply #2 on: November 05, 2018, 05:25:47 PM »
Hi Alexey,

I would like to indeed export average reprojection error and number of tie point for images, as well as average reprojection error and number of projection for markers, which are all unavailable with saveReference function, and unobtainable somewhere else through the API documentation.
May you help me in such needs ?

Regards
--
Yoann COURTOIS
R&D Engineer in photogrammetric process and mobile application
Lyon, FRANCE
--