Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-02-2007, 07:19 PM
Member
 
Join Date: Aug 2007
Posts: 2
mobeenkhan is on a distinguished road
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 !!

Regards,
Mubin Khan
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-02-2007, 07:30 PM
Senior Member
 
Join Date: Dec 2006
Posts: 748
levent is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
J2ME and files bartosz666 CLDC and MIDP 2 01-26-2008 08:36 PM
list processing kazitula Java Applets 1 01-22-2008 11:35 PM
want to make a menu bar for image processing vidhi Java 2D 1 01-15-2008 09:12 PM
Converting multiple banded image into single banded image... Image enhancement archanajathan Advanced Java 0 01-08-2008 07:29 PM
J2me kuttyniti@gmail.com Sun Java Wireless Toolkit 0 11-24-2007 08:27 AM


All times are GMT +3. The time now is 03:17 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org