public double[,] GetAffineBound(double[,] coeffs)
{
double[,] bound = new double[2, 2];
NppiRect rect = new NppiRect(_pointRoi, _sizeRoi);
status = NPPNativeMethods.NPPi.AffinTransforms.nppiGetAffineBound(rect, bound, coeffs);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetAffineBound", status));
NPPException.CheckNppStatus(status, this);
return bound;
}