Class NPPNativeMethods.NPPi.ComplexImageMorphology
Complex image morphological operations.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class ComplexImageMorphology
Methods
nppiMorphBlackHatBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit signed integer morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit unsigned integer morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 32-bit floating point morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 32-bit floating point morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 32-bit floating point morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 8-bit unsigned integer morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 8-bit unsigned integer morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphBlackHatBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 8-bit unsigned integer morphological black hat with border control.
Declaration
public static NppStatus nppiMorphBlackHatBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit signed integer morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit unsigned integer morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 32-bit floating point morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 32-bit floating point morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 32-bit floating point morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 8-bit unsigned integer morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 8-bit unsigned integer morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphCloseBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 8-bit unsigned integer morphological close with border control.
Declaration
public static NppStatus nppiMorphCloseBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_16s_C1R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 1 channel 16-bit signed integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_16s_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_16u_C1R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 1 channel 16-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_16u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_32f_C1R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 1 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_32f_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_32f_C3R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 3 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_32f_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_32f_C4R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 4 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_32f_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_8u_C1R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_8u_C3R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 3 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_8u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGetBufferSize_8u_C4R(NppiSize, ref Int32)
Calculate scratch buffer size needed for 4 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Declaration
public static NppStatus nppiMorphGetBufferSize_8u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size in bytes. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit signed integer morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit unsigned integer morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 32-bit floating point morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 32-bit floating point morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 32-bit floating point morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 8-bit unsigned integer morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 8-bit unsigned integer morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphGradientBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 8-bit unsigned integer morphological gradient with border control.
Declaration
public static NppStatus nppiMorphGradientBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit signed integer morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit unsigned integer morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 32-bit floating point morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 32-bit floating point morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 32-bit floating point morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 8-bit unsigned integer morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 8-bit unsigned integer morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphOpenBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 8-bit unsigned integer morphological open with border control.
Declaration
public static NppStatus nppiMorphOpenBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit signed integer morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 16-bit unsigned integer morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 32-bit floating point morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 32-bit floating point morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 32-bit floating point morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
1 channel 8-bit unsigned integer morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
3 channel 8-bit unsigned integer morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMorphTopHatBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, CUdeviceptr, NppiBorderType)
4 channel 8-bit unsigned integer morphological top hat with border control.
Declaration
public static NppStatus nppiMorphTopHatBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer, 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). |
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 w.r.t the source pixel. |
CUdeviceptr | pBuffer | Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call. |
NppiBorderType | eBorderType | The border type operation to be applied at source image border boundaries. |
Returns
Type | Description |
---|---|
NppStatus |