A non-transitory computer-readable medium on which is stored a computer program including commands to compensate for projection errors when outputting images using a smart-glasses system, the commands, when executed by an arithmetic logic unit, causing the arithmetic logic unit to perform the following step:
- producing at least one image;
- transmitting the image produced or an image to be output by the arithmetic logic unit to at least one micro-electromechanical output unit including smart glasses of the system;
- and
- before the image is output by the output unit, executing a correction algorithm to generate, from the produced image, a corrected image to be output, each respective image region of image regions of the corrected image to be output that are to be generated using the correction algorithm being assigned at least one stored position within the produced image via at least one stored transformation function each depending on a position within the corrected image to be output, and at least one image-region parameter being ascertained for the image regions to be generated each depending on the stored position assigned to the respective image region to be generated.