Class NPPNativeMethods.NPPi.Abs
Absolute value of each pixel value in an image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Abs
Methods
nppiAbs_16s_AC4IR(CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel in place image absolute value with unmodified alpha.
Declaration
public static NppStatus nppiAbs_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel image absolute value with unmodified alpha.
Declaration
public static NppStatus nppiAbs_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C1IR(CUdeviceptr, Int32, NppiSize)
One 16-bit signed short channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 16-bit signed short channel image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C3IR(CUdeviceptr, Int32, NppiSize)
Three 16-bit signed short channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three 16-bit signed short channel image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C4IR(CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four 16-bit signed short channel image absolute value.
Declaration
public static NppStatus nppiAbs_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_AC4IR(CUdeviceptr, Int32, NppiSize)
Four 32-bit floating point channel in place image absolute value with unmodified alpha.
Declaration
public static NppStatus nppiAbs_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four 32-bit floating point channel image absolute value with unmodified alpha.
Declaration
public static NppStatus nppiAbs_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C1IR(CUdeviceptr, Int32, NppiSize)
One 32-bit floating point channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 32-bit floating point channel image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C3IR(CUdeviceptr, Int32, NppiSize)
Three 32-bit floating point channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three 32-bit floating point channel image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C4IR(CUdeviceptr, Int32, NppiSize)
Four 32-bit floating point channel in place image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAbs_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four 32-bit floating point channel image absolute value.
Declaration
public static NppStatus nppiAbs_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |