📄 imageworker.html
字号:
<BR> Returns the minimal values found in every <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> bands. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getNumBands()">getNumBands</A></B>()</CODE><BR> Returns the number of bands in the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai">PlanarImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getPlanarImage()">getPlanarImage</A></B>()</CODE><BR> Returns the <A HREF="../../../org/geotools/image/ImageWorker.html#getRenderedImage()">rendered image</A> as a planar image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image">RenderedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getRenderedImage()">getRenderedImage</A></B>()</CODE><BR> Returns the current image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/RenderedOp.html" title="class or interface in javax.media.jai">RenderedOp</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getRenderedOperation()">getRenderedOperation</A></B>()</CODE><BR> Returns the <A HREF="../../../org/geotools/image/ImageWorker.html#getRenderedImage()">rendered image</A> as a rendered operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getRenderingHint(java.awt.RenderingHints.Key)">getRenderingHint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> key)</CODE><BR> Returns the rendering hint for the specified key, or if none.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getRenderingHints()">getRenderingHints</A></B>()</CODE><BR> Returns the rendering hints for an image to be computed by this class. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/ROI.html" title="class or interface in javax.media.jai">ROI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getROI()">getROI</A></B>()</CODE><BR> Returns the <cite>region of interest</cite> currently set, or if none. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#getTransparentPixel()">getTransparentPixel</A></B>()</CODE><BR> Returns the transparent pixel value, or -1 if none.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#intensity()">intensity</A></B>()</CODE><BR> Creates an image which represents approximatively the intensity of <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#invert()">invert</A></B>()</CODE><BR> Inverts the pixel values of the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isBinary()">isBinary</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> is binary. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isBytes()">isBytes</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> stores its pixel values in 8 bits.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isColorSpaceGRAYScale()">isColorSpaceGRAYScale</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> uses a GRAYScale <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/color/ColorSpace.html" title="class or interface in java.awt.color">color space</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isColorSpaceRGB()">isColorSpaceRGB</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> uses a RGB <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/color/ColorSpace.html" title="class or interface in java.awt.color">color space</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isIndexed()">isIndexed</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> uses an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/IndexColorModel.html" title="class or interface in java.awt.image">index color model</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#isTranslucent()">isTranslucent</A></B>()</CODE><BR> Returns if the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> is <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Transparency.html#TRANSLUCENT" title="class or interface in java.awt">translucent</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PlanarImage.html" title="class or interface in javax.media.jai">PlanarImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#loadPlanarImageImage(java.lang.String, java.awt.RenderingHints, int, boolean)">loadPlanarImageImage</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> source, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.html" title="class or interface in java.awt">RenderingHints</A> hints, int imageChoice, boolean readMetadata)</CODE><BR> Loads an image using the provided file name and the provided hints, which are used to control caching and layout.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#main(java.lang.String[])">main</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] args)</CODE><BR> Loads the image from the specified file, and <A HREF="../../../org/geotools/image/ImageWorker.html#show()">display</A> it in a window. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#mask(java.awt.image.RenderedImage, boolean, int)">mask</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image">RenderedImage</A> mask, boolean maskValue, int newValue)</CODE><BR> Applies the specified mask over the current <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#maskComponentColorModelByte(java.awt.Color)">maskComponentColorModelByte</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> transparentColor)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#maskIndexColorModelByte(java.awt.Color)">maskIndexColorModelByte</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> transparentColor)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#multiplyConst(double[])">multiplyConst</A></B>(double[] inValues)</CODE><BR> The MultiplyConst operation takes one rendered or renderable image and an array of double constants, and multiplies every pixel of the same band of the source by the constant from the corresponding array entry. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#removeRenderingHint(java.awt.RenderingHints.Key)">removeRenderingHint</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/RenderingHints.Key.html" title="class or interface in java.awt">RenderingHints.Key</A> key)</CODE><BR> Remove a rendering hint. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/image/ImageWorker.html#rescaleToBytes()">rescaleToBytes</A></B>()</CODE><BR> Rescales the <A HREF="../../../org/geotools/image/ImageWorker.html#image">image</A> such that it uses 8 bits. </TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -