Stereoscopic parallax barrier displays deploy an image layer with two scrambled views and a barrier layer to multiplex the two views to distinct eye positions.
A special translucent/opaque pattern is shown on the barrier layer, which exposes pixels of one view to one eye but blocks their sight to the other eye and vice versa.
Careful alignment of barrier pattern and scrambled image pattern is required and crucial to avoid crosstalk and aliasing.
Furthermore, computation of the barrier pattern in existing methods often relies on known display geometry.
Imperfections and misalignment caused by the manufacturing process can thus lead to Moiré patterns, crosstalk and other artefacts.
Also, the iterative nature common to these methods induces a growing latency with increasing display resolution.
Therefore, we propose a computer vision based calibration method for static and dynamic parallax barriers.
We relate the barrier layer to the image layer using homographies for arbitrary viewing positions.
Furthermore, we demonstrate how algorithms for camera calibration can be used to derive the required homography for any given eye position.
We provide a method how to use the homographies to compute all barrier positions independently of all others, and thus without the need of any iteration.
This method is then used to compute hardware accelerated the whole barrier pattern on GPU, increasing refresh rate and decreasing latency.
Proof of concept of our method is given in a physical prototype and we conclude our work with a discussion of our results.
To assess quality of our calibration we use the pixel distance between calibrated homography and homography computed by our algorithms as described in Section 6.
Sub-pixel accuracy in display pixel space has been achieved for completely planar barrier and image layer. We have observed an increasing error for slightly bent or non-planar layers as they do not fit the assumption of planar surfaces in our algorithm.
Our implementation is able to run at 120Hz for FullHD on a state of the art desktop graphics card, tested with an opaque parallax barrier display. The 60Hz refresh rate (limited by the projector) in our presented prototype could be achieved without any problems.
The crucial eigendecomposition can be computed in less than a millisecond due to the small and fixed size of the homography. Barrier computation is as fast as rendering at most 1920 quads on GPU for full HD.
Results captured on our prototype are shown in Figure 2. The two bottom images show left and right eye's view with clear color separation. Slight crosstalk is visible at the right border of the screen, coming from the slightly non-planar back-projection screen.