Lecture 4 - Filters Flashcards
(44 cards)
What is Image Enhancement?
Process an image so that the result will be more suitable than the original image for a specific application. (Suitableness is up to each application)
Why is Image Enchancement used?
Common reasons for enhancement include
- Make images easier to interpret for the human eye (Improving visual quality)
- Generate better input for other image processing techniques (Improving recognition accuracy)
What can Image Enchancement be done in?
Spatial Domain : (image plane)
- Techniques are based on direct manipulation of pixels in an image
Frequency Domain :
- Techniques are based on modifying the Fourier transform of an image
What are some Spatial Domain transformation
- Point operations
- Filter (Mask) operations
What is Point Operation?
- Point operation deals with pixel intensity values individually
- Enhancement at any point depends only on the image value at that point.
- The transformed output pixel value does not depend on any of the neighboring pixel value of the input image
- Point Operation Examples:
- Image Negative
- Contrast Stretching
- Thresholding
What are Image Negatives?
- Reversing the intensity levels of an image.
- Image negative is produced by subtracting each pixel from the maximum intensity value.
- e.g. for an 8-bit image, the max intensity value is 2^8– 1 = 255
- An image with gray level in the range - [0, L-1] where L = 2^n; n = 1, 2…
- Negative transformation : s = L – 1 – r
What are the application of Image Negatives?
Suitable for enhancing white or gray detail embedded in dark regions of an image.
What are Log Transformations?
- Log curve maps a narrow range of low gray level values in the input image into a wider range of output levels.
- s = c log(r + 1), where s is a constant and r is a pixel (+1 is because log(0) causes issues)
What is the application of Log Transformation?
Used to expand the values of dark pixels in an image while compressing the higher-level values.
What is Power-Law (Gamma) Transformation?
- Gamma correction function is used to correct image’s luminance.
- Power-law transformations: s=cr^gamma or s=c(r+ε)^gamma
- gamma symbol: gamma, gamma correction
- gamma <1 maps a narrow range of dark input values into a wider range of output values [increase brightness]
- gamma >1 maps a narrow range of bright input values into a wider range of output values [increase darkness]
What is an example of Power-Law (Gamma)?
A magnetic resonance image (MRI) of an upper thoracic human spine with a fracture dislocation and spinal cord impingement
What are some common Piecewise-Linear Transformation Functions?
- Contrast Stretching
- Gray-level Slicing
- Clipping
What is Contrast Stretching?
- It is the difference between the intensity values of darker and brighter pixels
- Contrast stretching expands the range of intensity levels in an image.
- Contrast stretching is done in three ways:
- Multiplying each input pixel intensity value with a constant scalar. - Example: s=2*r
- Using Histogram Equalization
- Applying a transform which makes dark portion darker by assigning slope of < 1 and bright portion brighter by assigning slope of > 1.
What is Gray-level Slicing?
- Highlighting a specific range of gray levels in an image
- Display a high value of all gray levels in the range of interest and a low value for all other gray levels
- (a) transformation highlights range [A,B] of gray level and reduces all others to a constant
- (b) transformation highlights range [A,B] but preserves all other levels
What is Clipping?
- This function truncates all intensities below the optional value Min to Min and all intensities above the optional value Max to Max.
- Clipping can be used to remove unwanted features, noise, or extraneous information from an image.
REFER TO SLIDES
What are Advantages and Disadvantages of Piecewise-Linear Transformation Functions
Advantage:
- The form of piecewise functions can be arbitrarily complex.
- A Practical Implementation of some important transformations can be formulated only as piecewise functions.
Disadvantage:
- Their specification requires considerably more user input.
What is Histogram Equalization?
- Stretch out the histogram to produce a more uniform distribution
- In a process called histogram equalization, this information is used to compute a contrast increasing intensity transformation function.
- Histogram equalization transforms the intensity values so that the histogram of the output image approximately matches the flat (uniform) histogram.
REFER TO SLIDES FOR EXAMPLES
What is the Normalised Histrogram Function?
- The normalized histogram function is the histogram function divided by the total number of the pixels of the image:
- It gives a measure of how likely is for a pixel to have a certain intensity. That is, it gives the probability of occurrence the intensity.
- The sum of the normalized histogram function over the range of all intensities is 1.
REFER TO SLIDES FOR EXAMPLE
What is Intensity Transformation Function?
- That is, we add the values of the normalized histogram function from 1 to k to find where the intensity will be mapped.
REFER TO SLIDE FOR EXAMPLE AND FORMULA
What is Spacial Domain Filtering?
- Capabilities of point operations are limited
- Filters: combine pixel’s value + values of neighbors
What cant Point Operations do?
Combining multiple pixels needed for certain operations:
- Enhance an image, e.g., denoise, Blurring, Sharpening.
- Extract information, e.g., texture, edges.
- Detect patterns, e.g., template matching.
What is Image Noise?
Noise in image , is any degradation in an image signal , caused by external disturbance while an image is being sent from one place to another place via satellite , wireless and network cable .
What are souces or Noise?
– Light Variations
– Camera Electronics
– Surface Reflectance
– Lens
What is Additive Noise and Multiplicative Noise?
– Additive noise: 𝑓 ̂(i,j) = f(i,j) + n(i,j)
– Multiplicative noise: 𝑓 ̂(i,j) = f(i,j) * n(i,j)