Class NPPNativeMethods.NPPi.AddSquare
Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class AddSquare
Methods
nppiAddSquare_16u32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
Declaration
public static NppStatus nppiAddSquare_16u32f_C1IMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | Mask-Image Pointer. |
System.Int32 | nMaskStep | Mask-Image Line Step. |
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 |
nppiAddSquare_16u32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 16-bit unsigned short channel image squared then added to in place floating point destination image.
Declaration
public static NppStatus nppiAddSquare_16u32f_C1IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
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 |
nppiAddSquare_32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
Declaration
public static NppStatus nppiAddSquare_32f_C1IMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | Mask-Image Pointer. |
System.Int32 | nMaskStep | Mask-Image Line Step. |
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 |
nppiAddSquare_32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 32-bit floating point channel image squared then added to in place floating point destination image.
Declaration
public static NppStatus nppiAddSquare_32f_C1IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
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 |
nppiAddSquare_8u32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
Declaration
public static NppStatus nppiAddSquare_8u32f_C1IMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pMask | Mask-Image Pointer. |
System.Int32 | nMaskStep | Mask-Image Line Step. |
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 |
nppiAddSquare_8u32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
One 8-bit unsigned char channel image squared then added to in place floating point destination image.
Declaration
public static NppStatus nppiAddSquare_8u32f_C1IR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
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 |