Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// 1 channel 8-bit unsigned grayscale to 1 channel 8-bit unsigned black (0x00) and white (0xFF) image with border control.
/// </summary>
/// <param name="dest">destination_image_pointer</param>
/// <param name="eFilterType">selects between Sobel or Scharr filter type.</param>
/// <param name="eMaskSize">fixed filter mask size to use.</param>
/// <param name="nLowThreshold">low hysteresis threshold value.</param>
/// <param name="nHighThreshold">high hysteresis threshold value.</param>
/// <param name="eNorm">gradient distance method to use.</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
/// <param name="pDeviceBuffer">pointer to scratch DEVICE memory buffer of size hpBufferSize (see nppiFilterCannyBorderGetBufferSize() above)</param>
1 channel 8-bit unsigned grayscale to 1 channel 8-bit unsigned black (0x00) and white (0xFF) image with border control.
1 channel 8 - bit unsigned grayscale to 1 channel 8 - bit unsigned black ( 0x00 ) and white ( 0xFF ) image with border control .
public void FilterCannyBorder(NPPImage_8uC1 dest, DifferentialKernel eFilterType,
					 MaskSize eMaskSize, short nLowThreshold, short nHighThreshold, NppiNorm eNorm,
					 NppiBorderType eBorderType, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			status = NPPNativeMethods.NPPi.FilterCannyBorder.nppiFilterCannyBorder_8u_C1R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, eFilterType, eMaskSize, nLowThreshold, nHighThreshold, eNorm, eBorderType, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterCannyBorder_8u_C1R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void FilterCannyBorder ( NPPImage_8uC1 dest , DifferentialKernel eFilterType , MaskSize eMaskSize , short nLowThreshold , short nHighThreshold , NppiNorm eNorm , NppiBorderType eBorderType , CudaDeviceVariable < byte > pDeviceBuffer ) { status = NPPNativeMethods . NPPi . FilterCannyBorder . nppiFilterCannyBorder_8u_C1R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , eFilterType , eMaskSize , nLowThreshold , nHighThreshold , eNorm , eBorderType , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
1 channel 8-bit unsigned grayscale to 1 channel 8-bit unsigned black (0x00) and white (0xFF) image with border control.
1 channel 8 - bit unsigned grayscale to 1 channel 8 - bit unsigned black ( 0x00 ) and white ( 0xFF ) image with border control .
dest
NPPImage_8uC1
None
eFilterType
DifferentialKernel
selects between Sobel or Scharr filter type.
selects between Sobel or Scharr filter type .
eMaskSize
MaskSize
fixed filter mask size to use.
fixed filter mask size to use .
nLowThreshold
short
low hysteresis threshold value.
low hysteresis threshold value .
nHighThreshold
short
high hysteresis threshold value.
high hysteresis threshold value .
eNorm
NppiNorm
gradient distance method to use.
gradient distance method to use .
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 .
pDeviceBuffer
CudaDeviceVariable<byte>
pointer to scratch DEVICE memory buffer of size hpBufferSize  above)
pointer to scratch DEVICE memory buffer of size hpBufferSize above )