simple-camera-pipeline icon indicating copy to clipboard operation
simple-camera-pipeline copied to clipboard

I want to make my iphone's dng image to sRGB image.

Open spnova12 opened this issue 6 years ago • 5 comments
trafficstars

I made the dng file using the iraw app(https://itunes.apple.com/in/app/iraw/id917507085?mt=8) But my dng file does not work in your code. What are some possible solutions to this problem? I'd like to ask you to give me some advice on this problem. Thank you.

spnova12 avatar Apr 11 '19 06:04 spnova12

I found out that some iPhone's DNGs are compressed, which Matlab's Tiff library can't read. One workaround would be to uncompress the DNG file with Adobe's DNG Converter: https://helpx.adobe.com/ca/photoshop/using/adobe-dng-converter.html

Just make sure to choose the "Uncompressed" option.

See here for more details: https://helpx.adobe.com/ca/photoshop/using/adobe-dng-converter.html

I will try to implement this in the pipeline in the near future.

AbdoKamel avatar Jul 05 '19 01:07 AbdoKamel

Is not this the isp code actually used in your paper? Did you use another isp to create the ground truth? Thank you very much for your reply.

spnova12 avatar Jul 05 '19 02:07 spnova12

Yes, this is the code used in the paper. The issue with the compressed iPhone DNGs was resolved by the Adobe DNG Converter as mentioned. Hope this helps!

AbdoKamel avatar Jul 05 '19 02:07 AbdoKamel

@spnova12 I forgot to ask, is your image already compressed? If you can share with me an example image of yours, I can try to figure out the exact issue.

AbdoKamel avatar Jul 05 '19 03:07 AbdoKamel

I am really grateful, but I do not use iphone anymore. Thank you for your kindness.

spnova12 avatar Jul 10 '19 00:07 spnova12