Class NPPNativeMethods.NPPi.AlphaComp
Composite two images using alpha opacity values contained in each image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class AlphaComp
Methods
nppiAlphaComp_16s_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 16-bit signed short channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_16s_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_16u_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 16-bit unsigned short channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_16u_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
Four 16-bit unsigned short channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32f_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 32-bit floating point channel image composition using image alpha values (0.0 - 1.0).
Declaration
public static NppStatus nppiAlphaComp_32f_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
Four 32-bit floating point channel image composition using image alpha values (0.0 - 1.0).
Declaration
public static NppStatus nppiAlphaComp_32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32s_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 32-bit signed integer channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_32s_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
Four 32-bit signed integer channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_32s_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32u_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 32-bit unsigned integer channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_32u_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_32u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
Four 32-bit unsigned integer channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_32u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_8s_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 8-bit signed char channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_8s_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_8u_AC1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
One 8-bit unsigned char channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_8u_AC1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiAlphaComp_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiAlphaOp)
Four 8-bit unsigned char channel image composition using image alpha values (0 - max channel pixel value).
Declaration
public static NppStatus nppiAlphaComp_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiAlphaOp nppAlphaOp)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiAlphaOp | nppAlphaOp | Alpha compositing operation. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |