Lecture 4 Problems - CSCI
476/576
- Suppose you want to detect edges at a 2x reduced spatial scale. You
have two choices: double the size of your gradient filters, or halve the
size of your image. Calculate and compare the number of multiplications
required per input pixel to perform each of these approaches. Assume
that your downsampling prefilter is 5x5 and a “double size” sobel filter
would be 7x7 (i.e., the half-width is doubled). Which approach will be
more efficient if you want to detect edges at multiple reduced spatial
scales?
- Suppose you have a 128x128 image, and you compute a full Gaussian
pyramid. How much storage (measured in pixels) is required to store the
whole Gaussian pyramid?
Suppose you are given the Laplacian and Gaussian pyramids for an
input image \(I.\) \(G_{0 \ldots k}\) are the Gaussian pyramid
levels starting at the original image (\(G_0\)), while the Laplacian layers \(L_{0\ldots k}\) are the “detail” layers,
with each \(L_i\) at the same
resolution as \(G_i\).
When is it the case that \(G_\ell =
L_\ell\)?
Given all levels of both pyramids, give an expression that yields
a result as close as possible to \(G_j\) with a sharpening
filter applied. You don’t need to actually do any filtering.
Give an algorithm to reconstruct \(G_0\) using only the
levels of \(L\).