Java Utililty Methods BufferedImage Sharpen

List of utility methods to do BufferedImage Sharpen

Description

The list of methods to do BufferedImage Sharpen are organized into topic(s).

Method

BufferedImagesharpen(BufferedImage image)
Sharpens an image.
Kernel kernel = new Kernel(3, 3, new float[] { -1, -1, -1, -1, 9, -1, -1, -1, -1 });
BufferedImageOp op = new ConvolveOp(kernel);
return op.filter(image, null);
BufferedImagesharpen(BufferedImage img, BufferedImage dest)
sharpen
float[] sharpKernel = { 0.0f, -1.0f, 0.0f, -1.0f, 5.0f, -1.0f, 0.0f, -1.0f, 0.0f };
BufferedImageOp sharpen = new ConvolveOp(new Kernel(3, 3, sharpKernel), ConvolveOp.EDGE_NO_OP, null);
return sharpen.filter(img, dest);
BufferedImagesharpen(final BufferedImage image)
sharpen
float[] elements = { 0.0f, -1.0f, 0.0f, -1.0f, 5.f, -1.0f, 0.0f, -1.0f, 0.0f };
return convolve(image, elements, 3, 3);
ConvolveOpsharpenOp()
sharpen Op
float[] sharpenMatrix = { 0.0f, -1.0f, 0.0f, -1.0f, 5.0f, -1.0f, 0.0f, -1.0f, 0.0f };
return new ConvolveOp(new Kernel(3, 3, sharpenMatrix), ConvolveOp.EDGE_NO_OP, null);