How can I get the depth in meters? I need the "real" distance from the camera to each pixel.
As the next picture but each pixel values representing the distance in meters to the camera.
I am creating my first project with Blender, which builds an animation to obtain rendered images from different viewpoints. I am setting several values for the camera location using python scripts and using the Depth option (Z pass) in Render Layers Node.
I already read many answers about it, but I still don't understand how to set correctly the camera intrinsic parameters for real depth.
Something is wrong, I need this pixel value closed to 7m, or depending on the camera distance, but I am obtaining the next results.