Class NPPNativeMethods.NPPi.GeometricTransforms
Routines manipulating an image's geometry.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class GeometricTransforms
Methods
nppiGetResizeTiledSourceOffset(NppiRect, NppiRect, ref NppiPoint)
Helper function that can be used when tiling a destination image with a source image using multiple Resize calls.
oSrcRectROI and oDstRectROI widths and heights should remain unmodified even if they will overlap source and destination image sizes.oDstRectROI offsets should be set to the destination offset of the new tile.
Resize function processing will stop when source or destination image sizes are reached, any unavailable source image pixels beyond source image size will be border replicated.There is no particular association assumed between source and destination image locations.
The values of oSrcRectROI.x and oSrcRectROI.y are ignored during this function call.
Declaration
public static NppStatus nppiGetResizeTiledSourceOffset(NppiRect oSrcRectROI, NppiRect oDstRectROI, ref NppiPoint pNewSrcRectOffset)
Parameters
Type | Name | Description |
---|---|---|
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
NppiPoint | pNewSrcRectOffset | Pointer to host memory NppiPoint object that will contain the new source image ROI offset to be used in the nppiResize call to generate that tile. |
Returns
Type | Description |
---|---|
NppStatus |
nppiGetRotateBound(NppiRect, Double[,], Double, Double, Double)
Compute bounding-box of rotated image.
Declaration
public static NppStatus nppiGetRotateBound(NppiRect oSrcROI, double[, ] aBoundingBox, double nAngle, double nShiftX, double nShiftY)
Parameters
Type | Name | Description |
---|---|---|
NppiRect | oSrcROI | Region-of-interest of the source image. |
System.Double[,] | aBoundingBox | Two 2D points representing the bounding-box of the rotated image. All four points |
System.Double | nAngle | The rotation angle. |
System.Double | nShiftX | Post-rotation shift in x-direction. |
System.Double | nShiftY | Post-rotation shift in y-direction. |
Returns
Type | Description |
---|---|
NppStatus |
nppiGetRotateQuad(NppiRect, Double[,], Double, Double, Double)
Compute shape of rotated image.
Declaration
public static NppStatus nppiGetRotateQuad(NppiRect oSrcROI, double[, ] aQuad, double nAngle, double nShiftX, double nShiftY)
Parameters
Type | Name | Description |
---|---|---|
NppiRect | oSrcROI | Region-of-interest of the source image. |
System.Double[,] | aQuad | Array of 2D points. These points are the locations of the corners |
System.Double | nAngle | The rotation nAngle. |
System.Double | nShiftX | Post-rotation shift in x-direction |
System.Double | nShiftY | Post-rotation shift in y-direction |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirror_16s_AC4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit signed in place image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit signed image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C1IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 16-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 16-bit signed image mirror.
Declaration
public static NppStatus nppiMirror_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C3IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 16-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 16-bit signed image mirror.
Declaration
public static NppStatus nppiMirror_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_16s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit signed image mirror.
Declaration
public static NppStatus nppiMirror_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16u_AC4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit unsigned in place image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit unsigned image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_16u_C1IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 16-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
16-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_16u_C3IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 16-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 16-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_16u_C4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_16u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 16-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32f_AC4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit float in place image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit float image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32f_C1IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 32-bit float in place image mirror.
Declaration
public static NppStatus nppiMirror_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
32-bit float image mirror.
Declaration
public static NppStatus nppiMirror_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32f_C3IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 32-bit float in place image mirror.
Declaration
public static NppStatus nppiMirror_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 32-bit float image mirror.
Declaration
public static NppStatus nppiMirror_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32f_C4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit float in place image mirror.
Declaration
public static NppStatus nppiMirror_32f_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit float image mirror.
Declaration
public static NppStatus nppiMirror_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32s_AC4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit signed in place image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_32s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32s_C1IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 32-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_32s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
32-bit image mirror.
Declaration
public static NppStatus nppiMirror_32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32s_C3IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 32-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_32s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 32-bit image mirror.
Declaration
public static NppStatus nppiMirror_32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_32s_C4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit signed in place image mirror.
Declaration
public static NppStatus nppiMirror_32s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 32-bit image mirror.
Declaration
public static NppStatus nppiMirror_32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_8u_AC4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 8-bit unsigned in place image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 8-bit unsigned image mirror not affecting alpha.
Declaration
public static NppStatus nppiMirror_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_8u_C1IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
1 channel 8-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
8-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_8u_C3IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 8-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
3 channel 8-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirror_8u_C4IR(CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 8-bit unsigned in place image mirror.
Declaration
public static NppStatus nppiMirror_8u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref mirror_error_codes |
nppiMirror_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAxis)
4 channel 8-bit unsigned image mirror.
Declaration
public static NppStatus nppiMirror_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, NppiAxis flip)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Distance in bytes between starts of consecutive lines of the |
NppiSize | oROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the image is to be mirrored. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - #NPP_MIRROR_FLIP_ERR if flip has an illegal value. |
nppiMirrorBatch_32f_AC4IR(NppiSize, NppiAxis, CUdeviceptr, Int32)
4 channel 32-bit float in place image mirror batch not affecting alpha.
Declaration
public static NppStatus nppiMirrorBatch_32f_AC4IR(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_AC4R(NppiSize, NppiAxis, CUdeviceptr, Int32)
4 channel 32-bit float image mirror batch not affecting alpha.
Declaration
public static NppStatus nppiMirrorBatch_32f_AC4R(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C1IR(NppiSize, NppiAxis, CUdeviceptr, Int32)
1 channel 32-bit float in place image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C1IR(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C1R(NppiSize, NppiAxis, CUdeviceptr, Int32)
1 channel 32-bit float image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C1R(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C3IR(NppiSize, NppiAxis, CUdeviceptr, Int32)
3 channel 32-bit float in place image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C3IR(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C3R(NppiSize, NppiAxis, CUdeviceptr, Int32)
3 channel 32-bit float image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C3R(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C4IR(NppiSize, NppiAxis, CUdeviceptr, Int32)
4 channel 32-bit float in place image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C4IR(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiMirrorBatch_32f_C4R(NppiSize, NppiAxis, CUdeviceptr, Int32)
4 channel 32-bit float image mirror batch.
Declaration
public static NppStatus nppiMirrorBatch_32f_C4R(NppiSize oSizeROI, NppiAxis flip, CUdeviceptr pBatchList, int nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAxis | flip | Specifies the axis about which the images are to be mirrored. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures. |
System.Int32 | nBatchSize | Number of NppiMirrorBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_AC4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit signed image resize not affecting alpha.
Declaration
public static NppStatus nppiResize_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
1 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResize_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_C3R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResize_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_C4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResize_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_P3R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 16-bit signed planar image resize.
Declaration
public static NppStatus nppiResize_16s_P3R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16s_P4R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit signed planar image resize.
Declaration
public static NppStatus nppiResize_16s_P4R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_AC4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit unsigned image resize not affecting alpha.
Declaration
public static NppStatus nppiResize_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
1 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_C3R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_C4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_P3R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 16-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResize_16u_P3R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_16u_P4R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 16-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResize_16u_P4R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_AC4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 32-bit floating point image resize not affecting alpha.
Declaration
public static NppStatus nppiResize_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
1 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResize_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResize_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResize_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_P3R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 32-bit floating point planar image resize.
Declaration
public static NppStatus nppiResize_32f_P3R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_32f_P4R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 32-bit floating point planar image resize.
Declaration
public static NppStatus nppiResize_32f_P4R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_AC4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 8-bit unsigned image resize not affecting alpha.
Declaration
public static NppStatus nppiResize_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
1 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiRect, CUdeviceptr, Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResize_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer to origin of source image. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr | pDst | Destination-Image Pointer to origin of destination image. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_P3R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
3 channel 8-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResize_8u_P3R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResize_8u_P4R(CUdeviceptr[], Int32, NppiSize, NppiRect, CUdeviceptr[], Int32, NppiSize, NppiRect, InterpolationMode)
4 channel 8-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResize_8u_P4R(CUdeviceptr[] pSrc, int nSrcStep, NppiSize oSrcSize, NppiRect oSrcRectROI, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Size in pixels of the entire source image. |
NppiRect | oSrcRectROI | Region of interest in the source image (may overlap source image size width and height). |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane origin pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSize | Size in pixels of the entire destination image. |
NppiRect | oDstRectROI | Region of interest in the destination image (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus |
nppiResizeBatch_32f_AC4R(NppiSize, NppiRect, NppiSize, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
4 channel 32-bit floating point image resize batch not affecting alpha.
Declaration
public static NppStatus nppiResizeBatch_32f_AC4R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images (may overlap source image size width and height). |
NppiSize | oSmallestDstSize | Size in pixels of the entire smallest destination image width and height, may be from different images. |
NppiRect | oDstRectROI | Region of interest in the destination images (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiResizeBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiResizeBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiResizeBatch_32f_C1R(NppiSize, NppiRect, NppiSize, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
1 channel 32-bit floating point image resize batch.
Declaration
public static NppStatus nppiResizeBatch_32f_C1R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images (may overlap source image size width and height). |
NppiSize | oSmallestDstSize | Size in pixels of the entire smallest destination image width and height, may be from different images. |
NppiRect | oDstRectROI | Region of interest in the destination images (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiResizeBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiResizeBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiResizeBatch_32f_C3R(NppiSize, NppiRect, NppiSize, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
3 channel 32-bit floating point image resize batch.
Declaration
public static NppStatus nppiResizeBatch_32f_C3R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images (may overlap source image size width and height). |
NppiSize | oSmallestDstSize | Size in pixels of the entire smallest destination image width and height, may be from different images. |
NppiRect | oDstRectROI | Region of interest in the destination images (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiResizeBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiResizeBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiResizeBatch_32f_C4R(NppiSize, NppiRect, NppiSize, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
4 channel 32-bit floating point image resize batch.
Declaration
public static NppStatus nppiResizeBatch_32f_C4R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images (may overlap source image size width and height). |
NppiSize | oSmallestDstSize | Size in pixels of the entire smallest destination image width and height, may be from different images. |
NppiRect | oDstRectROI | Region of interest in the destination images (may overlap destination image size width and height). |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiResizeBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiResizeBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiRotate_16u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 16-bit unsigned image rotate ignoring alpha channel.
Declaration
public static NppStatus nppiRotate_16u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_16u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
16-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_16u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_16u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
3 channel 16-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_16u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_16u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 16-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_16u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_32f_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 32-bit float image rotate ignoring alpha channel.
Declaration
public static NppStatus nppiRotate_32f_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_32f_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
32-bit float image rotate.
Declaration
public static NppStatus nppiRotate_32f_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_32f_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
3 channel 32-bit float image rotate.
Declaration
public static NppStatus nppiRotate_32f_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_32f_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 32-bit float image rotate.
Declaration
public static NppStatus nppiRotate_32f_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_8u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 8-bit unsigned image rotate ignoring alpha channel.
Declaration
public static NppStatus nppiRotate_8u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_8u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
8-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_8u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiRotate_8u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
3 channel 8-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_8u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiRotate_8u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, InterpolationMode)
4 channel 8-bit unsigned image rotate.
Declaration
public static NppStatus nppiRotate_8u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
NppiSize | oSrcSize | Size in pixels of the source image |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiRect | oSrcROI | Region of interest in the source image. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nAngle | The angle of rotation in degrees. |
System.Double | nShiftX | Shift along horizontal axis |
System.Double | nShiftY | Shift along vertical axis |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref rotate_error_codes |
nppiWarpAffineBatch_32f_AC4R(NppiSize, NppiRect, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
4 channel 32-bit floating point image warp affine batch not affecting alpha.
Declaration
public static NppStatus nppiWarpAffineBatch_32f_AC4R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images. |
NppiRect | oDstRectROI | Region of interest in the destination images. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, or NPPI_INTER_CUBIC. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiWarpAffineBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiWarpAffineBatch_32f_C1R(NppiSize, NppiRect, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
1 channel 32-bit floating point image warp affine batch.
Declaration
public static NppStatus nppiWarpAffineBatch_32f_C1R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images. |
NppiRect | oDstRectROI | Region of interest in the destination images. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, or NPPI_INTER_CUBIC. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiWarpAffineBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiWarpAffineBatch_32f_C3R(NppiSize, NppiRect, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
3 channel 32-bit floating point image warp affine batch.
Declaration
public static NppStatus nppiWarpAffineBatch_32f_C3R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images. |
NppiRect | oDstRectROI | Region of interest in the destination images. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, or NPPI_INTER_CUBIC. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiWarpAffineBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiWarpAffineBatch_32f_C4R(NppiSize, NppiRect, NppiRect, InterpolationMode, CUdeviceptr, UInt32)
4 channel 32-bit floating point image warp affine batch.
Declaration
public static NppStatus nppiWarpAffineBatch_32f_C4R(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiRect oDstRectROI, InterpolationMode eInterpolation, CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSmallestSrcSize | Size in pixels of the entire smallest source image width and height, may be from different images. |
NppiRect | oSrcRectROI | Region of interest in the source images. |
NppiRect | oDstRectROI | Region of interest in the destination images. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, or NPPI_INTER_CUBIC. |
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiWarpAffineBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |
nppiWarpAffineBatchInit(CUdeviceptr, UInt32)
Initializes the aTransformdedCoeffs array in pBatchList for each image in the list. MUST be called before calling the corresponding warp affine batch function whenever any of the transformation matrices in the list have changed.
Declaration
public static NppStatus nppiWarpAffineBatchInit(CUdeviceptr pBatchList, uint nBatchSize)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pBatchList | Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures. |
System.UInt32 | nBatchSize | Number of NppiWarpAffineBatchCXR structures in this call (must be > 1). |
Returns
Type | Description |
---|---|
NppStatus |