Skip to content

Data Representation Methods for Still Images

低頻~20 min3 terms2 past questions

Goals of this unit

  • Explain that raster data represents an image as a grid of pixels, each holding a color value.
  • Calculate the size of bitmap data from the number of pixels and the bits per pixel.
  • Tell vector data apart from raster data by how each looks when enlarged and which images each suits.
Terms at a glance (3)
TermIn one lineHow the image is storedWhen enlarged
ラスターデータData that divides an image into a grid of pixels and stores a color value for each one.A color value per pixelPixels stretch and edges turn jagged
ビットマップデータImage data that records each pixel's color as a sequence of bits; it means almost the same as raster data.Each pixel's color stored as bitsEdges turn jagged, as with raster data
ベクターデータData that represents an image with point coordinates and shape information such as lines and curves.Coordinates and formulas that draw shapesRedrawn each time, so outlines stay smooth

Terms

ラスターデータRaster data

Open in glossary ラスターデータ

Raster data ラスターデータ divides an image into a grid of pixels arranged in rows and columns and records a color value for each pixel.

  1. Divide the image into a pixel grid
  2. Record a color value per pixel
  3. Enlarged, outlines turn jagged

When shown large, each pixel simply stretches, and the edges of diagonal lines look jagged.

3 / 3

More pixels (higher resolution) give finer detail, but there are more values to store, so the data grows larger. When the image is enlarged, each pixel stretches and the edges of diagonal lines and curves show stair-step jaggies. Raster data suits images like photographs, where color and shading change finely from spot to spot.

AnalogyIt is like a mosaic made of small colored tiles. From a distance you see a picture, but up close you can see the seams between each tile.

How to rememberThe word raster comes from the Latin for rake. Picture the parallel lines a rake leaves, packed side by side, as rows of pixels stacked one on another.

Exam points

  • ExamRaster data ラスターデータ holds color and brightness values for every pixel, so it can be edited by changing colors one pixel at a time.

2 past questions on this term ラスターデータ

ビットマップデータBitmap data

Open in glossary ビットマップデータ

Bitmap data ビットマップデータ is image data that records each pixel's color as a sequence of bits, and the term means almost the same as raster data.

The more bits assigned to each pixel, the more colors it can show: black and white need just 1 bit, while full color with about 16.77 million colors needs 24 bits. The BMP format is a typical file format that saves images this way.

AnalogyIt is like a sheet of graph paper with a color number written in each square. Read the numbers in order and you can paint the original picture again.

How to rememberRemember it literally: bits laid out to match positions on the screen, like a map.

Exam points

  • ExamWithout compression, the size of bitmap data ビットマップデータ is set by pixel count × bits per pixel. With the same bits per pixel, doubling both the width and height in pixels makes the size four times larger.
  • Mix-upBitmap data ビットマップデータ and raster data ラスターデータ both represent images as a pixel grid; they differ only in name and refer to nearly the same thing.

2 past questions on this term ビットマップデータ

ベクターデータVector data

Open in glossary ベクターデータ

Vector data ベクターデータ represents an image with point coordinates and shape information such as the lines and curves that connect them and the fills inside them.

  1. Record coordinates and shape data
  2. Calculate for the display size
  3. Draw smooth outlines

Since it is drawn from the results every time, the edges stay smooth even when enlarged.

3 / 3

Because it is redrawn from coordinates and formulas every time it is shown, its outlines never blur or turn jagged when scaled up or down. Its size depends not on the on-screen dimensions but on the number and complexity of shapes, so logos and drawings built from simple shapes stay small. On the other hand, it is a poor fit for images like photographs, where the color changes from point to point.

AnalogyIt is like handing over drawing instructions such as “draw a line from this point to that one,” rather than a finished picture. Follow the steps and you can draw it cleanly on paper of any size.

How to rememberVector is the same word as the math term for a quantity with direction. Picture an arrow running from a start point to an end point to draw a line.

Exam points

  • Mix-upHow edges look when enlarged depends on how the image is stored. Vector data ベクターデータ is redrawn from formulas and stays smooth, while pixel-based raster data ラスターデータ stretches its pixels and its edges turn jagged.

1 past questions on this term ベクターデータ

Raster data vs. Vector data

AspectRaster dataVector data
Key differenceHow the image is storedA color value per pixelCoordinates and formulas that draw shapes
When enlargedPixels stretch and edges turn jaggedRedrawn, so edges stay smooth
What sets the data sizePixel count and bits per pixelNumber and complexity of shapes
Suited imagesPhotos and other finely shaded imagesLogos, drawings and other shape combinations

Key points

  • Raster data shows an image as a pixel grid; higher resolution gives finer detail but also more data.
  • Bitmap data means almost the same as raster data, and its uncompressed size is the pixel count multiplied by the bits per pixel.
  • The bits per pixel decide how many colors can be shown, and 1 bit is enough for black and white.
  • Vector data holds coordinates and shape information and is redrawn each time it is shown, so its outlines hold up at any size.

Check questions

2 past questions from this unit

Start the check questions

All past questions in this topic