Visible to Intel only — GUID: GUID-A141FE83-060D-43C6-898D-F98D615456E9
Visible to Intel only — GUID: GUID-A141FE83-060D-43C6-898D-F98D615456E9
GetResizeCuboid
Computes coordinates of the destination cuboid.
Syntax
IppStatus ipprGetResizeCuboid(IpprCuboid srcVoi, IpprCuboid* pDstCuboid, double xFactor, double yFactor, double zFactor, double xShift, double yShift, double zShift, int interpolation);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
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:
|
Description
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.
Return Values
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. |