There are two ways to see how this works (kinda):
1) Determine the distance between the wall and the point at which the photograph was taken. A simple, consistent way to do this would be to use a laser or similar external measuring device. If you had to rely only on the device, you would need to consider the height of the person taking the photo, the camera angle and, of course, the characteristics of the lens of the device itself (for example, focal length distortion).
2) , " ". - , 10x10x10cm; ; / , , ; - . , , .
, . .:)