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

GetFilterGaussPyramidLayerUpBorderDstROI() public method

Calculate destination image SizeROI width and height from source image ROI width and height and downsampling rate. It is highly recommended that this function be use to determine the destination image ROI for consistent results.
public GetFilterGaussPyramidLayerUpBorderDstROI ( float nRate, NppiSize &pDstSizeROIMin, NppiSize &pDstSizeROIMax ) : void
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
pDstSizeROIMin NppiSize Minimum recommended destination image roi_specification.
pDstSizeROIMax NppiSize Maximum recommended destination image roi_specification.
return void
        public void GetFilterGaussPyramidLayerUpBorderDstROI(float nRate, out NppiSize pDstSizeROIMin, out NppiSize pDstSizeROIMax)
        {
            pDstSizeROIMin = new NppiSize();
            pDstSizeROIMax = new NppiSize();
            status = NPPNativeMethods.NPPi.FilterGaussPyramid.nppiGetFilterGaussPyramidLayerUpBorderDstROI(_sizeRoi.width, _sizeRoi.height, ref pDstSizeROIMin, ref pDstSizeROIMax, nRate);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetFilterGaussPyramidLayerUpBorderDstROI", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3