NVIDIA Performance Primitives (NPP)
Version 9.2
|
Before calling any of the MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder functions the application first needs to call the corresponding MorphGetBufferSize to determine the amount of device memory to allocate as a working buffer. More...
Functions | |
NppStatus | nppiMorphGetBufferSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize) |
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. More... |
|
NppStatus | nppiMorphGetBufferSize_8u_C4R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 4 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_16u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 1 channel 16-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_16s_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 1 channel 16-bit signed integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_32f_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 1 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_32f_C3R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 3 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
NppStatus | nppiMorphGetBufferSize_32f_C4R (NppiSize oSizeROI, int *hpBufferSize) |
Calculate scratch buffer size needed for 4 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height. More... |
|
Before calling any of the MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder functions the application first needs to call the corresponding MorphGetBufferSize to determine the amount of device memory to allocate as a working buffer.
The application allocated device memory is then passed as the pBuffer parameter to the corresponding MorphXXXBorder function.
oSizeROI | Region-of-Interest (ROI). |
hpBufferSize | Required buffer size in bytes. |
Calculate scratch buffer size needed for 1 channel 16-bit signed integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 1 channel 16-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 1 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 3 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 4 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 1 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
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.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.
Calculate scratch buffer size needed for 4 channel 8-bit unsigned integer MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.
For common parameter descriptions, see Common parameters for nppiMorphGetBufferSize functions.