input picture

grey scale image by averaging rgb values at every pixel

horizantal image by reading the image the opposite way by on each row

The algorithm I used for the blurry photo was to take the pixels the top,left,bottom, and right then averaged their rgb values individually. And I run that 20 times to see an effect.