Edges - Lines - Segmentation Flashcards

1
Q

Gradient and phase + equations.

A

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

Simple edge detector algorithm.

A
  1. Low-pass filter for noise removal
  2. Gradient calculation (all 3 directions)
  3. Gradient thresholding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe Canny’s edge detector.

A
  1. Smoothing with a Gaussian filter
  2. Gradient computation (magnitude and phase)
  3. Quantize the gradient angles
  4. Non-maxima suppression (reduce edge thickness)
  5. Hysteresis thresholding (improves edge connection)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the Hough transform + equations.

A

Parameter spaces:

  • ab-plane
  • sinusoidal curve (vertical lines)

Accumulation cells:

  • few cells
  • many cells

Counter for each cell:
- an high counter means high number of pixels associated to a line in the image

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

Definitions of the morphological operators.

A

Erosion and Dilation.

  • Opening: erosion + dilation
  • Closing: dilation + erosion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition of image segmentation.

A

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

Otsu’s method for image segmentation.

A

A global thresholding method based on the histogram.

Finds the optimal threshold:
– Maximizes inter-class variance
– Minimize intra-class variance

see the algortihm on OneNote

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

Describe the Region Growing algorithm.

A
  1. Initialization: threshold the image to select the bright areas
  2. Erode each component until 1 point is left (seed points)
  3. Specify a predicate to grow the seeds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the Watershed algorithm.

A

A grayscale image can be seen as a topographic surface.

Three types of points:
– Local minima
– Steps: points at which a drop of water would fall to a given minima
– Watershed lines: points at which a drop of water
could fall into two (or more) different minima

GOAL: find watershed lines

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

Describe segmentation by clustering.

A
  • We represent each pixel with a feature vector

- Distance function to compare vectors

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

Describe the k-means for clustering segmentation.

A
  • k clusters and their centers

- minimize the objective function

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

Describe a similar method to the k-means.

A
  1. Create a density function

2. Look for the modes of the density function

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

How to create a density function?

A
  • Starting point: set of samples
  • Desired output: density function (PDF)
  • Simple approach: kernel density estimation (AKA Parzen window technique)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define the kernel used for creating the density function and how to derive the density function.

A

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

What is mean shift?

A

Tool for finding peaks in high-dimensional data distribution without computing the density function explicitly; estimate its gradient instead!

Mean shift is a steepest-ascend method.

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

Describe how mean shift works.

A
  1. Compute mean shift vector 𝒎(𝒙)
  2. Move the kernel window by 𝒎(𝒙)
  3. Stop when the gradient is close to 0
  4. Prune the mode by perturbation (Saddle points)
17
Q

What is the Markov Random Field (MRF) model? + equation of the energy function.

A

Approach for segmentating an image seen as a per-pixel labelling task.

  1. Define a set of labels
  2. Define an energy function (similar to a cost function)
  3. Assign a label to each pixel in order to minimize the energy
18
Q

MRF: describe the data term and smoothness terms.

A

Data term:
1. Select 𝑚 pixels in the image: one per label
2. Create m feature vectors 𝒙
3. Evaluate 𝐸data as the 𝐿2-norm from the actual
pixel and the reference of that class

Smoothness terms:

  • Potts model: any discontinuity has a constant penalization
  • Linear smoothness cost: penalization depends on the label distance
19
Q

Belief propagation + analytical formulation.

A

Belief propagation can be used for improving MRF.

20
Q

Define the active contour framework Snakes.

A

Framework for delineating an object outline from a possibly noisy 2D image.

A simple elastic snake is defined by a set of n points, the internal elastic energy term and the external edge-based energy term.

The goal is to moving points in order to minimize the total energy,