my dog learned polymorphism
The moose likes Java in General and the fly likes Image Processing in Java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Image Processing in Java ?" Watch "Image Processing in Java ?" New topic

Image Processing in Java ?

Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

hii friends can somebody please tell me what should i read to know image processing in java?

I have a project where i have to scan a retina and process that retina image to find veins in that and according to that veins my system should find whether the person whose retina it is has diabetes or not ?

I also want to

1.Compare to images to find out whether two images are same or not ?
2.Making image conversion into black and white ,grey shadow etc.
3.Read texts on image and type it in text file ex. quotes on image so quotes should only be stored in text file and image will be as it is
4.break an image in two parts and then join again

so please need help guys as i have no idea about image processing never doe before doing first time
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
It seem like you should start by learning about image processing in general. If you search for "java image processing" you should find many tutorials, although the basic mechanics are of course independent of any particular language.

The premier Java image processing library for the life sciences is ImageJ; chances are that what you are trying to do -or something similar- has been done by some ImageJ user before. Start reading its mailing list, and ask specific questions there.

If you're looking for the most basic approach to get started with code: the javax.imageio.ImageIO class can read images into memory, where you can then manipulate them pixel by pixel, and then store them again via the ImageIO class.
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

@ Ulf thank you for precious information. so should I directly start with ImageJ or first study javax.imageio.ImageIO class then go for ImageJ ?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19742

Both of them. This project is going to be far from easy so you should have as much knowledge of image processing (and Java code to do that) as possible.
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

@ Paul thank you !
I agree. Here's the link:
subject: Image Processing in Java ?
It's not a secret anymore!