aula_02 Flashcards
(41 cards)
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.
What are the two parts of the Operation based on histogram
– Determination and analysis of histogram
– Image improvement based on the histogram.
How is an histogram ideal distributed?
An ideal histogram is evenly
distributed, edge to edge,
not up the sides.
And a histogram for a dark
subject?
it is just more shifted to the left to
represent the tones of the
subject. It is not wrong
And a histogram for a light
subject (e.g., a white cat)?
Since it mostly has light tones in the scene
and few dark areas, it is shifted to the right compared
to the dark subject
And how can it be a graph for a overexposed image?
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.
And if the opposite happens? How do you call it?
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
Again, what defines an underexposed image? (exposition)
Loss of details in dark areas
Again, what defines an overexposed image? (exposition)
Loss of details in bright areas