Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

how a computer describes an image. binary

computing

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 JonElias

JonElias

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 201 posts

Posted 11 September 2014 - 10:51 AM

i really wonder how does a computer describe an image with 01010100001011000000101

i know that a picture is contains of pixels which gets a certain color when exposed to different light combinations with the 3 tiny led lights making a pixel

and how much of that color is described as rgb, or red green or blue in presentage or like #f

but what are the readings of the data cable in the usb cable coming from a webcam sending a picture?

 


"computers are useless they only give you answers" Pablo Picasso
And yes he was alive when the first programmable computer was made

#2 BlackRabbit

BlackRabbit

    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 11 September 2014 - 03:37 PM

First of all, for video composition there are norms, like PAL, YUV, NTSC, etc.

Every device format the video bytes according to such norms (not all of them pack colors with the same depth, or in the same way), and that composition is what a device, like a camera, transmits true the wires (or the air).

 

Then a webcam, sending a picture, we are talking intermediate software, since DirectX/OpengGL, or whatever catches that data stream, translates, and gives you the picture in your preferred format.






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download