Exercise · ZW-2D-CONVOLUTION-ON-IMAGES-010 · ★★☆ Intermediate

A \(4\times4\) image \(f\) is convolved with the separable kernel \(h=h_1 h_2^T\), where \(h_1=[1,2,1]\) and \(h_2=[1,2,1]\). What is the output value at the central position if the window of \(f\) is all ones, without normalization?

Choose one option.

Show answer
  • B. 16

Explanation

The 2D kernel has a sum equal to the product of the 1D sums, which is 4 times 4, that is 16. A kernel summing to 12 would correspond to a bad factorization.

Study Signal processing in ZWMath →

Review the concept: 2D convolution on images

2D convolution is the operation that combines an image \(f(x,y)\) with a kernel \(h(x,y)\) by sliding the kernel and summing products at each position.

\[(f*h)[m,n]=\sum_{k}\sum_{l} f[k,l]\,h[m-k,n-l]\]

More practice problems: 2d convolution on images

← ZW-2D-CONVOLUTION-ON-IMAGES-009