Professional Documents
Culture Documents
Technology
DO NOT OPEN THIS EXAMINATION SHEET UNTIL YOU ARE TOLD TO DO SO!
Write your name and student ID in the corresponding places at the top of this page now.
Books, notes, dictionaries, own empty sheets of paper, and pocket calculators are not allowed.
Use only a pen. Everything written with a pencil will not be taken into account.
Notation:
Black = Gray level of 0 ; White = Gray level of 255
Image gradients point from dark to bright.
Angles are defined counter-clockwise.
Total: 63 points
Block I
1. Based on the given information, which of the figures below shows the voting space 2P
of a line detector based on the Radon transform?
2. Based on the given information, which of the figures below show the voting space 2P
of a Hough line detector?
i) ii)
iii) iv)
3. How many dimensions has the voting space of a Hough ellipse detector that is 1P
able to detect general ellipses?
Which of the following is the correct R-table if the template image is scaled by a
factor s=2 and rotated counter-clockwise by an angle of ϕ=90 ° ?
i)
Orien- [ 0- [ 45 - [ 90 - [ 135 - [ 180 - [ 225 - [ 270 - [ 315 -
tation 45) 90 ) 135 ) 180 ) 225 ) 270 ) 315 ) 360 )
Offset (10,-8) (8,-4) (0,-4) (10,6)
ii)
Orien- [ 0- [ 45 - [ 90 - [ 135 - [ 180 - [ 225 - [ 270 - [ 315 -
tation 45) 90 ) 135 ) 180 ) 225 ) 270 ) 315 ) 360 )
Offset (10,-8) (8,-4) (0,-4) (10,6)
iii)
Orien- [ 0- [ 45 - [ 90 - [ 135 - [ 180 - [ 225 - [ 270 - [ 315 -
tation 45) 90 ) 135 ) 180 ) 225 ) 270 ) 315 ) 360 )
Offset (8,10) (4,8) (4,0) (-6,10)
iv)
Orien- [ 0- [ 45 - [ 90 - [ 135 - [ 180 - [ 225 - [ 270 - [ 315 -
tation 45) 90 ) 135 ) 180 ) 225 ) 270 ) 315 ) 360 )
Offset (8,10) (4,8) (4,0) (-6,10)
5. The figure below shows a 110×90 pixel large query image, with a light grey 2P
background (intensity value 200) and a dark grey object (intensity value 100).
Three distinct pixels are marked as black squares.
theta offset
[0, 45)
[45, 90) (-10,10), (-30,30)
[90, 135)
[135, 180) (10,10), (30,30)
[180, 225)
[225, 270) (10,70), (30,50)
[270, 315)
[315, 360) (-10,70), (-30,50) Query image
R-Table
If only the three marked pixels of the query image are taken into account, which of
the following is the correct voting space?
i) ii)
iii)
Block II
6. Which of the following values is estimated by the Parzen Window estimator as the 2P
probability density at the position marked by X in the figure above if a window size
of 1×1 is used?
根据KNN密度公式,本题K=2V,V为窗口的面积
Block III
8. Which of the following shows the amplitude of the Fourier spectrum of a cosine 1P
function, i.e. a function of the form f (x)=cos(ax)+b , with constants
a , b∈ℝ , a≠0 ?
b不等于0, 0处有频率
i) ii)
iii) iv)
9. Given two signals h and g, which of the following is the convolution theorem 2P
(“FFT” denotes the Fast Fourier Transform and ()* complex conjugation)?
10. Given is the following Fourier Transform F∈ℂ100 of the outline of a shape:
{
1000+ i 1000 if μ=0,
F(μ)= 500+ i 500 if μ=−1,
0 otherwise.
The outline of the shape used to construct the Fourier descriptor F stated above 1P
consists of
i) 1000 pixels. ii) 2000 pixels. iii) 500 pixels. iv) 100 pixels.
11. The center of the shape used to construct the Fourier descriptor F stated above 1P
(Question 10) is at position
有三个不同的频率
13. The figures below show the original shape of an object and the amplitude of its 2P
- Fourier descriptor, i.e. Fourier transform of the outline without normalization.
16.
Question-13. Question-14.
Question-15. Question-16.
i) ii)
iii) iv)
Block IV
17. Which of the following statements is true for a typical, modern digital camera that 1P
is able to acquire color images?
i) Every element of the sensor integrates the intensity over three different
wavelength bands leading to the three color channels of the image.
ii) The sensor elements itself are “color blind” and integrate intensity over a wide
range of wavelengths.
iii) Such a camera records three images with a very short temporal delay in
which the sensor elements change the wavelength band for which they are sensitive.
18. Given a data sample x=(x 1 ,... , x n)∈ℝn , classification usually refers to applying 1P
a function y=f ( x) which maps the sample x to a class label y . In the case
of a binary classification problem, i.e. y ∈{0,1 } , and n=10 , which of the
following is a linear classifier?
i) f (x)= {
1 if p ( x | μ1 )≥ p(x |μ 2),
0 otherwise.
where p( x | μ i) ,i∈{1,2 } are Gaussian distributions with mean vector μi and
identical variance-covariance matrices.
ii) f (x)= {
1 if p ( x | θ 1)≥ p( x | θ2 ),
0 otherwise.
where p( x | θ i) , i∈{1,2 } are Gaussian Mixture Models with individual
parameters θi .
iv) f (x)= {
1 if wT⋅x+b≥0,
0 otherwise.
where w∈ℝn , b∈ℝ .
Block V
19. If x=( x 1 , x 2)∈ℝ2 , which of the following statements is true for a probability 1P
density distribution p(x) over ℝ2 ?
1
i) P( x=0)=1 ii) P( x=0)=0 iii) P(x=0)= √ 2 π iv) P( x=0)=
√2 π
21. Given two random variables A and B, which of the following statements are 1P
always true?
likelihood⋅posterior likelihood⋅prior
i) evidence= ii) posterior=
prior evidence
likelihood⋅evidence posterior⋅prior
iii) posterior= iv) likelihood=
prior evidence
The histograms below denote the absolute frequencies of co-occurrence of two
measurements ( x∈{0,1, 2 } and y ∈{10,20, 30 } ) within the training data of a
two-class classification problem (i.e. class label ω∈{ A , B} ). You can assume
that the given training data is a proper representation of the data during
application.
2 10 5 1 2 10 20 10
x 1 10 5 1 x 1 20 40 20
0 10 5 1 0 10 20 10
10 20 30 10 20 30
y y
Histogram for class A Histogram for class B
23. Given the histograms above, which of the following values corresponds to the 2P
likelihood of class A for the sample (x,y) = (1,10)?
24. Given the histograms above, for which class would a Maximum Likelihood (ML) 2P
classifier decide given the sample (x,y) = (1,10)?
i) B iv) A
25. Given the histograms above, which of the following values corresponds to the 2P
posterior of class B for the sample (x,y) = (1,10)?
26. Given the histograms above, for which class would a Maximum A Posteriori 2P
(MAP) classifier decide given the sample (x,y) = (1,10)?
i) B iv) A
Block VI
27. Which of the following statements are correct given the general laws of probability 2P
theory and the conditional independence assumption A,B ⊥ C. Please note, that
nothing else should be assumed!
The measurement nodes are denoted by squares and initialized with the given
binary image. The label nodes are denoted by circles. The unary energy ψi is
defined as ψi =−1+2| y i−x i| . The binary energy ϕij is given as
ϕij =2( y i + y j )−4 y i y j−1 .
What is the local energy at node y 5 for y 5=1 given the graphical model
depicted in the figure?
29. Given the current state of the model in the question above, 1P
1 ii) f (x)=max(0, x)
i) f (x)=
1+exp(−x )
iv) f (x)=tanh( x )
iii) f (x)= {
|x| if |x|<1
1 otherwise.
Given the current state of the network and an input x α=( x 1 , x 2)α =(−1,1) , what 2P
is the output y ( x α ) of the network?