Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

    Note:   Starting in R2016b, instead of using the step method to perform the operation defined by the System object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x) and y = obj(x) perform equivalent operations.

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).

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

stepDeinterlace input video signal
Common to All System Objects
clone

Create System object with same property values

getNumInputs

Expected number of inputs to a System object

getNumOutputs

Expected number of outputs of a System object

isLocked

Check locked states of a System object (logical)

release

Allow System object property value changes

Examples

expand all

Create a deinterlacer object.

hdinterlacer = vision.Deinterlacer;

Read an image with motion artifacts.

I = imread('vipinterlace.png');

Apply the deinterlacer to the image.

clearimage = hdinterlacer(I);

Display the results.

imshow(I);
title('Original Image');
figure, imshow(clearimage);
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.

Extended Capabilities

Introduced in R2012a

Was this topic helpful?