@@ -0,0 +1,396 @@
+/**%0A * Convert the color of image by using unsharp masking filter.%0A */%0Apublic class UnsharpMaskingFilter implements Filter %7B%0A%09public void filter(PixelImage pi) %7B%0A%09%09// Matrix algorithm for unsharp masking filter.%0A%09%09int%5B%5D%5B%5D weights = %7B %7B -1, -2, -1 %7D, %7B -2, 28, -2 %7D, %7B -1, -2, -1 %7D %7D;%0A%09%09pi.transformImage(weights);%0A%09%09// transformIamge is where the computation of the%0A%09%09// new pixel is done%0A%0A%09%7D%0A%0A%7D%0A

Create UnsharpMaskingFilter.java