Keystone effect
The keystone effect is the apparent distortion of an image caused by projecting it onto an angled surface. It is the distortion of the image dimensions, such as making a square look like a trapezoid, the shape of an architectural keystone, hence the name of the feature. In the typical case of a projector sitting on a table, and looking upwards to the screen, the image is larger at the top than on the bottom. Some areas of the screen may not be focused correctly as the projector lens is focused at the average distance only. In photography , the term is used to describe the apparent leaning of buildings towards the vertical centerline of the photo when shooting upwards, a common effect in architectural photography. Likewise, when taking photos looking down, e.g., from a skyscraper, buildings appear to get broader towards the top. The effect is usually corrected for by either using special lenses in tilt–shift photography or in post-processing using modern image editing software. Theory. The distortion suffered by the image depends on the angle of the projector to the screen, and the beam angle. The distortion (on a two-dimensional model, and for small  focus angles) is best approximated by: where formula_2 is the angle between the screen axis and the central ray from the projector, and formula_3 is the width of the focus. From the formula, it is clear that there will be no distortion when formula_2 is zero, or perpendicular to the screen. Keystone effect in stereo imaging. In stereo imaging, two lenses are used to view the same subject image, each from a slightly different perspective, allowing a three-dimensional view of the subject. If the two images are not exactly parallel, this causes a keystone effect. This is particularly noticeable  when the lenses are close to the subject, as with a stereo microscope, but is also a common problem with many 3D stereo camera lenses. Solving the problem. The problem arises for screen projectors that don't have the depth of focus necessary to keep all lines (from top to bottom) focused at the same time. Common solutions to this problem are: Correction. Keystone correction, colloquially also called keystoning, is a function that allows multimedia projectors that are not placed perpendicular to the horizontal centerline of the screen (too high or too low) to skew the output image, thereby making  it rectangular. It is often necessary for a projector to be placed in a position outside the line perpendicular to the screen and going through the screen's center, for example, when the projector is mounted to a ceiling or placed on a table top that is lower or higher than the projection screen. Most ceiling-mounted projectors have to be mounted upside down to accommodate for the throw of the image from the lens, with the image rotated right-side-up with software. Keystone correction is a feature included with many projectors that provides the ability to intentionally "distort