javax.media.jai

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai 
javax.media.jai
Java Source File NameTypeComment
AreaOpImage.javaClass An abstract base class for image operators that require only a fixed rectangular source region around a source pixel in order to compute each destination pixel.
AttributedImage.javaClass A class which associates a PlanarImage with an attribute of unspecified type.
AttributedImageCollection.javaClass Class representing a CollectionImage wherein all image elements are AttributedImage instances.
BorderExtender.javaClass An abstract superclass for classes that extend or "pad" a WritableRaster with additional pixel data taken from a PlanarImage.
BorderExtenderConstant.javaClass A subclass of BorderExtender that implements border extension by filling all pixels outside of the image bounds with constant values.
BorderExtenderCopy.javaClass A subclass of BorderExtender that implements border extension by filling all pixels outside of the image bounds with copies of the edge pixels.
BorderExtenderReflect.javaClass A subclass of BorderExtender that implements border extension by filling all pixels outside of the image bounds with copies of the whole image.
BorderExtenderWrap.javaClass A subclass of BorderExtender that implements border extension by filling all pixels outside of the image bounds with copies of the whole image.
BorderExtenderZero.javaClass A subclass of BorderExtender that implements border extension by filling all pixels outside of the image bounds with zeros.
CachedTile.javaInterface Public interface for cached tiles used to retrieve information about the tile.
CanvasJAI.javaClass An extension of java.awt.Canvas for use with JAI. CanvasJAI automatically returns an instance of GraphicsJAI from its getGraphics() method.
CollectionChangeEvent.javaClass Class representing an event generated by a CollectionOp when the wrapped Collection is regenerated.
CollectionImage.javaClass An abstract superclass for classes representing a Collection of images.
CollectionImageFactory.javaInterface The CollectionImageFactory (CIF) interface is intended to be implemented by classes that wish to act as factories to produce different collection image operators.
CollectionOp.javaClass A node in a CollectionImage chain.
ColorCube.javaClass A subclass of LookupTableJAI which represents a lookup table which is a color cube.
ColormapOpImage.javaClass A class to be used to implement an operation which may conditionally be accelerated by transforming the colormap of the source image instead of its data.
ColorModelFactory.javaInterface Interface defining a callback which may be used to create a ColorModel for the rendering of a node in an operation chain.
ColorSpaceJAI.javaClass An abstract subclass of ColorSpace which adds methods to transform colors represented as pixels in a Raster between a specific color space and either sRGB or a well-defined C.I.E.
ComponentSampleModelJAI.javaClass This class represents image data which is stored such that each sample of a pixel occupies one data element of the DataBuffer.
CoordinateImage.javaClass A class representing an image that is associated with a coordinate.
CRIFImpl.javaClass A utility class to minimize in most cases the effort required to implement the ContextualRenderedImageFactory (CRIF) of an operation. An extender of this class is required to implement only the method RenderedImage create(ParameterBlock, RenderingHints) defined in the RenderedImageFactory interface.
DataBufferDouble.javaClass An extension of DataBuffer that stores data internally in double form.
DataBufferFloat.javaClass An extension of DataBuffer that stores data internally in float form.
DeferredData.javaClass Class to be used as a wrapper for data which will be calculated at a later time.
DeferredProperty.javaClass A subclass of DeferredData to be used to wrap JAI property values which will be computed at a later time.
DescriptorCache.javaClass A class to manage the descriptors belong to a certain RegistryMode The RegistryElementDescriptor names are used in a case-insensitive manner.
EnumeratedParameter.javaClass This class provides a mechanism by which enumerated parameters may be added to subclasses of OperationDescriptorImpl while retaining the ability to perform introspection on the allowable range of values of the enumeration.
FactoryCache.javaClass A class to manage the various instances of a descriptor factory.
FloatDoubleColorModel.javaClass A ColorModel class that works with pixel values that represent color and alpha information as separate samples, using float or double elements.
GeometricOpImage.javaClass An abstract base class for image operators that perform a geometric transformation of the source image.

The geometric relationship between the source and destination images will be determined by the specific behavior of the methods backwardMapRect() and forwardMapRect() the implementations of which must be provided by a subclass.

The location of the source pixel corresponding to a given destination pixel is determined by the aforementioned backward mapping transformation. The value of the destination pixel is then calculated by interpolating the values of a set of source pixels at locations in the vicinity of the backward mapped destination pixel location according to the requirements of a specified interpolation algorithm.

GraphicsJAI.javaClass A JAI wrapper for a Graphics2D object derived from a Component. When drawing JAI images to a Component such as a Canvas, a new GraphicsJAI may be constructed to wrap the Graphics2D object provided by that Component.
Histogram.javaClass This class represents a histogram accumulated from a RenderedImage.

A "bin" is a container, where each element stores the total number of pixel samples of an image whose values lie within a given range.

IHSColorSpace.javaClass Singleton class representing the IHS (Intensity, Hue, Saturation) color space (also known as HSI or HIS).

The RGB-to-IHS transformation is defined by the equations:

  • I = (R+G+B)/3
  • S = 1-min(R, G, B)/I
  • H = G > B ? h : 2*PI - h, where
    h = cos-1{[(R-G)+(R-B)]/2[(R-G)2+ (R-G)(G-B)]1/2}
where the R, G, B values have been normalized to the range [0.0, 1.0]. Refer to Practical Algorithms for Image Analysis, Seul, et.
ImageFunction.javaInterface ImageFunction is a common interface for vector-valued functions which are to be evaluated at positions in the X-Y coordinate system.
ImageJAI.javaInterface An interface implemented by all JAI image classes.
ImageLayout.javaClass A class describing the desired layout of an OpImage.

The ImageLayout class encapsulates three types of information about an image:

  • The image bounds, comprising the min X and Y coordinates, image width, and image height;
  • The tile grid layout, comprising the tile grid X and Y offsets, the tile width, and the tile height; and
  • The SampleModel and ColorModel of the image.

Each of these parameters may be set individually, or left unset. An unset parameter will cause the corresponding value of a given RenderedImage to be used.

ImageMIPMap.javaClass A class implementing the "MIP map" operation on a RenderedImage.
ImagePyramid.javaClass A class implementing the "Pyramid" operation on a RenderedImage.
ImageSequence.javaClass A class representing a sequence of images, each associated with a time stamp and a camera position.
ImageStack.javaClass A class representing a stack of images, each associated with a spatial position/orientation defined in a common coordinate system.
IntegerSequence.javaClass A growable sorted integer set.
Interpolation.javaClass An object encapsulating a particular algorithm for image interpolation (resampling).
InterpolationBicubic.javaClass A class representing bicubic interpolation.

InterpolationBicubic is a subclass of Interpolation that performs interpolation using the piecewise cubic polynomial:

 r(x) = (a + 2)|x|^3 - (a + 3)|x|^2         +  1 , 0 <= |x| < 1
 r(x) =       a|x|^3 -      5a|x|^2 + 8a|x| - 4a , 1 <= |x| < 2
 r(x) = 0                                        , otherwise
 
with 'a' set to -0.5. This definition is also sometimes known as "cubic convolution", using the parameter 'a' recommended by Rifman. (Reference: Digital Image Warping, George Wolberg, 1990, pp 129-131, IEEE Computer Society Press, ISBN 0-8186-8944-7)

A neighborhood extending one sample to the left of and above the central sample, and two samples to the right of and below the central sample is required to perform bicubic interpolation.

This implementation creates an InterpolationTable whose integer coefficients have eight bits of precision to the right of the binary point.

The diagrams below illustrate the pixels involved in one-dimensional interpolation.

InterpolationBicubic2.javaClass A class representing bicubic interpolation using a different polynomial than InterpolationBicubic.

InterpolationBicubic2 is a subclass of Interpolation that performs interpolation using the piecewise cubic polynomial:

 r(x) = (a + 2)|x|^3 - (a + 3)|x|^2         +  1 , 0 <= |x| < 1
 r(x) =       a|x|^3 -      5a|x|^2 + 8a|x| - 4a , 1 <= |x| < 2
 r(x) = 0                                        , otherwise
 
with 'a' set to -1.0. This definition is also sometimes known as "cubic convolution", using the parameter 'a' recommended by Keys.
InterpolationBilinear.javaClass A class representing bilinear interpolation.
InterpolationNearest.javaClass A class representing nearest-neighbor interpolation.
InterpolationTable.javaClass A subclass of Interpolation that uses tables to store the interpolation kernels.
JAI.javaClass A convenience class for instantiating operations.

This class allows programmers to use the syntax:

 import javax.media.jai.JAI;
 RenderedOp im = JAI.create("convolve", paramBlock, renderHints);
 
to create new images or collections by applying operators. The create() method returns a RenderedOp encapsulating the operation name, parameter block, and rendering hints.
JaiI18N.javaClass
KernelJAI.javaClass A kernel representing a matrix with a key position, used by operators such as Convolve .

A KernelJAI is characterized by its width, height, and origin, or key element.

LookupTableJAI.javaClass A lookup table object associated with the "Lookup" operation.
MultiResolutionRenderableImage.javaClass A RenderableImage that produces renderings based on a set of supplied RenderedImages at various resolutions.
NullCRIF.javaClass A ContextualRenderedImageFactory representing an operation which performs no processing of its image source(s) per se, i.e., a no-op.

The primary use of this image factory is as a utility class in implementing operations which generate only non-image data via the use of PropertyGenerators.

NullOpImage.javaClass A trivial OpImage subclass that simply transmits its source unchanged.
OperationDescriptor.javaInterface This interface provides a comprehensive description of a specific image operation.
OperationDescriptorImpl.javaClass This class provides an abstract implementation of the OperationDescriptor interface that is suitable for subclassing.
OperationGraph.javaClass OperationGraph manages a list of PartialOrderNodes and pairwise preferences between them. The getOrderedOperationList method performs a topological sort. The topological sort follows the algorithm described in Horowitz and Sahni, Fundamentals of Data Structures (1976), p.
OperationNode.javaInterface A class which is a node in a chain of operations.
OperationNodeSupport.javaClass This is a utility class that can be used by OperationNodes to consolidate common functionality.
OperationRegistry.javaClass A class responsible for maintaining a registry of various types of factory objects and preferences among them.
OperationRegistrySpi.javaInterface

An interface definition to aid in the automatic loading of user-defined JAI operations.

All concrete classes that implement this interface can register by listing themselves in the "META-INF/services/javax.media.jai.OperationRegistrySpi" file that can be found in the classpath (this file is often contained in a jar file along with the class files).

OpImage.javaClass This is the base class for all image operations.
PackedImageData.javaClass This class is used by PixelAccessor to store packed image data along with access information.
ParameterBlockJAI.javaClass A convenience subclass of ParameterBlock that allows the use of default parameter values and getting/setting sources and parameters by name.
ParameterList.javaInterface An interface to represent a list of parameter name-value pairs.
ParameterListDescriptor.javaClass A class that signifies that a parameter has no default value.
ParameterListDescriptorImpl.javaClass A concrete implementation of the ParameterListDescriptor interface.
ParameterListImpl.javaClass A concrete implementation of the ParameterList interface.
PartialOrderNode.javaClass A node in a directed graph of operations.
PerspectiveTransform.javaClass A 2D perspective (or projective) transform, used by various OpImages.

A perspective transformation is capable of mapping an arbitrary quadrilateral into another arbitrary quadrilateral, while preserving the straightness of lines.

PixelAccessor.javaClass This is a utility class that may be used to access the pixel data stored in a RenderedImage's Rasters, as well as performing pixel-to-color data translation based on the image's SampleModel and ColorModel.
PlanarImage.javaClass A RenderedImage is expressed as a collection of pixels. A pixel is defined as a 1-by-1 square; its origin is the top-left corner of the square (0, 0), and its energy center is located at the center of the square (0.5, 0.5).

This is the fundamental base class of Java Advanced Imaging (JAI) that represents a two-dimensional RenderedImage.

This class provides a home for the information and functionalities common to all the JAI classes that implement the RenderedImage interface, such as the image's layout, sources, properties, etc.

PointOpImage.javaClass An abstract base class for image operators that require only the (x, y) pixel from each source image in order to compute the destination pixel (x, y).

PointOpImage is intended as a convenient superclass for OpImages that only need to look at each destination pixel's corresponding source pixels.

ProductOperationGraph.javaClass ProductOperationGraph manages a list of descriptors belonging to a particular product.
PropertyChangeEmitter.javaInterface A class which emits PropertyChangeEvents.
PropertyChangeEventJAI.javaClass A class instances of which represent Java Bean-style events emitted by JAI objects.
PropertyChangeSupportJAI.javaClass Extension of the beans utility class PropertyChangeSupport which adds an accessor for the parameter passed to the constructor.
PropertyEnvironment.javaClass A class that implements the PropertySource interface.
PropertyGenerator.javaInterface An interface through which properties may be computed dynamically with respect to an environment of pre-existing properties.
PropertyGeneratorFromSource.javaClass A class that implements the PropertyGenerator interface. This class is used when a property is to be calculated from a particular source.
PropertySource.javaInterface An interface encapsulating the set of operations involved in identifying and reading properties.

The interface includes the getProperty() and getPropertyNames() methods familiar from the RenderedImage and RenderableImage interfaces. Classes which implement this interface should do so in a manner which treats the property names as case-retentive.

PropertySourceChangeEvent.javaClass A class instances of which represent JAI properties as emitted for example by a PropertySource but in the guise of an event as defined for Java Beans.
PropertySourceImpl.javaClass A utility implementation of the PropertySource interface. Properties are managed by three internal structures: one which maps property names to values, a second which maps property names to PropertySources, and a third which tracks which entries in the name-value mapping derived their respective values from a PropertySource in the name-PropertySource mapping.
RasterAccessor.javaClass An adapter class for presenting non-binary image data in a ComponentSampleModel format and binary image data in a zero-offset byte array format even when the original data are not so stored.
RasterFactory.javaClass A convenience class for the construction of various types of WritableRaster and SampleModel objects.
RasterFormatTag.javaClass This class encapsulates the information needed for RasterAccessor to understand how a Raster is laid out.
RecyclingTileFactory.javaClass A simple implementation of TileFactory wherein the tiles returned from createTile() attempt to re-use primitive arrays provided by the TileRecycler method recycleTile().
RegistryElementDescriptor.javaInterface An interface for all JAI descriptors that register themselves with the OperationRegistry.
RegistryFileParser.javaClass A class to parse the JAI registry file.
RegistryMode.javaClass A class which provides information about a registry mode.
RemoteImage.javaClass A sub-class of PlanarImage which represents an image on a remote server machine.

The image may be constructed from a RenderedImage or from an imaging chain in either the rendered or renderable mode.

RenderableCollectionImageFactory.javaInterface The RenderableCollectionImageFactory (RCIF) interface is intended to be implemented by classes that wish to act as factories to produce different collection image operators.
RenderableGraphics.javaClass An implementation of Graphics2D with RenderableImage semantics.
RenderableImageAdapter.javaClass An adapter class for externally-generated RenderableImages.
RenderableOp.javaClass A node in a renderable imaging chain.
RenderedImageAdapter.javaClass A PlanarImage wrapper for a non-writable RenderedImage.
RenderedImageList.javaClass A CollectionImage which is also a RenderedImage.
RenderedOp.javaClass A node in a rendered imaging chain.
RenderingChangeEvent.javaClass Class representing the event that occurs when a RenderedOp node is re-rendered.
ROI.javaClass The parent class for representations of a region of interest of an image (currently only single band images with integral data types are supported). This class represents region information in image form, and can thus be used as a fallback where a Shape representation is unavailable.
ROIShape.javaClass A class representing a region of interest within an image as a Shape.
ScaleOpImage.javaClass A class extending WarpOpImage for use by further extension classes that perform image scaling.
SequentialImage.javaClass A class representing an image that is associated with a time stamp and a camera position.
SnapshotImage.javaClass A (Raster, X, Y) tuple.
SourcelessOpImage.javaClass An abstract base class for image operators that have no image sources.

SourcelessOpImage is intended as a convenient superclass for OpImages that have no source image.

StatisticsOpImage.javaClass An abstract base class representing image operators that compute statistics on a given region of an image, and with a given sampling period.
ThreadSafeOperationRegistry.javaClass A wrapper class on OperationRegistry which is thread safe.
TileCache.javaInterface A class implementing a caching mechanism for image tiles.

TileCache provides a mechanism by which an OpImage may cache its computed tiles.

TileComputationListener.javaInterface Interface to monitor tiles which have been submitted to the TileScheduler for non-prefetch background processing. The request parameter of each method corresponds to the value returned by the method used to queue the tiles, i.e., TileScheduler.scheduleTiles() or more commonly PlanarImage.queueTiles().
TiledImage.javaClass A concrete implementation of WritableRenderedImage.

TiledImage is the main class for writable images in JAI.

TiledImageGraphics.javaClass A concrete (i.e., non-abstract) class implementing all the methods of Graphics2D (and thus of Graphics) with a TiledImage as the implicit drawing canvas. The actual implementation will use Java2D to do most of the work by packaging up the image tiles in a form that Java2D can understand.

Since the public methods of this class all derive from Graphics2D, they are not commented individually.

The ColorModel for the canvas will be that of the associated TiledImage unless that ColorModel is null.

TileFactory.javaInterface An interface defining a mechanism which may be used to create tiles for an image.
TileRecycler.javaInterface An interface to a mechanism which is capable of recycling tiles. In general the term recycle in this context is taken to mean re-using memory allocated to the tile.
TileRequest.javaInterface Interface representing a TileScheduler request to compute a specific set of tiles for a given image with optional monitoring by TileComputationListeners.
TileScheduler.javaInterface A class implementing a mechanism for scheduling tile calculation. In various implementations tile computation may make use of multithreading and multiple simultaneous network connections for improved performance.

If multithreading is used then the implementation of the interface must be thread-safe.

UnpackedImageData.javaClass This class is used by PixelAccessor to store unpacked image data and the information needed to access it.
UntiledOpImage.javaClass A general class for single-source operations which require cobbled sources and create an image consisting of a single tile equal in location and size to the image bounds.

The output image will have a single tile, regardless of the ImageLayout settings passed to the constructor.

Warp.javaClass A description of an image warp.

The central method of a Warp is warpSparseRect(), which returns the source pixel positions for a specified (subdivided) rectangular region of the output.

As in the Interpolation class, pixel positions are represented using scaled integer coordinates, yielding subpixel accuracy but still allowing the use of integer arithmetic.

WarpAffine.javaClass A description of an Affine warp.
WarpCubic.javaClass A cubic-based description of an image warp.
WarpGeneralPolynomial.javaClass A general polynomial-based description of an image warp.
WarpGrid.javaClass A regular grid-based description of an image warp.
WarpOpImage.javaClass A general implementation of image warping, and a superclass for specific image warping operations.

The image warp is specified by a Warp object and an Interpolation object.

Subclasses of WarpOpImage may choose whether they wish to implement the cobbled or non-cobbled variant of computeRect by means of the cobbleSources constructor parameter.

WarpPerspective.javaClass A description of a perspective (projective) warp.

The transform is specified as a mapping from destination space to source space.

WarpPolynomial.javaClass A polynomial-based description of an image warp.
WarpQuadratic.javaClass A quadratic-based description of an image warp.
WritablePropertySource.javaInterface Sub-interface of PropertySource which permits setting the values of JAI properties in addition to obtaining their names and values.
WritablePropertySourceImpl.javaClass A utility implementation of the WritablePropertySource interface.
WritableRenderedImageAdapter.javaClass A PlanarImage wrapper for a WritableRenderedImage.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.