From 4c7db02925b58ccff6300574fce831825bb2fcfe Mon Sep 17 00:00:00 2001 From: jasjuang Date: Wed, 16 Oct 2019 17:22:25 -0700 Subject: [PATCH] document CC_STAT_MAX in ConnectedComponentsTypes --- modules/imgproc/include/opencv2/imgproc.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 191502f4fd..4e0d20df5b 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -396,7 +396,9 @@ enum ConnectedComponentsTypes { CC_STAT_WIDTH = 2, //!< The horizontal size of the bounding box CC_STAT_HEIGHT = 3, //!< The vertical size of the bounding box CC_STAT_AREA = 4, //!< The total area (in pixels) of the connected component - CC_STAT_MAX = 5 +#ifndef CV_DOXYGEN + CC_STAT_MAX = 5 //!< Max enumeration value. Used internally only for memory allocation +#endif }; //! connected components algorithm