A Mathematical and Experimental Foundation for Stereoscopic Photography