Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12bit raw data- Maximum pixel value around 2200 #230

Open
ElhamIsmail opened this issue Jun 3, 2024 · 0 comments
Open

12bit raw data- Maximum pixel value around 2200 #230

ElhamIsmail opened this issue Jun 3, 2024 · 0 comments
Labels

Comments

@ElhamIsmail
Copy link

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

@ElhamIsmail ElhamIsmail changed the title 12bit raw data- Maximum pixel value arounf 2200 12bit raw data- Maximum pixel value around 2200 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants