Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
slic_opencv.h
Go to the documentation of this file.
1 
32 #ifndef SLIC_OPENCV_H
33 #define SLIC_OPENCV_H
34 
35 #include <opencv2/opencv.hpp>
36 
40 class SLIC_OpenCV {
41 public:
51  static void computeSuperpixels(const cv::Mat &image, int region_size,
52  double compactness, int iterations, bool perturb_seeds,
53  int color_space, cv::Mat &labels);
54 };
55 
56 #endif /* SLIC_OPENCV_H */
57 
Wrapper for running SLIC on OpenCV images.
Definition: slic_opencv.h:40
static void computeSuperpixels(const cv::Mat &image, int region_size, double compactness, int iterations, bool perturb_seeds, int color_space, cv::Mat &labels)
Compute superpixels using SLIC.
Definition: slic_opencv.cpp:35