The Blur Java Help

The Blur

The Blur ‘filter is a subclass of COnvolver and simply runs through ~very pixel in the source image array, img pixels, and computes the average of the 3 x3 box surrounding it. The corresponding output pixel in newimg pixels is that average value.

Sharpen’.Java 

The Sharpen filter is also, a subclass of Convolver ‘and is (more or-less) the inverse of Blur. It-runs through every pixel in the source image array, megapixels, and computes , the average of the 3×3 box surrounding it, not counting the center. The corresponding output pixel in newimg pixels has the difference between the center pixel and the surrounding average added to it. This basically says that if a pixel is 30 brighter than its surroundings, make it another 30 brighter. If, however, it is 10 darker, then make it another 10 darker. This tends to accentuate edges while leaving smooth areas unchanged .

JavaHelpOnline.com

  • Feel free to send us an inquiry, we will reply back in hours.
 

Verification

Posted on September 18, 2014 in The Complete Reference Images

Share the Story

About the Author

Back to Top