@@ -0,0 +1,579 @@
+%0Apublic class MotionBlurFilter implements Filter %7B%0A%09public void filter(PixelImage pi) %7B%0A%09%09// Matrix algorithm for gaussian filter.%0A%09%09int%5B%5D%5B%5D weights = %7B %0A%09%09%09%09%0A%09%09%09%09%09%09%09%0A%09%09%09%09%7B 1, 0, 0, 0, 0 %7D, %0A%09%09%09%09%7B 0, 1, 0, 0, 0 %7D, %0A%09%09%09%09%7B 0, 0, 1, 0, 0 %7D,%0A%09%09%09%09%7B 0, 0, 0, 1, 0 %7D,%0A%09%09%09%09%7B 0, 0, 0, 0, 1 %7D%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%0A%09%09%09%09%09%09%09/* %7B 2, 4, 5, 4, 2 %7D, %0A%09%09%09%09%09%09%09%7B 4, 9, 12, 9, 4 %7D, %0A%09%09%09%09%09%09%09%7B 5, 12, 15, 12, 5 %7D,%0A%09%09%09%09%09%09%09%7B 4, 9, 12, 9, 4%7D,%0A%09%09%09%09%09%09%09%7B 2, 4, 5, 4, 2%7D */ %7D;%0A%09%09pi.transformImage3(weights);%0A%09%09// transformIamge3 is where the computation of the%0A%09%09// new pixel is done%0A%0A%09%7D%0A%7D%0A

Create MotionBlurFilter.java