calculating an object size from 2 d image is well defined if we the focal length and the distance are known, however i could not find how to calculate object size if the object lay in the depth of the image which means the distance between the object and the camera is not constant