Lecture 4 - Filters Flashcards
(46 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 and does not depend on any of the neighboring pixel value of the input image
- Point Operation Examples:
- Image Negative
- Contrast Stretching
- Thresholding
Intensity transformation: 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
What is the formula for Image Negatives?
- Negative transformation : s = L – 1 – r
What are the applications of Image Negatives?
Suitable for enhancing white or gray detail embedded in dark regions of an image.
What are Log Transformations?
Used to expand the values of dark pixels in an image while compressing bright ones (higher-level values).
What is the formula for Log Transformations
s = c log(r + 1), where s is a constant and r is a pixel (+1 is because log(0) causes issues)
What is Power-Law (Gamma) Transformation?
Gamma correction function is used to correct image’s luminance.
What is the Power-Low (Gamma) Formula?
s=cr^gamma or s=c(r+ε)^gamma
- gamma symbol: is gamma, gamma correction
- if gamma <1 increases brightness
- gamma >1 increases darkness (darkens bright areas)
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.
How does Contrast Stretching work
- Contrast stretching is done in three ways:
- Multiplying each input pixel intensity value with a constant scalar.
- 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.
- Multiplying each input pixel intensity value with a constant scalar.
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
What is Clipping?
- This function truncates all intensities outside the defined limits (ie anything outside min truncates to min and anything outside max truncates to max)
- Clipping can be used to remove unwanted features, noise, or extraneous information from an image.
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?
Enhances image contrast by redistributing pixel intensities to approximate a uniform histogram
REFER TO SLIDES FOR MATH WORKING OUT
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 given as a probability:
- 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
What is Intensity Transformation Function?
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 .