Developer Reference for Intel® Integrated Performance Primitives
Computes coordinates of the destination cuboid.
IppStatus ipprGetResizeCuboid(IpprCuboid srcVoi, IpprCuboid* pDstCuboid, double xFactor, double yFactor, double zFactor, double xShift, double yShift, double zShift, int interpolation);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
srcVoi |
Volume of interest of the source volume. |
pDstCuboid |
Pointer to the destination cuboid. |
x-, y-, zFactor |
Factors by which the x, y, z dimensions of the source VOI are changed. |
x-, y-, zShift |
Shift values in the x, y, and z directions respectively. |
interpolation |
Type of interpolation, the following values are possible:
|
This function operates with volume of interest (VOI).
This function computes the coordinates of the resultant cuboid which is obtained if the source volume srcVoi is resized with the specified parameters. The resize operation is not performed.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error when pDstCuboid is NULL. |
ippStsSizeErr |
Indicates an error when width, or height, or depth of the source and destination volumes is less than, or equal to 0. |
ippStsResizeFactorErr |
Indicates an error when one of the xFactor, yFactor, zFactor values is less than, or equal to 0. |
ippStsInterpolationErr |
Indicates an error when interpolation has an illegal value. |