Embossing a Buffered Image

This example demonstrates a 3x3 kernel that embosses an image.
Kernel kernel = new Kernel(3, 3, new float[] { -2, 0, 0, 0, 1, 0, 0, 0, 2}); BufferedImageOp op = new ConvolveOp(kernel); bufferedImage = op.filter(bufferedImage, null);

Comments

28 Apr 2010 - 8:23am by Anonymous (not verified)

can you provid with full codes with "bufferedImage". I tried this but nothing happen :(

Post a comment

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.