⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rawbinaryimagereader.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DT><B>Returns:</B><DD>The expected range of values.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - If an error occurs reading the data information from the input source.</DL></DD></DL><HR><A NAME="transform(double)"><!-- --></A><H3>transform</H3><PRE>protected double <B>transform</B>(double&nbsp;value)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Transform a value. This method is invoked automatically for every pixel value during reading, in order to give subclasses a chance to perform some data conversion on the fly. The default implementation compare <code>value</code> to the pad value (as specified in <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.Spi.html#padValue"><CODE>RawBinaryImageReader.Spi.padValue</CODE></A>) and returns <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Double.html#NaN" title="class or interface in java.lang"><CODE>Double.NaN</CODE></A> if both values are equals. Otherwise, <code>value</code> is returned unchanged.<P><DD><DL></DL></DD></DL><HR><A NAME="getStreamSampleModel(int, javax.imageio.ImageReadParam)"><!-- --></A><H3>getStreamSampleModel</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/SampleModel.html" title="class or interface in java.awt.image">SampleModel</A> <B>getStreamSampleModel</B>(int&nbsp;imageIndex,                                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>&nbsp;param)                                    throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the stream sample model (the sample model used to encode pixel into the stream). The default implementation query <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html#getStreamSampleModel()"><CODE>RawBinaryImageReadParam.getStreamSampleModel()</CODE></A> if the supplied parameters is an instance of <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html" title="class in org.geotools.image.io"><CODE>RawBinaryImageReadParam</CODE></A>. Default values are provided through the following methods: <A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getNumBands(int)"><CODE>SimpleImageReader.getNumBands(int)</CODE></A>, <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.html#getRawDataType(int)"><CODE>getRawDataType(int)</CODE></A>, <A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getRawImageType(int)"><CODE>SimpleImageReader.getRawImageType(int)</CODE></A> and <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.html#getExpectedRange(int, int)"><CODE>getExpectedRange(int, int)</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be retrieved.<DD><CODE>param</CODE> - Parameters used to control the reading process, or null.<DT><B>Returns:</B><DD>The stream sample model.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an input operation failed.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOException.html" title="class or interface in javax.imageio">IIOException</A></CODE> - if <code>param</code> do not contains the expected information.</DL></DD></DL><HR><A NAME="getDefaultReadParam()"><!-- --></A><H3>getDefaultReadParam</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A> <B>getDefaultReadParam</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns a default <code>ImageReadParam</code> object appropriate for this format.<P><DD><DL></DL></DD></DL><HR><A NAME="read(int, javax.imageio.ImageReadParam)"><!-- --></A><H3>read</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image">BufferedImage</A> <B>read</B>(int&nbsp;imageIndex,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>&nbsp;param)                   throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Reads the image indexed by <code>imageIndex</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be retrieved.<DD><CODE>param</CODE> - Parameters used to control the reading process, or null.<DT><B>Returns:</B><DD>The desired portion of the image.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an input operation failed.</DL></DD></DL><HR><A NAME="getDestination(int, javax.imageio.ImageReadParam)"><!-- --></A><H3>getDestination</H3><PRE>protected final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image">BufferedImage</A> <B>getDestination</B>(int&nbsp;imageIndex,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio">ImageReadParam</A>&nbsp;param)                                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD>Returns the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/BufferedImage.html" title="class or interface in java.awt.image"><CODE>BufferedImage</CODE></A> to which decoded pixel data should be written. The image is determined by inspecting the supplied <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReadParam.html" title="class or interface in javax.imageio"><CODE>ImageReadParam</CODE></A> if it is non-null, as in the <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageReader.html#getDestination(javax.imageio.ImageReadParam, java.util.Iterator, int, int)" title="class or interface in javax.imageio"><CODE>ImageReader.getDestination(...)</CODE></A> method. If the parameter is an instance of <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html" title="class in org.geotools.image.io"><CODE>RawBinaryImageReadParam</CODE></A>, then this method will use its size and data type information for constructing the image.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be read.<DD><CODE>param</CODE> - an <code>ImageReadParam</code> to be used to get         the destination image or image type, or <code>null</code>.<DT><B>Returns:</B><DD>The <code>BufferedImage</code> to which decoded pixel         data should be written.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if <code>imageIndex</code>         is out of bounds.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if no source has been set with         <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.html#setInput(java.lang.Object, boolean, boolean)"><CODE>setInput(java.lang.Object, boolean, boolean)</CODE></A>.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if an error occur while fetching informations         from the stream.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOException.html" title="class or interface in javax.imageio">IIOException</A></CODE> - if the <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/ImageTypeSpecifier.html" title="class or interface in javax.imageio"><CODE>ImageTypeSpecifier</CODE></A> specified by         <code>param</code> does not match any of the legal ones.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RawBinaryImageReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/geotools/image/io/PaletteFactory.html" title="class in org.geotools.image.io"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.Spi.html" title="class in org.geotools.image.io"><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>  &nbsp;&nbsp;<A HREF="RawBinaryImageReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -