Image Acquisition using SPI or I2C or USB on Different ARM families

Hi all..

I have MCBSTM32c and LPC2478 based development boards.
I need to perform an image processing algorithm on an image of resolution 640 x 480 size 30Kb.
Is this image acquisition possible through USB camera (we have iball webcam), Please note that we don't have processing time constraints and we don't want to store the image and display the image. There is no fixed rate of image acquisition either. so our problem narrows down to taking one image from SPI, I2C or USB and Processing it.

Please suggest any camera used previously with these boards interfaced by SPI or I2C. Also for USB camera will we need to flash a device driver on to our microcontroller.

Will we be able to process 16 bit or 24 bit images acquired by SPI or I2C camera.

Parents
  • Sorry - too little information given.

    640x480 is 307,200 pixels. So the full image is about 300k - not 30k - when decompressed. Assuming 8-bit grayscale or paletted colors. It will be two or three times larger if 16-bit 5:6:5 color or 24-bit color.

    Can your image processing manage, seeing only a part of the image at a time or does the image processing require that you have full access to all pixels for random access?

    Device driver? Sorry, but for this kind of microcontrollers you don't have any operating system that makes use of any device drivers. Whatever interface you use, you must program the controller with a program that contains both the communications code and the image processing code. If using USB, then there are USB code available that you can start modifying.

Reply
  • Sorry - too little information given.

    640x480 is 307,200 pixels. So the full image is about 300k - not 30k - when decompressed. Assuming 8-bit grayscale or paletted colors. It will be two or three times larger if 16-bit 5:6:5 color or 24-bit color.

    Can your image processing manage, seeing only a part of the image at a time or does the image processing require that you have full access to all pixels for random access?

    Device driver? Sorry, but for this kind of microcontrollers you don't have any operating system that makes use of any device drivers. Whatever interface you use, you must program the controller with a program that contains both the communications code and the image processing code. If using USB, then there are USB code available that you can start modifying.

Children
More questions in this forum