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

A derivative kernel \(h\) in \(x\) has values \(-1\) on the left and \(+1\) on the right. Using the convolution defined in this concept (kernel flipped), what sign does the output have at an edge where intensity rises from left to right?

Choose one option.

Show answer
  • A. Negative

Explanation

When convolving, the kernel is flipped and the output is \(f[x-1]-f[x+1]\), negative when intensity rises. With correlation the sign would be positive.

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-006 ZW-2D-CONVOLUTION-ON-IMAGES-008 →