diff --git a/modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp b/modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp index b1eb18b910..24b7db6b5e 100644 --- a/modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp +++ b/modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp @@ -205,7 +205,7 @@ private: class CV_EXPORTS GraphCutSeamFinderBase { public: - enum { COST_COLOR, COST_COLOR_GRAD }; + enum CostType { COST_COLOR, COST_COLOR_GRAD }; };