NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.2.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Flood fill a connected region of an image with a specified new value. More...

FloodFillGetBufferSize

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function 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 FloodFill function.

NppStatus nppiFloodFillGetBufferSize (NppiSize oSizeROI, int *hpBufferSize)
 Calculate scratch buffer size needed for the FloodFill function based on destination image oSizeROI width and height. More...
 

FloodFill

In place flood fill of a region of pixels connected to the pixel at the seed pixel location in an image with a new pixel value.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFill_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFill_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFill_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFill_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFill_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFill_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFill_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFill_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFill_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFill_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFill_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFill_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

FloodFillBoundary

In place flood fill of a region of pixels connected to the pixel at the seed pixel location in an image with a new pixel value.

Also fill boundary of filled region with a specified color.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFillBoundary_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillBoundary_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u aNewValues[3], const Npp8u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillBoundary_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillBoundary_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u aNewValues[3], const Npp16u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillBoundary_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillBoundary_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillBoundary_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

FloodFillRange

In place flood fill of a region of pixels connected to the pixel at the seed pixel location and with a Pixel value >= Min and <= Max in an image with a new pixel value.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFillRange_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRange_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRange_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRange_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRange_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRange_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRange_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRange_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRange_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRange_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRange_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRange_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

FloodFillRangeBoundary

In place flood fill of a region of pixels connected to the pixel at the seed pixel location and with a Pixel value >= Min and <= Max in an image with a new pixel value.

Also fill boundary of filled region with a specified color.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFillRangeBoundary_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRangeBoundary_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], const Npp8u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], const Npp8u aBoundryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRangeBoundary_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRangeBoundary_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], const Npp16u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], const Npp16u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRangeBoundary_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillRangeBoundary_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillRangeBoundary_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

FloodFillGradient

In place flood fill of a region of pixels connected to the pixel at the seed pixel location and with an original pixel value including seed - Min to seed + Max in an image with a new pixel value.

In place flood fill of a region of pixels connected to the pixel at the seed pixel location in an image with a new pixel value.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFillGradient_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradient_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradient_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradient_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradient_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradient_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradient_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradient_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradient_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradient_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradient_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradient_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

FloodFillGradientBoundary

In place flood fill of a region of pixels connected to the pixel at the seed pixel location and with an original pixel value including seed - Min to seed + Max in an image with a new pixel value.

Also fill boundary of filled region with a specified color.

In place flood fill of a region of pixels connected to the pixel at the seed pixel location in an image with a new pixel value.

Before calling any of the FloodFill functions the application first needs to call the FloodFillGetBufferSize function to determine the amount of device memory to allocate as a working buffer. The allocated device memory is then passed as the pBuffer parameter to the corresponding FloodFill function.

Optionally the function can return connected region information for the filled region in the pConnectedRegion NppiConnectedRegion structure in host memory. The oBoundingBox x and y will be set to the left and top coordinates and width and height will be set to the right bottom coordinates of the bounding box relative to pSrcDst. Set pConnectedRegion to NULL if not required. Requesting pConnectedRegion information may slightly degrade performance.

NppStatus nppiFloodFillGradientBoundary_8u_C1IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, const Npp8u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_8u_C1IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u nMin, Npp8u nMax, const Npp8u nNewValue, const Npp8u nBoundryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradientBoundary_8u_C3IR_Ctx (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], const Npp8u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_8u_C3IR (Npp8u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp8u aMin[3], Npp8u aMax[3], const Npp8u aNewValues[3], const Npp8u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradientBoundary_16u_C1IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 16-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_16u_C1IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u nMin, Npp16u nMax, const Npp16u nNewValue, const Npp16u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradientBoundary_16u_C3IR_Ctx (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], const Npp16u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 16-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_16u_C3IR (Npp16u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp16u aMin[3], Npp16u aMax[3], const Npp16u aNewValues[3], const Npp16u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradientBoundary_32u_C1IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 1 channel 32-bit unsigned integer grayscale in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_32u_C1IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u nMin, Npp32u nMax, const Npp32u nNewValue, const Npp32u nBoundaryValue, NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 
NppStatus nppiFloodFillGradientBoundary_32u_C3IR_Ctx (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer, NppStreamContext nppStreamCtx)
 3 channel 32-bit unsigned integer color in place flood fill. More...
 
NppStatus nppiFloodFillGradientBoundary_32u_C3IR (Npp32u *pSrcDst, int nSrcDstStep, NppiPoint oSeed, Npp32u aMin[3], Npp32u aMax[3], const Npp32u aNewValues[3], const Npp32u aBoundaryValues[3], NppiNorm eNorm, NppiSize oSizeROI, NppiConnectedRegion *pConnectedRegion, Npp8u *pBuffer)
 

Detailed Description

Flood fill a connected region of an image with a specified new value.

Function Documentation

NppStatus nppiFloodFill_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFill_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFill_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFill_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFill_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFill_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFill_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp16u  aNewValues[3],
const Npp16u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillBoundary_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillBoundary_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
const Npp8u  aNewValues[3],
const Npp8u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGetBufferSize ( NppiSize  oSizeROI,
int *  hpBufferSize 
)

Calculate scratch buffer size needed for the FloodFill function based on destination image oSizeROI width and height.

Parameters
oSizeROIRegion-of-Interest (ROI).
hpBufferSizeRequired buffer size in bytes.
NppStatus nppiFloodFillGradient_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradient_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradient_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradient_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradient_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradient_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradient_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
const Npp16u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
const Npp16u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
const Npp8u  nBoundryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= seed value - this value.
nMaxValeu of tested pixel must be <= seed value + this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillGradientBoundary_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
const Npp8u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillGradientBoundary_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
const Npp8u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding seed value - aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding seed value + aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRange_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRange_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_16u_C1IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_16u_C1IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  nMin,
Npp16u  nMax,
const Npp16u  nNewValue,
const Npp16u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 16-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_16u_C3IR ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
const Npp16u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_16u_C3IR_Ctx ( Npp16u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp16u  aMin[3],
Npp16u  aMax[3],
const Npp16u  aNewValues[3],
const Npp16u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 16-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_32u_C1IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_32u_C1IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  nMin,
Npp32u  nMax,
const Npp32u  nNewValue,
const Npp32u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 32-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_32u_C3IR ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_32u_C3IR_Ctx ( Npp32u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp32u  aMin[3],
Npp32u  aMax[3],
const Npp32u  aNewValues[3],
const Npp32u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 32-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_8u_C1IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_8u_C1IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  nMin,
Npp8u  nMax,
const Npp8u  nNewValue,
const Npp8u  nBoundaryValue,
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned integer grayscale in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
nMinValue of tested pixel must be >= this value.
nMaxValeu of tested pixel must be <= this value.
nNewValueImage pixel value to be used to replace matching pixels.
nBoundaryValueImage pixel value to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiFloodFillRangeBoundary_8u_C3IR ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
const Npp8u  aBoundryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer 
)
NppStatus nppiFloodFillRangeBoundary_8u_C3IR_Ctx ( Npp8u pSrcDst,
int  nSrcDstStep,
NppiPoint  oSeed,
Npp8u  aMin[3],
Npp8u  aMax[3],
const Npp8u  aNewValues[3],
const Npp8u  aBoundaryValues[3],
NppiNorm  eNorm,
NppiSize  oSizeROI,
NppiConnectedRegion pConnectedRegion,
Npp8u pBuffer,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned integer color in place flood fill.

Parameters
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step in bytes.
oSeedImage location of seed pixel value to be used for comparison.
aMinValue of each element of tested pixel must be >= the corresponding aMin value.
aMaxValeu of each element of tested pixel must be <= the corresponding aMax value.
aNewValuesImage pixel values to be used to replace matching pixels.
aBoundaryValuesImage pixel values to be used for region boundary.
eNormType of pixel connectivity test to use, nppiNormInf will use 8 way connectivity and nppiNormL1 will use 4 way connectivity.
oSizeROIRegion-of-Interest (ROI).
pConnectedRegionOptional host memory pointer to an NppiConnectedRegion object which returns information about the filled region. Set to NULL if not needed.
pBufferPointer to device memory scratch buffer at least as large as value returned by the corresponding LabelMarkersUFGetBufferSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2020 NVIDIA Corporation