A rail vehicle comprising an image generation system for capturing a space outside the rail vehicle, wherein: - the image generation system comprises four image generation devices (2, 3, 4, 5); - each of the four image generation devices (2, 3, 4, 5) during an operation of the image generation system generates, or is able to generate, two-dimensional images of the space; - a first and a second of the four image generation devices (2, 3, 4, 5) are disposed at a first distance from one another on the rail vehicle and form a first stereo pair (2, 3), which captures a first shared portion of the space from different viewing angles; - a third and a fourth of the four image generation devices (2, 3, 4, 5) are disposed at a second distance from one another on the rail vehicle and form a second stereo pair (4, 5), which captures a second shared portion of the space from different viewing angles; - the first distance is greater than the second distance; - the first shared portion of the space and the second shared portion of the space have a shared spatial region; and - the image generation system comprises an evaluation device, which is connected to the four image generation devices (2, 3, 4, 5) and, during an operation of the image generation system, receives image data from the four image generation devices (2, 3, 4, 5), the image generation system being adapted to identify that an evaluation of image data of a failed and/or faulty image generation device (2; 5) of the four image generation devices (2, 3, 4, 5) during an operating phase of the image generation system is not possible or flawed, it being possible for the failed and/or faulty image generation device (2; 5) to be any one of the four image generation devices (2, 3, 4, 5), the evaluation device being adapted, during the operating phase, to use the image data, which the evaluation device receives from three other (3, 4, 5; 2, 3, 4) of the four image generation devices (2, 3, 4, 5) that are not the failed and/or faulty image data image generation device (2; 5), as image data that contain a first stereo image pair and a second stereo image pair, the first stereo image pair corresponding to the image data of two of the three other image generation devices (3, 4, 5; 2, 3, 4) which are disposed at a third distance from one another on the rail vehicle, and the second stereo image pair corresponding to the image data of two of the three other image generation devices (2, 3, 4, 5) which are disposed at a fourth distance from one another on the rail vehicle, and the third distance and the fourth distance being different in size. - the image generation system comprises four image generation devices (2, 3, 4, 5); - each of the four image generation devices (2, 3, 4, 5) during an operation of the image generation system generates, or is able to generate, two-dimensional images of the space; - a first and a second of the four image generation devices (2, 3, 4, 5) are disposed at a first distance from one another on the rail vehicle and form a first stereo pair (2, 3), which captures a first shared portion of the space from different viewing angles; - a third and a fourth of the four image generation devices (2, 3, 4, 5) are disposed at a second distance from one another on the rail vehicle and form a second stereo pair (4, 5), which captures a second shared portion of the space from different viewing angles; - the first distance is greater than the second distance; - the first shared portion of the space and the second shared portion of the space have a shared spatial region; and - the image generation system comprises an evaluation device, which is connected to the four image generation devices (2, 3, 4, 5) and, during an operation of the image generation system, receives image data from the four image generation devices (2, 3, 4, 5),