Class NPPNativeMethods.NPPi.Gamma
Gamma correction
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Gamma
Methods
nppiGammaFwd_8u_AC4IR(CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed color with alpha in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | in place packed pixel format image pointer. |
System.Int32 | nSrcDstStep | in place packed pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaFwd_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed color with alpha not in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_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 |
nppiGammaFwd_8u_C3IR(CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed color in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | in place packed pixel image pointer. |
System.Int32 | nSrcDstStep | in place packed pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaFwd_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed color not in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_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 |
nppiGammaFwd_8u_IP3R(CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned planar color in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_IP3R(CUdeviceptr[] pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrcDst | in place planar pixel format image pointer array. |
System.Int32 | nSrcDstStep | in place planar pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaFwd_8u_P3R(CUdeviceptr[], Int32, CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned planar color not in place forward gamma correction.
Declaration
public static NppStatus nppiGammaFwd_8u_P3R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | source planar pixel format image pointer array. |
System.Int32 | nSrcStep | source planar pixel format image line step. |
CUdeviceptr[] | pDst | destination planar pixel format image pointer array. |
System.Int32 | nDstStep | destination planar pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaInv_8u_AC4IR(CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed color with alpha in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | in place packed pixel format image pointer. |
System.Int32 | nSrcDstStep | in place packed pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaInv_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
4 channel 8-bit unsigned packed color with alpha not in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_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 |
nppiGammaInv_8u_C3IR(CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed color in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | in place packed pixel format image pointer. |
System.Int32 | nSrcDstStep | in place packed pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaInv_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
3 channel 8-bit unsigned packed color not in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_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 |
nppiGammaInv_8u_IP3R(CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned planar color in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_IP3R(CUdeviceptr[] pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrcDst | in place planar pixel format image pointer array. |
System.Int32 | nSrcDstStep | in place planar pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiGammaInv_8u_P3R(CUdeviceptr[], Int32, CUdeviceptr[], Int32, NppiSize)
3 channel 8-bit unsigned planar color not in place inverse gamma correction.
Declaration
public static NppStatus nppiGammaInv_8u_P3R(CUdeviceptr[] pSrc, int nSrcStep, CUdeviceptr[] pDst, int nDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr[] | pSrc | source planar pixel format image pointer array. |
System.Int32 | nSrcStep | source planar pixel format image line step. |
CUdeviceptr[] | pDst | destination planar pixel format image pointer array. |
System.Int32 | nDstStep | destination planar pixel format image line step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |