Merge pull request #1796 from cv3d:cleanup/python/enums

pull/1801/head
Alexander Alekhin 7 years ago
commit 530f1a2303
  1. 3
      modules/xfeatures2d/misc/python/pyopencv_xfeatures2d.hpp
  2. 2
      modules/ximgproc/include/opencv2/ximgproc/slic.hpp

@ -4,7 +4,4 @@
using cv::xfeatures2d::DAISY;
typedef DAISY::NormalizationType DAISY_NormalizationType;
CV_PY_FROM_ENUM(DAISY::NormalizationType);
CV_PY_TO_ENUM(DAISY::NormalizationType);
#endif

@ -61,7 +61,7 @@ namespace ximgproc
//! @addtogroup ximgproc_superpixel
//! @{
enum SLIC { SLIC = 100, SLICO = 101, MSLIC = 102 };
enum SLICType { SLIC = 100, SLICO = 101, MSLIC = 102 };
/** @brief Class implementing the SLIC (Simple Linear Iterative Clustering) superpixels
algorithm described in @cite Achanta2012.

Loading…
Cancel
Save