# Why do my depth maps have large areas of noise?

**URL:** <https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306>\
**Category:** C++\
**Tags:** sdk, depth, windows\
**Created:** [March 22, 2023, 8:04am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306 "2023-03-22T08:04:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 22, 2023, 8:04am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/1 "2023-03-22T08:04:15Z")

</div>

When I updated the original sdk3.7 to version 3.8, using the camera’s depth sensing NEURAL mode, there will be two regular rectangular noise areas, and I can’t find the reason for the problem. After I lower the sdk version back to 3.7, this situation disappears again, I wonder how can I solve this problem under 3.8 version?

 ![8a1138426e78e506d403e5bfa75db4c](https://community.stereolabs.com/uploads/default/original/2X/0/005194a1b015b9be8e4468b8ef494502dd487060.png)

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 22, 2023, 9:03am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/2 "2023-03-22T09:03:22Z")

</div>

Hi @wzh_33  
Welcome to the Stereolabs community.

Can you try to clean the AI model and re-optimize it?  
You can find a guide [on this support page](https://support.stereolabs.com/hc/en-us/articles/9747407795223-How-can-I-optimize-the-ZED-SDK-AI-models-manually-).

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 22, 2023, 1:33pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/3 "2023-03-22T13:33:29Z")

</div>

I tried the method you provided, but it didn’t work. I used it on a 3080+12700kf and ZED Diagnostic checked that everything was OK. But when I also used sdk3.8 and cuda11.7, there was no such problem running on another machine. I don’t know what happened to the previous machine because I can’t find the problem.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 22, 2023, 1:47pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/5 "2023-03-22T13:47:34Z")

</div>

Can you verify that you are using the latest version of the NVIDIA driver for your GPU card?

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 22, 2023, 2:01pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/6 "2023-03-22T14:01:25Z")

</div>

Thank you for your continued help, but I can confirm that the Nvidia driver has been updated to the latest version.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 23, 2023, 2:47pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/7 "2023-03-23T14:47:29Z")

</div>

Can you send a screenshot of ZED Depth Viewer?

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 24, 2023, 4:28am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/8 "2023-03-24T04:28:39Z")

</div>

This is the display result of my ZED Depth Viewer under version 3.8.

 ![cba72ea7936e3803be5adddea6c0b96](https://community.stereolabs.com/uploads/default/original/2X/e/e54661d523f66d347ad518c148c4d2ab059cdfca.jpeg)

I have now tried various solutions that I can think of, including reinstalling Windows 11, reinstalling Cuda 11.7, and so on. However, the problem is still not resolved because my recent experiment requires accurate depth data, and I am currently very anxious.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 24, 2023, 8:38am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/9 "2023-03-24T08:38:02Z")

</div>

@wzh_33 can you acquire a screenshot in ULTRA depth mode to compare them?

Furthermore, please notice that bad depth maps are expected if an object is placed too close to the camera not respecting the minimum depth specification.

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 24, 2023, 10:41am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/10 "2023-03-24T10:41:41Z")

</div>

I don’t think it should be a distance issue because I have tested various distances.  
This is a screenshot of ULTRA depth mode.Apart from a small flaw caused by distance, there is no similar problem with NEURAL mode.

 ![3455ca9c7c8ba19c598d2cadab0755a](https://community.stereolabs.com/uploads/default/original/2X/6/6712e9ee00dd13317e40c0bcd5b7b5141eae4af7.jpeg)

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 24, 2023, 1:13pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/11 "2023-03-24T13:13:10Z")

</div>

OK, thank you for the information.

When you said  
` have now tried various solutions that I can think of, including reinstalling Windows 11, reinstalling Cuda 11.7, and so on.`,  
did you install Win11 from scratch by formatting the disk?

I suspect that for some reason there is a conflict between the NVIDIA libraries.  
Normally to solve this kind of problem we suggest uninstalling the NVIDIA driver, CUDA, and all the NVIDIA libraries, also by manually removing the NVIDIA folders still present in `Program Files` and `Program File (x86)`.  
When the system is clean you can then start the ZED SDK installer that will automatically guide you installing the latest supported driver and libraries.

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 26, 2023, 11:35am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/12 "2023-03-26T11:35:20Z")

</div>

I share your suspicion that the repeated installation of cuda caused a cuda library conflict. However, I determined that the system partition was completely formatted and the corresponding cuda 11.7 was reinstalled through sdk 3.8. This has not yet worked.

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 27, 2023, 7:15am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/13 "2023-03-27T07:15:20Z")

</div>

Can you run the ZED Diagnostic tool and attach the report file that it generates?

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 27, 2023, 12:32pm UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/14 "2023-03-27T12:32:49Z")

</div>

This is a ZED Diagnostic run report in the ZED 3.8 environment. I hope it can be helpful to you. In addition, I recently discovered that my camera sometimes fails to start under USB 3.0. It has been used with USB 3.0, but it still shows that I am 2.0. And sometimes remind me of ‘ USB bandwidth low ’, may this lead to abnormal recognition of depth maps?  
[ZED\_Diagnostic\_Results.json](https://community.stereolabs.com/uploads/short-url/vOL1LHBn4EwLflQe3ZCKGU1oUgG.json) (14.0 KB)

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [March 28, 2023, 7:47am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/15 "2023-03-28T07:47:43Z")

</div>

Hi @wzh_33  
the communication issue can be related to a problem of the cable or the USB3 port, but it is not surely the cause of the NEURAL depth strange behavior.  
When the communication problem appears, please run the ZED Diagnostic and send the report file to [support@stereolabs.com](mailto:support@stereolabs.com). If we confirm that it’s a cable issue and the camera is still covered by warranty we can open an RMA to replace it.  
The NEURAL depth issue is instead a software problem and we are trying to understand the cause.  
Have you tried the camera on another PC?

---

<div class="post-metadata">

**Author:** ![wzh\_33](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/f475e1/32.png) [@wzh\_33](https://community.stereolabs.com/u/wzh_33)\
**Post date:** [March 28, 2023, 8:21am UTC](https://community.stereolabs.com/t/why-do-my-depth-maps-have-large-areas-of-noise/2306/16 "2023-03-28T08:21:47Z")

</div>

> [@wzh\_33](#):
>
> But when I also used sdk3.8 and cuda11.7, there was no such problem running on another machine.

I once said that there is no such problem on another PC in the same environment. But my experiment requires using this malfunctioning PC, so I really want to solve this problem. Thank you for your continued attention to my question.
