Get RAW image as DNG from arducam 108Mp

  1. Where did you get the camera module(s)?

Kubii

  1. Model number of the product(s)?

EK030 with serial number : 3272496313125

  1. What hardware/platform were you working on?

Arducam108Mp with USB3 CameraSHield and official USB3 cable.

Linux Ubuntu 22.04 + Python 3.9 + ArducamSDK v1.0.2

Tested with Arducam_Demo and GUI on windows

  1. Instructions you have followed. (link/manual/etc.)
    Using Arducam python package to connect to Arducam USB 3 with 108Mp camera then acquire raw frame with :

     while ret is False:
         ret, data, cfg = self.camera.read()
     Width = cfg["u32Width"]
     Height = cfg["u32Height"]
     raw = np.frombuffer(data, np.uint8).reshape( Height,Width , 1 )
    
  2. Problems you were having?

I am unable to convert and save the raw numpy array into a conventional RAW camera format such as DNG.
For example : rawpy library is unable to decode this raw image

  1. The dmesg log from your hardware?

  2. Troubleshooting attempts you’ve made?

Tried to use rawpy library

  1. What help do you need?

I would like a solution to save images acquired from Arducam 108Mp into DNG in order to postprocess using software like Darktable in a non-destructive workflow (Tiff or jpeg ar not an option)

@medalkiller

Sorry.
Currently there is no function for saving DNG format.

If you want us to implement it, it needs to be customized.([email protected])