Chapter 4 Filtering (CP467) Flashcards

studied byStudied by 2 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 37

flashcard set

Earn XP

Description and Tags

Image Processing and Pattern Recognition Chapter 4 Key Terms

38 Terms

1

Filter

The process of accepting or rejecting certain frequency components

New cards
2

Lowpass Filter

A filter that passes low frequencies

New cards
3

Other terms that “filter” can be called as:

masks, kernels, templates and windows

New cards
4

Spatial Filters

Can alter pixel values based on light intensity variations in a neighborhood. They are more versatile than frequency filters.

New cards
5

What does a spatial filter consist of

-a neighborhood
-a predefined operation

New cards
6

How does filtering work

filtering creates a new pixel:
it replaces the value of a pixel based on the values of neighboring pixels and a defined filter operation (filter operation The process involves applying a mathematical operation like summing, averaging or applying a specific kernel to the pixel values in the neighborhood to generate a new pixel value to replace the center of the pixel neighborhood.

New cards
7

the size of a filter(kernel) is defined and expressed as?

The size is expressed as; m = 2a +1 and n = 2b+1 where a and b are non-negative integers that determine how far the filter extends from its center. The size of a filter (kernel) is defined and expressed as m x n, where m and n are odd integers, such as 3 × 3 or 5 × 5.

New cards
8

correlation

Process of moving a filter mask over the image and computing the sum of the product of corresponding values (image pixel values and filter values) at each position.
Result: The sum becomes the value of the pixel in the output image

New cards
9

convolution

Similar to correlation, but the filter is first rotated by 180 degrees (Flipped both horizontally and vertically) before the computation.
Result is calculated using the same process as correlation (multiplying and summing), resulting in a new pixel value for the output image.

New cards
10
<p>how does an original filter look like after 180 degree rotation for convolution<br></p>

how does an original filter look like after 180 degree rotation for convolution

After 180 degree rotation:

<p>After 180 degree rotation:</p>
New cards
11

the terms convolution filter or convolution mask may denote:

whether we use a correlation or convolution

New cards
12

smoothing filters

Used for blurring an image

New cards
13

blurring

used in preprocessing steps such as:

  • removal of small details from an image prior to (large) object extraction

  • bridging of small gaps in lines or curves

  • used for noise reduction

New cards
14

output (response) of a smoothing, linear spatial filter

the avg of the pixels contained in the neighborhood (i.e. 3 × 3) . the result replaces the center pixel of the neighborhood, effectively “smoothing” the image.

New cards
15

Averaging filter

computes the mean (avg) of the pixel values in the neighborhood

New cards
16

common uses for smoothing

  • noise reduction (remove unwanted variations)

  • simplifying images before further processing, like edge detection or segmentation

New cards
17

side effect of averaging filtering

they blur edges and fine details (you lose some detail in exchange for noise reduction)

New cards
18

irrelevant detail

refers to pixel regions much smaller than the filter size, hence why we smooth them out.

New cards
19

what are order-statistic filters?

they are nonlinear spatial filters that:

  • order the pixel values in a neighborhood based on rank (i.e. from smallest to largest)

  • replace center pixel value with specific value from ordered list (based on chosen filter)

New cards
20

types of order-statistic filters

median filter (most commonly used)
max filter
min filter

New cards
21

median filter

replaces the center pixel w the median value of the sorted neighborhood

<p>replaces the center pixel w the <strong>median value</strong> of the sorted neighborhood</p>
New cards
22

max filter

replaces the center pixel w the max value

New cards
23

min filter

replaces the center pixel w the min value

New cards
24

median filters are particularly effective in the presence of….

impulse noise, aka. salt-and-pepper noise

New cards
25

salt and pepper noise

random pixels in the image appear as either black(salt) or white(pepper).
median filters are effective at removing this noise bc extreme values are discarded during sorting

New cards
26
<p>explain whats happening in the images (from left to right a,b,c)</p>

explain whats happening in the images (from left to right a,b,c)

(a) Original image w salt and pepper noise
(b) Result of smoothing using a 3 × 3 averaging filter. Noise reduced but image still blurry
c) Result of 3 × 3 median filter. Noise effectively removed without any more blurring.

New cards
27

median filter vs averaging filter

preserves edges bc they do not average pixel values
eliminate noise more effectively, especially when the noise is impulsive (salt and pepper)

New cards
28

sharpening

highlight fine detail or to enhance detail in an image which may have been blurred

New cards
29

sharpening could be accomplished by

spatial differentiation

New cards
30

foundation

foundation of sharpening lies in detecting changes in pixel intensity (fine details, edges)
sharpening works by enhancing high-frequency components (edges) and making the transitions in intensity more pronounced

New cards
31

to undetstand sharpening: how does derivatives behave in flat segments (constant intensity)

derivative is zero

New cards
32

to understand sharpening: how does derivatives behave in discontinuities (steps or ramps)

  • sharp transitions(step changes): derivative is large

  • ramps(gradual changes) derivative has a constant non-zero value.

  • gray level ramps; derivative captures the rate of change along sloping regions

New cards
33

first order derivative

measures rate of change in intensity between two points and its used for detecting edges and sharp transitions in an image

<p>measures rate of change in intensity between two points and its used for detecting <strong>edges </strong>and sharp transitions in an image</p>
New cards
34

second order derivative

measures the rate of change of the first order derivative (i.e. how quickly the edges change)
used for emphasizing edges and finding zero crossings

<p>measures the rate of change of the first order derivative (i.e. how quickly the edges change)<br>used for <strong>emphasizing edges</strong> and finding zero crossings</p>
New cards
35

gradient (first order derivative for image sharpening)

represents the direction and rate of change in pixel intensity

<p>represents the direction and rate of change in pixel intensity<br></p>
New cards
36

magnitude of gradient (overall rate of change calculation)

knowt flashcard image
New cards
37

most used gradient masks

Prewitt and Sobel

<p>Prewitt and Sobel</p>
New cards
38

The Laplacian (second order derivative for image sharpening)

laplacian measures the second derivative of intensity changes in an image

<p>laplacian measures the<strong> second derivative</strong> of intensity changes in an image</p>
New cards
robot