Pixels colorvalue in an image.

Discussion in 'Java' started by Peter the Swede, Nov 11, 2003.

  1. 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.
     
    Peter the Swede, Nov 11, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Trint Smith
    Replies:
    2
    Views:
    372
    Brad Williams
    Feb 17, 2004
  2. Peter the Swede

    Pixel colorvalue in an Image

    Peter the Swede, Nov 11, 2003, in forum: Java
    Replies:
    3
    Views:
    1,735
    Peter the Swede
    Nov 11, 2003
  3. Read pixels from a PGM/PPM Image

    , May 23, 2005, in forum: C Programming
    Replies:
    2
    Views:
    1,715
    Malcolm
    May 24, 2005
  4. jimgardener
    Replies:
    0
    Views:
    311
    jimgardener
    Feb 17, 2008
  5. ssecorp
    Replies:
    2
    Views:
    319
    Tom Anderson
    Jul 7, 2008
Loading...

Share This Page