aula_02 Flashcards

1
Q

What are the 2 types of low level image processing?

A

-Arithmetic operations
-Pixel relations

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

What kind of Arithmetic operations are there?

A

– Addition
– Substraction
– Multiplication
– Division
as well as logical operations like :
AND, OR, NOT, …..

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

What many image processing operations make use ?

A

Of spatial relationships between pixels.
A number of methods have been devised to specify pixel
neighbours and calculate distance.
* The 4-neighbours of a pixel (x,y) are the closest pixels in
horizontal and vertical directions (D4) - like a cross
* The 8-neighbors are the 4-neighbors plus the four
closest pixels in diagonal direction (D8) - all the neighbours

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

How do we calculate the pixel distance?

A

it can be calculated with the euclidean way but the sqrt makes it expensive to calculate, despite being the most accurate
–Euclidean (L2): 𝐷 = sqrt([(𝑥 − 𝑢) 2 + (𝑦 − 𝑣) 2 ])
– City-block (L1): D = |𝑥 − 𝑢| +| 𝑦 − 𝑣|
– Chessboard (Linf): D = max (|𝑥 − 𝑢| ,| 𝑦 − 𝑣|)

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

What is intensity level slicing?

A

It means highlighting a specific range of
intensities in an image.

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

Is threshold a specific case of intensity level slicing?

A

Yes.

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

What types of threshold there are?

A

There are:
-Threshold binary
-Threshold binary
-Threshold binary
-Threshold binary

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

How many types of threshold there are?

A

There are 5 types:
-Threshold binary
-Threshold binary, inverted
-Truncate
-Threshold to zero
-Threshold to zero, inverted

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

What is threshold binary?

A

it corresponds to the maxval accepted ( normally 1) if the value of the function src(x,y) is > tresh value, and it is 0 otherwise

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

What is threshold binary inverted?

A

It is the same as threshold binary but it is 0 if the value of the function src(x,y) is > tresh value and it is 1 or max value otherwise

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

What is Truncate?

A

If the function value is > thresh value, it truncates it to the thresh value, otherwise it is the value of the function itself src(x,y)

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

What is Threshold to Zero?

A

It is src(x,y) if the function > the thresh value and it is 0 otherwise

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

What is Threshold to Zero, Inverted?

A

It is src(x,y) if the function < the thresh value and it is 0 otherwise ( if the src(x,y) > thresh value)

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

What is an histogram? What they allow us to see?

A
  • An histogram is a graphical display of
    tabulated frequencies.
  • Typically represented as a bar chart
    *histograms allow us to see the colour
    or intensity distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Wow can the collected counts of data be organized
in a histogram?

A

Into a set of predefined bins.

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

What are the three important parts of the histograms?

A

Important parts of an histogram:
– dims: The number of parameters you want to collect data.
– bins: The number of subdivisions in each dim.
– range: The limits for the values to be measured.

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

What are the two parts of the Operation based on histogram

A

– Determination and analysis of histogram
– Image improvement based on the histogram.

18
Q

How is an histogram ideal distributed?

A

An ideal histogram is evenly
distributed, edge to edge,
not up the sides.

19
Q

And a histogram for a dark
subject?

A

it is just more shifted to the left to
represent the tones of the
subject. It is not wrong

20
Q

And a histogram for a light
subject (e.g., a white cat)?

A

Since it mostly has light tones in the scene
and few dark areas, it is shifted to the right compared
to the dark subject

21
Q

And how can it be a graph for a overexposed image?

A

The gap on the left side of the graph indicates there a lack of blacks in the image.
It also means you will lose lots of detail in the white areas
that may not be recoverable. In this case, shift
to give your image less exposure and shoot
the scene again.

22
Q

And if the opposite happens? How do you call it?

A

This histogram shows the opposite. Now we see a gap on the
right side of the graph indicating there are no whites
represented, so the image will be dark – too dark. You can
safely give the image more exposure until you see the tones
just touch the right edge of the histogram.
It is called Underexposed

23
Q

Again, what defines an underexposed image? (exposition)

A

Loss of details in dark areas

24
Q

Again, what defines an overexposed image? (exposition)

A

Loss of details in bright areas

25
Q

Histograms can also have different intensity levels? (intensity)

A

Yes, for example: 256, 64 and 6 intensity levels

26
Q

And how is contrast defined? (contrast)

A

Contrast is defined as the difference in intensity between two objects in an image. If the contrast is too low, it is impossible to distinguish between two objects, and they are seen as a single object. A lot of zones that dont have values, whereas in other zones there are very high values

27
Q

Can the contrast be manipulated? (contrast)

A

Yes.
Using for example contrast stretching and also histogram equalization (extension of contrast stretching)

28
Q

How does the histogram equalization occurs?

A

-It is analysed by a function T(z) to reshape
the image to make its histogram flat and wide.
– A typical solution is to use the cumulative histogram
(integral of intensity histogram) as the intensity
mapping function.

29
Q

Are there also color histograms?

A

Yes. They have a histogram for each of the colors (RGB for example)

30
Q

What is image smoothing or blurring? (filtering)

A

It is also known as neighbourhood averaging:
– Used to remove noise or a pre-processing for edge
detection
– Filtering operation in which a weighted array is
moved over the original image while computing the
pixel as a weighted average:

31
Q

Can it use different filters/kernels?

A

Yes.
For each pixel there is aplied a operation that allows a kernel to modify the value of the pixel itself and its neighbours

32
Q

And how does it work on the borders?

A

Since it has no neighbours in the corners/borders, the kernel can aplly different values, like for example:
- constant value;
- value of the closest border;
- mirror at the image boundary;
- periodically repeat along axis

33
Q

And what is the average filter for noise reduction?

A

– It is Kind of the low pass filter, the larger the size, the
larger the cut-off frequency.
– This is an approximation since smoothing operation
is performed in space and not in frequency domain.

34
Q

What examples of linear filter are there?

A

-The box filter with nine neighbours with 1 value and the outsider neighbours with 0
-The gaussian filter that has 9 in the pixel, 5 in the vertical and horizontal neighbours and then starts to decrease
-The “Laplace” or “Mexican Hat” filter that has 16 value in the pixel and then negatives around and 0 in the outsider neighbours

35
Q

And does the median filter works?

A

It apllies a sorting of the pixels values and then ????

36
Q

And is there any other version of the median filter?

A

Yes, a weighted median filter that weight the sorted pixel values

37
Q

How do geometrical transformations essentiatly occur?

A

The Value of image I at original location (x,y)
moves to new position (x′,y′) in transformed
image I′ based on a geometric mapping T

38
Q

And what kind of geometrical transformations can be applied?

A

There are Linear (Afiine and Projective) and Non linear types

39
Q

Which ones are Linear?

A

In the Affine group:
– Translation, rotation, and scaling (contract and stretch) which does not preserve lines and parallelism
In the Projective:
– It is a Particular case of affine which does not preserve parralelism

40
Q

Which ones are Non Linear?

A

For example the :
-twirl, ripple, sphere, …

41
Q

And what are the Geometrical transformations used for?

A

They are used for example:
– Correction of distortion (Camera lens correction)
– Texture mapping (Computer Graphics)
– Morphing (Special effects in movies)