Class NPPNativeMethods.NPPi.Transpose
Methods for transposing images of various types. Like matrix transpose, image transpose is a mirror along the image's diagonal (upper-left to lower-right corner).
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Transpose
Methods
nppiTranspose_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 16-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 16-bit unsigned int image transpose.
Declaration
public static NppStatus nppiTranspose_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 16-bit unsigned int image transpose.
Declaration
public static NppStatus nppiTranspose_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 16-bit unsigned int image transpose.
Declaration
public static NppStatus nppiTranspose_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit floating point image transpose.
Declaration
public static NppStatus nppiTranspose_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 32-bit floating point image transpose.
Declaration
public static NppStatus nppiTranspose_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 32-bit floating point image transpose.
Declaration
public static NppStatus nppiTranspose_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
1 channel 32-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 32-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 32-bit signed int image transpose.
Declaration
public static NppStatus nppiTranspose_32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
8-bit image transpose.
Declaration
public static NppStatus nppiTranspose_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned int image transpose.
Declaration
public static NppStatus nppiTranspose_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiTranspose_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned int image transpose.
Declaration
public static NppStatus nppiTranspose_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSrcROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Pointer to the destination ROI. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSrcROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |