Skip to content

Commit 5e1a656

Browse files
committed
Update core.hpp
1 parent 667f5b6 commit 5e1a656

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/core/include/opencv2/core.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,19 +1063,19 @@ around both axes.
10631063
CV_EXPORTS_W void flip(InputArray src, OutputArray dst, int flipCode);
10641064

10651065
enum RotateFlags {
1066-
ROTATE_90_CLOCKWISE = 0, //Rotate 90 degrees clockwise
1067-
ROTATE_180 = 1, //Rotate 180 degrees clockwise
1068-
ROTATE_90_COUNTERCLOCKWISE = 2, //Rotate 270 degrees clockwise
1066+
ROTATE_90_CLOCKWISE = 0, //!<Rotate 90 degrees clockwise
1067+
ROTATE_180 = 1, //!<Rotate 180 degrees clockwise
1068+
ROTATE_90_COUNTERCLOCKWISE = 2, //!<Rotate 270 degrees clockwise
10691069
};
10701070
/** @brief Rotates a 2D array in multiples of 90 degrees.
1071-
The function rotate rotates the array in one of three different ways:
1072-
* Rotate by 90 degrees clockwise (rotateCode = ROTATE_90).
1071+
The function cv::rotate rotates the array in one of three different ways:
1072+
* Rotate by 90 degrees clockwise (rotateCode = ROTATE_90_CLOCKWISE).
10731073
* Rotate by 180 degrees clockwise (rotateCode = ROTATE_180).
1074-
* Rotate by 270 degrees clockwise (rotateCode = ROTATE_270).
1074+
* Rotate by 270 degrees clockwise (rotateCode = ROTATE_90_COUNTERCLOCKWISE).
10751075
@param src input array.
10761076
@param dst output array of the same type as src. The size is the same with ROTATE_180,
1077-
and the rows and cols are switched for ROTATE_90 and ROTATE_270.
1078-
@param rotateCode an enum to specify how to rotate the array; see the enum RotateFlags
1077+
and the rows and cols are switched for ROTATE_90_CLOCKWISE and ROTATE_90_COUNTERCLOCKWISE.
1078+
@param rotateCode an enum to specify how to rotate the array; see the enum #RotateFlags
10791079
@sa transpose , repeat , completeSymm, flip, RotateFlags
10801080
*/
10811081
CV_EXPORTS_W void rotate(InputArray src, OutputArray dst, int rotateCode);

0 commit comments

Comments
 (0)