FilterScharrVertGetBufferSize

Computes the size of the external buffer for the vertical Scharr filter with border.

Syntax

IppStatus ippiFilterScharrVertGetBufferSize__<mod>(IppiSize roiSize, int* pBufferSize);

Supported values for mod:

8u8s_C1R 8u16s_C1R 32f_C1R

Parameters

roiSize

Maximum size of the source and destination image ROI.

pBufferSize

Pointer to the buffer size.

Description

The function ippiFilterScharrVertGetBufferSize is declared in the ippcv.h file. This function computes the size of the external buffer that is required for the function ippiFilterScharrVertBorder. This buffer pBufferSize[0] can be used to filter an image whose width and height are equal to or less than corresponding fields of roiSize.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error condition if pBufferSize is NULL.

ippStsSizeErr

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

Submit feedback on this help topic

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