Text, Image, Audio, and Video can all be used to represent data. All data sent across the transmission media is entirely in binary format (0s and 1s).
1. Text -
If a text contains a number (1, 2, 3, 4,...), it is transformed to binary format using Decimal-to-binary conversion.
If the text contains an English alphabet (a, b, c,...) or an English word (table, chair, if, else,...), it is translated into decimal form numbers using the ASCII format. The ASCII is an abbreviation for the American Standard Code for Information Interchange.
2. Image -
If an image is the data, then we can also convert t into a binary format. Image is a collection of Pixels (Picture Element).
For simplicity, we take a normal image of Red, Blue, and Green color. Also, we take three bits of Red, Blue, Green in which the range goes from 0 to 1.
000 - White
001 - Green
010 - Blue
100 - Red
111 - Black
Note - for simplicity, we did not take 110, 101, 011
3. Audio/Video -
Audio and Video are a continuous quantity. It is not discrete. That's why we can change it into an analog signal or digital signal. In a digital signal, we write 0s and 1s.
1 Comments
Thank you sir. You very well defined image to binary bits
ReplyDelete