Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// Calculate scratch buffer size needed for 3 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, 
/// MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
/// </summary>
/// <returns>Required buffer size in bytes.</returns>
Calculate scratch buffer size needed for 3 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder,
MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Calculate scratch buffer size needed for 3 channel 8 - bit unsigned integer MorphCloseBorder MorphOpenBorder MorphTopHatBorder MorphBlackHatBorder or MorphGradientBorder function based on destination image oSizeROI width and height .
public int MorphGetBufferSize()
        {
            int ret = 0;
            status = NPPNativeMethods.NPPi.ComplexImageMorphology.nppiMorphGetBufferSize_8u_C4R(_sizeRoi, ref ret);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMorphGetBufferSize_8u_C4R", status));
            NPPException.CheckNppStatus(status, this);
            return ret;
        }
public int MorphGetBufferSize ( ) { int ret = 0 ; status = NPPNativeMethods . NPPi . ComplexImageMorphology . nppiMorphGetBufferSize_8u_C4R ( _sizeRoi , ref ret ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return ret ; }
Calculate scratch buffer size needed for 3 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder,
MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
Calculate scratch buffer size needed for 3 channel 8 - bit unsigned integer MorphCloseBorder MorphOpenBorder MorphTopHatBorder MorphBlackHatBorder or MorphGradientBorder function based on destination image oSizeROI width and height .
Required buffer size in bytes.
Required buffer size in bytes .