📄 operationjai.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:22 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>OperationJAI (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.coverage.processing.OperationJAI class"><META NAME="keywords" CONTENT="operation"><META NAME="keywords" CONTENT="getOperationDescriptor()"><META NAME="keywords" CONTENT="computeOnGeophysicsValues()"><META NAME="keywords" CONTENT="doOperation()"><META NAME="keywords" CONTENT="postProcessResult()"><META NAME="keywords" CONTENT="extractSources()"><META NAME="keywords" CONTENT="copyParameters()"><META NAME="keywords" CONTENT="resampleToCommonGeometry()"><META NAME="keywords" CONTENT="deriveGridCoverage()"><META NAME="keywords" CONTENT="getProperties()"><META NAME="keywords" CONTENT="deriveSampleDimension()"><META NAME="keywords" CONTENT="deriveCategory()"><META NAME="keywords" CONTENT="deriveRange()"><META NAME="keywords" CONTENT="deriveUnit()"><META NAME="keywords" CONTENT="deriveName()"><META NAME="keywords" CONTENT="createRenderedImage()"><META NAME="keywords" CONTENT="getJAI()"><META NAME="keywords" CONTENT="equals()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="OperationJAI (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/OperationJAI.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/coverage/processing/Operation2D.html" title="class in org.geotools.coverage.processing"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/coverage/processing/OperationJAI.Parameters.html" title="class in org.geotools.coverage.processing"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="OperationJAI.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.coverage.processing</FONT><BR>Class OperationJAI</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/coverage/processing/AbstractOperation.html" title="class in org.geotools.coverage.processing">AbstractOperation</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../org/geotools/coverage/processing/Operation2D.html" title="class in org.geotools.coverage.processing">Operation2D</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>OperationJAI</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Operation, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/geotools/coverage/processing/operation/Absolute.html" title="class in org.geotools.coverage.processing.operation">Absolute</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/AddConst.html" title="class in org.geotools.coverage.processing.operation">AddConst</A>, <A HREF="../../../../org/geotools/coverage/processing/BilevelOperation.html" title="class in org.geotools.coverage.processing">BilevelOperation</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Convolve.html" title="class in org.geotools.coverage.processing.operation">Convolve</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/DivideByConst.html" title="class in org.geotools.coverage.processing.operation">DivideByConst</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Exp.html" title="class in org.geotools.coverage.processing.operation">Exp</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Extrema.html" title="class in org.geotools.coverage.processing.operation">Extrema</A>, <A HREF="../../../../org/geotools/coverage/processing/FilterOperation.html" title="class in org.geotools.coverage.processing">FilterOperation</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/GradientMagnitude.html" title="class in org.geotools.coverage.processing.operation">GradientMagnitude</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Histogram.html" title="class in org.geotools.coverage.processing.operation">Histogram</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Invert.html" title="class in org.geotools.coverage.processing.operation">Invert</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Log.html" title="class in org.geotools.coverage.processing.operation">Log</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/MaxFilter.html" title="class in org.geotools.coverage.processing.operation">MaxFilter</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/MedianFilter.html" title="class in org.geotools.coverage.processing.operation">MedianFilter</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/MinFilter.html" title="class in org.geotools.coverage.processing.operation">MinFilter</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/MultiplyConst.html" title="class in org.geotools.coverage.processing.operation">MultiplyConst</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/Rescale.html" title="class in org.geotools.coverage.processing.operation">Rescale</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/SubtractConst.html" title="class in org.geotools.coverage.processing.operation">SubtractConst</A>, <A HREF="../../../../org/geotools/coverage/processing/operation/SubtractFromConst.html" title="class in org.geotools.coverage.processing.operation">SubtractFromConst</A></DD></DL><HR><DL><DT>public class <B>OperationJAI</B><DT>extends <A HREF="../../../../org/geotools/coverage/processing/Operation2D.html" title="class in org.geotools.coverage.processing">Operation2D</A></DL><P>Wraps a JAI's <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/OperationDescriptor.html" title="class or interface in javax.media.jai"><CODE>OperationDescriptor</CODE></A> for interoperability with <A HREF="http://java.sun.com/products/java-media/jai/">Java Advanced Imaging</A>. This class help to leverage the rich set of JAI operators in an GeoAPI framework. inherits operation name and argument types from <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/OperationDescriptor.html" title="class or interface in javax.media.jai"><CODE>OperationDescriptor</CODE></A>, except the source argument type (usually <code><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image">RenderedImage</A>.class</code>) which is set to <code><A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A>.class</code>. If there is only one source argument, it will be renamed for better compliance with OpenGIS usage. <p> The entry point for applying an operation is the usual <A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#doOperation(org.opengis.parameter.ParameterValueGroup, org.geotools.factory.Hints)"><CODE>doOperation</CODE></A> method. The default implementation forward the call to other methods for different bits of tasks, resulting in the following chain of calls: <p> <blockquote><table> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#doOperation(org.opengis.parameter.ParameterValueGroup, org.geotools.factory.Hints)"><CODE>doOperation</CODE></A>: </td> <td>the entry point.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#resampleToCommonGeometry(org.geotools.coverage.grid.GridCoverage2D[], org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.referencing.operation.MathTransform2D, org.geotools.factory.Hints)"><CODE>resampleToCommonGeometry</CODE></A>: </td> <td>reprojects all sources to the same coordinate reference system.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#deriveGridCoverage(org.geotools.coverage.grid.GridCoverage2D[], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>deriveGridCoverage</CODE></A>: </td> <td>gets the destination properties.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#deriveSampleDimension(org.geotools.coverage.GridSampleDimension[][], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>deriveSampleDimension</CODE></A>: </td> <td>gets the destination sample dimensions.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#deriveCategory(org.geotools.coverage.Category[], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>deriveCategory</CODE></A>: </td> <td>gets the destination categories.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#deriveRange(org.geotools.util.NumberRange[], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>deriveRange</CODE></A>: </td> <td>gets the expected range of values.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#deriveUnit(javax.units.Unit[], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>deriveUnit</CODE></A>: </td> <td>gets the destination units.</td></tr> <tr><td><A HREF="../../../../org/geotools/coverage/processing/OperationJAI.html#createRenderedImage(javax.media.jai.ParameterBlockJAI, java.awt.RenderingHints)"><CODE>createRenderedImage</CODE></A>: </td> <td>the actual call to <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/JAI.html#createNS(java.lang.String, java.awt.image.renderable.ParameterBlock, java.awt.RenderingHints)" title="class or interface in javax.media.jai"><CODE>JAI.createNS</CODE></A>.</td></tr> </table></blockquote><P><P><DL><DT><B>Since:</B></DT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -