A Self-Correcting Projector

Ramesh Raskar, Paul A. Beardsley

Abstract

Keystone distortion remains a significant hurdle for portable projection systems, typically requiring manual user intervention or specialized external hardware. This paper presents a self-contained, "self-correcting" projector that automatically eliminates keystone distortion on blank, planar surfaces. By integrating a low-cost camera and dual-axis tilt sensors, the system models the projector as a dual to a camera and leverages planar homographies to achieve precise geometric alignment. The resulting prototype produces level, rectangular images regardless of the projector's orientation, enabling seamless "plug-and-play" operation in unconstrained environments.

Introduction

Setting up a portable projector often involves a frustrating battle with "keystone" distortion. When a projector is not perfectly perpendicular to the projection surface, the resulting image appears as a trapezoid rather than a rectangle. While modern projectors offer manual keystone correction buttons, these are often imprecise and tedious to adjust.

The fundamental challenge is that a projector is "blind"—it lacks feedback about the surface it is illuminating. Previous solutions have relied on external cameras or physical markers placed on the wall, which limits portability and ease of use. This work introduces a self-contained solution that requires no external hardware or manual calibration, working effectively even on completely blank walls.

System Architecture

The proposed system treats the projector as the "dual" of a camera, applying standard pinhole camera mathematics to the projection process. The hardware prototype consists of a standard projector augmented with a rigidly attached low-cost camera and a two-axis tilt sensor.

The self-correcting projector prototype featuring an attached camera and tilt sensor.

This configuration creates a "stereo pair" where the camera provides the "eyes" for the projector. The tilt sensors provide a critical frame of reference relative to gravity, allowing the system to determine the world's vertical and horizontal axes—information that vision alone cannot reliably extract from a featureless wall.

Methodology

Projector-Camera Calibration

Since the projector cannot see its environment, it projects a known calibration pattern onto the surface. The attached camera captures this pattern. By analyzing the distortion of this pattern across different plane positions, the system calculates the planar homographies—the mathematical mappings between the projector's coordinate space and the camera's view.

Handling Off-Axis Projection

A unique challenge in projector geometry is "off-axis" projection. Most projectors are designed with an offset lens so they can sit on a flat surface and project upward without the table obstructing the light. This means the principal point of the projection is not centered. The authors adapted Euclidean reconstruction techniques to account for this vertical offset, ensuring mathematical accuracy in the geometric model.

Gravity-Based Alignment and Pre-Warping

While homographies can define a rectangle on a surface, they cannot ensure that the rectangle is "level" with the floor. The system uses the tilt sensors to measure the projector's roll and elevation. This data allows the system to align the projected image with the gravitational vertical.

The process of pre-warping an input image to produce a perfectly rectangular result on the screen.

Once the geometry is fully resolved, the system "pre-warps" the input image using the GPU. By applying an inverse distortion to the source image before it leaves the projector, the physical distortions caused by the off-axis angle are canceled out upon hitting the wall, resulting in a perfect, level rectangle.

Results and Discussion

The system was evaluated using a prototype driven by an ATI Radeon graphics card, which enabled real-time hardware texture mapping for the pre-warping stage. Key findings include:

  • High Accuracy: The system successfully recovered the projector's focal length and orientation with high repeatability.
  • Real-Time Performance: The use of GPU-accelerated pre-warping allowed for smooth video playback without perceptible lag or CPU overhead.
  • Qualitative Success: Even when placed at extreme angles relative to the wall, the system consistently produced images with vertical edges parallel to the room's physical structures.

Conclusion

This research demonstrates that a projector can be made "self-aware" through the integration of simple sensors and robust geometric modeling. By treating the projector as a camera in reverse and utilizing gravity as a stable reference, the system removes the need for manual keystone adjustment. Future work could extend this approach to non-planar surfaces or multi-projector arrays, where several self-correcting units could automatically tile themselves into a single, massive display.

Summary updated

BibTeX
@inproceedings{raskar2001self,
  author = {Ramesh Raskar and Paul A. Beardsley},
  title = {{A Self-Correcting Projector}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2001},
  doi = {10.1109/cvpr.2001.991004},
}
Figure