1. A method for generating SR images ( 11 ) having improved image resolution, comprising: recording a sequence of individual images ( 6 , 7 , 8 ) comprised of pixels ( 9 , 10 ) in a non-visible spectral range and combining the individual images ( 6 , 7 , 8 ) in an optimization method to form an SR image ( 11 ) such that the individual images ( 6 , 7 , 8 ) of the sequence are modeled as samples of the SR image ( 11 ) by sampling functions, wherein an energy function is optimized in the optimization method, the energy function rates a deviation of the individual images ( 6 , 7 , 8 ) from the SR image ( 11 ) imaged by a mathematical model describing imaging properties of a measuring device ( 1 ) used for recording the individual images ( 6 , 7 , 8 ), the optimization comprises in a first step, calculating an optical flow with respect to the individual images ( 6 , 7 , 8 ) of the sequence automatically and assigning a displacement vector field ( 11 , 12 ) describing the optical flow to one of the individual images ( 6 , 7 , 8 ), in a second step, segmenting the individual images ( 6 , 7 ) into at least two segments ( 20 , 21 , 22 , 23 , 24 , 25 ), wherein the pixels ( 9 , 10 ) within one of the segments ( 20 , 21 , 22 , 23 , 24 , 25 ) in each case have a displacement vector ( 14 , 15 , 16 , 17 , 18 , 19 ) in a predefined sub-range of a value range of the displacement vector field ( 11 , 12 ), and in a third step, performing the optimization method, wherein in each case at least one separate variation parameter is varied for the segments ( 20 , 21 , 22 , 23 , 24 , 25 ), a subdivision of the SR image ( 11 ) into SR segments ( 35 , 36 , 37 ) is derived in each case from the subdivisions of the individual images ( 6 , 7 , 8 ) into the segments ( 20 , 21 , 22 , 23 , 24 , 25 ), and the sampling function or point spread function ( 38 , 39 , 40 , 41 , 42 , 43 , 44 ) assigned to one of the segments ( 20 , 21 , 22 , 23 , 24 , 25 ) of an individual one of the images ( 6 , 7 , 8 ) is applied to one of the SR segments ( 20 , 21 , 22 , 23 , 24 , 25 ) of the SR image ( 35 , 36 , 37 ) derived from the segment.