How to measure missing depth when zero pixels cluster
A zero in a depth array can mean the pixel has no valid measurement. Including zero pixels in a distance average can make a patch appear closer than the measured surfaces.
How to test it
Save the raw depth frame and export a validity mask. Repeat the test with a matte board at a fixed distance and report valid-pixel percentages for the center and edges separately.

ZHILIANHAI