📄 imageworker.html
字号:
<BR> Reduces the color model to <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> with <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Transparency.html#OPAQUE" title="class or interface in java.awt">opaque</A> or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Transparency.html#BITMASK" title="class or interface in java.awt">bitmask</A> transparency. </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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceBitmaskIndexColorModel(int, boolean)">forceBitmaskIndexColorModel</A></B>(int transparent, boolean errorDiffusion)</CODE><BR> Reduces the color model to <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> with <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Transparency.html#OPAQUE" title="class or interface in java.awt">opaque</A> or <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Transparency.html#BITMASK" title="class or interface in java.awt">bitmask</A> transparency. </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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceIndexColorModelForGIF(boolean)">forceIndexColorModelForGIF</A></B>(boolean errorDiffusion)</CODE><BR> Converts the image to a GIF-compliant image. </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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceComponentColorModel()">forceComponentColorModel</A></B>()</CODE><BR> Reformats the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ColorModel.html" title="class or interface in java.awt.image">color model</A> to a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ComponentColorModel.html" title="class or interface in java.awt.image">component color model</A> preserving transparency. </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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceComponentColorModel(boolean)">forceComponentColorModel</A></B>(boolean checkTransparent)</CODE><BR> Reformats the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ColorModel.html" title="class or interface in java.awt.image">color model</A> to a <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ComponentColorModel.html" title="class or interface in java.awt.image">component color model</A> preserving transparency. </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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceColorSpaceRGB()">forceColorSpaceRGB</A></B>()</CODE><BR> Forces the <A HREF="../../../../org/geotools/image/ImageWorker.html#image">image</A> color model to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/color/ColorSpace.html#CS_sRGB" title="class or interface in java.awt.color">RGB color space</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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#bandMerge(int)">bandMerge</A></B>(int writeband)</CODE><BR> Add the bands to the Component Color Model</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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#forceColorSpaceGRAYScale()">forceColorSpaceGRAYScale</A></B>()</CODE><BR> Forces the <A HREF="../../../../org/geotools/image/ImageWorker.html#image">image</A> color model to the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/color/ColorSpace.html#CS_GRAY" title="class or interface in java.awt.color">GRAYScale color space</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>ImageWorker.</B><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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#retainFirstBand()">retainFirstBand</A></B>()</CODE><BR> Retains inconditionnaly the first band 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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#retainLastBand()">retainLastBand</A></B>()</CODE><BR> Retains inconditionnaly the last band 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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#retainBands(int)">retainBands</A></B>(int numBands)</CODE><BR> Retains inconditionnaly the first 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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#format(int)">format</A></B>(int dataType)</CODE><BR> Formats the underlying image to the provided data type.</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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#retainBands(int[])">retainBands</A></B>(int[] bands)</CODE><BR> Retains inconditionnaly certain bands 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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#binarize()">binarize</A></B>()</CODE><BR> Binarizes 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="../../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#binarize(double)">binarize</A></B>(double threshold)</CODE><BR> Binarizes 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="../../../../org/geotools/image/ImageWorker.html" title="class in org.geotools.image">ImageWorker</A></CODE></FONT></TD><TD><CODE><B>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#binarize(int, int)">binarize</A></B>(int value0, int value1)</CODE><BR> Binarizes the <A HREF="../../../../org/geotools/image/ImageWorker.html#image">image</A> (if not already done) and replace all 0 values by and all 1 values by . </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>ImageWorker.</B><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>ImageWorker.</B><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>ImageWorker.</B><B><A HREF="../../../../org/geotools/image/ImageWorker.html#invert()">invert</A></B>()</CODE><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -