Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// 1D row convolution with border control. 
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="Kernel">Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.</param>
/// <param name="nAnchor">X offset of the kernel 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>
1D row convolution with border control.
1D row convolution with border control .
public void FilterRowBorder(NPPImage_32fC4 dest, CudaDeviceVariable<float> Kernel, int nAnchor, NppiBorderType eBorderType)
		{
			status = NPPNativeMethods.NPPi.LinearFilter1D.nppiFilterRowBorder_32f_C4R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, Kernel.DevicePointer, Kernel.Size, nAnchor, eBorderType);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterRowBorder_32f_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void FilterRowBorder ( NPPImage_32fC4 dest , CudaDeviceVariable < float > Kernel , int nAnchor , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . LinearFilter1D . nppiFilterRowBorder_32f_C4R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , Kernel . DevicePointer , Kernel . Size , nAnchor , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
1D row convolution with border control.
1D row convolution with border control .
dest
NPPImage_32fC4
None
Kernel
CudaDeviceVariable<float>
Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
Pointer to the start address of the kernel coefficient array . Coeffcients are expected to be stored in reverse order .
nAnchor
int
X offset of the kernel origin frame of reference w.r.t the source pixel.
X offset of the kernel 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 .