Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


raw image 10-bit to 16-bit

Posted on 2003-03-07
Medium Priority
Last Modified: 2010-04-17

I have a raw image with only one channel (b/w) of 10-bit per pixel.
I need to convert the raw data to 16-bit per pixel.

Can I use a linear conversion or shall I use any formula to do that?

What I'm doing now is a linear conversion. OUT = IN * 65535/1023.

Question by:alfarod
1 Comment

Accepted Solution

lordxeroth earned 80 total points
ID: 8088257
Simple answer: yes

Look at it in this way: transform the 10 bit signal to an analogue signal (DA conversion) and then resample it at 16 bit (AD conversion). So the formula you gave is what you need. There is nothing fancy about it.

Ofcourse you must round the new value to the nearest integer and then everything is as fine as you could get it. Normaly you won't see the difference at all since the max error is 0.5 on 65535 or less then 0.001%

I hope this answers your question.
kind regards,
Lord Xeroth

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Six Sigma Control Plans
Introduction to Processes

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question