Community Forum

Author Topic: can't export Undistort Photos  (Read 917 times)

bisenberger

  • Full Member
  • ***
  • Posts: 239
    • View Profile
    • Digital Mapping & Graphics
can't export Undistort Photos
« on: September 20, 2017, 07:53:10 PM »
I think this is because the image extension is upper case. I changed the extension of the actual files on disk to lower case, but the Photo list in PhotoScan still shows the extension as upper case.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 8557
    • View Profile
Re: can't export Undistort Photos
« Reply #1 on: September 20, 2017, 08:01:27 PM »
Hello bisenberger,

After the images are added to PhotoScan project they shouldn't be changed: neither transformed, nor renamed.

Can you rename the source photos back using uppercase? Alternatively you can manually modify doc.xml file in project files (frame.zip) and replace all uppercase extensions to the lower case.
Best regards,
Alexey Pasumansky,
AgiSoft LLC

bisenberger

  • Full Member
  • ***
  • Posts: 239
    • View Profile
    • Digital Mapping & Graphics
Re: can't export Undistort Photos
« Reply #2 on: September 20, 2017, 08:03:16 PM »
I was able to export the unidistorted photos by changing the Filename template in the Undistort Photos dialog to {filename}.jpg.

bisenberger

  • Full Member
  • ***
  • Posts: 239
    • View Profile
    • Digital Mapping & Graphics
Re: can't export Undistort Photos
« Reply #3 on: September 20, 2017, 08:05:00 PM »
Hi Alexey,
Yes I can change them back.

Why is the case of the extension so critical?

aloerch

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: can't export Undistort Photos
« Reply #4 on: November 25, 2017, 02:51:10 AM »
I can confirm this problem with version 1.3.4 build 5067 . I tried in both Windows and Linux, and in both cases, the default template "{filename}.{fileext} would try to save my undistorted Sony a6000 jpegs (filenames contain capital JPG extension) with a capital JPG. The error was "can't save image" and this error occurs on new project, and projects that I had previously exported undistorted images for.

The solution, as the OP has posted, was to change .{fileext} to .jpg (with jpg in lower case). It seems at the moment that Photoscan is not able to save the images if the original filenames have a capital JPG extension, when the default undistort template is used.