ToF icon indicating copy to clipboard operation
ToF copied to clipboard

Raw data support

Open wowaser opened this issue 1 year ago • 7 comments

Hello,

Is there a way to capture raw data from the camera? i.e. phase images without any filtering applied to them? I have seen that @SeptimiuVana has done some extensive work on the add_raw_support branch, but when I built the SDK with that version the GUI is unable to initialize the camera.

Aside from the ADIToFGUI example, what is the correct way of extracting all the phase images from the camera with the SDK?

Thank you

wowaser avatar Jun 10 '24 19:06 wowaser

Hello,

That branch is still work in progress. We will let you know when it can be used.

Regards, Septimiu.

SeptimiuVana avatar Jun 11 '24 08:06 SeptimiuVana

So is there currently no way how to get phase images from SDK?

wowaser avatar Jun 11 '24 14:06 wowaser

If by raw you mean frames coming directly from ADSD3500, then yes, there is a way. For this you would need to go back to version 4.3.0 of the SDK. The 'data_collect' can be run with argument '--ft=raw' which will obtain frames from adsd3500 and will not pass them to depth compute library.

dNechita avatar Jun 11 '24 20:06 dNechita

Should I downgrade firmware/image for it to work? I am using the EVAL-ADTF3175D-NXZ and I installed the image and firmware that was shipped with release 5.0.0

wowaser avatar Jun 11 '24 20:06 wowaser

No need to downgrade the firmware. It should work with firmware version 5.0.0.

dNechita avatar Jun 11 '24 20:06 dNechita

Hello again,

I have successfully captured raw data using your advice. However, I am having trouble interpreting the data because I cannot find any info about the structure of the raw frame.

For example, here's the raw frame I tried opening in matlab with the size reported by the data_collect (2048x2560, uint8) image

How to parse the data correctly? Thank you for your help

wowaser avatar Jun 14 '24 12:06 wowaser

@SeptimiuVana Do you have any suggestions on how to parse raw data? Thanks

wowaser avatar Jun 18 '24 16:06 wowaser