AbdoKamel/simple-camera-pipeline

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

Opened this issue · 5 comments

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.

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.

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.

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!

@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.

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