Exam card
- Computer Vision (CV) = enabling computers to extract information from images & video — recognising objects, detecting people, reading text, identifying faces.
- Human vs computer vision: human vision is a biological perception system; CV computationally reproduces useful aspects of that perception.
- Three related fields: Image Processing is image → image (enhance/filter/restore), Computer Graphics is model → image (render/animate), and CV is image → meaning (detect/recognise/segment/track).
- CV pipeline: Capture → Pre-processing → Feature representation → Analysis → Decision (raw pixels in, a decision out).
- Digital image = a 2-D function I(x, y); in a digital image x, y and the intensity I are all finite & discrete — a finite grid of pixels, each with a location and a grey/intensity value.
- Five resolutions: pixel, spatial, spectral, temporal, radiometric. Colour models: RGB (additive), CMY (subtractive), HSI/HSV (closer to human description).
Key diagram
Key terms
What this topic covers
- What is computer vision? (and how does it relate to human vision)
- CV vs Image Processing vs Computer Graphics
- What is a digital image — pixels & grey levels
- The five resolutions & colour models
Deep summary
Everything here follows the Topic 1 slides; each part shows its slide numbers. Parts marked added are study aids we wrote, not lecture content.
1 · The pipeline on one picture Topic 1 · slides 3–4, 8
Slide 8’s five stages on the kind of street photo shown on slide 4. Capture gets the pixels from a sensor or camera. Pre-processing removes noise (the white specks). Feature representation keeps what matters, such as edges and colours. Analysis classifies and detects (“car”). The decision is the output.
The “2 cars ahead” decision is an example we chose; the slide names the stage only.
2 · Compare: two lists of steps, and where image processing sits Topic 1 · slides 6, 8, 32
The lecture gives the steps twice. Slide 8 has five stages for a CV pipeline; slide 32 has four fundamental steps of digital image processing. They line up one to one, and only slide 8 adds a final decision.
Why it matters: the IP tasks on slide 6 (filtering, noise removal, contrast enhancement, restoration) are exactly what the pre-processing stage does. So CV uses image processing inside its pipeline, then goes further to extract meaning.
3 · Worked exercise: read a grey-level grid Topic 1 · slide 17
Slide 17 asks five questions about this grid. Each number is a pixel’s grey level (intensity), so a bigger number means brighter.
- Width = 4 (pixels per row)
- Height = 4 (rows)
- Pixels = 4 × 4 = 16
- Brightest = 150 (row 3, column 3)
- Darkest = 10 (row 1, column 1)
This is what slide 13 means by “a finite number of components, each with a particular location and value”.
4 · Grey levels: how many shades? Topic 1 · slides 15–16, 28
Slide 15 shows the same black-to-white ramp with 2, 4, 8 … 256 levels. Slide 16 shows a face with fewer and fewer levels: with very few levels, smooth skin turns into flat patches, and at 2 levels the face is just black and white.
History link (slide 28): the first newspaper picture system, the Bartline cable (1920s, London → New York), could send only 5 intensity levels, later 15.
added The bits column: n bits give 2n levels, so 8 bits = 256.
5 · Resolution: pixel vs spatial Topic 1 · slides 18–20
Slide 18 lists five resolutions; slides 19–20 show two of them. Pixel resolution is how many pixels the image has: the same car with fewer pixels turns into blocks. Spatial resolution is how much fine detail the image shows: the same face can have the same pixel count but look blurred.
Slide 18 also names spectral, temporal and radiometric resolution without examples; in short: bands of colour captured, frames over time, and grey levels per pixel (as in section 4).
6 · Colour models: adding light vs adding ink Topic 1 · slides 21–26
Slide 21 splits colour models into additive and subtractive. RGB (slide 23) adds coloured light: red + green = yellow, and all three give white. CMY (slides 24–25) adds ink, and each ink absorbs one light: cyan absorbs red, magenta absorbs green, yellow absorbs blue. More ink means less light, and all three give black.
HSV (slide 26) is drawn as a cone: hue is the angle around it, saturation the distance from the centre, value the height.
7 · Where image processing came from, and where it is used Topic 1 · slides 9, 27–31
Origins: newspaper pictures over the Bartline cable (1920s) → the first computers able to do real image processing (1960s; in 1964 Ranger 7’s images were corrected for distortion) → medical use in the 1970s (CAT / CT).
Two aims of IP (slide 27): improve pictures for human interpretation, and process image data for storage, transmission and machine perception.
Fields (slide 31): character recognition · machine vision for assembly and inspection · military reconnaissance · fingerprints · satellite images for weather · X-ray and gamma-ray imaging. CV applications (slide 9): smartphone camera, photo search, medical diagnosis, robotics, autonomous vehicles, satellite imagery.
8 · Exam traps Topic 1 · slides 6–8, 17, 19–20, 21–25 added
- IP vs CV: IP outputs an image; CV outputs information (slide 6). Noise removal alone is IP, not CV.
- Graphics is the reverse: it creates images from models (slide 7); it doesn’t read them.
- Brightest = biggest number in a grey-level grid (slide 17), not the pixel in the middle.
- Pixel ≠ spatial resolution: more pixels doesn’t always mean more detail (slides 19–20).
- RGB adds light, CMY absorbs it: all three RGB = white, all three CMY inks = black (slides 23–25).
9 · Quick check Topic 1 · slides 6, 8, 17, 25 added
Q1. Which stage of the pipeline would remove the white specks in a photo, and is that IP or CV?
Q2. A 3 × 5 grey-level image: how many pixels? If its values are 12–240, which is the brightest?
Q3. Magenta ink on white paper: which light does it absorb, and which does it reflect?
Exam questions · 14 Practise these 14
Q1Define computer vision and give examples of tasks it performs. How does it relate to human vision?
Q2Distinguish computer vision, image processing and computer graphics.
Q3What is a digital image? Explain pixels and grey levels, and the stages of the CV pipeline.
Q4Name the five types of image resolution and the main colour models.
Q5Apply · An automatic number-plate reader at a toll gate: describe what happens at each of the five CV pipeline stages.
Q6Classify · Is each task Image Processing (IP), Computer Vision (CV) or Computer Graphics (CG)? (a) sharpening a blurred photo (b) a phone unlocking with your face (c) rendering a 3-D game scene (d) removing noise from an X-ray (e) counting cars in a traffic video.
Q7Calculate · An image is 640 × 480 pixels with 8 bits per pixel. (a) How many pixels? (b) How many grey levels? (c) How much storage, uncompressed?
Q8Calculate · How many bits per pixel are needed for (a) 16 grey levels (b) 2 grey levels? What do you see when a face image drops from 256 levels to 4?
Q9Explain · Two images are both 1000 × 1000 pixels, but one shows much more detail. How is this possible?
Q10Match · Match each to its type of resolution: (a) a satellite sensor capturing 7 bands (b) CCTV recording 30 frames per second (c) a 12-bit medical X-ray (d) a 12-megapixel phone camera (e) a sharp vs a blurred face of the same size.
Q11Colour · What colour do you get? (a) RGB light: red + green (b) red + blue (c) green + blue (d) CMY inks: cyan + yellow (e) all three CMY inks.
Q12Explain · Why do screens use RGB but printers use CMY?
Q13Describe · Describe the three components of the HSV model using its cone, and give one reason to prefer HSV over RGB.
Q14Outline · Outline three milestones in the history of image processing, and state the two main aims of image processing.
Quick MCQs · 14 MCQs in Practise
Not the exam format: quick checks that you understood the topic. Choose 1 or all that apply, then Check.