Class NPPNativeMethods.NPPi.MorphologyFilter2D
Image dilate and erod operations.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class MorphologyFilter2D
Methods
nppiDilate_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 16-bit unsigned integer dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Single-channel 16-bit unsigned integer dilation.
Declaration
public static NppStatus nppiDilate_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 16-bit unsigned integer dilation.
Declaration
public static NppStatus nppiDilate_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 16-bit unsigned integer dilation.
Declaration
public static NppStatus nppiDilate_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 32-bit floating-point dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Single-channel 32-bit floating-point dilation.
Declaration
public static NppStatus nppiDilate_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 32-bit floating-point dilation.
Declaration
public static NppStatus nppiDilate_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 32-bit floating-point dilation.
Declaration
public static NppStatus nppiDilate_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 8-bit unsigned integer dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
8-bit unsigned image dilation.
Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero to not participate in the maximum search.
Declaration
public static NppStatus nppiDilate_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 8-bit unsigned integer dilation.
Declaration
public static NppStatus nppiDilate_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
4 channel 8-bit unsigned image dilation.
Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero to not participate in the maximum search.
Declaration
public static NppStatus nppiDilate_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiDilate3x3_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 16-bit unsigned integer 3x3 dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3_16u_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 |
nppiDilate3x3_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 16-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_16u_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 |
nppiDilate3x3_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 16-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_16u_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 |
nppiDilate3x3_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 16-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_16u_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 |
nppiDilate3x3_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 32-bit floating-point 3x3 dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 32-bit floating-point 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 32-bit floating-point 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 32-bit floating-point 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_64f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 64-bit floating-point 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_64f_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 |
nppiDilate3x3_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 8-bit unsigned integer 3x3 dilation, ignoring alpha-channel.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 8-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_8u_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 |
nppiDilate3x3_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 8-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_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 |
nppiDilate3x3_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 8-bit unsigned integer 3x3 dilation.
Declaration
public static NppStatus nppiDilate3x3_8u_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 |
nppiErode_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 16-bit unsigned integer erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Single-channel 16-bit unsigned integer erosion.
Declaration
public static NppStatus nppiErode_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 16-bit unsigned integer erosion.
Declaration
public static NppStatus nppiErode_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 16-bit unsigned integer erosion.
Declaration
public static NppStatus nppiErode_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 32-bit floating-point erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Single-channel 32-bit floating-point erosion.
Declaration
public static NppStatus nppiErode_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 32-bit floating-point erosion.
Declaration
public static NppStatus nppiErode_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 32-bit floating-point erosion.
Declaration
public static NppStatus nppiErode_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Four-channel 8-bit unsigned integer erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
8-bit unsigned image erosion.
Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero to not participate in the maximum search.
Declaration
public static NppStatus nppiErode_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
Three-channel 8-bit unsigned integer erosion.
Declaration
public static NppStatus nppiErode_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint)
4 channel 8-bit unsigned image erosion.
Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero to not participate in the maximum search.
Declaration
public static NppStatus nppiErode_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor)
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). |
CUdeviceptr | pMask | Pointer to the start address of the mask array |
NppiSize | oMaskSize | Width and Height mask array. |
NppiPoint | oAnchor | X and Y offsets of the mask origin frame of reference |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError |
nppiErode3x3_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 16-bit unsigned integer 3x3 erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode3x3_16u_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 |
nppiErode3x3_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 16-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_16u_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 |
nppiErode3x3_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 16-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_16u_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 |
nppiErode3x3_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 16-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_16u_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 |
nppiErode3x3_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 32-bit floating-point 3x3 erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 32-bit floating-point 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 32-bit floating-point 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 32-bit floating-point 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_64f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 64-bit floating-point 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_64f_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 |
nppiErode3x3_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 8-bit unsigned integer 3x3 erosion, ignoring alpha-channel.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Single-channel 8-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_8u_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 |
nppiErode3x3_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Three-channel 8-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_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 |
nppiErode3x3_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)
Four-channel 8-bit unsigned integer 3x3 erosion.
Declaration
public static NppStatus nppiErode3x3_8u_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 |