I am using the Sony Low-light image dataset from the paper Learning-to-see-in-the-Dark. I am trying to convert Raw image (bayer pattern in arw format) into a jpg/png. I used an online tool that gives a very dark jpg for a short exposure image and I have also used Python rawpy library to read and process the raw image. The resulting image from rawpy is shown below:

**enter image description here**

Rawpy gives a brightened image for a low-light image, which is not desired. I was expecting a dark rgb image. How can I get a dark rgb image in jpg format using rawpy?

  • $\begingroup$ Could you show me the way you convert ARW images to PNG ones. I am also working on the paper (Learning to see in the dark). Thank you! $\endgroup$ – TaQuangTu Mar 22 at 3:01

Did you solve your problem?

Otherwise, I can introduce you an utility software tool (free to download) to convert any raw images to jpgs. I converted all long/short .RAF and .ARW images (in Learn to see in dark) to jpgs in just 30 sec. Unlike rawpy, it doesn't change (brighten) the images.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.