|
Transposes an image
This function is used for internal purposes only. It tranposes an image such that.
- Parameters:
-
[in] | *imageIn | Input buffer |
[out] | *imageOut | Output buffer |
[in] | imageWidth | Width of the image input buffer |
[in] | imageHeight | Height of the image input buffer |
- Returns:
- Returns MORPHO_SUCCESS upon success, MORPHO_ERROR otherwise.
imageOut[i][j]=imageIn[j][i]
It is recommended that you do not use this functions as is. Remember that, after transposition, the width of the output buffer is given by the height of the input buffer, and vice versa.
|