Android :: Image Processing On Picture Taken From Camera

Jan 11, 2010

I'm writing an application for Android. I need to make some image processing on the picture taken from camera.I use Camera.PictureCallback to get the photo, and I get picture in byte array.The problem is I want to make operations on every pixel of photo (some filtering and other stuff) so I guess, have photo in byte array is not a bad idea. But I don't know how interpret information in this byte array... The only way I know to make the processing is use BitmapFactory.decodeByteArray() and then use Bitmap object. Is this a good way to handle a lot of image processing?

Android :: image processing on picture taken from camera


Android :: Camera - Icon Image Resource For Take Picture Button?

Dec 8, 2009

On the G1 camera app, there's a handsome looking camera button which you can press to signal the app to take the picture. It's a round button with a little camera icon in it. Is that button resource available in android.R? I'd like to use it in my own app if possible?

View 2 Replies View Related

Android Image Processing Functions

Oct 15, 2011

I want to perform various image processing functions such as threshold,equalize etc on the image i capture from the camera...What should i use in order to do that?

Also,when i installed the app in my phone, after clicking the pic, the next screen appears, and after clicking the button for performing other functions, force close comes up...what could be the reason,because my code works fine without the camera portion...

View 2 Replies View Related

Android :: How Can I Do Image Processing On JPEG Data

Apr 13, 2009

I am confused on how to implement image processing algorithm on JPEG data.I have set P.setpicturesize (640,480) so the camera.takepicture (null,null,Imagecapture callbck) returns the image data. Void onPictureTaken(byte[] data, Camera Camera) returns JPEG data, but(x = data.length), the value of x is less than 640*480 bytes.Please kindly let me know how can I start editing pixel information of the image and image comparison algorithms.

View 2 Replies View Related

Android :: Optimizing Image Processing Algorithms

Aug 19, 2010

I am developing a mobile application that involves complex image processing operations. The app is designed in Java while the core image processing ops are implemented in native code, and compiled using the Android NDK.Now, I know that native code will *not* yield any significant performance improvement over Java code, and that the NDK purpose is only to support re-use of code libs (or to quickly integrate legacy code).are there any resources/tips-n-tricks/white papers/ samples on optimizing image processing algorithms for Android? To be even more specific, I am looking out for optimizing memory operations (cache misses, memory stalls, etc.). I profiled my application code and came to the conclusion that memory issues are causing the *maximum* performance penalty. (Nothing surprising over there, it is expected, but just verified with profile data as well).

View 1 Replies View Related

Android :: Handling Out Of Memory Exception On Image Processing

Sep 16, 2010

This is the sequence part of this question: http://stackoverflow.com/questions/3674441/combining-2-images-overlayed

so the problem is: if the image size is too big - it'll got an exception (out of memory exception)
what i want is, to handle even if the handset got the lower spec hardware, it doesn't go to that exception (but it'll take a longer time to process the image) is it possible to do that?

The code snippet is like this:

CODE:......

And that block of code is inside the async task.

View 1 Replies View Related

General :: Camera App That Takes Pic Without Processing?

Jan 16, 2012

I have a Q:

I am coming from the graphic design and Photoshop and I knew few things about camera and image processing and after looking in the camera app on android I cant find good app that can just take a pic without processing! (sharpening, noise redaction, etc)

I wonder why no 1 made such app that gives the user option to take the natural photo prom the sensor without the stupid image processing algorithm!

I want the natural photo and edit it later in pro software (Photoshop)

View 3 Replies View Related

Android :: Better Android For Image Processing On Phone

Oct 11, 2010

iam going to do some applications on mobile using image processing applications.i was asking which will be suitable for me as i will need a programming language that supports phonve devices with high memory, what is the maxiumm number of ram size that has been released to work on phone.is there any name about the phone that support high memory so i can buy it to help me in my work

View 2 Replies View Related

Android :: Image Processing Libraries For Android

Sep 27, 2010

I am currently developing an image processing application for android mobile phones and I would like to know what libraries would you guys recommend me based on your experience.I have heard of JJIL but I do not know how good it might be for what i want to achieve.I need something that implements the basic image processing functions from Matlab toolbox, and i would also like to know if there are any alternatives to JJIL.Additionally, i have heard it is possible to use Matlab's compiler to generate C code that would be useable in a standalone application, but has anybody ever did this before, for Java, adapting it to work in android environment?

View 1 Replies View Related

Android :: Looking For A Better Image / Picture Viewer

Jul 27, 2010

I'd like a grid layout to be able to view images. Not really digging the sliding vertical layout of the stock Gallery.

View 1 Replies View Related

Android :: How To Take Picture Using Camera App?

Oct 26, 2010

How to take a picture using the Camera App and have it NOT appear in the Gallery?

View 7 Replies View Related

Android :: Image / Picture In Email Signature

Nov 29, 2009

I've searched and couldn't come up with an answer. I currently have a Droid Eris so I'm running 1.5. Is it possible to add an image to an email signature? (I've already edited my signature I would just like to add a logo) If it is not possible in 1.5, is it possible in newer version of Android? (2.0?)

View 4 Replies View Related

Android :: Taking Picture - Use Camera In Sdk 1.6

Sep 19, 2009

I tried an old(er) example / tutorial to capture a picture from the camera. But "android.hardware.CameraDevice;" cannot be resolved. Has the name changed or have somebody a good tutorial for android 1.6 and the camera? If I press a button, I want to open the Camera and make a picture. After that i want to save the picture on a sdcard and go back to my activity.

View 3 Replies View Related

Android :: Watermark The Camera Picture

Aug 30, 2010

How can I add a watermark in the picture (.jpeg)? I have this project in mind where I'd like to have such feature - to take a picture using the camera (already developed this) and then make it watermarked. So basically just take the .jpeg file and then blend it with some .png file that is semi transparent.

View 4 Replies View Related

Android :: Crop A Picture After Using Camera To Take It

Dec 29, 2009

In the following code, I am able to get the photo editor to come up after I take a picture, and am able to crop it. However, the aspectX and aspectY does not seem to be in effect, as the aspect ratio is not locked at all.

What I is that after taking a picture, the crop/editor comes up, with a fixed aspect ratio of 1:1.

CODE:............................

View 7 Replies View Related

Android :: Picture Gallery / Image That Comes Through In Emails In Touchdown

Dec 30, 2009

I've got a Droid with Touchdown, which works perfectly except for one issue. Any picture/image that comes through in emails in Touchdown gets saved into the Gallery, making it very large and hard to open. I have figured out where to delete these images, but it is sort of a pain to have to go in and delete them out every couple of days. Is there some sort of setting that I am missing in Touchdown to prevent this?

View 1 Replies View Related

Android :: Want To Decode Image Bitmap Retrieved From Picture App

Jan 24, 2009

Will anybody guide me, I want to decode image bitmap picked from Picture application(on a android phone), so How should I achieve this. First thing is how to retrieve image from Picture application, after picking it, if I assign it to temp image variable, is there any method in Bitmap.Factory to decode this image into bitmap.

View 2 Replies View Related

Android :: Taking A Picture With Camera - Without SurfaceView

Oct 28, 2010

Hi Guys! I'm coding a little app, but I don't know what I'm doing wrong. The App does the following: - Launches a Service which listens for an sms, then captures a picture with the cam and sends it to a predefined email adress. (no, i'm not trying to spy somebody out... I'm using the app to get a "3G-Webcam", sort of at least)

The problem: My App works great in the emulator, but as soon as I try it on my HTC Magic (cm6, android 2.2) it stops working.

CODE:.............

The permissions are all set, even the write to SD-card. What am I missing?

Note: I'm not using a surfaceview. Code:

CODE:......................

View 2 Replies View Related

Android :: Way To Put Picture Directly In Camera Folder?

Mar 29, 2009

I'm trying for my app to create a picture this way... It works fine, except when doing this, the picture is written in the "Camera" folder (/sdcard/dcim/Camera). Since the picture was not taken with the camera, this is not desirable. Is there any way to put it directly in dcim?

View 3 Replies View Related

Android :: Single Intent To Take Picture / Pick Image From Gallery

Apr 25, 2010

I'm developing an app for Android 2.1 upwards. I want to enable my users to select a profile picture within my app (I'm not using the contacts framework). The ideal solution would be to fire an intent that enables the user to select an image from the gallery, but if an appropriate image is not available then use the camera to take a picture (or vice-versa i.e. allow user to take picture but if they know they already have a suitable image already, let them drop into the gallery and pick said image). Currently I can do one or the other but not both.

If I go directly into camera mode using MediaStore.ACTION_IMAGE_CAPTURE then there is no option to drop into the gallery. If I go directly to the gallery using Intent.ACTION_PICK then I can pick an image but if I click the camera button (in top right hand corner of gallery) then a new camera intent is fired. So, any picture that is taken is not returned directly to my application. (Sure you can press the back button to drop back into the gallery and select image from there but this is an extra unnecessary step and is not at all intuitive). So is there a way to combine both or am I going to have to offer a menu to do one or the other from within my application? Seems like it would be a common use case, surely I'm missing something?

View 1 Replies View Related

Android :: How Use Multipart/form-data Upload Picture/image

Jul 29, 2010

This is my code.

I got Http 400 error.

CODE:...................

View 2 Replies View Related

Android :: 2.0 Camera.setParameters - P - Picture Size Must Be 213x350

Oct 29, 2009

I am having an issue w/ 2.0 in the emulator when I am trying to set a couple of parameters. Including the size.

It appears these messages appear.. I guess my question is, why is the picture size stuck at 213x350? If I set my picture size to 640x480 it fails.

CODE:..................

View 4 Replies View Related

Android :: Auto Stop Of App When Capture The Picture With Camera

May 12, 2010

I am facing a problem; when I try to save the picture, the app will auto stop. but it does not happen everytime.

Next is the sourcecode.

CODE:...........

View 2 Replies View Related

Android :: Small Picture Retrieved From Camera Although Specified MediaStore.EXTRA_OUTPUT In 2.X

May 7, 2010

I just don't get it: when I use the camera with an intent and also specify an output file, the returned image is always very small on many devices (e.g. Motorola Milestone 2.1, HTC Desire 2.1, Emulator 2.1, Emulator 2.0.1) but not on all (e.g. Nexus One). Here's what I do to bring up the camera app:

private final static String TEMP_PHOTO_FILE = Environment.getExternalStorageDirectory() + "/TEMP_PHOTO.JPG"; ..............

View 1 Replies View Related

Android :: Taking Picture By Camera Correct Intent Action

Mar 3, 2009

I am trying to take picture by G1 camera.

I have tried almost everything i was able to find on the net about this topic. It seams there should be intent with action "android.media.action.IMAGE_CAPTURE" which really starts camera application and returns captured image. But captured image is scaled to 0.25 of original size. Another possibility I have found is to pass uri where to save captured image. I went through all available sources of camera application and it should work but does not.

For illustration, I am doing following in my example activity which creates new image, but after returning from camera, image is still empty:

CODE:..................

I am ready to write my own capturing application, but it is quite hard and I would like to reuse.

Do you know correct intent action name and extra name to pass to capture image?

View 4 Replies View Related

Android :: Unable To Set Camera Picture Size On Samsung Galaxy

Jan 25, 2010

As title - having tried everything I could find already suggested, I've completely run out of options. I'm unable to set the picture size taken by the camera on the Samsung Galaxy.

I don't set preview size anywhere and I've tried the ShutterCallback trick. On checking the camera parameters before and after attempting to change the size, I get the correct results - the camera *reports* that its size has now been changed... however, the size of the byte array I'm receiving in the onPictureTaken() callback is only consistent with the camera's default (enormous) image - and forces an OutOfMemoryError when I attempt to decode it into a bitmap!

It looks like I'm having a similar issue to this user: http://groups.google.com/group/android-developers/browse_thread/threa... - but unfortunately it looks like no solution was found then, either :

View 3 Replies View Related

Android :: Camera Picture Size On Samsung I7500 Galaxy

Oct 28, 2009

No matter what I do I cannot make the final camera image be smaller than the gigantic 5MP which effectively crashes the poor old BitmapFactory.

The ShutterCallback trick is in use. Does somebody have some other ideas?

Boy, it feels like going all the way back to J2ME.

View 3 Replies View Related

Android :: Barcode Reading Using Picture / Mobile Phone Camera

Aug 27, 2009

How do we do programmatic reading of a barcode that is captured using a mobile phone camera? For example, how do that using iPhone or Android or Java ME? Do we need separate hardware to read bar code or can we do image manipulation

View 6 Replies View Related

Android : Way To Turn Byte Array From Camera's OnPreviewFrame Into A Picture?

Jul 23, 2010

I ask if there is a simple way because there is a google issue report saying that using decodeByteArray isn't possible. But that report originated in 2008 and I was hoping there was a solution not posted on there. The method listed on the issue report was to decode the format yourself, but I'd prefer to not have to put that in and slow down the program.

View 1 Replies View Related

HTC EVO 4G :: How To Set Picture Wallpaper Without Cropping Image?

Jun 22, 2010

Does anyone know how to set a picture as your wallpaper without cropping the image to fit all 7 screens on the evo. Basically I had a wallpaper app called "shake them up" which allowed me to set any of my pictures as the wallpaper without cropping them. After the latest update the app is making me crop like the phone does.

View 27 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved