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: , and . The first two define the minimum block size in the SEEDS algorithm. The defines the number of times this block size is doubled to
对信号进行设定层数的小波分解。只输入参数信号、层数及小波类型即可,里面有验证程序。(Decompose the signal with the layer you set.Just input parameter signal, the number of layers and wavelet types.)
k-均值聚类算法实现灰度图像分割,输入图像矩阵和聚类中心个数,返回为最终的聚类中心和图像中每个像素所属类的编号(对应于图像矩阵)(k-means clustering algorithm to achieve gray-scale image segmentation, the input image matrix and the number of cluster centers, the return for the final image of the cluster centers and their respective categories in each pixel number (corresponding to the image matrix))
维特比译码matlab仿真 详细过程有注释,方便学习使用,挺好用的,望保留实用(Viterbi decoding matlab simulation detailed process notes, facilitate learning to use, very easy to use, hope to retain the practical)