Your job is to write a basic blurring algorithm for a video driver. The algorithm will do the following: it will go through all pixels on the screen and for each pixel, compute the average intensity value (in red, green and blue separately) of the pixel and its 8 neighbors. (At the edges of the screen, there are fewer neighbors for each pixel.)

Let's say the number of pixels on the screen is n. Then what is the order of the number of arithmetic operations (additions and divisions) required?

The number is order of n^{2} .

The number is order of n^{4} .

The number is order of n^{3}.

The number is order of n.

### Recently Asked Questions

- Please refer to the attachment to answer this question. This question was created from quiz prep packet 2 - states of matter.docx.

- What essential elements should be included in a health teaching plan addressing physical, emotional, social, and spiritual challenges in adolescents?

- I need help with the following stat problem. I got the first part wrong and cannot figure out what I did wrong