martin181818
The Z fluctuates in the calculated spatials (inside ROI x,y,z) or in general on depth image (color change)? It is expected for depth to fluctuate within a certain variance, that is why for spatials, a ROI is used which takes in a couple of pixels and applies a median filter so as to reduce noise.
Thanks,
Jaka