Visible to Intel only — GUID: GUID-A9E318DA-13D7-487A-AE21-3DCC6B8C7E39
Visible to Intel only — GUID: GUID-A9E318DA-13D7-487A-AE21-3DCC6B8C7E39
LUT_GetSize
Computes the size of the LUT specification structure.
Syntax
IppStatus ippiLUT_GetSize(IppiInterpolationType interpolation, IppDataType dataType, IppChannels channels, IppiSize roiSize, const int nLevels[], int* pSpecSize);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
interpolation |
Interpolation algorithm, possible values are:
|
||||||
dataType |
Data type of the image. Possible values are ipp8u, ipp16u, ipp16s, or ipp32f. | ||||||
channels |
Number of channels in the image. Possible values are: ippC1, ippC3, ippC4, or ippAC4. | ||||||
roiSize |
Size, in pixels, of the destination ROI. | ||||||
nLevels |
Number of levels, separate for each channel. | ||||||
pSpecSize |
Pointer to the computed size, in bytes, of the specification structure. |
Description
This function computes the size of the specification structure for the ippiLUT function. The result is stored in the pSpecSize parameter.
For an example on how to use this function, refer to the example provided with the ippiLUT function description.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when roiSize has a field with a value less than 1. |
ippStsChannelErr |
Indicates an error when channel has an illegal value. |
ippStsDataTypeErr |
Indicates an error when dataType has an illegal value. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |