Different rendering with rawpy and dcraw_emu #137
Unanswered
pablonavarrob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
I've been playing with rawpy to write a routine to read three .RAF files, merge one given channel of each file (the red from the first, the green from the second, and the blue from the third) into a single image, and then convert them to linear .tif without having to write the single .tif files in the computer SSD, to open them again for the merging. I have managed to write a nice routine with rawpy, however, I have noticed that it produces a much different output than what I get with dcraw_emu. Is there any reason for that? Fuji files tend to be quite annoying during the demosaicing process, as sometimes "wormy" artifacts appear. Dcraw manages this really well using the AHD algorithm, however, rawpy (libraw for that matter) seems to render those artifacts regardless of the algorithm used. I haven't managed to install the algorithms "expansion pack" so I fear that might have something to do with it, however, I have no experience with C and compiling code, so I haven't been able to do it.
Below you can see the code snippet that I am using and also an image with the results.
Thanks in advance for reading this!
Here's a screenshot of the different results I'm mentioning: left is demosaiced using rawpy, right is dcraw_emu, with the same algorithm (AHD). Never mind the different colors, the two images had a different ICC color profile applied in photoshop.
Beta Was this translation helpful? Give feedback.
All reactions