?? programming in java advanced imaging3.htm
字號:
<TD><A name=64735><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59876">page
172</A></A><BR>
<TR vAlign=top>
<TD><A name=64737>DivideComplex</A><BR>
<TD><A name=65094>Takes two rendered or renderable source images
representing complex data and divides them.</A><BR>
<TD><A name=64744><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59909">page
174</A></A><BR>
<TR vAlign=top>
<TD><A name=64746>DivideIntoConst</A><BR>
<TD><A name=65102>Takes one rendered or renderable source image and an
array of double constants, and divides every pixel of the same band of
the source into the constant from the corresponding array entry.</A><BR>
<TD><A name=64753><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59931">page
173</A></A><BR>
<TR vAlign=top>
<TD><A name=64755>Exp</A><BR>
<TD><A name=65112>Takes one rendered or renderable source image and
computes the exponential of the pixel values.</A><BR>
<TD><A name=64762><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58051">page
177</A></A><BR>
<TR vAlign=top>
<TD><A name=64764>Invert</A><BR>
<TD><A name=65122>Takes one rendered or renderable source image and
inverts the pixel values.</A><BR>
<TD><A name=64771><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#64866">page
241</A></A><BR>
<TR vAlign=top>
<TD><A name=64773>Log</A><BR>
<TD><A name=65128>Takes one rendered or renderable source image and
computes the natural logarithm of the pixel values. The operation is
done on a per-pixel, per-band basis. For integral data types, the result
will be rounded and clamped as needed.</A><BR>
<TD><A name=64780><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#60051">page
241</A></A><BR>
<TR vAlign=top>
<TD><A name=64782>Lookup</A><BR>
<TD><A name=65138>Takes one rendered or renderable source image and a
lookup table, and performs general table lookup by passing the source
image through the table.</A><BR>
<TD><A name=64789><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#71424">page
205</A></A><BR>
<TR vAlign=top>
<TD><A name=64791>MatchCDF</A><BR>
<TD><A name=65148>Takes one rendered or renderable source image and
performs a piecewise linear mapping of the pixel values such that the
Cumulative Distribution Function (CDF) of the destination image matches
as closely as possible a specified Cumulative Distribution
Function.</A><BR>
<TD><A name=64798><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#71727">page
203</A></A><BR>
<TR vAlign=top>
<TD><A name=64800>Max</A><BR>
<TD><A name=65158>Takes two rendered or renderable source images, and
for every pair of pixels, one from each source image of the
corresponding position and band, finds the maximum pixel value.</A><BR>
<TD><A name=64807><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58435">page
156</A></A><BR>
<TR vAlign=top>
<TD><A name=64809>Min</A><BR>
<TD><A name=64811>Takes two rendered or renderable source images and for
every pair of pixels, one from each source image of the corresponding
position and band, finds the minimum pixel value.</A><BR>
<TD><A name=64816><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58446">page
157</A></A><BR>
<TR vAlign=top>
<TD><A name=64818>Multiply</A><BR>
<TD><A name=65176>Takes two rendered or renderable source images, and
multiplies every pair of pixels, one from each source image of the
corresponding position and band.</A><BR>
<TD><A name=64825><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58296">page
174</A></A><BR>
<TR vAlign=top>
<TD><A name=64827>MultiplyComplex</A><BR>
<TD><A name=65186>Takes two rendered source images representing complex
data and multiplies the two images.</A><BR>
<TD><A name=64834><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59962">page
176</A></A><BR>
<TR vAlign=top>
<TD><A name=64836>MultiplyConst</A><BR>
<TD><A name=65196>Takes one rendered or renderable source 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.</A><BR>
<TD><A name=64843><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58212">page
175</A></A><BR>
<TR vAlign=top>
<TD><A name=64845>Not</A><BR>
<TD><A name=65208>Takes one rendered or renderable source image and
performs a bit-wise logical NOT on every pixel from every band of the
source image.</A><BR>
<TD><A name=64852><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#62697">page
164</A></A><BR>
<TR vAlign=top>
<TD><A name=64854>Or</A><BR>
<TD><A name=64856>Takes two rendered or renderable source images and
performs bit-wise logical OR on every pair of pixels, one from each
source image of the corresponding position and band.</A><BR>
<TD><A name=64861><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#61460">page
160</A></A><BR>
<TR vAlign=top>
<TD><A name=64863>OrConst</A><BR>
<TD><A name=65226>Takes one rendered or renderable source image and an
array of integer constants, and performs a bit-wise logical OR between
every pixel in the same band of the source and the constant from the
corresponding array entry.</A><BR>
<TD><A name=64870><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#58466">page
161</A></A><BR>
<TR vAlign=top>
<TD><A name=64872>Overlay</A><BR>
<TD><A name=64874>Takes two rendered or renderable source images and
overlays the second source image on top of the first source
image.</A><BR>
<TD><A name=64879><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#60992">page
242</A></A><BR>
<TR vAlign=top>
<TD><A name=64881>Pattern</A><BR>
<TD><A name=65240>Takes a rendered source image and defines a tiled
image consisting of a repeated pattern.</A><BR>
<TD><A name=64888><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Acquisition.doc.html#81379">page
80</A></A><BR>
<TR vAlign=top>
<TD><A name=64890>Piecewise</A><BR>
<TD><A name=65252>Takes one rendered or renderable source image and
performs a piecewise linear mapping of the pixel values.</A><BR>
<TD><A name=64897><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#70864">page
202</A></A><BR>
<TR vAlign=top>
<TD><A name=64899>Rescale</A><BR>
<TD><A name=65262>Takes one rendered or renderable source image and maps
the pixel values of an image from one range to another range by
multiplying each pixel value by one of a set of constants and then
adding another constant to the result of the multiplication.</A><BR>
<TD><A name=64906><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#76502">page
200</A></A><BR>
<TR vAlign=top>
<TD><A name=64908>Subtract</A><BR>
<TD><A name=65268>Takes two rendered or renderable source images, and
for every pair of pixels, one from each source image of the
corresponding position and band, subtracts the pixel from the second
source from the pixel from the first source.</A><BR>
<TD><A name=64915><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59012">page
169</A></A><BR>
<TR vAlign=top>
<TD><A name=64917>SubtractConst</A><BR>
<TD><A name=65278>Takes one rendered or renderable source image and an
array of double constants, and subtracts a constant from every pixel of
its corresponding band of the source.</A><BR>
<TD><A name=64924><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59014">page
170</A></A><BR>
<TR vAlign=top>
<TD><A name=64926>SubtractFromConst</A><BR>
<TD><A name=65288>Takes one rendered or renderable source image and an
array of double constants, and subtracts every pixel of the same band of
the source from the constant from the corresponding array entry.</A><BR>
<TD><A name=64933><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#63705">page
171</A></A><BR>
<TR vAlign=top>
<TD><A name=64935>Threshold</A><BR>
<TD><A name=65294>Takes one rendered or renderable source image, and
maps all the pixels of this image whose value falls within a specified
range to a specified constant.</A><BR>
<TD><A name=64942><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-enhance.doc.html#63249">page
245</A></A><BR>
<TR vAlign=top>
<TD><A name=64944>Xor</A><BR>
<TD><A name=64946>Takes two rendered or renderable source images, and
performs a bit-wise logical XOR on every pair of pixels, one from each
source image of the corresponding position and band.</A><BR>
<TD><A name=64951><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59163">page
162</A></A><BR>
<TR vAlign=top>
<TD><A name=64953>XorConst</A><BR>
<TD><A name=65304>Takes one rendered or renderable source image and an
array of integer constants, and performs a bit-wise logical XOR between
every pixel in the same band of the source and the constant from the
corresponding array entry.</A><BR>
<TD><A name=64960><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html#59165">page
163</A></A><BR></TR></TBODY></TABLE>
<P><A name=55460>
<H3>3.6.2 <IMG
src="Programming in Java Advanced Imaging3.files/space.gif">Area
Operators</H3></A>The area operators perform geometric transformations, which
result in the repositioning of pixels within an image. Using a mathematical
transformation, pixels are located from their <EM>x</EM> and <EM>y</EM>
spatial coordinates in the input image to new coordinates in the output image.
<P>There are two basic types of area operations: linear and nonlinear. Linear
operations include translation, rotation, and scaling. Non-linear operations,
also known as <EM>warping transformations</EM>, introduce curvatures and bends
to the processed image.
<P><A
href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Programming-environ.doc.html#55481">Table
3-2</A> lists the JAI area operators.
<P>
<TABLE cellPadding=3 border=3>
<CAPTION><FONT size=-1><B><A name=55481><I>Table 3-2 </I><IMG
src="Programming in J
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -