How "intensityProcessing" works in RTX Lidar

Isaac Sim Version

4.5.0
4.2.0
4.1.0
4.0.0
4.5.0
2023.1.1
2023.1.0-hotfix.1
Other (please specify):

Operating System

Ubuntu 22.04
Ubuntu 20.04
Windows 11
Windows 10
Other (please specify):

GPU Information

  • Model: Geforce RTX 4060Ti
  • Driver Version: 550.144.03

Topic Description

Detailed Description

I want to know how exactly “intensityProcessing” afects the intensity received by RTX Lidar. There are two commented options here:

  1. Normalization
  2. Correction

I found a third one, because writting “raw” returns always an intensity of 1.

I am trying to do a radiometric study for a custom LiDAR, and with these configurations available, the reduction in intensity vs distance is not I ∝ 1/d². I have corrected the intensity received to achive I ∝ 1/d². However, I would like to know how exactly the intensity is calculated or where I can find the corresponding documentation, to be sure how to work with these two options.

Thank you for your time and your help! :)

Hi @carles.prego

For where you install Isaac Sim 4.5.0, you can find where we define LidarIntensityProcessing under extscache

enum class LidarIntensityProcessing : uint8_t
{
    kCorrection, /**< simple correction method which removes the distance factor */
    kRaw, /**< no correction, raw intensity output scaled to fit */
    kNormalization, /**< normalized intensity output (not supported, yet) */
    kCalibrated, /**< close to true reflectance output, rigorous radimetric correction and calibration applied. (not
                    supported, yet) */
    kPointType, /**< inferred hit point type (not supported, yet) */
    kNum /**< indicator for number of elements in the enum */
};

Hi @zhengwang,
I have tried raw, correction, normalization and calibrated.

  • Raw and Calibrated returns always an intensity of 1 (I have the intensityScalePercent = 100 to get a value [0, 1]). So, it always returns the maximum value independent of the distance to the object or the beam incidence angle. Can it be a scale or resolution problem?
  • With normalization I get different values of intensity but it reduces it by a factor of 1/d⁰·⁵, where d is the distance to the object.
  • With correction reduces the intensity by a factor of 1/d¹·⁶.

To achieve a successful radiometric study, the intensity should be reduced by a factor of:

  • 1/d² : if the target object is bigger than the beam footprint.
  • 1/d⁴ : if the target object is smaller than the beam footprint.

I attach here my Lidar config JSON with only two beams (one centered) that I am using:

“profile”: {
“scanType”: “solidState”,
“rotationDirection”: “CW”,
“intensityProcessing”: “coorection”,
“rayType”: “GAUSSIAN_BEAM”,
“nearRangeM”: 0.5,
“farRangeM”: 300.0,
“effectiveApertureSize”: 0.015,
“focusDistM”: 0.16,
“rangeResolutionM”: 0.0015,
“rangeAccuracyM”: 0.03,
“avgPowerW”: 0.3,
“minReflectance”: 0.1,
“minReflectanceRange”: 300.0,
“wavelengthNm”: 1064.0,
“pulseTimeNs”: 3,
“maxReturns”: 1,
“scanRateBaseHz”: 6.6,
“reportRateBaseHz”: 6.6,
“numberOfEmitters”: 2,
“numberOfChannels”: 2,
“rangeCount”: 1,
“ranges”: [
{
“min”: 0.5,
“max”: 300
}
],
“beamWaistHorM”: 0.000194,
“beamWaistVerM”: 0.000194,
“azimuthErrorMean”: 0.0,
“azimuthErrorStd”: 0.0,
“elevationErrorMean”: 0.0,
“elevationErrorStd”: 0.0,
“stateResolutionStep”: 1,
“numLines”: 1,
“numRaysPerLine”: [
2
],
“emitterStateCount”: 1,
“emitterStates”: [
{
“azimuthDeg”: [
0, -15
],
“_commentOnAzimuth”: “Flat Scan is expecting equal angles between each emitter in the line it uses”,
“elevationDeg”: [
0, 0
],
“_commentOnElevation”: “Flat Scan use the line with elevation nearest 0 as it’s first line entry”,
“fireTimeNs”: [
0, 3820
]
}
],
“intensityMappingType”: “LINEAR”,
“intensityScalePercent”: 100
}
}

I would like to know if there is some equation related to distance vs intensity? I would like to understand how it is working on each case.

Thank you @zhengwang !

Let me reach out to the internal team about your question

The lidar sensor model does have a 1/d² dependence on computing the raw irradiance in the beam propagation modeling. However, there are processing modes that will augment the intensity based upon the selected intensity processing mode. The following modes are supported under the lidar sensor model

kNormalization: Since a real lidar can compute range from the time of flight, the lidar simulation model has a normalization mode that will compensate for the range fall off. A key difference is that it accounts for a 1/d² but the beam propagation model follows gaussian beam propagation laws so the compensation is not an exact compensation. This is why the normalized mode does exhibit slight range dependence (~1/sqrt(d)) with the point cloud as already reported in the observed point cloud

kCorrection: This is a custom mode that has similar range compensation but is not accounting for 1/d². It is an intensity processing mode that is in between kRaw and kNormalized. It exhibits a slightly stronger than 1/d range dependence a per the same details described in the kNormalization mode on range (not accounting for gaussian beam propagation).

kRaw: This mode will not produce a range compensation and will exhibit more of a 1/d².

There are quite a few details to note on why the irradiance does not follow the exact range dependence laws as expected by theory. This includes noise in the computed ranges, sensor noise added to the computed signal, efficiency in the signal generation converting photons to electronic counts, and M² beam divergence factors. In addition, the reflected signal is not a perfect reflection as it can have roughness and the same reflection geometry can exhibit differences in the returned signal. All these details will result in a return distribution from a target that will diverge from the theoretical range dependence formulation.

The only aspect that is missing from the model is 1/d⁴ range dependence for objects smaller than the spot size at range. This is a known issue and is in our feature list.

The final point about kRaw and kCorrection modes giving saturated returns has been investigated and a minor bug has been found. The results described above on range dependence has been verified with the fixes in place.

@carles.prego Does this answer your question?

Hi @zhengwang,

Thank you very much for your detailed explanation, it really helps!

Since I am building a physical model of our real lidar, I am currently using raycasting to obtain intensities close to the theoretical behavior before adding noise. This allows me to perform a radiometric calibration of our lidar before starting to work with it. I am also working with the 1/d⁴ relation in cases where the beam hits objects smaller than the spot size.

The results look good, but the main issue I’m facing now is performance. When casting many rays, it gets very slow.

Do you know if there is a way to perform multiple raycasts simultaneously and retrieve all the results in a vectorized way, instead of looping through them one by one?

Thanks again for the support!

Carles Pregonas

@carles.prego Maybe you can look into Isaac Sim Performance Optimization Handbook — Isaac Sim Documentation and see if it helps

Hello!

We noticed that this topic hasn’t received any recent responses, so we are closing it for now to help keep the forum organized.

If you’re still experiencing this issue or have additional questions, please feel free to create a new topic with updated details. When doing so, we recommend mentioning or linking to this original topic in your new post—this helps provide context and makes it easier for others to assist you.

Thank you for being part of the NVIDIA Isaac Sim community.

Best regards,
The NVIDIA Isaac Sim Forum Team