📄 java advanced imaging api summary.htm
字号:
internally as ints.</A><BR>
<TR vAlign=top>
<TD><A name=74322>DataBufferShort</A><BR>
<TD><A name=74964>Extends: DataBuffer</A><BR><A name=74965>Stores data
internally as shorts.</A><BR>
<TR vAlign=top>
<TD><A name=74326>DirectColorModel</A><BR>
<TD><A name=74328>Extends: PackedColorModel</A><BR><A
name=74977>Represents pixel values that have RGB color components
embedded directly in the bits of the pixel itself.</A><BR>
<TR vAlign=top>
<TD><A name=74330>FilteredImageSource</A><BR>
<TD><A name=74984>Extends: Object</A><BR><A name=74332>Implements:
ImageProducer</A><BR><A name=74993>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.</A><BR>
<TR vAlign=top>
<TD><A name=74334>ImageFilter</A><BR>
<TD><A name=75005>Extends: Object</A><BR><A name=75006>Implements:
ImageConsumer, Cloneable</A><BR><A name=75016>Implements a filter for
the set of interface methods that are used to deliver data from an
ImageProducer to an ImageConsumer.</A><BR>
<TR vAlign=top>
<TD><A name=74338>IndexColorModel</A><BR>
<TD><A name=74340>Extends: ColorModel</A><BR><A name=75027>Represents
pixel values that are indices into a fixed colormap in the ColorModel's
color space.</A><BR>
<TR vAlign=top>
<TD><A name=74342>Kernel</A><BR>
<TD><A name=75040>Extends: Object</A><BR><A name=75052>Defines a Kernel
object - a matrix describing how a given pixel and its surrounding
pixels affect the value of the given pixel in a filtering
operation.</A><BR>
<TR vAlign=top>
<TD><A name=74346>LookupOp</A><BR>
<TD><A name=75067>Extends: Object</A><BR><A name=74348>Implements:
BufferedImageOp, RasterOp</A><BR><A name=75074>Implements a lookup
operation from the source to the destination.</A><BR>
<TR vAlign=top>
<TD><A name=74350>LookupTable</A><BR>
<TD><A name=75083>Extends: Object</A><BR><A name=75091>Defines a lookup
table object. The subclasses are ByteLookupTable and ShortLookupTable,
which contain byte and short data, respectively.</A><BR>
<TR vAlign=top>
<TD><A name=74354>MemoryImageSource</A><BR>
<TD><A name=75098>Extends: Object</A><BR><A name=75099>Implements:
ImageProducer</A><BR><A name=75107>An implementation of the
ImageProducer interface, which uses an array to produce pixel values for
an Image.</A><BR>
<TR vAlign=top>
<TD><A name=74358>MultiPixelPackedSampleModel</A><BR>
<TD><A name=74360>Extends: SampleModel</A><BR><A name=75118>Stores
one-banded images, but can pack multiple one-sample pixels into one data
element.</A><BR>
<TR vAlign=top>
<TD><A name=74362>NearestNeighborAffine-TransformOp</A><BR>
<TD><A name=74364>Extends: AffineTransformOp</A><BR><A name=75133>Uses
an affine transformation with nearest neighbor interpolation to
transform an image or Raster.</A><BR>
<TR vAlign=top>
<TD><A name=74366>PackedColorModel</A><BR>
<TD><A name=75144>Extends: ColorModel</A><BR><A name=75154>An abstract
ColorModel class that represents pixel values that have the color
components embedded directly in the bits of an integer pixel.</A><BR>
<TR vAlign=top>
<TD><A name=74370>PixelGrabber</A><BR>
<TD><A name=75161>Extends: Object</A><BR><A name=75162>Implements:
ImageConsumer</A><BR><A name=75172>Implements an ImageConsumer which can
be attached to an Image or ImageProducer object to retrieve a subset of
the pixels in that image.</A><BR>
<TR vAlign=top>
<TD><A name=74374>RGBImageFilter</A><BR>
<TD><A name=74376>Extends: ImageFilter</A><BR><A name=75183>Provides an
easy way to create an ImageFilter that modifies the pixels of an image
in the default RGB ColorModel. It is meant to be used in conjunction
with a FilteredImageSource object to produce filtered versions of
existing images.</A><BR>
<TR vAlign=top>
<TD><A name=74378>Raster</A><BR>
<TD><A name=75199>Extends: Object</A><BR><A name=75207>Represents a
rectanglular array of pixels and provides methods for retrieving image
data. It contains a DataBuffer object that holds a buffer of image data
in some format, a SampleModel that describes the format is capable of
storing and retrieving Samples from the DataBuffer, and a Rect that
defines the coordinate space of the raster (upper left corner, width and
height).</A><BR>
<TR vAlign=top>
<TD><A name=74382>ReplicateScaleFilter</A><BR>
<TD><A name=75233>Extends: ImageFilter</A><BR><A name=74384>Scales
images using the simplest algorithm.</A><BR>
<TR vAlign=top>
<TD><A name=74386>RescaleOp</A><BR>
<TD><A name=75247>Extends: Object</A><BR><A name=74388>Implements:
BufferedImageOp, RasterOp</A><BR><A name=75256>Performs a pixel-by-pixel
rescaling of the data in the source image by multiplying each pixel
value by a scale factor and then adding an offset.</A><BR>
<TR vAlign=top>
<TD><A name=74390>SampleModel</A><BR>
<TD><A name=75267>Extends: Object</A><BR><A name=75275>Defines an
interface for extracting samples of an image without knowing how the
underlying data is stored in a DataBuffer.</A><BR>
<TR vAlign=top>
<TD><A name=74394>ShortLookupTable</A><BR>
<TD><A name=74396>Extends: LookupTable</A><BR><A name=75286>Defines a
lookup table object. The lookup table contains short 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=74398>SinglePixelPackedSample-Model</A><BR>
<TD><A name=74400>Extends: SampleModel</A><BR><A name=75303>Stores
(packs) the N samples that make up a single pixel in one data array
element. All data array elements reside in the first bank of a
DataBuffer.</A><BR>
<TR vAlign=top>
<TD><A name=74402>ThresholdOp</A><BR>
<TD><A name=75318>Extends: Object</A><BR><A name=75319>Implements:
BufferedImageOp, RasterOp</A><BR><A name=75327>Performs thresholding on
the source image by mapping the value of each image component (for
BufferedImages) or channel element (for Rasters) that falls between a
low and a high value, to a constant. </A><BR>
<TR vAlign=top>
<TD><A name=74406>TileChangeMulticaster</A><BR>
<TD><A name=75337>Extends: Object</A><BR><A name=75345>A convenience
class that takes care of the details of implementing the
TileChangeListener interface.</A><BR>
<TR vAlign=top>
<TD><A name=74410>WritableRaster</A><BR>
<TD><A name=74412>Extends: Raster</A><BR><A name=75358>Provides methods
for storing image data and inherits methods for retrieving image data
from it's parent class Raster.</A><BR></TR></TBODY></TABLE>
<P><A name=75368>
<H2>B.3 <IMG src="Java Advanced Imaging API Summary.files/space.gif">Java
Advanced Imaging</H2></A>The Java Advanced Imaging API consists of the
following packages:
<P>
<UL>
<LI><CODE>javax.media.jai</CODE> - contains the "core" JAI interfaces and
classes
<P></P></LI></UL>
<UL>
<LI><CODE>javax.media.jai.iterator</CODE> - contains special iterator
interfaces and classes, which are useful for writing extension operations
<P></P></LI></UL>
<UL>
<LI><CODE>javax.media.jai.operator</CODE> - contains classes that describe
all of the image operators
<P></P></LI></UL>
<UL>
<LI><CODE>javax.media.jai.widget</CODE> - contains interfaces and classes
for creating simple image canvases and scrolling windows for image display
<P></P></LI></UL><A name=75504>
<H3>B.3.1 <IMG src="Java Advanced Imaging API Summary.files/space.gif">JAI
Interfaces</H3></A><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html#72483">Table
B-4</A> lists and briefly describes the interfaces defined in the Java
Advanced Imaging API (<CODE>javax.media.jai</CODE>).
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=72483>Table B-4 <STRONG>Summary of jai
Interfaces</STRONG> </A></B></FONT></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><A name=72535>Interface </A>
<TH><A name=72537>Description </A>
<TR vAlign=top>
<TD><A name=81076>CollectionImageFactory</A><BR>
<TD><A name=81080>Abbreviated CIF, this interface is intended to be
implemented</A><BR><A name=81078>by classes that wish to act as
factories to produce different collection image operators.</A><BR>
<TR vAlign=top>
<TD><A name=81085>ImageFunction</A><BR>
<TD><A name=81089>A common interface for vector-valued functions that
are to be evaluated at positions in the X-Y coordinate system. </A><BR>
<TR vAlign=top>
<TD><A name=80586>ImageJAI</A><BR>
<TD><A name=80590>The top-level JAI image type, implemented by all JAI
image classes.</A><BR>
<TR vAlign=top>
<TD><A name=75916>OperationDescriptor</A><BR>
<TD><A name=75956>Describes a family of implementations of a high-level
operation (RIF) that are to be added to an OperationRegistry.</A><BR>
<TR vAlign=top>
<TD><A name=72491>PropertyGenerator</A><BR>
<TD><A name=72542>An interface through which properties may be computed
dynamically with respect to an environment of pre-existing
properties.</A><BR>
<TR vAlign=top>
<TD><A name=72495>PropertySource</A><BR>
<TD><A name=72497>Encapsulates the set of operations involved in
identifying and reading properties.</A><BR>
<TR vAlign=top>
<TD><A name=80945>TileCache</A><BR>
<TD><A name=80947>Implements a caching mechanism for image tiles. The
TileCache is a central place for OpImages to cache tiles they have
computed. The tile cache is created with a given capacity, measured in
tiles.</A><BR>
<TR vAlign=top>
<TD><A name=80941>TileScheduler</A><BR>
<TD><A name=80943>Implements a mechanism for scheduling tile
calculation.</A><BR></TR></TBODY></TABLE>
<P><A name=72561>
<H3>B.3.2 <IMG src="Java Advanced Imaging API Summary.files/space.gif">JAI
Classes</H3></A><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/API-summary.doc.html#72571">Table
B-5</A> lists and briefly describes the classes defined in the Java Advanced
Imaging API (<CODE>javax.media.jai</CODE>).
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=72571>Table B-5 Summary of jai Classes
</A></B></FONT></CAPTION>
<TBODY>
<TR vAlign=top>
<TH><A name=72627>Class </A>
<TH><A name=72629>Description </A>
<TR vAlign=top>
<TD><A name=72583>AreaOpImage</A><BR>
<TD><A name=72585>Extends: OpImage</A><BR><A name=72636>An abstract base
class for image operators that require only a fixed rectangular source
region around a source pixel in order to compute each each destination
pixel.</A><BR>
<TR vAlign=top>
<TD><A name=80622>BorderExtender</A><BR>
<TD><A name=80624>An abstract superclass for classes that extend a
WritableRaster with additional pixel data taken from a
PlanarImage.</A><BR>
<TR vAlign=top>
<TD><A name=81098>BorderExtenderConstant</A><BR>
<TD><A name=81102>Extends: BorderExtender</A><BR><A
name=81106>Implements border extension by filling all pixels outside of
the image bounds with constant values.</A><BR>
<TR vAlign=top>
<TD><A name=80618>BorderExtenderCopy</A><BR>
<TD><A name=80620>Extends: BorderExtender</A><BR><A
name=80649>Implements border extension by filling all pixels outside of
the image bounds with copies of the edge pixels.</A><BR>
<TR vAlign=top>
<TD><A name=80614>BorderExtenderReflect</A><BR>
<TD><A name=80671>Extends: BorderExtender</A><BR><A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -