ManagedCuda.NPP.NPPImage_8uC3.GradientVectorPrewittBorder C# (CSharp) Method

GradientVectorPrewittBorder() public method

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.
public GradientVectorPrewittBorder ( NPPImage_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_16sC1 X vector destination_image_pointer
destY NPPImage_16sC1 Y vector destination_image_pointer.
destMag NPPImage_16sC1 magnitude destination_image_pointer.
destAngle NPPImage_32fC1 angle destination_image_pointer.
eMaskSize MaskSize fixed filter mask size to use.
eNorm NppiNorm gradient distance method to use.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
return void
        public void GradientVectorPrewittBorder(NPPImage_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.GradientVectorPrewittBorder.nppiGradientVectorPrewittBorder_8u16s_C3C1R(_devPtr, _pitch, _sizeOriginal, _pointRoi, destX.DevicePointerRoi, destX.Pitch, destY.DevicePointerRoi, destY.Pitch, destMag.DevicePointerRoi, destMag.Pitch, destAngle.DevicePointerRoi, destAngle.Pitch, _sizeRoi, eMaskSize, eNorm, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGradientVectorPrewittBorder_8u16s_C3C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3