Morphology Flashcards

1
Q

What are connected components?

A

Connected set of (non-background) pixels that are labelled distinctly from other clusters

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

Explain the concept of 4-neighbour vs 8-neighbour.

A

In a 4-neighbour system, pixels are only connected to those horizontally or vertically adjacent. 8 pixels also includes diagonal neighbours.
- 8 neighbours will generally include more pixels in each component

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

What are two common negatives of connected component algorithms?

A

-Slow
- Often a bottleneck

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

What is Dilation?

A

It expands a foreground object A using structuring element B

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

What is erosion?

A

It shrinks a foreground object A using Element B

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

What depends on the structuring element in the processes of dilation and erosion?

A

The amount and the way objects grow and shrink

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

What normally happens to the boundaries of foreground and background during the process of dilation / erosion?

A

Typically smooth

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

What are the 2 inputs of dilation?

A
  • binary input image
  • structuring element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How would you do edge detection using dilation?

A

You would dilate an original image, subtract from the original and the edges would remain

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

What are the two inputs for erosion?

A
  • binary input image to erode
  • Set of points to be considered (the structuring element)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which type of pixel do you superimpose the structuring element over in dilation and erosion?

A

Dilation: background
Erosion: Foreground

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

Erosion of foreground pixels is equivalent to what?

A

Dilation of background pixels by the same structuring element

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

What are some practical uses of erosion?

A
  • separating touching objects to count them
  • edge detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the process of opening?

A

First erode A with B then dilate A with B

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

What does opening do?

A

Smoothes contours, eliminates protrusions

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

What is the process of closing?

A

First dilate A with B then erode A with B

17
Q

What does closing do?

A

Smoothes sections of contours, fuses narrow breaks and long thin gulfs, eliminates small holes and ill gaps in contours

18
Q

What happens when you apply opening or closing several times?

A

They will only have an effect the first time

19
Q

To close holes you would perform closing with a diameter that’s….

A

Larger than the diameter of the holes you want to close (this will close all holes smaller)

20
Q

What does ROI stand for?

A

Region of Interest, for applying a process only to certain parts of an image

21
Q

What makes ROIs so powerful?

A

Code can be written to allow the output of one process to determine where another is applied.