I am using LibRaw together with the rawPy wrapper (http://pythonhosted.org/rawpy/api/rawpy.RawPy.html) to read in DNG files into Python. Unfortunately the input image does not seem to be correctly read in.
The code I use is:
import rawpy
import imageio
newFile = 'GOPR0079.DNG'
with rawpy.imread(newFile) as raw:
rgb = raw.postprocess(demosaic_algorithm=None,output_color = rawpy.ColorSpace.raw)
I'm finding a need to update my tools that use LibRaw, so I was wondering if there is a recommended release/commit I should be basing it off? Generally I prefer explicitly version releases but in this case the need for newer cameras overrides that.
Hi,
according to the documentation, the dcraw_emu tool should produce binary identical results to those produced by dcraw with the same command line keys. I have an example file where the behaviour between the two binaries differ. You can get the file here: https://drive.google.com/file/d/0B-kBET7UtPB9RkVzVzF6NzNWQzA/view?usp=sh....
Note that I used the following command on the file: ./dcraw -v -q 3 -4 -T ./IMG_9975.CR2
Hello, it's me again.
this time about the Sigma RAW files.
After libraw_unpack(), it appears that rawdata.raw_image is null and rawdata.color3_image not null.
Does it mean that there are no Bayer patterns in this kind of file ?
Hello,
I am trying to read RAF files in CFA (equivalent of dcraw -v -T -4 -o 0 -D -t 0 -k 0 -H 1). I'm using this piece of code which is working well with other pictures:
When I am taking picture using a Canon 80D face down, most of the image converted by libraw (current master branch as Sep/26/2016) look kind of scattered and messed up. If I take picture while taking camera horizontally, all the images are OK. I have attached a converted one by libraw. Please let me know how I can send you the raw file since it has the right image in it.
Recent comments