Question: Write a method blur that makes an image look blurry using the following specific algorithm. Set each pixel to be the average of itself and
Write a method blur that makes an image look “blurry” using the following specific algorithm. Set each pixel to be the average of itself and the 8 pixels around it. That is, for the pixel at position (x, y), set its RGB value to be the average of the RGB values at positions (x − 1, y − 1) through (x + 1, y + 1) Be careful not to go out of bounds near the edge of the image; if a pixel lies along the edge of the image, average whatever neighbors it does have.

File View Help Eile View Help Hello, world Hella, warld
Step by Step Solution
3.35 Rating (161 Votes )
There are 3 Steps involved in it
public static void blur Drawing Panel panel int pixe... View full answer
Get step-by-step solutions from verified subject matter experts
