How can I do Image processing on JPEG data

by srik » Mon, 13 Apr 2009 12:47:55 GMT

Sponsored Links

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.

thank you,

Other Threads

1. USB Hub Issue

Hello all,
            I am trying to add external GSM modem to Android in Hawkboard. I
have booted android using usb drive. I am using serial convertor to connect
gsm modem to target board via usb 2.0 hub. Without connecting gsm modem i
can boot into android. With gsm modem connected to hub i cannot able to boot
properly. the device is found on boot but soon get disconnected and
filesystem is not loaded with filesystem error.

Is the error due to usb hub or anything specific i have to enable in kernel
for usb hub? I am confused with the issue. I couldnot proceed with
connecting gsm modem. Please help me in fixing it.


2. Permission denied when connecting to rid


I try to connect to the ridl process in my application using adapted
code find in But I get a "Permission denied" exception when
the socket is connected. Here is the code
                try {
                    s = new LocalSocket();
                    l = new LocalSocketAddress(SOCKET_NAME_RIL,
                } catch (IOException ex){
                    try {
                        if (s != null) {

where SOCKET_NAME_RIL = "rild".
The /dev/socket/ridl file has root/radio owner. What can I do with my
application to be able to connect to ridl. I also search in the
PhoneApp application (taht establish such a connection), but I find

Thank for your help.

3. Failed to parse the output of 'adb version' ERROR

4. how do i draw the direction arrow on the map

5. Android 2.2 - width=device-width No Longer Working

6. ContentObserver not working

7. How to take care of form factor(screen size) and resoultion