Documentation Center

  • Trial Software
  • Product Updates

vision.Deinterlacer System object

Package: vision

Remove motion artifacts by deinterlacing input video signal

Description

The Deinterlacer object removes motion artifacts by deinterlacing input video signal.

Construction

H = vision.Deinterlacer returns a deinterlacing System object, H, that removes motion artifacts from images composed of weaved top and bottom fields of an interlaced signal.

H = vision.Deinterlacer(Name,Value) returns a deinterlacing System object, H, with each specified property set to the specified value. You can specify additional name-value pair arguments in any order as (Name1, Value1,...,NameN,ValueN).

Code Generation Support
Supports MATLAB® Function block: Yes
System Objects in MATLAB Code Generation.
Code Generation Support, Usage Notes, and Limitations.

Properties

Method

Method used to deinterlace input video

Specify how the object deinterlaces the input video as one of Line repetition | Linear interpolation | Vertical temporal median filtering. The default is Line repetition.

TransposedInput

Indicate if input data is in row-major order

Set this property to true if the input buffer contains data elements from the first row first, then the second row second, and so on.

The default is false.

 Fixed-Point Properties

Methods

cloneCreate deinterlacer object with same property values
getNumInputsNumber of expected inputs to step method
getNumOutputsNumber of outputs from step method
isLockedLocked status for input attributes and nontunable properties
release Allow property value and input characteristics changes
stepDeinterlace input video signal

Examples

Use deinterlacing to remove motion artifacts from an input image:

 hdint = vision.Deinterlacer;
 x = imread('vipinterlace.png');
 y = step(hdint, x);
 imshow(x); title('Original Image');
 figure, imshow(y); title('Image after deinterlacing');

Algorithms

This object implements the algorithm, inputs, and outputs described on the Deinterlacing block reference page. The object properties correspond to the block parameters.

See Also

Was this topic helpful?