Developer Reference for Intel® Integrated Performance Primitives 2018
Filters a 3D image using a rectangular filter.
IppStatus ipprFilterBorder_8u_C1V_L(const Ipp8u* pSrc, IppSizeL srcPlaneStep, IppSizeL srcStep, Ipp8u* pDst, IppSizeL dstPlaneStep, IppSizeL dstStep, IpprVolumeL dstRoiVolume, IpprBorderType borderType, const Ipp8u borderValue[1], const IpprFilterBorderSpec* pSpec, Ipp8u* pBuffer);
IppStatus ipprFilterBorder_16s_C1V_L(const Ipp16s* pSrc, IppSizeL srcPlaneStep, IppSizeL srcStep, Ipp16s* pDst, IppSizeL dstPlaneStep, IppSizeL dstStep, IpprVolumeL dstRoiVolume, IpprBorderType borderType, const Ipp16s borderValue[1], const IpprFilterBorderSpec* pSpec, Ipp8u* pBuffer);
IppStatus ipprFilterBorder_16u_C1V_L(const Ipp16u* pSrc, IppSizeL srcPlaneStep, IppSizeL srcStep, Ipp16u* pDst, IppSizeL dstPlaneStep, IppSizeL dstStep, IpprVolumeL dstRoiVolume, IpprBorderType borderType, const Ipp16u borderValue[1], const IpprFilterBorderSpec* pSpec, Ipp8u* pBuffer);
IppStatus ipprFilterBorder_32f_C1V_L(const Ipp32f* pSrc, IppSizeL srcPlaneStep, IppSizeL srcStep, Ipp32f* pDst, IppSizeL dstPlaneStep, IppSizeL dstStep, IpprVolumeL dstRoiVolume, IpprBorderType borderType, const Ipp32f borderValue[1], const IpprFilterBorderSpec* pSpec, Ipp8u* pBuffer);
IppStatus ipprFilterBorder_64f_C1V_L(const Ipp64f* pSrc, IppSizeL srcPlaneStep, IppSizeL srcStep, Ipp64f* pDst, IppSizeL dstPlaneStep, IppSizeL dstStep, IpprVolumeL dstRoiVolume, IpprBorderType borderType, const Ipp64f borderValue[1], const IpprFilterBorderSpec* pSpec, Ipp8u* pBuffer);
ippi_l.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pSrc |
Array of pointers to the planes in the source volume. |
||||||
srcStep |
Distance, in bytes, between the starting points of consecutive lines in each plane of the source volume. |
||||||
srcPlaneStep |
Distance, in bytes, between the starting points of consecutive images in every plane of the source volume. |
||||||
pDst |
Array of pointers to the planes in the destination volume. |
||||||
dstStep |
Distance, in bytes, between the starting points of consecutive lines in each plane of the destination volume. |
||||||
dstPlaneStep |
Distance, in bytes, between the starting points of consecutive images in every plane of the source volume. |
||||||
dstRoiVolume |
Volume of the destination ROI in pixels. |
||||||
borderType |
Type of the border. Possible values are:
|
||||||
borderValue |
Constant value to assign to pixels of the constant border. |
||||||
pSpec |
Pointer to the filter specification structure. |
||||||
pBuffer |
Pointer to the work buffer for filtering operations. |
Before using this function, you need to initialize the filter specification structure for 3D image processing using the ipprFilterBorderInit function.
This function operates with VOI. This function performs linear filtering on a source image with the volume. Type of the image border is defined by the value of the border parameter.
ippStsNoErr |
Indicates no error condition. Any other value indicates an error condition. |
ippStsStepErr |
Indicates an error condition if srcPlaneStep, srcStep, dstPlaneStep, or dstStep has a field with negative value. |
ippStsNullPtrErr |
Indicates an error condition if pSrc, pDst or pValue pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if dstRoiVolume has a field with zero or negative value. |
ippStsChannelErr |
Indicates an error condition if numChannels has an illegal value. |