AQA 8525 3.3.6: Representing images
The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.
What it covers
A digital image is a grid of dots called pixels, and each pixel's colour is stored as a binary number. BugBot's camera works exactly like this, and camera_image() gives you its picture as a grid of numbers you can read, change and measure. This lesson looks at the robot's view pixel by pixel.
- A picture is a grid of numbers
- Seeing it in the console
- Resolution and colour depth
- File size
- Metadata
Or do it in the simulator, with tasks that mark themselves
Lessons that teach it
- F8.7 Images Data representation
Pixels, resolution, colour depth, metadata and file size, from the robot's camera.
Try it on a robot
The task from F8.7 Images, running here. Change the program and press Run.
The specification is AQA's own document; this page says which of our lessons teach point 3.3.6 and is not endorsed by the board.