Image Manipulation Flashcards
Types of image enhancement?
Spatial Domain methods –> based on direct manipulation of pixels in image
Point, local and global image operations are all spatial domain methods
Frequency Domain methods –> Based on modifying the Fourier transform of the image
Filtering is implemented in frequency domain by multiplication
Combination Methods –> combo of spatial domain methods and frequency domain methods
How to calculate the brightness of a gray scale image?
Average intensity of all pixels in the image
Exposure
Amount of light that enters the lens of the camera.
Types of exposure:
1. Overexposure
2. Underexposure
3. Long Exposure (captures a subject over an extended period of time)
What is the difference between brightness and exposure?
Exposure is the amount of light that enters the lens of the camera, while brightness is how bright an object appears in an image
Brightness is a product of exposure
What is good contrast?
Widely spread intensity values and a large difference between the max and min intensity values
What is HDR (High Dynamic Range)
technique that produces images with a larger dynamic range of luminosity than SDR (standard dynamic range)
What is dynamic range
Range of lightest and darkest tones in an image
What is wide dynamic range?
When you are able to see details in both light and dark areas
How do you obtain a HDR image?
Use photographs of a scene taken with different exposure values and combine them.
After the HDR image has been merged, it has to be converted back to 8-b to view on usual displays
What are the characteristics of image operations?
Point –> Output value at specific coordinate is dependent only on the input value at the same coordinate.
Local –> Output value at a given coordinate is dependent on the input values of the neighborhood of that same coordinate
Global –> Output value at given coordinate is dependent on all the values of the input image
Point operations
Type of image operation:
Changes a pixel’s intensity value based on some function f.
New pixels intensity depends on:
Pixel’s previous intensity
Mapping Function.
Examples of point operations:
Histogram Equalization
Gamma correction
What is an image negative?
Produced by subtracting each pixel from the maximum intensity value.
e.g. for an 8-bit image, max intensity is 2^8 - 1 = 255.
So, subtract each pixel’s intensity value from 255
What is the Power Law Transformation / Gamma correction?
Point operation
It adjusts the brighnress of an image using gamma correction:
O = 255 × (I/255)G
O = output image [0, 255]
I = Input Image
G = Gamma (controls brightness of image)
If Gamma < 1, Darker input values are mapped to brighter output values)
If Gamme > 1, Brighter input values mapped to darker output values
Histogram Equalization
Technique for adjusting image intensities to enhance contrast. Transforms an image so that its histogram is more evenly distributed across the entire range of values
Contrast Stretching
image normalization with a piece wise linear transformation function