Spatial Domain Methods Flashcards

1
Q

Define Spatial Domain Methods

A

Image manipulation methods based on the direct manipulation of pixels in a digital image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name the three main types of image operations in the Spacial Domain

A

Point operations –> where the outputted pixel depends solely on the input value of the same coordinate

Local Operations –> where the outputted value depends on the neighbouring pixels of the input value of the same coordinate

Global Operations –> Where the output pixel depends on all of the pixel values in the input image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Point Operations

A

Changes a pixel’s intensity values based on some function f.

New outputted pixel value depends on:
Value of input pixel
Mapping Function

Examples of point operations:
Histogram Equalization
Gamma Correction / Power Law Transformation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Gamma Correction / Power Law Transformatin

A

A Point operation, this operation adjusts the brightness of an image using gamma correction:

O = 255 x (I / 255)^G

O = outputted pixel [0, 255]
I = input pixel value [0, 255]
G = Gamma (controls brighness of image)

If G > 1, Brighter input values are mapped to darker output values
If G < 1, Darker input values are mapped to brighter output values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Histogram equalization

A

Point operation used to improve contrast in an image.

The result displayed image displayed on a histogram would show a more widely spread range of intensity values, creating a more broad uniform shape

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Contrast stretching

A

A general case of image normalization with a piece wise linear transformation function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Piece wise transformation

A

A spatial domain method used for enhancing a group of pixels that fall in a defined range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Local Operations

A

Local operations are image manipulation operations where the the value of the outputted pixel depends on the values of the neighboring pixels of the inputted pixel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two categories of local operations?

A

Linear Filters
Non-linear Filters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Linear Filters

A

Filters used in local operations of an image where the outputted pixel is the weighted sum of the neighboring values of the input pixel. The weights are defined in the kernal

Used to smooth the image and preserve edges

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some examples of Linear Filters

A

Gaussian Filter
Box Filter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Kernal

A

A matrix of values used in the convolution process to modify an image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Non-Linear Filters

A

Use a more complex function than a simple weighted sum of pixel values.
Generally, instead of using the kernal for a convolution process, they use it to obtain the neighbouring pixel values, then use ordering mechanisms to produce the output pixel

Used for edge-detection and noise-reduction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the differences of Linear and Non-Linear filters?

A

Linear and Non-Linear filters are both examples of filters used in local operations of an image, but they operate differently and have different effects on the output of the image. linear filters use a kernal, (a small matrix of numerical coefficients), and use matrix multiplication to multiply this with the neighborhood of the inputted pixel to produce a weighted sum of the values of the neighboring pixels of the inputted pixel, which is then the outputted pixel value. This process is called convolution. Linear filters are called linear because they perform a linear operation on the neighborhood of the inputted pixel values to produce the outputted pixel. Non-linear filters, on the other hand, use a variety of different techniques to combine the values of the neighboring pixels of the inputted pixel, depending on the type of non-linear filter you are using. Generally, however, Non-Linear filters use the kernel to find the values of the neighboring pixels of the inputted pixel and then use some ordering mechanisms to produce the outputted image. Linear filters are used for edge-preserving and smoothing of an image while Non-Linear filters are used for edge-detection and noise-reduction of an image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Box Filter

A

A type of Linear Filter

involves averaging the pixel values of the neighboring pixels in a KxK window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Gaussian Filter

A

A type of Linear Filter

Uses a Gaussian kernel for the convolution (square matrix of numerical coefficients where each value corresponds to values on the Gaussian curve)

17
Q

What are some examples of Non-Linear Filters?

A

Median Filter
Bilateral Filter

18
Q

Median Filter

A

Sorts the pixels in a given neighborhood in icnreasing order. The median of these values is then used as the value of the outputted pixel

19
Q

Bilateral Filter

A

Uses two Gaussian functions to determine the weights of the neighboring pixels of the inputted value:
The first Gaussian function acts the same as the one used in the Gaussian filter (considers the distance between the pixels)

The second Gaussian Function takes into account the difference in pixel values between the neighboring pixels and the centre pixel.