| Author |
Message |
alzhrani
Joined: 18 Sep 2005 Posts: 15
|
18 Sep 2005 21:53 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
Hi everyone
Could anyone help me to obtain 24 bit RGB format from the output of ADC from image sensor
THANKS
 
|
|
| Back to top |
|
 |
MirekCz
Joined: 23 Aug 2005 Posts: 12
|
18 Sep 2005 23:26 Re: How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
what's the ADC image sensor output format?
YUV? RGB?
There are quite simple formulas to translate from one color format to another, so it shouldn't be much trouble. Just look into sensor documentation what type of output data it sends and (if needed) do the conversation to 24bit RGB color.
You will find tons of ready to use functions on internet regarding translation between color formats.
|
|
| Back to top |
|
 |
alzhrani
Joined: 18 Sep 2005 Posts: 15
|
20 Sep 2005 20:12 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
Thanks MirekCz
for replay
the output of ADC from sensor is 8 bit RGB
i need circuit for that or code
|
|
| Back to top |
|
 |
cube007
Joined: 12 Mar 2002 Posts: 538 Helped: 12 Location: Australia
|
21 Sep 2005 8:02 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
Hello alzhrani,
If the sensor has got one output for each colour (RGB = red, green, blue) than you have 24 bit RGB already:
8 bit red, 8 bit green, 8 bit blue = 24 bit RGB
Bye,
cube007
|
|
| Back to top |
|
 |
echo47
Joined: 07 Apr 2002 Posts: 4206 Helped: 566
|
21 Sep 2005 8:40 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
What is "8 bit RGB"?
Do you mean 3 bits of red, 3 bits of green, and 2 bits of blue?
Or do you mean that it outputs three 8-bit bytes in sequence, first red, then green, then blue?
|
|
| Back to top |
|
 |
alzhrani
Joined: 18 Sep 2005 Posts: 15
|
21 Sep 2005 18:35 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
thanks for every body
no i mean the output of the sensor are RGB bayer Patttern
and i would like to make interpolation fore that matrix to get 24 bit RGB
|
|
| Back to top |
|
 |
Google AdSense

|
21 Sep 2005 18:35 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
jarodz
Joined: 12 Mar 2005 Posts: 100 Helped: 14
|
21 Sep 2005 19:46 How I get 24 bit RGB from 8 bit output from Image sensor |
|
|
|
|
hi alzhrani,
The demosaic algorthem is you want.
You can search google by "demosaic" or "color interpolation".
The following is weblink, I search from google.
http://ise.stanford.edu/class/psych221/projects/99/dixiedog/vision.htm
Sincerely,
Jarod
|
|
| Back to top |
|
 |