SplitUniform2D
Splits an image into tiles.
Syntax
Case 1: Operation with TL functions based on the Platform Aware API
IppStatus ippiSplitUniform2D_LT
(
IppiSizeL
roiSize
, IppSizeL
minItemNumber
, IppiPointL*
pSplit
, IppiSizeL*
pTileSize
, IppiSizeL*
pTailSize
);
Case 2: Operation with TL functions based on the Classic API
IppStatus ippiSplitUniform2D_T
(
IppiSize
roiSize
, int
minItemNumber
, IppiPoint*
pSplit
, IppiSize*
pTileSize
, IppiSize*
pTailSize
);
Include Files
ippi_tl.h
Parameters
- roiSize
- Image ROI size.
- minItemNumber
- Minimal size of a tile, in pixels.
- pSplit
- Number of split parts along x and y axes.
- pTileSize
- Size of a tile.
- pTailSize
- Size of the last corner tile.
Description
This function operates with ROI (see Regions of Interest in Intel IPP).
This function splits an image into tiles.
Return Values
- ippStsNoErr
- Indicates no error.
- ippStsNullPtrErr
- Indicates an error condition when thepSplit,pTileSize, orpTailSizepointer isNULL.
- ippStsSizeErr
- Indicates an error condition whenminItemNumberis less than zero.