📄 rawbinaryimagereader.html
字号:
<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="imageSize"><!-- --></A><H3>imageSize</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html" title="class or interface in java.awt">Dimension</A> <B>imageSize</B></PRE><DL><DD><B>Deprecated.</B> <DD>The expected image size, or <code>null</code> if unknow. Setting this field to a non-null value allow <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.html#getWidth(int)"><CODE>getWidth(int)</CODE></A> and <A HREF="../../../../org/geotools/image/io/RawBinaryImageReader.html#getHeight(int)"><CODE>getHeight(int)</CODE></A> to returns this size. This size will be compared with <A HREF="../../../../org/geotools/image/io/RawBinaryImageReadParam.html#getStreamImageSize()"><CODE>RawBinaryImageReadParam.getStreamImageSize()</CODE></A> at reading time, if such a parameter is specified. An <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOException.html" title="class or interface in javax.imageio"><CODE>IIOException</CODE></A> exception will be thrown if sizes don't match, in order to ensure consistency with <code>getWidth(int)</code> and <code>getHeight(int)</code> methods.<P><DL></DL></DL><!-- ========= 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="RawBinaryImageReader(javax.imageio.spi.ImageReaderSpi)"><!-- --></A><H3>RawBinaryImageReader</H3><PRE>public <B>RawBinaryImageReader</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi">ImageReaderSpi</A> provider)</PRE><DL><DD><B>Deprecated.</B> <DD>Construct a new image reader.<P><DT><B>Parameters:</B><DD><CODE>provider</CODE> - the <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ImageReaderSpi.html" title="class or interface in javax.imageio.spi"><CODE>ImageReaderSpi</CODE></A> that is invoking this constructor, or null.</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="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD><B>Deprecated.</B> <DD>Restores the image reader to its initial state.<P><DD><DL></DL></DD></DL><HR><A NAME="setInput(java.lang.Object, boolean, boolean)"><!-- --></A><H3>setInput</H3><PRE>public void <B>setInput</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> input, boolean seekForwardOnly, boolean ignoreMetadata)</PRE><DL><DD><B>Deprecated.</B> <DD>Sets the input source to use.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#setInput(java.lang.Object, boolean, boolean)">setInput</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io">SimpleImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>input</CODE> - The input object to use for future decoding.<DD><CODE>seekForwardOnly</CODE> - If true, images and metadata may only be read in ascending order from this input source.<DD><CODE>ignoreMetadata</CODE> - If true, metadata may be ignored during reads.</DL></DD></DL><HR><A NAME="getWidth(int)"><!-- --></A><H3>getWidth</H3><PRE>public int <B>getWidth</B>(int imageIndex) 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> <DD>Returns the image's width.<P><DD><DL><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 I/O error occured.<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 image size is unknow.</DL></DD></DL><HR><A NAME="getHeight(int)"><!-- --></A><H3>getHeight</H3><PRE>public int <B>getHeight</B>(int imageIndex) 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> <DD>Returns the image's height.<P><DD><DL><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 I/O error occured.<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 image size is unknow.</DL></DD></DL><HR><A NAME="getRawDataType(int)"><!-- --></A><H3>getRawDataType</H3><PRE>public int <B>getRawDataType</B>(int imageIndex) 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> <DD>Returns the data type which most closely represents the "raw" internal data of the image. It should be a constant from <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html" title="class or interface in java.awt.image"><CODE>DataBuffer</CODE></A>. Common types are <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_INT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_INT</CODE></A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_FLOAT" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_FLOAT</CODE></A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/DataBuffer.html#TYPE_DOUBLE" title="class or interface in java.awt.image"><CODE>DataBuffer.TYPE_DOUBLE</CODE></A>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getRawDataType(int)">getRawDataType</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io">SimpleImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The index of the image to be queried.<DT><B>Returns:</B><DD>The data type.<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 format information from the input source.</DL></DD></DL><HR><A NAME="getExpectedRange(int, int)"><!-- --></A><H3>getExpectedRange</H3><PRE>public <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/util/Range.html" title="class or interface in javax.media.jai.util">Range</A> <B>getExpectedRange</B>(int imageIndex, int bandIndex) 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> <DD>Returns the expected range of values for a band.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html#getExpectedRange(int, int)">getExpectedRange</A></CODE> in class <CODE><A HREF="../../../../org/geotools/image/io/SimpleImageReader.html" title="class in org.geotools.image.io">SimpleImageReader</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>imageIndex</CODE> - The image index.<DD><CODE>bandIndex</CODE> - The band index. Valid index goes from <code>0</code> inclusive to <code>getNumBands(imageIndex)</code> exclusive. Index are independent of any <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/IIOParam.html#setSourceBands(int[])" title="class or interface in javax.imageio"><CODE>IIOParam.setSourceBands(int[])</CODE></A> setting.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -