Developer Reference

  • 2020
  • 10/21/2020
  • Public Content
Contents

FilterSobelCrossGetBufferSize

Computes the size of the external buffer for the cross Sobel filter with border.

Syntax

IppStatus ippiFilterSobelCrossGetBufferSize_<mod>(IppiSize
roiSize
, IppiMaskSize
mask
, int*
pBufferSize
);
Supported values for
mod
:
8u16s_C1R
32f_C1R
Include Files
ippcv.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
,
ippi.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
,
ippi.lib
Parameters
roiSize
Maximum size of the source and destination image ROI.
mask
Predefined mask of
IppiMaskSize
type.
pBufferSize
Pointer to the buffer size.
Description
This function computes the size of the external buffer that is required for the filter function
ippiFilterSobelCrossBorder
. The kernel of the filter is the matrix of either 3x3 or 5x5 size that is specified by the parameter
mask
(see Table
“Types of the Fixed Filter Functions”
). 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 the
pBufferSize
pointer is
NULL
.
ippStsSizeErr
Indicates an error condition if
roiSize
has a field with a zero or negative value.
ippStsMaskSizeErr
Indicates an error condition if
mask
has a wrong value.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804