Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2007

    Question Get pixel by pixel

    hello guys consider that i have an rgb image taken from a camera by

    byte[] raw = videoControl.getSnapshot(null);
    Image image = Image.createImage(raw, 0, raw.length);
    now i want to analyze pixel by pixel to see if the color of any pixel corresponds to skin color or not... well i wont ask u to get the exact value of skin color.... can anybody just tell me how to scan each pixel to see if its of a particular color that i want....and if it is i want to replace it wil another color... what should i do to get this result????

  2. #2
    Super Contributor
    Join Date
    Feb 2006

    Re: Get pixel by pixel

    There are some vendor specific Api's using which you can get the pixel by pixel data for ur image,but as io told its purely VENDOR specific.Other wise you have only the getRGB option to get the rgb value.
    Thomas John

  3. #3
    Registered User
    Join Date
    Sep 2007

    Re: Get pixel by pixel

    oh i see...hmm so i cant make this application be executed in all the phones that supports j2me...

Similar Threads

  1. Is pixel by pixel painting possible in standard MIDP?
    By MobileVisuals in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2006-01-02, 19:37
  2. 6230i - Faulty pixel in display
    By psx9 in forum General Development Questions
    Replies: 5
    Last Post: 2005-12-01, 20:42
  3. Pixel manipulation in Symbian
    By daip02 in forum Symbian C++
    Replies: 0
    Last Post: 2004-09-10, 11:09
  4. Nokia6600 vs TYPE_USHORT_565_RGB Pixel Format..
    By Niall in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2003-09-16, 12:07
  5. Get pixel data from an image object on Nokia phones?
    By inopia in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-15, 09:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts