aula_02 Flashcards
What are the 2 types of low level image processing?
-Arithmetic operations
-Pixel relations
What kind of Arithmetic operations are there?
– Addition
– Substraction
– Multiplication
– Division
as well as logical operations like :
AND, OR, NOT, …..
What many image processing operations make use ?
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 do we calculate the pixel distance?
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 (|𝑥 − 𝑢| ,| 𝑦 − 𝑣|)
What is intensity level slicing?
It means highlighting a specific range of
intensities in an image.
Is threshold a specific case of intensity level slicing?
Yes.
What types of threshold there are?
There are:
-Threshold binary
-Threshold binary
-Threshold binary
-Threshold binary
How many types of threshold there are?
There are 5 types:
-Threshold binary
-Threshold binary, inverted
-Truncate
-Threshold to zero
-Threshold to zero, inverted
What is threshold binary?
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
What is threshold binary inverted?
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
What is Truncate?
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)
What is Threshold to Zero?
It is src(x,y) if the function > the thresh value and it is 0 otherwise
What is Threshold to Zero, Inverted?
It is src(x,y) if the function < the thresh value and it is 0 otherwise ( if the src(x,y) > thresh value)
What is an histogram? What they allow us to see?
- 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
Wow can the collected counts of data be organized
in a histogram?
Into a set of predefined bins.
What are the three important parts of the histograms?
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.