📄 gradientmagnitude.html
字号:
</TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="GradientMagnitude()"><!-- --></A><H3>GradientMagnitude</H3><PRE>public <B>GradientMagnitude</B>()</PRE><DL><DD>Constructs a default gradient magnitude operation.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="deriveGridCoverage(org.geotools.coverage.grid.GridCoverage2D[], org.geotools.coverage.processing.OperationJAI.Parameters)"><!-- --></A><H3>deriveGridCoverage</H3><PRE>protected <A HREF="../../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A> <B>deriveGridCoverage</B>(<A HREF="../../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid">GridCoverage2D</A>[] sources, <A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.Parameters.html" title="class in org.geotools.coverage.processing">OperationJAI.Parameters</A> parameters)</PRE><DL><DD>Applies the operation on grid coverage. The default implementation looks for kernels specified in the <A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.Parameters.html#parameters"><CODE>parameter block</CODE></A> and divide them by the distance between pixels, in the grid coverage's coordinate reference system.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html#deriveGridCoverage(org.geotools.coverage.grid.GridCoverage2D[], org.geotools.coverage.processing.OperationJAI.Parameters)">deriveGridCoverage</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html" title="class in org.geotools.coverage.processing">OperationJAI</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sources</CODE> - The source coverages.<DD><CODE>parameters</CODE> - Parameters, rendering hints and coordinate reference system to use.<DT><B>Returns:</B><DD>The result as a grid coverage.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html#doOperation(org.opengis.parameter.ParameterValueGroup, org.geotools.factory.Hints)"><CODE>OperationJAI.doOperation(org.opengis.parameter.ParameterValueGroup, org.geotools.factory.Hints)</CODE></A>, <A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html#deriveSampleDimension(org.geotools.coverage.GridSampleDimension[][], org.geotools.coverage.processing.OperationJAI.Parameters)"><CODE>OperationJAI.deriveSampleDimension(org.geotools.coverage.GridSampleDimension[][], org.geotools.coverage.processing.OperationJAI.Parameters)</CODE></A>, <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(java.lang.String, java.awt.image.renderable.ParameterBlock, java.awt.RenderingHints)</CODE></A></DL></DD></DL><HR><A NAME="deriveCategory(org.geotools.coverage.Category[], org.geotools.coverage.processing.OperationJAI.Parameters)"><!-- --></A><H3>deriveCategory</H3><PRE>protected <A HREF="../../../../../org/geotools/coverage/Category.html" title="class in org.geotools.coverage">Category</A> <B>deriveCategory</B>(<A HREF="../../../../../org/geotools/coverage/Category.html" title="class in org.geotools.coverage">Category</A>[] categories, <A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.Parameters.html" title="class in org.geotools.coverage.processing">OperationJAI.Parameters</A> parameters)</PRE><DL><DD>Derives the quantitative category for a band in the destination image. This implementation computes the expected gradient range from the two masks and the value range in the source grid coverage.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html#deriveCategory(org.geotools.coverage.Category[], org.geotools.coverage.processing.OperationJAI.Parameters)">deriveCategory</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html" title="class in org.geotools.coverage.processing">OperationJAI</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>categories</CODE> - The quantitative categories from every sources. For unary operations like , this array has a length of 1. For binary operations like and , this array has a length of 2.<DD><CODE>parameters</CODE> - Parameters, rendering hints and coordinate reference system to use.<DT><B>Returns:</B><DD>The quantative category to use in the destination image, or if unknow.</DL></DD></DL><HR><A NAME="deriveUnit(javax.units.Unit[], org.geotools.coverage.processing.OperationJAI.Parameters)"><!-- --></A><H3>deriveUnit</H3><PRE>protected <A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A> <B>deriveUnit</B>(<A HREF="http://jsr-108.sourceforge.net/javadoc/javax/units/Unit.html" title="class or interface in javax.units">Unit</A>[] units, <A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.Parameters.html" title="class in org.geotools.coverage.processing">OperationJAI.Parameters</A> parameters)</PRE><DL><DD>Derives the unit of data for a band in the destination image. This method compute / where: <ul> <li> is the sample unit in source image.</li> <li> is the coordinate reference system axis unit.</li> </ul><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html#deriveUnit(javax.units.Unit[], org.geotools.coverage.processing.OperationJAI.Parameters)">deriveUnit</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/coverage/processing/OperationJAI.html" title="class in org.geotools.coverage.processing">OperationJAI</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>units</CODE> - The units from every sources. For unary operations like , this array has a length of 1. For binary operations like and , this array has a length of 2.<DD><CODE>parameters</CODE> - Parameters, rendering hints and coordinate reference system to use.<DT><B>Returns:</B><DD>The unit of data in the destination image, or if unknow.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" 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_bottom_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/GradientMagnitude.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/operation/FilteredSubsample.html" title="class in org.geotools.coverage.processing.operation"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/coverage/processing/operation/Histogram.html" title="class in org.geotools.coverage.processing.operation"><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="GradientMagnitude.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_classes_inherited_from_class_org.geotools.coverage.processing.OperationJAI">NESTED</A> | <A HREF="#fields_inherited_from_class_OperationJAI">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -