Class NPPNativeMethods.NPPi.Dilate3x3Border
Dilation using a 3x3 mask with the anchor at its center pixel with border control.
If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Dilate3x3Border
Methods
nppiDilate3x3Border_16u_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 16-bit unsigned integer 3x3 dilation with border control, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3Border_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Single-channel 16-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_16u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Three-channel 16-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_16u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 16-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_32f_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 32-bit floating-point 3x3 dilation with border control, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3Border_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Single-channel 32-bit floating-point 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Three-channel 32-bit floating-point 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 32-bit floating-point 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_8u_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 8-bit unsigned integer 3x3 dilation with border control, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3Border_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Single-channel 8-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Three-channel 8-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3Border_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiBorderType)
Four-channel 8-bit unsigned integer 3x3 dilation with border control.
Declaration
public static NppStatus nppiDilate3x3Border_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiBorderType eBorderType)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
NppiSize | oSrcSize | Source image width and height in pixels relative to pSrc. |
NppiPoint | oSrcOffset | Source image starting point relative to pSrc. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |