You can do image processing on camera preview images, which are smaller and "almost raw" even while not supporting the raw format either: the default YCbCr_420_SP format uses 1.5 bytes per pixel by subsampling U and V by a factor 2 in YUV color space; 1.5 times the number of pixels in a typical preview size is still manageable in terms of the amount of memory, but you need to do your own color conversion/decoding to maybe arrive at a byte count of 4 times the number of pixels for an RGBA integer-per-pixel (4 bytes per pixel) encoding for more convenient image processing. This is a hassle in Android for lack of conversion/decoding APIs, but doable and not very memory hungry as long as you do image processing on preview images from PreviewCallback.
Regards The vOICe for Android http://www.seeingwithsound.com/android.htm On Sep 5, 6:20 am, uday <uday.pic...@gmail.com> wrote: > Do u have any idea of how much memory of raw data will generate for > the resolution 640x480 and 176x144?? > > Actually in my application we have image processing on raw data.. If > it is not available then is there any approach to do that?? > > On Sep 4, 6:13 pm, blindfold <seeingwithso...@gmail.com> wrote: > > > Yes. Raw images would also claim too much memory with typical high-res > > still images in the current Android memory model, so a compressed > > format such as JPEG is needed to get around that. There is no support > > for incremental block-based or scanline readout or something like that > > to process the image in smaller (raw) chunks. > > > On Sep 4, 1:11 pm, uday <uday.pic...@gmail.com> wrote: > > > > Thanks Blindfold.. > > > > So do u got any information regarding this?? What ever it may be the > > > resolution currently Android is not able to do the Raw image capture.. > > > am i right?? > > > > On Sep 1, 1:07 am, blindfold <seeingwithso...@gmail.com> wrote: > > > > > Right, already on February 11 2009 Google's David Sparks wrote in > > > > response to one of my postings, > > > > > > I'm talking about deprecating the raw picture callback that has never > > > > > worked. > > > > > and > > > > > > As for the camera API in SDK 1.0: It was never intended for signal > > > > > processing. > > > > >http://groups.google.com/group/android-developers/browse_thread/threa... > > > > > Regards > > > > > The vOICe for Androidhttp://www.seeingwithsound.com/android.htm > > > > > On Aug 31, 6:30 pm, David Erosa García <soul...@gmail.com> wrote: > > > > > > On Tue, Aug 31, 2010 at 6:17 PM, uday <uday.pic...@gmail.com> wrote: > > > > > > Hi All, > > > > > > I'm facing problem when capturing RAW data in Android Froyo. Im > > > > > > using > > > > > > HTC Desire(5MP) device. in the method of > > > > > > PictureCallback rawCallback = new PictureCallback() { > > > > > > public void onPictureTaken(byte[] data, Camera > > > > > > camera) > > > > > > { > > > > > > } > > > > > > the data im getting is null. Is this the problem due to Heap size in > > > > > > the device or is there another way to capture this raw data?? > > > > > > AFAIK, raw callbacks always get null arrays (maybe not implemented?) > > > > > > > -- > > > > > > 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