Forum

Author Topic: Issues loading DNG images  (Read 16108 times)

ddarz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Issues loading DNG images
« on: February 01, 2018, 06:46:39 PM »
Hi,

I've been using Photoscan for a while for a number of academic projects, but as of a few months now we can't seem to load DNG images anymore.

This wasn't an issue for a while as we just needed rough prototypes that we could do we JPEG files, but now we are after the better quality of the DNG files and every time we try to add the images we get an error messages stating "Can't Load photos" and the console just gives an "Exit code 1" output

The images are coming froma Pentax K-1 DSLR that we have used DNG files from succesfully in the past.
In fact neither new or older DNG files are working anymore

Are we doing something wrong or has something changed? Any ideas?

Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #1 on: February 01, 2018, 07:09:55 PM »
Hello ddarz,

Which version of PhotoScan you are using?

Can you provide an example of new DNG that is not working for import?
Best regards,
Alexey Pasumansky,
Agisoft LLC

ddarz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Issues loading DNG images
« Reply #2 on: February 01, 2018, 07:14:31 PM »
Hi Alexey

I'm currently using version 1.4.0 build 5650 (64 bit)
Although the issue has been around for a few updates now

I'll PM you a link to one of the DNG's

Thank you for the help :)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #3 on: February 01, 2018, 10:08:02 PM »
Hello ddarz,

Thank you for providing the image sample, we'll check what's causing the image import issue.
Best regards,
Alexey Pasumansky,
Agisoft LLC

ddarz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Issues loading DNG images
« Reply #4 on: February 01, 2018, 10:20:40 PM »
Thanks!
 I look forward to hearing back from you

Landy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Issues loading DNG images
« Reply #5 on: February 08, 2018, 03:18:04 AM »
I am having the exact same problem after upgrading from Photoscan 1.2.6 to 1.4.0.  The old version happily read DNG files from my Pentax K-70, but the new version comes up with the "can't load photos" error.  I did a test and opened one of the Pentax DNG files into the photoshop adobe raw loader and resaved as a new DNG file from there - and that loads without a problem into Photoscan 1.4.0.  So it seems there is something specific in the Pentax DNG file format that the newer version of Photoscan is objecting to.

Has there been any progress in resolving this problem?
cheers
Bill

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #6 on: February 08, 2018, 09:29:17 AM »
Hello Bill,

We have fixed the problem reported above, but you can also send a sample DNG file to support@agisoft.com, so that we can confirm it would work in 1.4.1 properly.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Landy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Issues loading DNG images
« Reply #7 on: February 08, 2018, 02:43:49 PM »
Thanks Alexey
Done - had to send it as a onedrive link as the file was too big to attach to email.
cheers
Bill

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #8 on: February 08, 2018, 03:13:06 PM »
Hello Bill,

I've checked the image in our internal version where the fix is implemented and it appears to work properly.
Best regards,
Alexey Pasumansky,
Agisoft LLC

ddarz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Issues loading DNG images
« Reply #9 on: February 08, 2018, 10:10:47 PM »
Great news, thanks :)

Landy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Issues loading DNG images
« Reply #10 on: February 09, 2018, 01:45:50 AM »
Excellent work!  Any time frame on 1.4.1 release?
Just out of interest - is there any advantage to using raw files in photoscan - does it work in the higher bit modes or does it reduce images to 8 bits/channel before matching points etc?  I have noticed it seems to be able to match better with raw files than jpegs, so I am assuming it does work with the higher bits/channel?
cheers
Bill
« Last Edit: February 09, 2018, 03:09:44 AM by Landy »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #11 on: February 16, 2018, 08:12:09 PM »
Hello Bill,

I think it would be released next week.

As for the used color range. Latest versions of PhotoScan are using full available color range from the input images (without downsampling) for the image matching.
Best regards,
Alexey Pasumansky,
Agisoft LLC

ddarz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Issues loading DNG images
« Reply #12 on: February 16, 2018, 08:13:39 PM »
Great news and timing, thanks for the update :)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15437
    • View Profile
Re: Issues loading DNG images
« Reply #13 on: February 26, 2018, 01:51:38 PM »
Hello,

Please check latest 1.4.1 version, hope your DNG files are working properly now:
http://www.agisoft.com/downloads/installer/
Best regards,
Alexey Pasumansky,
Agisoft LLC

Landy

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: Issues loading DNG images
« Reply #14 on: February 28, 2018, 05:00:31 AM »
Thanks Alexey - DNG files all load correctly now.  The newer versions cause all sorts of CUDA and  kernel errors on my PC at uni - but it works fine on my home PC which has a much better video card.
cheers
Bill