Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
pb_opencv.h
Go to the documentation of this file.
1 
32 #ifndef PB_OPENCV_H
33 #define PB_OPENCV_H
34 
35 #include <opencv2/opencv.hpp>
36 
40 class PB_OpenCV {
41 public:
49  static void computeSuperpixels(const cv::Mat &image, int region_size, float sigma,
50  bool max_flow, cv::Mat &labels);
51 };
52 
53 #endif /* PB_OPENCV_H */
54 
static void computeSuperpixels(const cv::Mat &image, int region_size, float sigma, bool max_flow, cv::Mat &labels)
Compute superpixels using PB, see README.md for details.
Definition: pb_opencv.cpp:123
Wrapper for running PB on OpenCV images.
Definition: pb_opencv.h:40