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.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.