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 n2 .
The number is order of n4 .
The number is order of n3.
The number is order of n.
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from 10.
- From a newspaper or scholarly article where a health care organization or a provider was found guilty of malpractice, criminal negligence, false credentials,
- Sufficiently define the three major sub-systems in the FIPS 201 PIV Model illustrated in Figure 16.2 in your textbook. Support your discussions with at least 3