Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
Main Page
Related Pages
Classes
Files
File List
File Members
lib_slic
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
SLIC_OpenCV
Wrapper for running SLIC on OpenCV images.
Definition:
slic_opencv.h:40
SLIC_OpenCV::computeSuperpixels
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
Generated on Sun Apr 16 2017 16:39:17 for Superpixel Benchmark by
1.8.11