LEAD Video Deinterlace Transform User Interface

The Deinterlace Video transform separates interlaced video and then displays it line by line. Devices like DV Camcorders produce interlaced video.

Use Auto Deinterlace to check a video for interlacing and apply deinterlacing only when necessary.

The transform's property pages are shown in the following figures.

The ROI Settings page provides a user interface for changing Region Of Interest attributes and is shown in the figure below:

Changes are applied directly to the streaming media by clicking Apply or OK, or abandoned by clicking Cancel. Positioning the mouse pointer over a control displays general information about that control.

Deinterlace Settings Page

Deinterlace check box

Control Description
Enable Deinterlace check box Enables or disables deinterlacing. If this box is cleared (Disabled), all controls become disabled and the current values for those controls have no effect.

Deinterlace Group

Control Description
Auto Deinterlace check box Indicates whether to automatically check the video for interlacing. Deinterlacing is performed only when necessary.
Sensitivity edit box Use the Sensitivity edit box to specify when deinterlacing is necessary. Values range between 0.001 and 8.000. The default is 1.000. Values lower than 1.000 increase the chance a frame will be considered interlaced. With low values, deinterlacing  may be performed even when the interlaced effect is on a small portion of the image.
Start with even frame check box Indicates whether to start doubling the frame rate from the first even frame (frame zero). If this box is selected, and the Double frame rate box is selected, the transform will start doubling the frame rate from the first even frame, frame 0.
Merge fields check box Indicates whether to merge the even and odd fields into a single frame.
Start with even lines check box Indicates which line to use first when processing the incoming frame. If selected, the transform starts processing the incoming frame from the first even line, line 0. If the check box is cleared, it starts processing the incoming frame with line 1. Line numbers are relative to the first line of the Region of Interest. If the "top" of the ROI is at line 100, then line 0 for processing is actually line 100 and line 1 for processing is actually line 101.

Global Pattern Group

Control Description
Enable check box Enables or disables global deinterlacing. If selected, a deinterlacing pattern is applied to all frames in the stream, unless a frame is in a segment. If a frame is in a segment, then the frame is deinterlaced according to the segment settings.
Preamble edit box Specifies the number of preamble edit frames in the global pattern. The preamble frames are a group of frames at the beginning of the stream that can be either deinterlaced, or passed untouched, depending on which of the preamble "Deinterlace" and "No Deinterlace" radio buttons is selected.
Deinterlace/No Deinterlace radio buttons Specifies whether to deinterlace the preamble frames.
No Deinterlace edit box Specifies the number of preamble frames that will pass untouched.
Deinterlace edit box Specifies the number of preamble frames following after the "No Deinterlace" frames that will be deinterlaced,

Segments Group

Control Description
Time Format drop-down list box Sets the time format for segments.
Two options are available:
* Time format (HH:MM:SS:mS)
* Frame format (the frame's position with respect to the start of the stream (zero)).
Segments list Lists the segments using the specified time format.
Add Segment / Remove Segment command buttons Click Add Segment to add a new segment to the list. Select a segment and click Remove Segment to remove the segment from the list.
Up and Down command buttons Use the Up and Down buttons to reorder the segments in the list. The transform does not verify a segment's times with respect to its previous and its next segment.
Segment Start Time / Segment Start Frame edit boxes Used to specify the segment start position; either in time or by frames, based on the value selected in the Time Format drop-down list box.

Segment Operation group

Control Description
No Deinterlace radio button Skip the frames in the selected segment (leave them untouched)
Deinterlace radio button Deinterlace all of the frames in the selected segment
Deinterlace Pattern radio button Deinterlace the frames in the selected segment according to the options in the Segment Pattern group.

Segment Pattern group

Control Description
Preamble edit box Specifies the number of preamble edit frames in the segment pattern. The preamble frames are a group of frames at the beginning of the stream that can be either deinterlaced, or passed untouched, depending on which of the preamble Deinterlace and No Deinterlace radio buttons is selected.
Deinterlace/No Deinterlace radio buttons Specifies whether to deinterlace the preamble frames.
No Deinterlace edit box Specifies the number of preamble frames that will pass untouched.
Deinterlace edit box Specifies the number of preamble frames following after the "No Deinterlace" frames that will be deinterlaced,

ROI Settings Page

ROI check box

Control Description
Enable ROI check box Enables or disables a region of interest. If this box is selected, a region of interest is enabled, to which deinterlacing will be applied. All pixels outside the defined ROI are passed untouched.If the Deinterlace box on the Deinterlace Settings Page is cleared, then enabling the ROI has no effect.

ROI Settings group

Control Description
ROI boundaries edit boxes The Left, Right, Top, and Bottom edit boxes define the boundaries of the ROI, in pixels, as follows:Left: From 0 to (Right -1)Right: From (Left + 1) to Video WidthTop: From 0 to (Bottom -1)Bottom: From (Top +1) to Video Height
Enable Protected Area check box Enables or disables the protection of an area. The protected area, defined by its four boundaries, is an area that will be excluded from deinterlacing. The protected area is independent of the ROI, and each area can have any settings within the allowed range.

Protected Area Settings group

Control Description
Protected Area boundaries edit boxes The Left, Right, Top, and Bottom edit boxes define the boundaries of the protected area, in pixels, as follows:Left: From 0 to (Right -1)Right: From (Left + 1) to Video WidthTop: From 0 to (Bottom -1)Bottom: From (Top +1) to Video Height
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Transforms C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.