ouster-lidar / ouster-sdk

Ouster, Inc. sample code
Other
464 stars 438 forks source link

How to get intensity and elongation values? #488

Open irmuun20 opened 1 year ago

irmuun20 commented 1 year ago

Hello, I am new to lidar and want to test centerpoint 3D object detection model on data collected via ouster lidar. An ouster lidar returns following:

The model, I am using, was trained on Waymo dataset which consists of following: x, y, z, intensity, elongation

I can produce x, y, z coordinates from Range value but I don't know how to get intensity and elongation from ouster lidar. I am not sure if Signal Photons from ouster lidar is the same as intensity in Waymo dataset.

I'd really appreciate it if someone will help me to get these two values from ouster lidar. Thanks in advance.

kairenw commented 1 year ago

Hi @irmuun20,

Do you know the units of the intensity measurement from Waymo? This issue here seems to indicate that it's raw photons? Is that true?

For elongation, I don't believe there is anything equivalent that we report from our sensor.

irmuun20 commented 1 year ago

Yes it is raw intensity value that can go up to 6000

kairenw commented 1 year ago

Great - I'd suggest using SIGNAL for the intensity, though you may find you want to scale it to be able to use your trained model.

irmuun20 commented 1 year ago

Yes that is the problem. when I scale it like following, it shows misaligned results: intensity = tanh(SIGNAL / 255.0) I wonder what is the correct way to normalize it. image

irmuun20 commented 1 year ago

When I use tanh(SIGNAL), the minimum signal(intensity) value in all points is 0.99. image

irmuun20 commented 1 year ago

https://github.com/HaohaoNJU/CenterPoint/issues/29#issuecomment-1461186498