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())
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())