Skip to main content

[JAI] Best Way of Rescaling an Image to 8-bits

1 reply [Last post]
Anonymous

Hi,

Can anyone offer some help to me on how to rescale an image to 8-bits?
And also explain to me the significance of "extrema" operator and how to
use it?
Many thanks in advance!

George Yang

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Aastha Bhardwaj

Hi George,

> Can anyone offer some help to me on how to rescale an image to 8-bits?

Take a look at

http://archives.java.sun.com/cgi-bin/wa?A2=ind0201&L=jai-interest&P=R280...

> And also explain to me the significance of "extrema" operator and how to
> use it?

Please take a look at the OperationDescriptor for the "extrema" class.
You can refer to the Javadoc for the
javax.media.jai.operator.ExtremaDescriptor. The Javadoc is available
online here:

http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/in...

Aastha

---------------------
Aastha Bhardwaj
Java Advanced Imaging
Sun Microsystems

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net