中文说明:
This is the source code to SEEDS superpixelsThis is the source code to SEEDS superpixels, as described in M. Van den Bergh, X. Boix, G. Roig, B. de Capitani and L. Van Gool, "SEEDS: Superpixels Extracted via Energy-Driven Sampling", ECCV 2012.
The SEEDS class is defined in seeds.h and seeds2.cpp. The method can be run on an RGB image (stored in an UINT* array) by using the following constructor, initialization and iteration methods:
SEEDS(int width, int height, int nr_channels, int nr_bins, int min_size);
void initialize(UINT* image, int seeds_w, int seeds_h, int nr_levels);
void iterate();
The initial size of the superpixels is independent from the image size, and defined by the following 3 parameters:
English Description:
This is the source code to SEEDS superpixelsThis is the source code to SEEDS superpixels, as described in M. Van den Bergh, X. Boix, G. Roig, B. de Capitani and L. Van Gool, "SEEDS: Superpixels Extracted via Energy-Driven Sampling", ECCV 2012.