1. A method of compensating for turbulence in an atmosphere when recording film sequences with image-recording devices wherein a frame for an image that is being currently recorded being compared at pixel level with a number of frames recorded earlier, the method comprising: comparing each pixel value I(x,y) in a current frame is compared with pixel values (I(x,y±n) in earlier frames, where |n| assumes one or more of the values 0, 1 or 2; adjusting a matrix M upward by one unit at positions (x,y) where a new value is encountered at the positions (x,y); retaining values adjusted upwards in the matrix for a limited number of frame comparisons; drawing a summing window over the matrix and deeming movement to have occurred in areas where a sum from the summing window exceeds a limit value; and creating a compensated frame in that all pixel values in areas where the summing window exceeds the limit value are derived from the current frame, while deriving other values through a temporal median filtering of a number of earlier frames recorded.