I have a depth map (500x290) and I want to obtain point cloud from it (x,y,z coordinates). The depth map data is produced by a perspective camera of 120 degrees horizontal field of view and 45 degrees of vertical field of view, therefore, the intrinsic parameter matrix is as follows:
144.33 0 250
K = 0 350.06 145
0 0 1
the values in the depth map corresponding to the distance to the object (i.e. the norm of the vector (x, y, z)) and not only its Z component (depth). with all this information how can I calculate the x,y and z coordinates?