Class NPPNativeMethods.NPPi.Remap
Remap chooses source pixels using pixel coordinates explicitely supplied in two 2D device memory image arrays pointed to by the pXMap and pYMap pointers.
The pXMap array contains the X coordinated and the pYMap array contains the Y coordinate of the corresponding source image pixel to use as input. These coordinates are in floating point format so fraction pixel positions can be used. The coordinates of the source pixel to sample are determined as follows:
nSrcX = pxMap[nDstX, nDstY]
nSrcY = pyMap[nDstX, nDstY]
In the Remap functions below source image clip checking is handled as follows:
If the source pixel fractional x and y coordinates are greater than or equal to oSizeROI.x and less than oSizeROI.x + oSizeROI.width and greater than or equal to oSizeROI.y and less than oSizeROI.y + oSizeROI.height then the source pixel is considered to be within the source image clip rectangle and the source image is sampled. Otherwise the source image is not sampled and a destination pixel is not written to the destination image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Remap
Methods
nppiRemap_16s_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 16-bit signed image remap not affecting alpha.
Declaration
public static NppStatus nppiRemap_16s_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16s_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
1 channel 16-bit signed image remap.
Declaration
public static NppStatus nppiRemap_16s_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16s_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
3 channel 16-bit signed image remap.
Declaration
public static NppStatus nppiRemap_16s_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16s_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 16-bit signed image remap.
Declaration
public static NppStatus nppiRemap_16s_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16s_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
3 channel 16-bit signed planar image remap.
Declaration
public static NppStatus nppiRemap_16s_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16s_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
4 channel 16-bit signed planar image remap.
Declaration
public static NppStatus nppiRemap_16s_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 16-bit unsigned image remap not affecting alpha.
Declaration
public static NppStatus nppiRemap_16u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
1 channel 16-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_16u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
3 channel 16-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_16u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 16-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_16u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
3 channel 16-bit unsigned planar image remap.
Declaration
public static NppStatus nppiRemap_16u_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_16u_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
4 channel 16-bit unsigned planar image remap.
Declaration
public static NppStatus nppiRemap_16u_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 32-bit floating point image remap not affecting alpha.
Declaration
public static NppStatus nppiRemap_32f_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
1 channel 32-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_32f_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
3 channel 32-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_32f_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 32-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_32f_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
3 channel 32-bit floating point planar image remap.
Declaration
public static NppStatus nppiRemap_32f_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_32f_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
4 channel 32-bit floating point planar image remap.
Declaration
public static NppStatus nppiRemap_32f_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 64-bit floating point image remap not affecting alpha.
Declaration
public static NppStatus nppiRemap_64f_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
1 channel 64-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_64f_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
3 channel 64-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_64f_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 64-bit floating point image remap.
Declaration
public static NppStatus nppiRemap_64f_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
3 channel 64-bit floating point planar image remap.
Declaration
public static NppStatus nppiRemap_64f_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_64f_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
4 channel 64-bit floating point planar image remap.
Declaration
public static NppStatus nppiRemap_64f_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_AC4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 8-bit unsigned image remap not affecting alpha.
Declaration
public static NppStatus nppiRemap_8u_AC4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of interpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_C1R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
1 channel 8-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_8u_C1R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_C3R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
3 channel 8-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_8u_C3R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_C4R(CUdeviceptr, NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, InterpolationMode)
4 channel 8-bit unsigned image remap.
Declaration
public static NppStatus nppiRemap_8u_C4R(CUdeviceptr pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, 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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_P3R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
3 channel 8-bit unsigned planar image remap.
Declaration
public static NppStatus nppiRemap_8u_P3R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |
nppiRemap_8u_P4R(CUdeviceptr[], NppiSize, Int32, NppiRect, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr[], Int32, NppiSize, InterpolationMode)
4 channel 8-bit unsigned planar image remap.
Declaration
public static NppStatus nppiRemap_8u_P4R(CUdeviceptr[] pSrc, NppiSize oSrcSize, int nSrcStep, NppiRect oSrcROI, CUdeviceptr pXMap, int nXMapStep, CUdeviceptr pYMap, int nYMapStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oDstSizeROI, InterpolationMode eInterpolation)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | \ref source_planar_image_pointer_array. |
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 | pXMap | Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. |
System.Int32 | nXMapStep | pXMap image array line step in bytes. |
CUdeviceptr | pYMap | Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. |
System.Int32 | nYMapStep | pYMap image array line step in bytes. |
CUdeviceptr[] | pDst | \ref destination_planar_image_pointer_array. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oDstSizeROI | Region of interest size in the destination image. |
InterpolationMode | eInterpolation | The type of eInterpolation to perform resampling. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, \ref remap_error_codes |