Abstract [en]

The main objective of this master thesis was to construct an automatic method for calibrating a projector to display images on a curved screen without the images looking deformed from a certain intended viewing position. Since the method was thought to be used in a flight simulator, where the intended viewing position has an occluded view of the screen, the method needed to be able to handle these occlusions in some way, and the proposed solution was to use two cameras for the calibration; one in the intended viewing position and one with a more clear sight of the screen.This thesis adds the multi-camera functionality to an existing algorithm for projector calibration using a single camera, which was developed in 2013. This algorithm performs well in calibrating projectors with respect to views that have a clear sight of the screen but lacks the functionality to do a calibration when its single camera cannot capture all parts of the screen from its viewing position.The algorithm developed uses point transfer between camera views to supply the camera in the viewing position with enough information to make a suitable calibration even for the regions of the screen it cannot capture itself.A program has been developed, showing that it is possible to do this projector calibration for situations where up to half of the screen is occluded from the intended viewing position, with a result that is not notably worse than when using the single camera algorithm for similar situations with clear sight of the screen. It might be possible to run the algorithm with less than half the screen visible from the viewing position, but an upper limit of how much of the screen can be occluded with an accepted result has not been found.The algorithm should be usable with any pair of cameras, and any projector, and does not assume that the cameras are stereo calibrated beforehand. However in the testing done in this thesis, camera images with resolution 640x480 have been used, and the displayed projector images have had the resolution 256x192 in the calibration.