Forum

Author Topic: export problem in case of same image file name  (Read 1546 times)

hkyon

  • Newbie
  • *
  • Posts: 6
    • View Profile
export problem in case of same image file name
« on: June 21, 2018, 02:23:29 AM »
Hi,
Is there a way to distinguish those files in the "undistort image" function and "export cameras" if images with the same file name exist in different paths? I processed them to one chunks.
Or should I treat the file name differently from the beginning? More than 1000 of the 2500 images have the same file name.
« Last Edit: June 21, 2018, 02:25:25 AM by hkyon »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: export problem in case of same image file name
« Reply #1 on: June 21, 2018, 02:15:54 PM »
Hello hkyon,

You can workaround the problem by adding {filenum} marcos to the filename template field to avoid images being overwritten.
Best regards,
Alexey Pasumansky,
Agisoft LLC

hkyon

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: export problem in case of same image file name
« Reply #2 on: June 21, 2018, 03:59:17 PM »
Thanks Alexey.
The way you talked about is to enable file not to be overwritten in the undistort image function. But it does not seem to be applied for the export camera in the current version. Is it possible in a python script?
And it seems that {imagefolder} is not divided into each path when the input images have multiple paths.
Probably, it is possible to differentiate each file by changing the input file name before "Add photos".