$25
Not to turn in, 0 pts) Use OpenCV or Matlab to compute the Sobel edges of an image. In addition, compute the Marr-Hildreth edges (zero-crossings of ∇2ππππ ∗ ππ) for various values of σ. Try 1, 2, 4, 8, 16. Do you get closed contours?
(9 pts) Show that
ππ(π₯π₯β) = ππ(π₯π₯β) ∗ β(π₯π₯β) has Fourier Transform πΉπΉ(ππβ) = πΊπΊ(ππβ) × π»π»(ππβ). Hint: Write out the
F.T. and change variables.
In 1-D ππππ(π₯π₯)/πππ₯π₯ has Fourier Transform πππππΉπΉ(ππ), assuming that ππ(π₯π₯) → 0 as π₯π₯ → ±∞.
Hint: Integrate by parts.
In 2-D the Laplacian operator ∇2= πππ₯π₯ππ22 + πππ¦π¦ππ22 has Fourier Transform −|ππβ|2. Hint: Use
π’π’
Part b. repeatedly and the fact that ππβ = .
π£π£
(9 pts) Ima Robot proposes an edge detector as follows:
Compute the Fourier Transform πΉπΉ(ππβ) of image ππ(π₯π₯β).
1 2|ππβ|2
Multiply πΉπΉ(ππβ) by πΊπΊ1(ππβ) = ππ−2ππ1 to form π»π»1(ππβ).
−1 2|ππβ|2
Multiply πΉπΉ(ππβ) by πΊπΊ2(ππβ) = ππ 2ππ2 to form π»π»2(ππβ).
Compute π»π»3(ππβ) = π»π»2(ππππβ2)−−π»π»ππ11(ππβ).
Compute β3(π₯π₯β) as the Inverse Fourier Transform of π»π»3(ππβ).
Find zero-crossings of β3(π₯π₯β).
Describe how β3(π₯π₯β) can be computed by a single convolution with some kernel ππ(π₯π₯β). What is the convolutional kernel ππ(π₯π₯β)?
If πΉπΉ(ππβ) = 1, that is, the image has a “flat” spectrum, sketch π»π»3(ππβ). Because π»π»3(ππβ) is rotationally symmetric, that is, π»π»3(ππβ) = π»π»3(ππ), where ππ , you only need to show a slice through π»π»3.
As ππ2 → ππ1, is this a good edge detector, that is, do zero-crossings of β3 occur at edges? Why or why not? Hint: Consider πΊπΊ(ππβ) as ππ2 → ππ1.
(10 pts) Ima Robot proposes the following operators to detect diagonally oriented edges:
NE NW
How are these operators related to the Sobel H and V operators?
Suggest two different ways in which to combine the NW and NE operators into a single measure of edge strength. What are the relative strengths and weaknesses of each?
Express the NW operator as the convolution of two different 2×2 operators.
Show that |NW*I| + |NE*I| = Max(|H*I|,|V*I|)
(5 pts) Read Canny’s PAMI article on Computational Edge Detection, available on Canvas.
List the 3 criteria that his approach optimizes.
Explain the drawback of using the Differences of Boxes edge operator.