Reply to comment

How to obtain bit depth?

Hey,

I need to analyze and normalize a given RAW-Picture, but the program needs to work for 12 and 14bit cameras. When I use the imgdata.image field, I don't know whether I have to divide by 4096 or 16384. I searched the forum, documentation and sample files, but couldn't really find anything. Is there any way to solve my problem apart from just guessing that I have a 14bit because some values are larger than 4096?

bye, Peter

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.