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

GetPerspectiveBound() public method

Calculates bounding box of the affine transform projection of the given source rectangular ROI
public GetPerspectiveBound ( double coeffs ) : ].double[
coeffs double Perspective transform coefficients [3,3]
return ].double[
        public double[,] GetPerspectiveBound(double[,] coeffs)
        {
            double[,] bound = new double[2, 2];
            NppiRect rect = new NppiRect(_pointRoi, _sizeRoi);
            status = NPPNativeMethods.NPPi.PerspectiveTransforms.nppiGetPerspectiveBound(rect, bound, coeffs);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetPerspectiveBound", status));
            NPPException.CheckNppStatus(status, this);
            return bound;
        }
NPPImage_8uC3