Introduction to basic image analysis - Lecture 2 - Week 1 Flashcards
How can we represent an image?
Image function
Landscape
Array of pixels
Image histogram
What is an image function?
I from R^2 to R for a greyscale image
I(x,y) gives the intensity at position x, y
A digital image is a discrete version of this function
What information does a histogram discard from the image?
Spatial information
How are intensity values in grid images represented
A single byte (0=black, 255=white)
What is an image transformation?
Applying a function to an image, e.g. adding 20 to every pixel value
What is addition in image arithmetic and what does it achieve?
Taking the average over two images in sequence
Reduces noise
What is subtraction in image arithmetic and what does it achieve?
Take the difference between two images, need to somehow shift back to [0:255], or take the absolute value
Can detect change over static backgrounds, can find objects, shadows & reflections in real-world scenarios
What is noise?
Stochastic (random) process
Identical images might not have identical values, small fluctuations in pixel values
How is the Signal to Noise ratio (SNR) calculated?
The max signal / sigma (standard deviation of noise)
What is the formula for noise reduction with temporal averaging?
new sigma = old sigma / (sqrt(Number of images averaged))
How is local spatial averaging conducted?
By doing a 3x3 convolution with all 1s as the kernel
Why does noise conflict with scale?
Small structure might be considered “noise” and removed
How is sub-sampling performed
Every other row and column is removed to make an image half the size
If the smallest scale is removed in noise reduction, we don’t need as much spatial resolution:
- Can subsample the image and get the same information in fewer pixels
How can sub-sampling be made better?
By filtering the image (e.g. gaussian filtering), then subsampling, a better final image is obtained
What is multi-scale processing?
If we noise the image first, then slowly bring back detail, face tracking works better