Calculates the size of the external buffer for the affine transform.
IppStatus ipprWarpAffineGetBufSize(IpprCuboid srcVoi, IpprCuboid dstVoi, int nChannel, int interpolation, int* pBufferSize);
srcVoi |
Volume of interest of the source volume. |
dstVoi |
Volume of interest of the destination volume. |
nChannel |
Number of channel or planes, possible value is 1. |
interpolation |
Type of interpolation, the following values are possible: IPPI_INTER_NN - nearest neighbor interpolation, IPPI_INTER_LINEAR - trilinear interpolation, IPPI_INTER_CUBIC - tricubic interpolation, IPPI_INTER_CUBIC2P_BSPLINE - B-spline, IPPI_INTER_CUBIC2P_CATMULLROM - Catmull-Rom spline, IPPI_INTER_CUBIC2P_B05C03 - special two-parameters filter (1/2, 3/10). |
pBufferSize |
Pointer to the size of the external buffer. |
The function ipprWarpAffineGetBufSize is declared in the ippr.h file.
This function calculates the size (in bytes) of the external buffer that is required for the function ipprWarpAffine ipprWarpAffine. (In some cases the function returns zero size of the buffer).
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error if othe pBufferSize pointer is NULL. |
ippStsSizeErr |
Indicates an error if width, or height, or depth of the srcVoi or dstVoi is less than or equal to 0. |
ippStsNumChannelErr |
Indicates an error condition if nChannel has an illegal value. |
ippStsInterpolationErr |
Indicates an error condition if interpolation has an illegal value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.