Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED Getting raw, uncompressed images CS-MIPI-SC132

    CS MIPI camera
    2
    4
    540
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Teacup last edited by

      Hello,

      I'm currently trying to make a PTC curve of the Smartsens CS-MIPI-SC132 camera, to do other tests on it after that. However, I am struggling to get raw, uncompressed images from it.

      According to the datasheet of the product itself, the camera should be able to output 12/10/8 bit images. (https://www.smartsenstech.com/gs_products) I would like to get 12-bit data from the camera, but I currently am only able to extract 8-bit jpeg images.

      I already tried to use:

      • the veyeimaging toolbox (https://github.com/veyeimaging/raspberrypi) with which I tried the python code and veye_raspcam toolbox.
      • the raspberrypi_v4l2 toolbox (https://github.com/veyeimaging/raspberrypi_v4l2) with which I also was able to take images (by using this command: "gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0 ! 'video/x-raw, format=(string)UYVY, width=1920,height=1080' ! jpegenc ! filesink location=test_image.jpg")

      They both worked, I was able to output 8-bit images, but they were JPEG encoded, which means they are compressed so some data in the images is lost. Maybe I missed something but at the moment I am out of ideas on this.

      Does anyone know how to get raw, uncompressed images from the CS-MIPI-SC132 camera?

      Thank you in advance!

      veye_xumm 1 Reply Last reply Reply Quote 1
      • veye_xumm
        veye_xumm @Teacup last edited by

        @teacup
        Hi,
        http://wiki.veye.cc/index.php/CS-MIPI-SC132_Data_Sheet
        c73bb227-fb3b-4344-b718-90ec54cb4982-image.png
        This camera has an isp module built-in. It can not output RAW DATA.

        We are developing a new model, IMX296, which will support the output of raw data. But it will take months to start selling.

        T 1 Reply Last reply Reply Quote 0
        • T
          Teacup @veye_xumm last edited by

          @veye_xumm
          Hello,

          The datasheet says it is possible to get 8-bit uncompressed data, is that true or not? I've tried making a PTC curve with the Y-component of YUV images (which should contain the full black-white image or mono image), but it didn't look good so there probably still was some compression going on.

          If I have an uncompressed 8-bit image, but in reality, the image sensor takes 10-bit images I could add analog gain of factor 4 for example right?

          veye_xumm 1 Reply Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @Teacup last edited by

            @teacup
            The camera contains a fully functional isp module. The output signal of sensor is indeed 10bit raw, but the YUV data output by the camera is not the result of simple mathematical operation of sensor data.

            I don't think it is suitable for making PTS curve.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post