Link to home
Start Free TrialLog in
Avatar of mitra_subhasis
mitra_subhasis

asked on

Image Processing in Java

Suppose, I have a gray scale raw image, ie. I have a text file which contains the value of the gray-level of pixels. How I can display that raw image in java?
Also how I can do the opposite?
Also, pl suggest some site on "Image Processing in java".

regards,
Subhasis.
Avatar of yongsing
yongsing

Check out this book:

Building Imaging Applications with Java(TM) Technology: Using AWT Imaging, Java 2D(TM), and Java(TM) Advanced Imaging (JAI) by Lawrence H. Rodrigues

http://www.amazon.com/exec/obidos/ASIN/0201700743/qid=1025833944/sr=1-1/ref=sr_1_1/103-9790603-0339013
ASKER CERTIFIED SOLUTION
Avatar of manshan
manshan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mitra_subhasis

ASKER

Sorry being late! I have found earlier those sites you have mentioned, but they are not so informative. Please tell me is java supports 'Portable Gray Map' or .pgm images. If so how I can display a .pgm file in java. Using MediaTracker class I can't display a .pgm file. What will be the other alternatives. Pl write some code fragments.

regards,
Subhasis.
Check out the Java Advanced Imaging (JAI) API.  This supports PNM (Portable aNy Map file format. Includes PBM, PGM, and PPM).

http://java.sun.com/products/java-media/jai/

--
flumpman
Sorry for being late.
regards,
Subhasis