Show Other Image Effects

To show image effects like sharpen, blur, show edge, reset ,etc, we have create radio buttons on which the action will be performed by calling ActionListener class.

Show Other Image Effects

This section illustrates you some other image effects

To show image effects like sharpen, blur, show edge, reset ,etc, we have
create radio buttons on which the action will be performed by calling ActionListener
class. The method getDefaultToolkit() of class Toolkit provides the default
toolkit. The method getImage() returns the specified image.

The MediaTracker class provides a media objects including images. Create an
instance of MediaTracker and call addImage() method which adds an image. The
method waitForAll() of this class loads the image which is added.

A matrix is defined in the variable value of float type. This matrix is
defined by the class Kernel to describe how a pixel affects its position in the
output image of a filtering
operation.

The class ConvolveOp provides the correlation from the source
to the destination. The filter() method of this class performs a cross
relation on BufferedImages. The ConvolveOp.EDGE_NO_OP,null copies the pixels of source image to
the corresponding pixels in the destination image without any modification.

If you select sharpen button, the image will get sharp. If you select blur
button, the image will get blurred. On clicking Show Edge button, only the edge
of the image will be shown and reset button displays the original image.