DeinterlaceEdgeDetect

Generates image field using EdgeDetect filter.

Syntax

IppStatus ippiDeinterlaceEdgeDetect_8u_C1R(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, int fieldNum, int bCopyBound);

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.

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 ippiDeinterlaceEdgeDetect_8u_C1R is declared in the ippvc.h file. It operates with ROI (see Regions of Interest in Intel IPP). The input of the function must be the field chosen to process. The filter outputs a field of the same parity as the source field.

Parameter fieldNum shows the field to generate; the other field must be copied by the user. Border lines are copied if the bCopyBorder parameter is enabled.

Processing of the input field is done by the Edge Detect algorithm.

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.