imagemosaicformat.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 610 行 · 第 1/3 页
HTML
610 行
<!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:36 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>ImageMosaicFormat (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.gce.imagemosaic.ImageMosaicFormat class"><META NAME="keywords" CONTENT="DONT_CREATE_EMPTY_TILES"><META NAME="keywords" CONTENT="FADING"><META NAME="keywords" CONTENT="INPUT_TRANSPARENT_COLOR"><META NAME="keywords" CONTENT="OUTPUT_TRANSPARENT_COLOR"><META NAME="keywords" CONTENT="INPUT_IMAGE_THRESHOLD_VALUE"><META NAME="keywords" CONTENT="getReader()"><META NAME="keywords" CONTENT="getWriter()"><META NAME="keywords" CONTENT="accepts()"><META NAME="keywords" CONTENT="getDefaultImageIOWriteParameters()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="ImageMosaicFormat (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/ImageMosaicFormat.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"> PREV CLASS <A HREF="../../../../org/geotools/gce/imagemosaic/ImageMosaicFormatFactory.html" title="class in org.geotools.gce.imagemosaic"><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="ImageMosaicFormat.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: NESTED | <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.gce.imagemosaic</FONT><BR>Class ImageMosaicFormat</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/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>ImageMosaicFormat</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>Format</DD></DL><HR><DL><DT>public final class <B>ImageMosaicFormat</B><DT>extends <A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid">AbstractGridFormat</A><DT>implements Format</DL><P><A HREF="../../../../org/geotools/data/coverage/grid/AbstractGridFormat.html" title="class in org.geotools.data.coverage.grid"><CODE>AbstractGridFormat</CODE></A> sublass for controlling <A HREF="../../../../org/geotools/gce/imagemosaic/ImageMosaicReader.html" title="class in org.geotools.gce.imagemosaic"><CODE>ImageMosaicReader</CODE></A> creation. As the name says, it handles mosaic of georeferenced images, which means <ol> <li>tiff+tfw+prj</li> <li>jpeg+tfw+prj</li> <li>png+tfw+prj</li> <li>geotiff</li> </ol> This does not mean that you throw there a couple of images and it will do the trick no matter how these images are. Requirements are: <ul> <li>(almost) equal spatial resolution</li> <li>same number of bands</li> <li>same data type</li> <li>same projection</li> </ul> The first requirement can be relaxed a little but if they have the same spatial resolution the performances are much better. There are parameters that you can use to control the behaviour of the mosaic in terms of thresholding and transparency. They are as follows: <ul> <li>--DefaultParameterDescriptor FINAL_ALPHA = new DefaultParameterDescriptor( "FinalAlpha", Boolean.class, null, Boolean.FALSE)-- It asks the plugin to add transparency on the final created mosaic. IT simply performs a threshonding looking for areas where there is no data, i.e., intensity is really low and transform them into transparent areas. It is obvious that depending on the nature of the input images it might interfere with the original values.</li> <li>---ALPHA_THRESHOLD = new DefaultParameterDescriptor( "AlphaThreshold", Double.class, null, new Double(1));--- Controls the transparency addition by specifying the treshold to use.</li> <li>INPUT_IMAGE_THRESHOLD = new DefaultParameterDescriptor( "InputImageROI", Boolean.class, null, Boolean.FALSE)--- INPUT_IMAGE_THRESHOLD_VALUE = new DefaultParameterDescriptor( "InputImageROIThreshold", Integer.class, null, new Integer(1));--- These two can be used to control the application of ROIs on the input images based on tresholding values. Basically using the threshold you can ask the mosaic plugin to load or not certain pixels of the original images.</li><P><P><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>Author:</B></DT> <DD>Simone Giannecchini (simboss)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter">DefaultParameterDescriptor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/imagemosaic/ImageMosaicFormat.html#DONT_CREATE_EMPTY_TILES">DONT_CREATE_EMPTY_TILES</A></B></CODE><BR> Force the mosaic to NOT use the image that signals unavailaible data when requesting data inside the global envelope but in a place where there is no data around.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter">DefaultParameterDescriptor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/imagemosaic/ImageMosaicFormat.html#FADING">FADING</A></B></CODE><BR> Control the type of the final mosaic.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../org/geotools/parameter/DefaultParameterDescriptor.html" title="class in org.geotools.parameter">DefaultParameterDescriptor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gce/imagemosaic/ImageMosaicFormat.html#INPUT_IMAGE_THRESHOLD_VALUE">INPUT_IMAGE_THRESHOLD_VALUE</A></B></CODE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?