Library/ManagedCuda/NPP/NPPImage_32fC3.cs
/// <summary>
/// 1 channel 32-bit floating point morphological open with border control.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="pMask">Pointer to the start address of the mask array</param>
/// <param name="oMaskSize">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="pBuffer">Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
1 channel 32-bit floating point morphological open with border control.
1 channel 32 - bit floating point morphological open with border control .
public void MorphOpenBorder(NPPImage_32fC3 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.ComplexImageMorphology.nppiMorphOpenBorder_32f_C3R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, pMask.DevicePointer, oMaskSize, oAnchor, pBuffer.DevicePointer, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMorphOpenBorder_32f_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void MorphOpenBorder ( NPPImage_32fC3 dest , CudaDeviceVariable < byte > pMask , NppiSize oMaskSize , NppiPoint oAnchor , CudaDeviceVariable < byte > pBuffer , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . ComplexImageMorphology . nppiMorphOpenBorder_32f_C3R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , pMask . DevicePointer , oMaskSize , oAnchor , pBuffer . DevicePointer , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
1 channel 32-bit floating point morphological open with border control.
1 channel 32 - bit floating point morphological open with border control .
dest
NPPImage_32fC3
None
pMask
CudaDeviceVariable<byte>
Pointer to the start address of the mask array
Pointer to the start address of the mask array
oMaskSize
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 .
pBuffer
CudaDeviceVariable<byte>
Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.
Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call .
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 .