Lecture 4 Problems - CSCI 497P / 597P

  1. For each of the following, decide whether it's possible to design a convolution filter that performs the given operation.

    • Max filter: the output pixel is the maximum value among the pixels in the input window

    • Threshold: the output pixel is

      • 255 if the input pixel is > 127
      • 0 otherwise
      • partial derivative: the output is a finite-differences approximation of the input image's vertical derivative 1 .
  1. Compute the following convolution, assuming "repeat" padding and "same" output size.

  1. Will the answer to #2 change if you use the following non-square filter instead?

  2. Verify that convolving the following approximate 3x3 Gaussian blur kernel with a centered horizontal derivative kernel results in the horizontal Sobel operator.


1 Don't stress if you don't know or remember some of these words! We'll review them today.