iwiSetChannel
iwiSetChannel
Syntax
class IwiSetChannelParams: public ::IwiSetChannelParams
{
public:
IW_BASE_PARAMS_CONSTRUCTORS(IwiSetChannelParams, iwiSetChannel_SetDefaultParams)
IwiSetChannelParams() {}
};
IW_DECL_CPP(IppStatus) iwiSetChannel(
double value,
IwiImage &dstImage,
int channelNum,
const IwiSetChannelParams &auxParams = IwiSetChannelParams(),
const IwiTile &tile = IwiTile()
);
Parameters
- value
- Values to set to the selected channel.
- dstImage
- Reference to the destination image.
- channelNum
- Number of the channel to set the specified value to.
- auxParams
- Reference to the auxiliary parameters structure.
- tile
- Reference to theIwiTileobject for tiling. By default, no tiling is used.
Description
This function sets the selected channel to the specified value.
Return Values
- ippStsNoErr
- No errors.
Exception Values
- ippStsDataTypeErr
- ThedataTypevalue is illegal.
- ippStsNumChannelsErr
- Thechannelsvalue is illegal.
- ippStsSizeErr
- Values of thesizefields are illegal.
- ippStsNullPtrErr
- At least one of the pointers (excepttile) isNULL.