Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
FilterMedianGetSize
Computes the size of the filter specification structure and the size of the work buffer for 3D image processing with a median filter.
Syntax
IppStatus ipprFilterMedianGetSize(IpprVolume maskVolume, IpprVolume dstRoiVolume, IppDataType dataType, int numChannels, int* pSpecSize, int* pBufferSize);
Threading Layer (TL) function
IppStatus ipprFilterMedianGetSize_T(IpprVolume maskVolume, IpprVolume dstRoiVolume, IppDataType dataType, int numChannels, int* pSpecSize, int* pBufferSize);
Include Files
ippi.h
ippi_tl.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
maskVolume |
Size of the mask volume. |
dstRoiVolume |
Maximal size of the destination image ROI (in pixels). |
dataType |
Data type of the source image. Possible values are ipp8u, ipp16u, ipp16s, ipp32f, and ipp64f. |
numChannels |
Number of channels in the image. Possible value is 1. |
pSpecSize |
Pointer to the size of the filter specification structure. |
pBufferSize |
Pointer to the size of the work buffer required for filtering. |
Description
This function operates with VOI. This function computes the size of the filter specification structure pSpec and the size of the buffer required for 3D image filtering operations with a median filter. Call this function before using the ipprFilterMedianInit function.
Return Values
ippStsNoErr |
Indicates no error condition. Any other value indicates an error condition. |
ippStsNullPtrErr |
Indicates an error condition if the pSpecSize or pBufferSize pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if dstRoiVolume or maskVolume has a field with zero or negative value. |
ippStsChannelErr |
Indicates an error condition if numChannels has an illegal value. |
ippStsDataTypeErr |
Indicates an error condition if dataType has an illegal value. |