A system for correcting optic distortions comprises, - at least one imaging unit which acquires image data from an area that is wanted to be monitored, - at least one control unit which enables the images acquired by the imaging unit to be processed in order to compensate for the optical distortion caused by optics used for viewing images, and which comprises at least one coordinate calculator which calculates to which coordinate in the target image a pixel on a coordinate of the source image should go, at least one video input which receives the image to be pre-distorted from the imaging unit, at least one pre-distortion video output which enables feeding of the pre- distorted image to the optics, at least one internal memory unit located in pre-distortion output which stores the lines to be processed, - at least one external memory unit which enables storing data regarding the image being processed and which comprises at least one coordinate buffer that stores a coordinate map that shows to which coordinate in the target image a pixel on a coordinate of the source image should go, and at least one video buffer that stores the parts of the incoming video that is going to be processed, - wherein the control unit is adapted to: • read the calculated coordinate values of the pre-distorted image line from the coordinate buffer, • calculate the minimum and the maximum number of lines required to generate the pre-distorted image line, • if the internal memory unit does not contain the necessary lines, then read the necessary lines from the external memory unit, • store the read lines in the internal memory unit, checking the line content of the internal memory unit using the maximum and minimum line requirement, • delete the lines that are not required from the internal memory unit, • read the image pixels of the acquired image from the internal memory unit, and • calculate the pre-distorted image pixel values by using the read image pixels of the acquired image, - at least one displaying means which enables the user to view the image processed by the control unit, via the optics used for viewing images. - at least one imaging unit which acquires image data from an area that is wanted to be monitored, - at least one control unit which enables the images acquired by the imaging unit to be processed in order to compensate for the optical distortion caused by optics used for viewing images, and which comprises at least one coordinate calculator which calculates to which coordinate in the target image a pixel on a coordinate of the source image should go, at least one video input which receives the image to be pre-distorted from the imaging unit, at least one pre-distortion video output which enables feeding of the pre- distorted image to the optics, at least one internal memory unit located in pre-distortion output which stores the lines to be processed, - at least one external memory unit which enables storing data regarding the image being processed and which comprises at least one coordinate buffer that stores a coordinate map that shows to which coordinate in the target image a pixel on a coordinate of the source image should go, and at least one video buffer that stores the parts of the incoming video that is going to be processed, - wherein the control unit is adapted to: • read the calculated coordinate values of the pre-distorted image line from the coordinate buffer, • calculate the minimum and the maximum number of lines required to generate the pre-distorted image line, • if the internal memory unit does not contain the necessary lines, then read the necessary lines from the external memory unit, • store the read lines in the internal memory unit, checking the line content of the internal memory unit using the maximum and minimum line requirement, • delete the lines that are not required from the internal memory unit, • read the image pixels of the acquired image from the internal memory unit, and • calculate the pre-distorted image pixel values by using the read image pixels of the acquired image, • read the calculated coordinate values of the pre-distorted image line from the coordinate buffer, • calculate the minimum and the maximum number of lines required to generate the pre-distorted image line, • if the internal memory unit does not contain the necessary lines, then read the necessary lines from the external memory unit, • store the read lines in the internal memory unit, checking the line content of the internal memory unit using the maximum and minimum line requirement, • delete the lines that are not required from the internal memory unit, • read the image pixels of the acquired image from the internal memory unit, and • calculate the pre-distorted image pixel values by using the read image pixels of the acquired image, - at least one displaying means which enables the user to view the image processed by the control unit, via the optics used for viewing images.