📄 java advanced imaging api summary.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0096)http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html -->
<HTML><HEAD><TITLE>Java Advanced Imaging API Summary</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=reference name=collection>
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<CENTER><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/JAITOC.fm.html"><IMG
alt=Contents src="Java Advanced Imaging API Summary.files/contents.gif"></A> <A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Examples.doc.html"><IMG
alt=Previous src="Java Advanced Imaging API Summary.files/previous.gif"></A> <A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Glossary.doc.html"><IMG
alt=Next src="Java Advanced Imaging API Summary.files/next.gif"></A>
<P><FONT size=5><I>Programming in Java Advanced Imaging</I></FONT> </CENTER><BR>
<CENTER><A name=72445>
<TABLE width="90%" border=0>
<TBODY>
<TR>
<TD align=right><FONT size=3>A P P E N D I X <IMG
src="Java Advanced Imaging API Summary.files/sm-space.gif"></FONT><FONT
size=7>B</FONT></TD></TR></TBODY></TABLE></A></CENTER>
<CENTER><A name=72446>
<TABLE width="90%" border=0>
<TBODY>
<TR>
<TD align=right>
<HR noShade SIZE=7>
<FONT size=6>Java Advanced Imaging API
Summary</FONT></TD></TR></TBODY></TABLE></A></CENTER>
<BLOCKQUOTE>
<P><BR><BR><BR>
<P><FONT size=7><B>T</B></FONT>HIS appendix summarizes the imaging interfaces
and classes for Java AWT, Java 2D, and Java Advanced Imaging API.
<P><A name=75376>
<H2>B.1 <IMG src="Java Advanced Imaging API Summary.files/space.gif">Java AWT
Imaging</H2></A><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html#75399">Table
B-1</A> lists and describes the <CODE>java.awt</CODE> imaging classes.
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=75399>Table B-1
<STRONG><KBD>java.awt</KBD></STRONG> Imaging Classes
</A></B></FONT></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><A name=75403>Class </A>
<TH><A name=75405>Description </A>
<TR vAlign=top>
<TD><A name=75407>Image</A><BR>
<TD><A name=75409>Extends: Object</A><BR><A name=75413>The superclass of
all classes that represent graphical images.</A><BR></TR></TBODY></TABLE>
<P><A name=73746>
<H2>B.2 <IMG src="Java Advanced Imaging API Summary.files/space.gif">Java 2D
Imaging</H2></A>The Java 2D API is a set of classes for advanced 2D graphics
and imaging. It encompasses line art, text, and images in a single
comprehensive model. The API provides extensive support for image compositing
and alpha channel images, a set of classes to provide accurate color space
definition and conversion, and a rich set of display-oriented imaging
operators.
<P>The Java 2D classes are provided as additions to the <CODE>java.awt</CODE>
and <CODE>java.awt.image</CODE> packages (rather than as a separate package).
<P><A name=73747>
<H3>B.2.1 <IMG src="Java Advanced Imaging API Summary.files/space.gif">Java 2D
Imaging Interfaces</H3></A><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html#73751">Table
B-2</A> lists and briefly describes the imaging interfaces defined in the
<CODE>java.awt.image </CODE>(Java 2D) API.
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=73751>Table B-2
<STRONG><KBD>java.awt.image</KBD></STRONG> Interfaces
</A></B></FONT></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><A name=73755>Interface </A>
<TH><A name=73757>Description </A>
<TR vAlign=top>
<TD><A name=73759>BufferedImageOp</A><BR>
<TD><A name=75427>Describes single-input/single-output operations
performed on BufferedImage objects. This is implemented by such classes
as AffineTransformOp, ConvolveOp, BandCombineOp,</A><BR><A
name=73761>and LookupOp.</A><BR>
<TR vAlign=top>
<TD><A name=73763>ImageConsumer</A><BR>
<TD><A name=73793>Used for objects expressing interest in image data
through the ImageProducer interfaces.</A><BR>
<TR vAlign=top>
<TD><A name=73851>ImageObserver</A><BR>
<TD><A name=75436>Receives notifications about Image information as the
Image is constructed.</A><BR>
<TR vAlign=top>
<TD><A name=73847>ImageProducer</A><BR>
<TD><A name=73888>Used for objects that can produce the image data for
Images. Each image contains an ImageProducer that is used to reconstruct
the image whenever it is needed, for example, when a new size of the
Image is scaled, or when the width or height of the Image is being
requested.</A><BR>
<TR vAlign=top>
<TD><A name=73843>ImagingLib</A><BR>
<TD><A name=73920>Provides a hook to access platform-specific imaging
code.</A><BR>
<TR vAlign=top>
<TD><A name=73839>RasterImageConsumer</A><BR>
<TD><A name=73954>Extends: ImageConsumer</A><BR><A name=75463>The
interface for objects expressing interest in image data through the
ImageProducer interfaces. When a consumer is added to an image producer,
the producer delivers all of the data about the image using the method
calls defined in this interface.</A><BR>
<TR vAlign=top>
<TD><A name=73835>RasterOp</A><BR>
<TD><A name=73998>Describes single-input/single-output operations
performed on Raster objects. This is implemented by such classes as
AffineTransformOp, ConvolveOp, and LookupOp.</A><BR>
<TR vAlign=top>
<TD><A name=73831>RenderedImage</A><BR>
<TD><A name=74043>A common interface for objects that contain or can
produce image data in the form of Rasters.</A><BR>
<TR vAlign=top>
<TD><A name=73827>TileChangeListener</A><BR>
<TD><A name=74081>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.</A><BR>
<TR vAlign=top>
<TD><A name=73823>WriteableRenderedImage</A><BR>
<TD><A name=74163>Extends: RenderedImage</A><BR><A name=75484>A common
interface for objects that contain or can produce image data that can be
modified and/or written over.</A><BR></TR></TBODY></TABLE>
<P><A name=74224>
<H3>B.2.2 <IMG src="Java Advanced Imaging API Summary.files/space.gif">Java 2D
Imaging Classes</H3></A><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html#74246">Table
B-3</A> lists and briefly describes the imaging classes defined in the
<CODE>java.awt.image </CODE>(Java 2D) API.
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=74246>Table B-3
<STRONG><KBD>java.awt.image</KBD></STRONG> Classes </A></B></FONT></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><A name=74414>Class </A>
<TH><A name=74416>Description </A>
<TR vAlign=top>
<TD><A name=74254>AffineTransformOp</A><BR>
<TD><A name=74696>Extends: Object</A><BR><A name=74703>Implements:
BufferedImageOp, RasterOp</A><BR><A name=74420>An abstract class that
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.</A><BR>
<TR vAlign=top>
<TD><A name=74258>AreaAveragingScaleFilter</A><BR>
<TD><A name=74705>Extends: ReplicateScaleFilter</A><BR><A name=74547>An
ImageFilter class for scaling images using a simple area averaging
algorithm that produces smoother results than the nearest-neighbor
algorithm.</A><BR>
<TR vAlign=top>
<TD><A name=74262>BandCombineOp</A><BR>
<TD><A name=74715>Extends: Object</A><BR><A name=74722>Implements:
RasterOp</A><BR><A name=74639>Performs an arbitrary linear combination
of bands in a Raster, using a specified matrix.</A><BR>
<TR vAlign=top>
<TD><A name=74266>BandedSampleModel</A><BR>
<TD><A name=74268>Extends: SampleModel</A><BR><A name=74729>Provides
more efficent implementations for accessing</A><BR><A name=74738>image
data than are provided in SampleModel. Used when working with images
that store sample data for each band in a different bank of the
DataBuffer.</A><BR>
<TR vAlign=top>
<TD><A name=74270>BilinearAffineTransformOp</A><BR>
<TD><A name=74272>Extends: AffineTransformOp</A><BR><A name=74757>Uses
an affine transformation with bilinear interpolation to transform an
image or Raster.</A><BR>
<TR vAlign=top>
<TD><A name=74274>BufferedImage</A><BR>
<TD><A name=74276>Extends: Image</A><BR><A name=74766>Implements:
WritableRenderedImage</A><BR><A name=74767>Describes an Image with an
accessible buffer of image data.</A><BR>
<TR vAlign=top>
<TD><A name=74278>BufferedImageFilter</A><BR>
<TD><A name=74280>Extends: ImageFilter</A><BR><A name=74779>Implements:
RasterImageConsumer, Cloneable</A><BR><A name=74782>Provides a simple
means of using a single-source/single-destination image operator
(BufferedImageOp) to filter a BufferedImage or Raster in the Image
Producer/Consumer/Observer paradigm.</A><BR>
<TR vAlign=top>
<TD><A name=74282>ByteLookupTable</A><BR>
<TD><A name=74284>Extends: LookupTable</A><BR><A name=74805>Defines a
lookup table object. The lookup table contains byte data for one or more
tile channels or image components (for example, separate arrays for R,
G, and B), and it contains an offset that will be subtracted from the
input value before indexing the array.</A><BR>
<TR vAlign=top>
<TD><A name=74286>ColorConvertOp</A><BR>
<TD><A name=74288>Extends: Object</A><BR><A name=74823>Implements:
BufferedImageOp, RasterOp</A><BR><A name=74826>Performs a pixel-by-pixel
color conversion of the data in the source image. The resulting color
values are scaled to the precision of the destination image data
type.</A><BR>
<TR vAlign=top>
<TD><A name=74290>ColorModel</A><BR>
<TD><A name=74292>Extends: Object</A><BR><A name=74835>Implements:
Transparency</A><BR><A name=74838>An abstract class that encapsulates
the methods for translating from pixel values to color components (e.g.,
red, green, blue) for an image.</A><BR>
<TR vAlign=top>
<TD><A name=74294>ComponentColorModel</A><BR>
<TD><A name=74296>Extends: ColorModel</A><BR><A name=74856>A ColorModel
class that can handle an arbitrary ColorSpace and an array of color
components to match the ColorSpace.</A><BR>
<TR vAlign=top>
<TD><A name=74298>ComponentSampleModel</A><BR>
<TD><A name=74867>Extends: SampleModel</A><BR><A name=74875>Stores the N
samples that make up a pixel in N separate data array elements all of
which are in the same bank of a dataBuffer.</A><BR>
<TR vAlign=top>
<TD><A name=74302>ConvolveOp</A><BR>
<TD><A name=74884>Extends: Object</A><BR><A name=74885>Implements:
BufferedImageOp, RasterOp</A><BR><A name=74895>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.</A><BR>
<TR vAlign=top>
<TD><A name=74306>CropImageFilter</A><BR>
<TD><A name=74905>Extends: ImageFilter</A><BR><A name=74308>An
ImageFilter class for cropping images.</A><BR>
<TR vAlign=top>
<TD><A name=74310>DataBuffer</A><BR>
<TD><A name=74921>Extends: Object</A><BR><A name=74929>Wraps one or more
data arrays. Each data array in the DataBuffer is referred to as a bank.
Accessor methods for getting and setting elements of the DataBuffer's
banks exist with and without a bank specifier.</A><BR>
<TR vAlign=top>
<TD><A name=74314>DataBufferByte</A><BR>
<TD><A name=74316>Extends: DataBuffer</A><BR><A name=74941>Stores data
internally as bytes.</A><BR>
<TR vAlign=top>
<TD><A name=74318>DataBufferInt</A><BR>
<TD><A name=74951>Extends: DataBuffer</A><BR><A name=74952>Stores data
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -