knowledge-kitchen

Digital Imagery - How Your Computer Interprets Photos and Images

the practicality of producing images on and for a computer

  1. Overview
  2. Raster Images
  3. Vector Images
  4. Conclusions

Overview

Concept

The way in which a typical computer stores and manipulates image data is interesting from a conceptual standpoint as well as from a practical position.

Data structures

When it comes to digital images, there are two categories of data structures that are used to represent the image data.

Raster Images

Example

Imagine an image of a simple rectangle:

Rendered rectangle

Example (continued)

A raster image (also known as a bitmap image) would divide this image into a dot matrix grid and store information about the solid color at each grid point.

Raster rectangle

Digital cameras

Digital cameras capture the amount of light falling onto a grid of light sensors behind the camera lens.

Computer displays

Almost all computer displays today contain a grid of lamps that produce the image you see.

Printed materials

Computer printers, including dot matrix printers, inkjet printers, and laser printers, print image data to paper and other materials.

Features

There are a few key features that influence the quality, display size, and file size of any raster image.

Attention to detail

When shopping for a computer, you always see advertisements like this:

False advertising of resolution

Compression formats

When it comes to saving raster image data into a usable file, there are a few considerations.

Compression formats

A few popular raster image compression algorithms attempt to find the perfect balance between file size and fidelity…

Compression formats

A few popular raster image compression algorithms attempt to find the perfect balance between file size and fidelity…

Compression formats

A few popular raster image compression algorithms attempt to find the perfect balance between file size and fidelity…

Drawbacks

While raster images lend themselves to digital cameras, computer displays, and printers, there are some reasons why they are not perfect for all images.

Vector Images

Example

Take the same image of the rectangle we saw earlier…

Rendered rectangle

Example (continued)

A vector image would store just the fact that there is a rectangular shape with a particular width, height, stroke color, and fill color.

<rect class="cls-1" width="130" height="90" />
<style>
        .cls-1{
                fill: #f69799;
                stroke: #b5739d;
                stroke-width: 10px;
        }
</style>

Benefits

Vector imagery offers advantages in some use-cases, compared to raster imagery.

Applications

Vector images are widely used in specific contexts.

File formats

There are many popular specialized vector image files for specific applications.

Conclusions

This presentation has hopefully given you a useful overview of image theory as it applies to producing images on and for a computer.