Library/ManagedCuda/NPP/NPPImage_16sC3.cs
/// <summary>
/// Computes the average pixel values of the pixels under a rectangular mask.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="oMaskSize">Width and Height of the neighborhood region for the local Avg operation.</param>
/// <param name="oAnchor">X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.</param>
Computes the average pixel values of the pixels under a rectangular mask.
Computes the average pixel values of the pixels under a rectangular mask .
public void FilterBox(NPPImage_16sC3 dest, NppiSize oMaskSize, NppiPoint oAnchor)
		{
			status = NPPNativeMethods.NPPi.LinearFixedFilters2D.nppiFilterBox_16s_C3R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, oMaskSize, oAnchor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterBox_16s_C3R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void FilterBox ( NPPImage_16sC3 dest , NppiSize oMaskSize , NppiPoint oAnchor ) { status = NPPNativeMethods . NPPi . LinearFixedFilters2D . nppiFilterBox_16s_C3R ( _devPtrRoi , _pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , oMaskSize , oAnchor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Computes the average pixel values of the pixels under a rectangular mask.
Computes the average pixel values of the pixels under a rectangular mask .
dest
NPPImage_16sC3
None
oMaskSize
NppiSize
Width and Height of the neighborhood region for the local Avg operation.
Width and Height of the neighborhood region for the local Avg operation .
oAnchor
NppiPoint
X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
X and Y offsets of the kernel origin frame of reference w . r . t the source pixel .