Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
ers_opencv.h
Go to the documentation of this file.
1 
32 #ifndef ERS_OPENCV_H
33 #define ERS_OPENCV_H
34 
35 #include <opencv2/opencv.hpp>
36 
40 class ERS_OpenCV {
41 public:
50  static void computeSuperpixels(const cv::Mat &image, int superpixels,
51  double lambda, double sigma, int four_connected, cv::Mat &labels);
52 };
53 
54 #endif /* ERS_OPENCV_H */
55 
static void computeSuperpixels(const cv::Mat &image, int superpixels, double lambda, double sigma, int four_connected, cv::Mat &labels)
Compute superpixels using ERS, see README.md for details.
Definition: ers_opencv.cpp:39
Wrapper for running ERS on OpenCV images.
Definition: ers_opencv.h:40