Following two separable smoothing passes

An image-processing program uses a separable filter, a two-dimensional filter implemented as consecutive one-dimensional passes. It first filters horizontally with weights (1,2,1)/4(1,2,1)/4, then filters the intermediate image vertically with the same weights.


The following neighbourhood contains pixel intensities in digital counts. Calculate the horizontal result at the centre column of each row, then combine those three results to obtain the final output at the centre pixel. Retain fractional intermediate values without rounding or clipping.


Row

Left pixel

Centre pixel

Right pixel

Top

4

12

8

Middle

16

24

32

Bottom

12

20

28


A horizontal filtering pass produces intermediate values that feed a vertical filtering pass.


Enter exact values in digital counts in the table.

QuantityIntensity (counts)
Top horizontal result
Middle horizontal result
Bottom horizontal result
Final centre output

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Image Analysis Questions: