You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 24: Image Processing (41)
pixelled

One way to remove the tmp_buf variable is to store the temporal variables in variable output. In this way, we only need output[x][y + 1] and output[x][y + 2] to compute output[x][y], so output contains the correct values if we iterate x first and y next.

You must be enrolled in the course to comment