This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Parallel Camera Interface and BMP

Other Parts Discussed in Thread: CC3200

I'm looking into the Parallel Camera Interface, but unlike the example provided I need to create a file that is uncompressed, so something like BMP will work.

1) Is it possible to set either of the supported sensors (MT9D111 or the OV3660) into a mode that will save as BMP?

2) I notice the camera_application example code has a driver for the MT9D111 in JPEG sensor mode, is there anywhere else we can obtain drivers for the other modes or other sensor? If not, where do i find details about these modes?

Thanks,

Glenn.

  • Hi Glenn,


    undefined ENABLE_JPEG macro in project properties to get data in raw format. Only issue is image size. At max 320*256 image can be store in memory.


    Regards,
    Aashish

  • Thanks Aashish,

    For the full sensor resolution, it would only work easily on a custom board with larger serial flash.

    For the CC3200 LaunchPad, can you recommend a method to store the raw format as 320*256 instead of the full 1,600*1,200 ?

    Is it possible to set the sensor to a specific resolution, or will this need to be handled in the code somewhere, and if so, what method is best?

    Glenn.
  • Hi Glenn,

    sdk example have code for raw format to store 240X256 image. Please fo through the mt9d111.c. In variable image_size_240_320_preview_cmds_list, image resolution set as 240X256. 

    {1, 0xC6, 0x2727 }, // MODE_CROP_X0_A
    {1, 0xC8, 0x0000 }, // MODE_CROP_X0_A
    {1, 0xC6, 0x2729 }, // MODE_CROP_X1_A
    {1, 0xC8, 0x00F0 }, // MODE_CROP_X1_A
    {1, 0xC6, 0x272B }, // MODE_CROP_Y0_A
    {1, 0xC8, 0x0000 }, // MODE_CROP_Y0_A
    {1, 0xC6, 0x272D }, // MODE_CROP_Y1_A
    {1, 0xC8, 0x0140 }, // MODE_CROP_Y1_A

    You can modify above register configuration for desire resolution. Also you need to change camera.h "#define NUM_OF_1KB_BUFFERS      120" file for image buffer.

    Regards,

    Aashish