Results 1 to 2 of 2
  1. #1
    mobeenkhan is offline Member
    Join Date
    Aug 2007
    Rep Power

    Question Image Processing in J2ME

    Hello there,
    Well I am stuck at this very hard point and cant find any solution to it, please urgent help is required.
    Well I got this code from Sony Ericsson website for accessing the onboard cam of Z1010, the link to the site is :

    Taking Snapshots with Z1010

    Well I want to take this image, and apply Sobel Filter on it. how ?!? I dont know, I need your help, please help me out with this ... I shall be extremely grateful and also i need to ask one more thing, normally Sobel filter is applied on PGM files, is there a way to convert the obtained image into PGM before processing it, please please please help me out !!

    Mubin Khan:confused:

  2. #2
    levent Guest


    I am not experienced on image processing in Java ME. But in Java SE, you normally read the image and when you read an image it is kept as an internal representation called BufferedImage. And this Buffered image has a data structure called Raster which is mainly an array of pixels. And in Java SE you access these pixels by passing x and y coordinates of the image. So this makes image processing transparent to image formats in Java.

    I dont know the API you are using for Java ME but if it supports you to have a BufferedImage then you can apply any image processing algorithm on it since what these algorithms generally requires is a way to access pixels and write new values to them.

    Check the tip below which shows you how to process an image in this way:

    Java Tips - How to get average of a set of images

Similar Threads

  1. J2ME and files
    By bartosz666 in forum CLDC and MIDP
    Replies: 2
    Last Post: 01-26-2008, 07:36 PM
  2. list processing
    By kazitula in forum Java Applets
    Replies: 1
    Last Post: 01-22-2008, 10:35 PM
  3. Replies: 1
    Last Post: 01-15-2008, 08:12 PM
  4. Replies: 0
    Last Post: 01-08-2008, 06:29 PM
  5. J2me
    By in forum Sun Java Wireless Toolkit
    Replies: 0
    Last Post: 11-24-2007, 07:27 AM

Posting Permissions

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