java.awt.image |
Provides classes for creating and modifying images.
Images are processed using a streaming framework that involves an
image producer, optional image filters, and an image consumer. This
framework makes it possible to progressively render an image while it
is being fetched and generated. Moreover, the framework allows an
application to discard the storage used by an image and to regenerate
it at any time. This package provides a number of image producers,
consumers, and filters that you can configure for your image
processing needs.
@since JDK1.0
|
Java Source File Name | Type | Comment |
AffineTransformOp.java | Class | This class uses an affine transform to perform a linear mapping from
2D coordinates in the source image or Raster to 2D coordinates
in the destination image or Raster .
The type of interpolation that is used is specified through a constructor,
either by a RenderingHints object or by one of the integer
interpolation types defined in this class.
If a RenderingHints object is specified in the constructor, the
interpolation hint and the rendering quality hint are used to set
the interpolation type for this operation. |
AreaAveragingScaleFilter.java | Class | An ImageFilter class for scaling images using a simple area averaging
algorithm that produces smoother results than the nearest neighbor
algorithm.
This class extends the basic ImageFilter Class to scale an existing
image and provide a source for a new image containing the resampled
image. |
BandCombineOp.java | Class | This class performs an arbitrary linear combination of the bands
in a Raster , using a specified matrix. |
BufferedImage.java | Class | The BufferedImage subclass describes an
java.awt.Image Image with an accessible buffer of image data.
A BufferedImage is comprised of a
ColorModel and a
Raster of image data.
The number and types of bands in the
SampleModel of the
Raster must match the number and types required by the
ColorModel to represent its color and alpha components.
All BufferedImage objects have an upper left corner
coordinate of (0, 0). |
BufferedImageFilter.java | Class | The BufferedImageFilter class subclasses an
ImageFilter to provide a simple means of
using a single-source/single-destination image operator
(
BufferedImageOp ) to filter a BufferedImage
in the Image Producer/Consumer/Observer
paradigm. |
BufferedImageOp.java | Interface | This interface describes single-input/single-output
operations performed on BufferedImage objects.
It is implemented by AffineTransformOp ,
ConvolveOp , ColorConvertOp , RescaleOp ,
and LookupOp . |
BufferStrategy.java | Class | The BufferStrategy class represents the mechanism with which
to organize complex memory on a particular Canvas or
Window . |
ByteLookupTable.java | Class | This class defines a lookup table object. |
ColorModel.java | Class | The ColorModel abstract class encapsulates the
methods for translating a pixel value to color components
(for example, red, green, and blue) and an alpha component.
In order to render an image to the screen, a printer, or another
image, pixel values must be converted to color and alpha components.
As arguments to or return values from methods of this class,
pixels are represented as 32-bit ints or as arrays of primitive types.
The number, order, and interpretation of color components for a
ColorModel is specified by its ColorSpace . |
ComponentColorModel.java | Class | A ColorModel class that works with pixel values that
represent color and alpha information as separate samples and that
store each sample in a separate data element. |
ConvolveOp.java | Class | This class implements a convolution from the source
to the destination.
Convolution using a convolution kernel is a spatial operation that
computes the output pixel from an input pixel by multiplying the kernel
with the surround of the input pixel.
This allows the output pixel to be affected by the immediate neighborhood
in a way that can be mathematically specified with a kernel.
This class operates with BufferedImage data in which color components are
premultiplied with the alpha component. |
CropImageFilter.java | Class | An ImageFilter class for cropping images.
This class extends the basic ImageFilter Class to extract a given
rectangular region of an existing Image and provide a source for a
new image containing just the extracted region. |
DataBufferDouble.java | Class | This class extends DataBuffer and stores data internally
in double form. |
DataBufferFloat.java | Class | This class extends DataBuffer and stores data internally
in float form. |
DirectColorModel.java | Class | The DirectColorModel class is a ColorModel
class that works with pixel values that represent RGB
color and alpha information as separate samples and that pack all
samples for a single pixel into a single int, short, or byte quantity.
This class can be used only with ColorSpaces of type ColorSpace.TYPE_RGB.
In addition, for each component of the ColorSpace, the minimum
normalized component value obtained via the getMinValue()
method of ColorSpace must be 0.0, and the maximum value obtained via
the getMaxValue() method must be 1.0 (these min/max
values are typical for RGB spaces).
There must be three color samples in the pixel values and there can
be a single alpha sample. |
FilteredImageSource.java | Class | This class is an implementation of the ImageProducer interface which
takes an existing image and a filter object and uses them to produce
image data for a new filtered version of the original image. |
ImageConsumer.java | Interface | The interface for objects expressing interest in image data through
the ImageProducer interfaces. |
ImageFilter.java | Class | This class implements a filter for the set of interface methods that
are used to deliver data from an ImageProducer to an ImageConsumer.
It is meant to be used in conjunction with a FilteredImageSource
object to produce filtered versions of existing images. |
ImageObserver.java | Interface | An asynchronous update interface for receiving notifications about
Image information as the Image is constructed. |
ImageProducer.java | Interface | The interface for objects which can produce the image data for Images. |
ImagingOpException.java | Class | The ImagingOpException is thrown if one of the
BufferedImageOp or
RasterOp filter methods cannot
process the image. |
IndexColorModel.java | Class | The IndexColorModel class is a ColorModel
class that works with pixel values consisting of a
single sample that is an index into a fixed colormap in the default
sRGB color space. |
Kernel.java | Class | The Kernel class defines a matrix that describes how a
specified pixel and its surrounding pixels affect the value
computed for the pixel's position in the output image of a filtering
operation. |
LookupOp.java | Class | This class implements a lookup operation from the source
to the destination. |
LookupTable.java | Class | This abstract class defines a lookup table object. |
MemoryImageSource.java | Class | This class is an implementation of the ImageProducer interface which
uses an array to produce pixel values for an Image. |
PackedColorModel.java | Class | The PackedColorModel class is an abstract
ColorModel class that works with pixel values which represent
color and alpha information as separate samples and which pack all
samples for a single pixel into a single int, short, or byte quantity.
This class can be used with an arbitrary
ColorSpace . |
PixelGrabber.java | Class | The PixelGrabber class implements an ImageConsumer which can be attached
to an Image or ImageProducer object to retrieve a subset of the pixels
in that image. |
PixelInterleavedSampleModel.java | Class | This class represents image data which is stored in a pixel interleaved
fashion and for
which each sample of a pixel occupies one data element of the DataBuffer.
It subclasses ComponentSampleModel but provides a more efficent
implementation for accessing pixel interleaved image data than is provided
by ComponentSampleModel. |
RasterFormatException.java | Class | The RasterFormatException is thrown if there is
invalid layout information in the
Raster . |
RasterOp.java | Interface | This interface describes single-input/single-output
operations performed on Raster objects. |
ReplicateScaleFilter.java | Class | An ImageFilter class for scaling images using the simplest algorithm.
This class extends the basic ImageFilter Class to scale an existing
image and provide a source for a new image containing the resampled
image. |
RescaleOp.java | Class | This class performs a pixel-by-pixel rescaling of the data in the
source image by multiplying the sample values for each pixel by a scale
factor and then adding an offset. |
RGBImageFilter.java | Class | This class provides an easy way to create an ImageFilter which modifies
the pixels of an image in the default RGB ColorModel. |
ShortLookupTable.java | Class | This class defines a lookup table object. |
TileObserver.java | Interface | An interface for objects that wish to be informed when tiles
of a WritableRenderedImage become modifiable by some writer via
a call to getWritableTile, and when they become unmodifiable via
the last call to releaseWritableTile. |
VolatileImage.java | Class | VolatileImage is an image which can lose its
contents at any time due to circumstances beyond the control of the
application (e.g., situations caused by the operating system or by
other applications). |