35 #include <opencv2/opencv.hpp>    62             int superpixels, 
float spatial_weight, 
float normal_weight, 
    63             int seed_mode, 
int iterations, dasp::Camera camera, cv::Mat &labels);
 Wrapper for running DASP on OpenCV images. 
Definition: dasp_opencv.h:41
 
static const int SEED_MODE_RANDOM
Random seed mode. 
Definition: dasp_opencv.h:44
 
static const int SEED_MODE_SPDS
SPDS seed mode. 
Definition: dasp_opencv.h:46
 
static const int SEEDS_MODE_DELTA
Delta seed mode. 
Definition: dasp_opencv.h:48
 
static void computeSuperpixels(const cv::Mat &image, const cv::Mat &depth, int superpixels, float spatial_weight, float normal_weight, int seed_mode, int iterations, dasp::Camera camera, cv::Mat &labels)
Compute superpixels using DASP; see README.md for details. 
Definition: dasp_opencv.cpp:42