Closed davidenitti closed 3 years ago
raw_image_visible
is no different than raw_image
, just cropped.
Postprocessing always involves some rescaling, but the values you get when using gamma=(1,1), no_auto_bright=True, output_bps=16
should be as linear as it gets. If that doesn't work, please ask in the libraw forums.
I would like to understand how to get the linear color value from the raw_image_visible from a RW2 file. the raw values seems to be 14 bits (I mean the values are below 2^14) and they do not seem similar to the postprocess image with gamma=1,1. for example raw values are never 0, while in the postprocessed there are 0 values. excluding demosaicing (I'm comparing a raw pixel with the relative color in the postprocessed image), why I see different values? is there any processing I'm forgetting? maybe white balance? but this does not explain the 0 values.
thanks!