You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using rawpy to read the "raw" dng image, The issue I am facing right now is that the maximum pixel value for 12bit width image is around 2200, Is there any down scaling done by rawpy of the output pixels values here?
I use the lines below:
with rawpy.imread(path) as raw:
raw_data_12bit = raw.raw_image
print(raw_data_12bit)
print(raw_data_12bit.max())
The text was updated successfully, but these errors were encountered:
ElhamIsmail
changed the title
12bit raw data- Maximum pixel value arounf 2200
12bit raw data- Maximum pixel value around 2200
Jun 4, 2024
Hi,
take a look at no_auto_scale, no_auto_bright, auto_bright_thr parameters in the rawpy.Params class. They control scaling of values and you can see what defaults are used.
You can find more detailed explanation of those parameters in LibRaw docs (just search for those parameters).
I am currently using rawpy to read the "raw" dng image, The issue I am facing right now is that the maximum pixel value for 12bit width image is around 2200, Is there any down scaling done by rawpy of the output pixels values here?
I use the lines below:
with rawpy.imread(path) as raw:
raw_data_12bit = raw.raw_image
print(raw_data_12bit)
print(raw_data_12bit.max())
The text was updated successfully, but these errors were encountered: