Re: [android-developers] Faster Image Processing on Android

2012-03-27 Thread Bill Morgan
On Sat, 24 Mar 2012 07:58:16 -0700 (PDT)
Christopher Wade christopher.w...@btinternet.com wrote:

take a look at the BufferedImage class.

 I am using getPixel and setPixel on the bitmap to do this. This is
 unfortunately incredibly slow.

-- 
Bill Morgan b...@bmorgan.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Faster Image Processing on Android

2012-03-27 Thread James Black
You could use ndk and do processing on the gpu
On Mar 25, 2012 4:18 PM, Christopher Wade christopher.w...@btinternet.com
wrote:

 Hi guys, my first post here so I hope this post is in the right place.

 I am currently writing an app that reads handwriting from a
 photograph, but I am having an issue doing the image processing.

 When you take a photograph it passed the bitmap to a new class and
 runs some edge detection etc on it. However, this is incredibly slow.
 I am using getPixel and setPixel on the bitmap to do this. This is
 unfortunately incredibly slow.

 I was just wondering, is there a faster way to process the image than
 this, and without using OpenGL? I am not adverse to using OpenGL but
 it will add a lot of time to development.

 Thanks guys.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Faster Image Processing on Android

2012-03-25 Thread Christopher Wade
Hi guys, my first post here so I hope this post is in the right place.

I am currently writing an app that reads handwriting from a
photograph, but I am having an issue doing the image processing.

When you take a photograph it passed the bitmap to a new class and
runs some edge detection etc on it. However, this is incredibly slow.
I am using getPixel and setPixel on the bitmap to do this. This is
unfortunately incredibly slow.

I was just wondering, is there a faster way to process the image than
this, and without using OpenGL? I am not adverse to using OpenGL but
it will add a lot of time to development.

Thanks guys.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en