Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

iwiCopySplit

Syntax

class IwiCopySplitParams: public ::IwiCopySplitParams
{
public:
    IW_BASE_PARAMS_CONSTRUCTORS(IwiCopySplitParams, iwiCopySplit_SetDefaultParams)
    IwiCopySplitParams() {}
};

IW_DECL_CPP(IppStatus) iwiCopySplit(
    const IwiImage              &srcImage,          
          IwiImageArray          dstImages,
    const IwiCopySplitParams    &auxParams  = IwiCopySplitParams(),        
    const IwiTile               &tile       = IwiTile()  
);

Parameters

srcImage

Reference to the source image.

dstImages

The array object of destination images. Uninitialized images are skipped.

auxParams

Reference to the auxiliary parameters structure.

tile

Reference to the IwiTile object for tiling. By default, no tiling is used.

Description

This function splits a multi-channel image into an array of single-channel images.

Return Values

ippStsNoErr

No errors.

Exception Values

ippStsDataTypeErr

The dataType value is illegal.

ippStsNumChannelsErr

The channels value is illegal.

ippStsSizeErr

Values of the size fields are illegal.

ippStsNullPtrErr

At least one of the pointers (except tile) is NULL.