Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// Wiener filter with border control, ignoring alpha channel.
/// </summary>
/// <param name="dest">destination_image_pointer</param>
/// <param name="oMaskSize">Pixel Width and Height of the rectangular region of interest surrounding the source pixel.</param>
/// <param name="oAnchor">Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.</param>
/// <param name="aNoise">Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
Wiener filter with border control, ignoring alpha channel.
Wiener filter with border control ignoring alpha channel .
public void FilterWienerBorderA(NPPImage_16sC4 dest, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.FilterWienerBorder.nppiFilterWienerBorder_16s_AC4R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, oMaskSize, oAnchor, aNoise, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterWienerBorder_16s_AC4R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void FilterWienerBorderA ( NPPImage_16sC4 dest , NppiSize oMaskSize , NppiPoint oAnchor , float [ ] aNoise , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . FilterWienerBorder . nppiFilterWienerBorder_16s_AC4R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , oMaskSize , oAnchor , aNoise , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Wiener filter with border control, ignoring alpha channel.
Wiener filter with border control ignoring alpha channel .
dest
NPPImage_16sC4
None
oMaskSize
NppiSize
Pixel Width and Height of the rectangular region of interest surrounding the source pixel.
Pixel Width and Height of the rectangular region of interest surrounding the source pixel .
oAnchor
NppiPoint
Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.
Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize .
aNoise
float[]
Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.
Fixed size array of per - channel noise variance level value in range of 0 . 0F to 1 . 0F .
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 .