I'm using an Intel Realsense D400 depth camera to record depth images of chicken eggs.
I have noticed that at the points where the eggs are close together, "bridges" are generated in the depth image. See the image below, I've circled some bridges in green. It looks like the camera is doing interpolation of some sort.
My goal is to do segmentation on the depth image, so these bridges are a problem. Is there a way to configure the D400 to reduce these bridges?
I am primarily looking to solve this problem by configuring the camera correctly.
Suggestions for computer vision methods are also welcome, but I have already tried different approaches and wasn't successful. (Simple thresholding won't do it. The bridges do not appear at a fixed height.)