Pixels colorvalue in an image.

P

Peter the Swede

Best groupmember,

I'm working with my thesis in Physics and are doing some programming
in Java. I have a map (gif-image) that for a specific pixel I need to
find out what RGB-value it has. I will further use it for
classification, but that is of no importance here.

I have the picture as an Image object

Image myImage = Toolkit.getDefaultToolkit().getImage(URL);

Can I from my Image-object get the information that I need. Anyone
that at least can give me an hint where to go to solve the problem.

I would appreciate any answer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top