Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

image processing in java

 
P.Praveen Jesudhas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm doin a project on image processing in java.

are there any predefined functions to convert an image into a two dimensional array

and to find the the intensity of pixel in the image
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a BufferedImage object (maybe obtained through javax.imageio.ImageIO.read) then you can call its getRGB method to obtain the RGB (or RGBA) values of a specific pixel.

As an aside, a very powerful image processing library (and application) is ImageJ.
[ January 06, 2008: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic