Deinterlace

The Deinterlace command is intended for use on images captured from an interlaced video camera. It separates the image into two frames, one consisting of the even-numbered rows and the other of the odd-numbered ones. The rows that were omitted from each image (that is, odd-numbered rows from the even image, and even-numbered rows from the odd one) are replaced by interpolating vertically from the adjoining rows. In cases where the first or last line has to be replaced, the second or second last line is simply replicated.

On completion of the command, the original image window contains the even frame, and a new image window is created to contain the odd frame. Normally the titles of both windows are set to the original image name with the words "Even" and "Odd" suffixed. If, however, the image name already contains "Even" or "Odd", the original is left unchanged and the new window is simply called "Copy of ...".