Forum

can't export Undistort Photos

Started by bisenberger, September 20, 2017, 07:53:10 PM

Previous topic - Next topic

bisenberger

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.
Digital Mapping & Graphics LLC
https://digital-mapping.net/

Alexey Pasumansky

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

I was able to export the unidistorted photos by changing the Filename template in the Undistort Photos dialog to {filename}.jpg.
Digital Mapping & Graphics LLC
https://digital-mapping.net/

bisenberger

Hi Alexey,
Yes I can change them back.

Why is the case of the extension so critical?
Digital Mapping & Graphics LLC
https://digital-mapping.net/

aloerch

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.