ManagedCuda.NPP.NPPImage_8uC3.Dilate C# (CSharp) 메소드

Dilate() 공개 메소드

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.
public Dilate ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 Destination image
Mask CudaDeviceVariable Pointer to the start address of the mask array.
aMaskSize NppiSize Width and Height mask array.
oAnchor NppiPoint X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
리턴 void
        public void Dilate(NPPImage_8uC3 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor)
        {
            status = NPPNativeMethods.NPPi.MorphologyFilter2D.nppiDilate_8u_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, Mask.DevicePointer, aMaskSize, oAnchor);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDilate_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3