Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

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:
  • 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).
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804