iwiMirror
iwiMirror
Syntax
class IwiMirrorParams: public ::IwiMirrorParams
{
public:
IW_BASE_PARAMS_CONSTRUCTORS(IwiMirrorParams, iwiMirror_SetDefaultParams)
IwiMirrorParams(IwiChDescriptor _chDesc = iwiChDesc_None);
};
IW_DECL_CPP(IppStatus) iwiMirror(
const IwiImage &srcImage,
IwiImage &dstImage,
IppiAxis axis,
const IwiMirrorParams &auxParams = IwiMirrorParams(),
const IwiTile &tile = IwiTile()
);
Parameters
- srcImage
- Reference to the source image.
- dstImage
- Reference to the destination image.
- axis
- Mirror axis.
- auxParams
- Reference to the auxiliary parameters structure.
- tile
- Reference to theIwiTileobject for tiling. By default, no tiling is used.
Auxiliary Arguments
Argument | Default Value | Description |
---|---|---|
chDesc | iwiChDesc_None | Special channels processing mode. |
Description
This function mirrors an image over the specified axis.
For
ippAxs45
and ippAxs135
axis
values, the destination image must have a flipped size: dstWidth
= srcHeight
, dstHeight
= srcWidth
.For more information, refer to the
iwiMirror
function description in C Reference
.Return Values
- ippStsNoErr
- No errors.
Exception Values
- ippStsDataTypeErr
- ThedataTypevalue is illegal.
- ippStsNumChannelsErr
- Thechannelsvalue is illegal.
- ippStsNotSupportedModeErr
- The selected combination of parameters' values is not supported.
- ippStsInplaceModeNotSupportedErr
- In-place operation is not supported in tiling mode:pSrcImageis equal topDstImage.
- ippStsNullPtrErr
- At least one of the pointers (excepttile) isNULL.