Professional Documents
Culture Documents
Instructions:
1. Submit your assignment in soft form as well as in hard form (Report) within due date and
time. Soft form does not mean the photos of the hardcopy. Late submission will result in
deduction of marks.
2. Mention your names and roll numbers clearly on your document.
3. Name your zip or other folder/file that you want to submit according to the following
format: DIP_A2_RollNo_FirstName
4. Try to solve the each task of the assignment by your own.
5. No excuse or resubmission is permissible.
6. Do your assignment in group of maximum two members.
7. There is no any restriction of the language for the programming tasks.
8. In programming tasks, you are NOT allowed to use any built-in function of any library.
___________________________________________________________________
(a) Why the image obtained with geometric mean filtering is less blurred.
(b) Why the black components in the right image are thicker.
Create the matrices for the following convolution kernels according to the
mentioned size and visualize each of them in a separate figure,
2
(c) Explain why the filter gives poor results when the wrong polarity is chosen
for 𝑄.
(d) Discuss the behavior of the filter when 𝑄 = −1
(e) Discuss (for positive and negative 𝑄) the behavior of the filter in areas of
constant intensity levels.
Consider the function 𝑓(𝑥1 , 𝑥2 , 𝑥3 ) = 𝑥14 + 𝑥1 𝑥2 𝑥3 + 2𝑥2 𝑥32 and compute the
followings:
𝜕𝑓
(a) Gradient vector ∇𝑓 = { }
𝜕𝑥𝑖
𝜕2 𝑓
(b) Hessian ∇2 𝑓 = { }
𝜕𝑥𝑖 𝑥𝑗
(c) Evaluate the gradient and the Hessian at point (2, 3, 1).
1 2 2
Compute the eigenvalues and eigenvectors of matrix 𝐴 = {2 1 2}
2 2 1