Visible to Intel only — GUID: GUID-5DB386A1-43E3-4EFB-92B2-49D9BA3F52C4
Visible to Intel only — GUID: GUID-5DB386A1-43E3-4EFB-92B2-49D9BA3F52C4
MarkSpecklesGetBufferSize
Computes the size of the external work buffer for speckle marking.
Syntax
IppStatus ippiMarkSpecklesGetBufferSize(IppiSize roiSize, IppDataType dataType, int numChannels, int* pBufferSize);
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 |
Size of the source and destination image ROI in pixels. |
dataType |
Data type of the source and destination image. |
numChannels |
Number of channels in the image. Possible value is 1. |
pBufferSize |
Pointer to the computed size (in bytes) of the external work buffer. |
Description
This function computes the size of the external work buffer for the MarkSpeckles function.
For an example on how to use this function, refer to the example provided with the MarkSpeckles function description.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error. |
ippStsNullPtrErr |
Indicates an error when pBufferSize is NULL. |
ippStsSizeErr |
Indicates an error when roiSize has a field with a zero or negative value. |
ippStsDataTypeErr |
Indicates an error when dataType has an illegal value. |
ippStsNumChannelErr |
Indicates an error when numChannels has an illegal value. |