Library/ManagedCuda/NPP/NPPImage_32fC1.cs
/// <summary>
/// Gray scale dilation with border control.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="Mask">Pointer to the start address of the mask array.</param>
/// <param name="aMaskSize">Width and Height mask array.</param>
/// <param name="oAnchor">X and Y offsets of the mask origin frame of reference w.r.t the source pixel.</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
Gray scale dilation with border control.
Gray scale dilation with border control .
public void GrayDilateBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.DilationWithBorderControl.nppiGrayDilateBorder_32f_C1R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, Mask.DevicePointer, aMaskSize, oAnchor, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGrayDilateBorder_32f_C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void GrayDilateBorder ( NPPImage_32fC1 dest , CudaDeviceVariable < byte > Mask , NppiSize aMaskSize , NppiPoint oAnchor , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . DilationWithBorderControl . nppiGrayDilateBorder_32f_C1R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , Mask . DevicePointer , aMaskSize , oAnchor , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Gray scale dilation with border control.
Gray scale dilation with border control .
dest
NPPImage_32fC1
None
Mask
CudaDeviceVariable<byte>
Pointer to the start address of the mask array.
Pointer to the start address of the mask array .
aMaskSize
NppiSize
Width and Height mask array.
Width and Height mask array .
oAnchor
NppiPoint
X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
X and Y offsets of the mask origin frame of reference w . r . t the source pixel .
eBorderType
NppiBorderType
The border type operation to be applied at source image border boundaries.
The border type operation to be applied at source image border boundaries .