📄 package-summary.html
字号:
(i.e. rectangular shapes are not supported).</P> <P><A HREF="#operation-list">Back to summary</A></P> <P> </P> <HR> <P> </P> <H2><A NAME="MinFilter">MinFilter</A></H2> <P ALIGN="justify">Non-linear filter which is useful for removing isolated lines or pixels while preserving the overall appearance of an image. The filter is implemented by moving a mask over the image. For each position of the mask, the center pixel is replaced by the min of the pixel values covered by the mask. There are several shapes possible for the mask, which are enumerated in the <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/MinFilterDescriptor.html" title="class or interface in javax.media.jai.operator">JAI documentation</A>.</P> <P><STRONG>Name:</STRONG> <CODE>"MinFilter"</CODE><BR> <STRONG>JAI operator:</STRONG> <CODE>"<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/MinFilterDescriptor.html" title="class or interface in javax.media.jai.operator">MinFilter</A>"</CODE><BR> <STRONG>Parameters:</STRONG></P> <table border='3' cellpadding='6' bgcolor='F4F8FF'> <tr bgcolor='#B9DCFF'> <th>Name</th> <th>Class</th> <th>Default value</th> <th>Minimum value</th> <th>Maximum value</th> </tr> <tr> <td></td> <td><A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><CODE>GridCoverage2D</CODE></A></td> <td align="center">N/A</td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> <tr> <td></td> <td><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A></td> <td align="center">3</td> <td align="center">1</td> <td align="center">N/A</td> </tr> <tr> <td></td> <td><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A></td> <td align="center">3</td> <td align="center">1</td> <td align="center">N/A</td> </tr> <tr> <td></td> <td><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/MinFilterShape.html" title="class or interface in javax.media.jai.operator"><CODE>MinFilterShape</CODE></A></td> <td><A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/MinFilterDescriptor.html#MIN_MASK_SQUARE" title="class or interface in javax.media.jai.operator"><CODE>MinFilterDescriptor.MIN_MASK_SQUARE</CODE></A></td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> </table> <P ALIGN="justify"><STRONG>Note:</STRONG> In current implementation, <code>Xsize</code> and <code>Ysize</code> must have the same value (i.e. rectangular shapes are not supported).</P> <P><A HREF="#operation-list">Back to summary</A></P> <P> </P> <HR> <P> </P> <H2><A NAME="Recolor">Recolor</A></H2> <P ALIGN="justify">Changes the colors associated to arbitrary <A HREF="../../../../org/geotools/coverage/Category.html" title="class in org.geotools.coverage">categories</A> in arbitrary bands. The <code>ColorMaps</code> arguments must be an array of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util"><CODE>Map</CODE></A>s with a minimal length of 1. The <code>Map</code> in array element 0 is used for band 0; the <code>Map</code> in array element 1 is used for band 1, etc. If there is more bands than array elements in <code>ColorMaps</code>, then the last <code>Map</code> is reused for all remaining bands.</P> <P ALIGN="justify">For each <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util"><CODE>Map</CODE></A> in <code>ColorMaps</code>, the keys are category names as <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A> and the values are colors as an array of type <code><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]</code>. All categories with a name matching a key in the <code>Map</code> will be <A HREF="../../../../org/geotools/coverage/Category.html#recolor(java.awt.Color[])">recolored</A> with the associated colors. All categories with no corresponding entries in the <code>Map</code> will be left unchanged. The <code>null</code> key is a special value meaning "any quantitative category". For example in order to repaint forest in green, river in blue and lets other categories unchanged, one can write:</P> <BLOCKQUOTE><PRE> Map map = new HashMap(); map.put("Forest", new Color[]{Color.GREEN}); map.put("River", new Color[]{Color.BLUE }); Map[] colorMaps = new Map[] { map // <I>Use for all bands</I> } </PRE></BLOCKQUOTE> <P><STRONG>Name:</STRONG> <CODE>"Recolor"</CODE><BR> <STRONG>JAI operator:</STRONG> N/A<BR> <STRONG>Parameters:</STRONG></P> <table border='3' cellpadding='6' bgcolor='F4F8FF'> <tr bgcolor='#B9DCFF'> <th>Name</th> <th>Class</th> <th>Default value</th> <th>Minimum value</th> <th>Maximum value</th> </tr> <tr> <td></td> <td><A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><CODE>GridCoverage2D</CODE></A></td> <td align="center">N/A</td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> <tr> <td></td> <td><code><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>[]</code></td> <td align="center">A gray scale</td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> </table> <P><A HREF="#operation-list">Back to summary</A></P> <P> </P> <HR> <P> </P> <H2><A NAME="Threshold">Threshold</A></H2> <P ALIGN="justify">A gray scale threshold classifies the grid coverage values into a boolean value. The sample dimensions will be modified into a boolean value and the dimension type of the source sample dimension will be represented as 1 bit.</P> <P><STRONG>Name:</STRONG> <CODE>"Threshold"</CODE><BR> <STRONG>JAI operator:</STRONG> <CODE>"<A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/BinarizeDescriptor.html" title="class or interface in javax.media.jai.operator">Binarize</A>"</CODE><BR> <STRONG>Parameters:</STRONG></P> <table border='3' cellpadding='6' bgcolor='F4F8FF'> <tr bgcolor='#B9DCFF'> <th>Name</th> <th>Class</th> <th>Default value</th> <th>Minimum value</th> <th>Maximum value</th> </tr> <tr> <td></td> <td><A HREF="../../../../org/geotools/coverage/grid/GridCoverage2D.html" title="class in org.geotools.coverage.grid"><CODE>GridCoverage2D</CODE></A></td> <td align="center">N/A</td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> <tr> <td></td> <td></td> <td align="center">N/A</td> <td align="center">N/A</td> <td align="center">N/A</td> </tr> </table> <P><A HREF="#operation-list">Back to summary</A></P><P><P><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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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/io/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../../../org/geotools/coverage/processing/operation/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="package-summary.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></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 + -