Digital Image Data Representation - Know the Code (2024)

How does your computer see an image? Our eyes see the blue sky, cirrus clouds painting the sky, and the green grass, but how does a computer represent this same picture? Let’s explore how images are represented in the computer.

Your key takeaways from this episode are:

  • Digital images are comprised of tiny amounts of information.
  • The pixel is the unit of measure for a digital image.
  • One pixel represents a single color.
  • Colors are represented in hex, RGB, and other identification schemes.
  • Pixels are identified by their location within the coordinate grid.

Study Notes

How Computers See Images

Computers see images as lots of numbers.

  • color: #82b854;
  • RGB
  • Pixel
  • Pixel Grid
  • background-color: rgb(130,184,84);

Digital Image Data Representation - Know the Code (1)A picture that we see is actually comprised of tiny squares of color. These “squares” represent one pixel. A pixel holds just one color of information.

  • An image is broken down into the smallest single piece of information: a single color.
  • This one color is represented as a number.
  • An image is broken down into pixels.
  • Each pixel holds the information about its color.
  • Therefore, a pixel’s role is to represent a single color.
  • Combine these pixels together to paint the picture using the grid.

The Composition of White Light

  • By using a prism, Newton proved that white light consists of pure, continuous colors.
  • He identified these colors as red, orange, yellow, green, blue, indigo, and violet.
  • You see these colors naturally in rainbows.

Color encoding system: Red, Green, Blue –> RGB

We need a way to encode the colors, i.e. a color encoding system. If you combine red, blue, and green, you can represent a wide range of colors. This is known as the RGB Color Scheme.

The Pixel

Digital Image Data Representation - Know the Code (2)

  • An image is broken down into pixels.
  • Each pixel holds the information about its color.
  • Apixel’s role is to represent asingle color.
  • Combine these pixels together to paint the picture using the grid.

You can see the red color values here:
http://www.color-hex.com/color/ff0000.

Let’s transform the color into what the computer uses. Remember that the color is a number representation which the software converts to the 1s and 0s the computer needs to understand the color.

BaseRedGreenBlue

Decimal25500
Octal37700
HexFF0000
Binary1111 11110000 00000000 0000

In CSS, we use a pound sign (#) and then a six character hexadecimal number to represent the color. Therefore, #FF0000, which is red, is actually a hex number.

Pixel Grid

Pixels are assembled in a grid system. Each one has coordinates. Think about a coordinate system that you worked with in math. What are the coordinates for a single pixel in a grid? Each pixel is specified by its position within the grid system as identified by (x-axis, y-axis).

Digital Image Data Representation - Know the Code (3)

Resolution

Resolution is determined by the width and height of the image. For example, for a 400px x 400px image, the resolution is 400 x 400 = 160,000. This can also be expressed as 0.16 megapixels.

External Resources

Digital Image Data Representation - Know the Code (2024)
Top Articles
USPS insufficient address mail – How to fix it
SSA Org | Commissioner
Sandrail Options and Accessories
Winston Salem Nc Craigslist
How To Do A Springboard Attack In Wwe 2K22
Top Scorers Transfermarkt
Www.craigslist Augusta Ga
Autozone Locations Near Me
Jessica Renee Johnson Update 2023
Cool Math Games Bucketball
Nitti Sanitation Holiday Schedule
Local Collector Buying Old Motorcycles Z1 KZ900 KZ 900 KZ1000 Kawasaki - wanted - by dealer - sale - craigslist
Find Such That The Following Matrix Is Singular.
Inter-Tech IM-2 Expander/SAMA IM01 Pro
Palm Springs Ca Craigslist
Hermitcraft Texture Pack
Heart Ring Worth Aj
Dallas Mavericks 110-120 Golden State Warriors: Thompson leads Warriors to Finals, summary score, stats, highlights | Game 5 Western Conference Finals
Somewhere In Queens Showtimes Near The Maple Theater
About My Father Showtimes Near Copper Creek 9
Fleet Farm Brainerd Mn Hours
Parkeren Emmen | Reserveren vanaf €9,25 per dag | Q-Park
Wat is een hickmann?
Waters Funeral Home Vandalia Obituaries
O'reilly's In Monroe Georgia
Desales Field Hockey Schedule
Ezstub Cross Country
Rocketpult Infinite Fuel
Muziq Najm
Gun Mayhem Watchdocumentaries
Sam's Club Gas Prices Deptford Nj
Gold Dipping Vat Terraria
How To Upgrade Stamina In Blox Fruits
Davis Fire Friday live updates: Community meeting set for 7 p.m. with Lombardo
Anhedönia Last Name Origin
Engr 2300 Osu
Bekkenpijn: oorzaken en symptomen van pijn in het bekken
Patricia And Aaron Toro
Mybiglots Net Associates
Ephesians 4 Niv
House For Sale On Trulia
Craigslist Pet Phoenix
Is My Sister Toxic Quiz
60 Second Burger Run Unblocked
Gelato 47 Allbud
Makes A Successful Catch Maybe Crossword Clue
Maurices Thanks Crossword Clue
Hampton Inn Corbin Ky Bed Bugs
Home | General Store and Gas Station | Cressman's General Store | California
Vcuapi
Bones And All Showtimes Near Emagine Canton
Selly Medaline
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6610

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.