VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    Getting raw, uncompressed images CS-MIPI-SC132

    Scheduled Pinned Locked Moved CS MIPI camera
    4 Posts 2 Posters 1.3k Views 1 Watching
    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 Offline
      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_xummV 1 Reply Last reply Reply Quote 1
      • veye_xummV Offline
        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.

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          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_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            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.

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post