Class NPPNativeMethods.NPPi.ResizeSqrPixel
Resizes images.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class ResizeSqrPixel
Methods
nppiResizeAdvancedGetBufferHostSize_8u_C1R(NppiSize, NppiSize, ref Int32, InterpolationMode)
Buffer size for nppiResizeSqrPixel_8u_C1R_Advanced.
Declaration
public static NppStatus nppiResizeAdvancedGetBufferHostSize_8u_C1R(NppiSize oSrcROI, NppiSize oDstROI, ref int hpBufferSize, InterpolationMode eInterpolationMode)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSrcROI | Region-of-Interest (ROI). |
NppiSize | oDstROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a host pointer. |
InterpolationMode | eInterpolationMode | The type of eInterpolation to perform resampling. Currently only supports NPPI_INTER_LANCZOS3_Advanced. |
Returns
Type | Description |
---|---|
NppStatus | NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError. |
nppiResizeSqrPixel_16s_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit signed image resize not affecting alpha.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16s_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
1 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16s_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16s_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit signed image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16s_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 16-bit signed planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16s_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit signed planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16s_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit unsigned image resize not affecting alpha.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
1 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 16-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_16u_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 16-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_16u_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 32-bit floating point image resize not affecting alpha.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
1 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 32-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 32-bit floating point planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_32f_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 32-bit floating point planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_32f_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 64-bit floating point image resize not affecting alpha.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
1 channel 64-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 64-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 64-bit floating point image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 64-bit floating point planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_64f_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 64-bit floating point planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_64f_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 8-bit unsigned image resize not affecting alpha.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
1 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_C1R_Advanced(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, CUdeviceptr, InterpolationMode)
1 channel 8-bit unsigned image resize. This primitive matches the behavior of GraphicsMagick++.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_C1R_Advanced(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, CUdeviceptr pBuffer, InterpolationMode eInterpolationMode)
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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
CUdeviceptr | pBuffer | Device buffer that is used during calculations. |
InterpolationMode | eInterpolationMode | The type of eInterpolation to perform resampling. Currently only supports NPPI_INTER_LANCZOS3_Advanced. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiResizeSqrPixel_8u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 8-bit unsigned image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, 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 | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
3 channel 8-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |
nppiResizeSqrPixel_8u_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr[], Int32, NppiRect, Double, Double, Double, Double, InterpolationMode)
4 channel 8-bit unsigned planar image resize.
Declaration
public static NppStatus nppiResizeSqrPixel_8u_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr[] pDst, int nDstStep, NppiRect oDstROI, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
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 | \ref destination_planar_image_pointer_array (host memory array containing device memory image plane pointers). |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiRect | oDstROI | Region of interest in the destination image. |
System.Double | nXFactor | Factor by which x dimension is changed. |
System.Double | nYFactor | Factor by which y dimension is changed. |
System.Double | nXShift | Source pixel shift in x-direction. |
System.Double | nYShift | Source pixel shift in y-direction. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref resize_error_codes |