DeinterlaceMedianThreshold

Performs median deinterlacing with threshold.

Syntax

IppStatus ippiDeinterlaceMedianThreshold_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, int threshold, int fieldNum, int bCopyBorder);

Parameters

pSrc

Pointer to the source image ROI.

srcStep

Distance in bytes between starts of consecutive lines in the source image.

pDst

Pointer to the destination image ROI.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

roiSize

Size of the source and destination image ROI.

threshold

Threshold level value.

fieldNum

Specifies field to process. 0 means the top field, 1 means the bottom field.

bCopyBorder

Controls how to process the border. If its value is not equal to 0, the border line is copied to the destination image, otherwise the border line is processed like internal lines.

Description

The function ippiDeinterlaceMedianThreshold_8u_C1R is declared in the ippvc.h file. It operates with ROI (see Regions of Interest in Intel IPP). This function sets each pixel in the output buffer in the following way:

The size of the source image ROI is equal to the size roiSize of the destination image ROI.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

ippStsSizeErr

Indicates an error condition if roiSize has a field with zero or negative value.


Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.