Chapter 6
Image & Signal Processing
Digital images, image processing operations and augmentation, the stages of image processing, and classes of signals with their applications.
From: Chapter 6_Image & Signal Processing.pptx
Images (slides 4–6)
- Image: a 2-dimensional matrix of intensity (gray or colour) values.
- Digital image: a real image represented as numbers a computer can store and handle. Examples: landscapes, posters, screenshots, barcodes, fingerprints, X-rays, satellite and radar images.
- Digitization makes a digital image an approximation of the real scene, not a perfect copy.
- Image preprocessing: techniques applied to raw images before ML/computer vision, to enhance quality, remove noise and standardise the data.
- Image processing alters an input image to create a new image, for display/printing, editing, enhancement and compression.
Operations (slides 7–12)
- Noise removal
- Contrast adjustment
- Edge detection (e.g. Canny)
- Region detection / segmentation
- Image compression
- Image augmentation
Image augmentation (slides 13–16)
Increases the size of the training data for better generalization, especially for deep learning and computer vision. It creates new, slightly altered images (rotate, flip, scale, brightness) without needing more real data.
| Technique | What it does |
|---|---|
| Rotation | Rotates slightly (e.g. ±15°) |
| Flipping | Flips horizontally or vertically |
| Cropping | Randomly crops a portion |
| Scaling / zooming | Zooms in or out |
| Translation | Shifts left, right, up or down |
| Brightness / contrast | Increases or decreases them |
| Noise addition | Adds random pixel noise |
| Color jittering | Slightly changes colour, hue, saturation |
| Blurring / sharpening | Makes the image fuzzier or clearer |
- Position augmentation: scaling, cropping, flipping, padding (extra pixels around the borders), rotation, affine transformation (preserves points, straight lines and planes; covers scaling, translation, shearing, rotation).
- Color augmentation: brightness, contrast, saturation, hue.
Stages in image processing (slides 17–18)
| Stage | What it does |
|---|---|
| 1. Image acquisition | Capture with a camera/sensor; real scene → pixels |
| 2. Image enhancement | Improve visibility: brightness/contrast, sharpening, noise removal |
| 3. Image restoration | Recover an original from a degraded (blurry, noisy) image |
| 4. Morphological processing | Enhance/filter shapes: remove small dots, fill gaps (b&w) |
| 5. Segmentation | Split into regions/objects, e.g. lungs from an X-ray |
| 6. Representation & description | Turn regions into data: shape, size, edges, colour |
| 7. Object recognition | Label the objects: cat, car, tumour |
| Optional: colour image processing | Colour adjustment / colour-based detection (RGB) |
| Optional: compression | Smaller file with little or no quality loss |
Tools: OpenCV (Python), MATLAB Image Processing Toolbox. Applications: GIS (terrain classification, meteorology), law enforcement (number plate recognition, fingerprints), HCI (face and gesture recognition).
Signal processing (slides 24–32)
- Used for decades; the digital computer and VLSI (very large-scale integration) brought a new, digital way of processing signals.
- Natural signals: acoustics (speech, dolphins, whales), biology (brain, heart), seismology (earthquakes, volcanoes).
- Man-made signals: audio (music), communication (radio, telephone, TV), control systems (feedback), medicine (ECG, X-ray, MRI), space technology (spacecraft velocity).
| Class | Definition | Example |
|---|---|---|
| Continuous-time | Defined at every instant of time | Sound wave from a dolphin |
| Discrete-time | Defined only at discrete instants | Daily closing price of a commodity; a patient's daily temperature |
| Non-quantized (analog) | Can take any value in a range | Mercury thermometer: 25.1, 25.12, 25.123 °C |
| Quantized (digital) | Only a finite number of discrete values | Digital thermometer: 25, 26, 27 °C; binary 0/1 |
Applications: hearing aids, brain signal monitoring (EEG), blood pressure signals, audio/video compression.