Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// Single channel 8-bit unsigned threshold adaptive box filter with border control.
/// </summary>
/// <param name="dest">destination_image_pointer</param>
/// <param name="eFilterType">selects between Sobel or Scharr filter type.</param>
/// <param name="oMaskSize">Width and Height of the neighborhood region for the local Avg operation, Width and Height must be equal and odd.</param>
/// <param name="nDelta">Neighborhood average adjustment value.</param>
/// <param name="nValGT">Destination output value if source pixel is greater than average.</param>
/// <param name="nValLE">Destination output value if source pixel is less than or equal to average.</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
Single channel 8-bit unsigned threshold adaptive box filter with border control.
Single channel 8 - bit unsigned threshold adaptive box filter with border control .
public void FilterThresholdAdaptiveBoxBorder(NPPImage_8uC1 dest, DifferentialKernel eFilterType,
                     NppiSize oMaskSize, float nDelta, byte nValGT, byte nValLE,
                     NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.FilterThresholdAdaptiveBoxBorder.nppiFilterThresholdAdaptiveBoxBorder_8u_C1R(_devPtr, _pitch, _sizeOriginal, _pointRoi, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, oMaskSize, nDelta, nValGT, nValLE, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterThresholdAdaptiveBoxBorder_8u_C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void FilterThresholdAdaptiveBoxBorder ( NPPImage_8uC1 dest , DifferentialKernel eFilterType , NppiSize oMaskSize , float nDelta , byte nValGT , byte nValLE , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . FilterThresholdAdaptiveBoxBorder . nppiFilterThresholdAdaptiveBoxBorder_8u_C1R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , oMaskSize , nDelta , nValGT , nValLE , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Single channel 8-bit unsigned threshold adaptive box filter with border control.
Single channel 8 - bit unsigned threshold adaptive box filter with border control .
dest
NPPImage_8uC1
None
eFilterType
DifferentialKernel
selects between Sobel or Scharr filter type.
selects between Sobel or Scharr filter type .
oMaskSize
NppiSize
Width and Height of the neighborhood region for the local Avg operation, Width and Height must be equal and odd.
Width and Height of the neighborhood region for the local Avg operation Width and Height must be equal and odd .
nDelta
float
Neighborhood average adjustment value.
Neighborhood average adjustment value .
nValGT
byte
Destination output value if source pixel is greater than average.
Destination output value if source pixel is greater than average .
nValLE
byte
Destination output value if source pixel is less than or equal to average.
Destination output value if source pixel is less than or equal to average .
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 .