# NPTEL Computer Vision Week Anssignment Answers 2024

By Sanket

## NPTEL Computer Vision Week Anssignment Answers 2024

1. Given two features each of size 4 as f = [4, 1, 2, 4] and g = [9, 1, 2, 2]. Compute normalized cross correlation and cosine similarity, respectively.

a) 7 and 5.38
b) 0.4725 and 0.849
c) 2 and 4.38
d) 8 and 4.38

`Answer :- For Answers Click Here`

2. Let d1 (10), d2 (8) be the distances to the nearest and the next nearest neighbors from a query feature, respectively for a threshold limit of 0.6. Choose the correct option:

a) Nearest neighbor distance ratio d1/d2 accepts nearest neighbor as a match
b) Nearest neighbor distance ratio d1/d2 rejects nearest neighbor as a match
c) Both a and b
d) None of the above

`Answer :- For Answers Click Here`

3. Find KL distance between A and B with probability distribution (0.2, 0.4, 0.15, 0.1, 0.05) and (0.3, 0.35, 0.05, 0.2, 0.15) respectively.

a) 0.0129
b) −0.158
c) −0.084
d) None of the above

`Answer :- For Answers Click Here`

4. RANSAC is best suited to find the ‘optimal’ line parameters when points belonging to a line are given.

a) True
b) False

`Answer :- `

5. Which of the following methods is best suited for line fitting with outliers.

a) Least squares
b) RANSAC
c) Hough transform
d) Kullback-Leiber Divergence

`Answer :- `

6. Low training error necessarily indicates overfitting.

a) True
b) False

`Answer :- For Answers Click Here`

7. Consider two points a = (1, 3) and b = (3, 5) in image space, compute two lines corresponding to them in parameter space.

a) c = -m + 2 and c = -3m + 4
b) c = -m + 2 and c = -3m + 2
c) c = -m + 3 and c = -3m + 5
d) c = -m + 1 and c = -3m + 1

`Answer :- `

8. Calculate cosine similarity between [3, 2, 8, 2, 5] and [4, 2, 8, 9, 4].

a) 0.584
b) 0.851
c) 0.807
d) None of the above

`Answer :- `

9. Choose the correct options:

a) Hough transform requires appropriate resolution of discretization of the grid in parameter space
b) If grids are too coarse, too many different points in image space map to single bucket
c) If grids are too fine, some points may not be exactly collinear voting different buckets
d) Hough transform does not require any discretization of the grid in parameter space

`Answer :- `

10. Using the method of least squares, find an equation of the form y = ax + b that fits the data given as (x, y) coordinates. [(0, 1), (1, 5), (2, 10), (3, 11), (4, 13)]

a) y = 8x − 8
b) y = 3x + 12
c) y = 3x + 2
d) y = 3x − 2

`Answer :- For Answers Click Here`