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
[inds,cidx] = kmedioids(D,k)
Performs k-mediods clustering only requires a distance matrix D and
number of clusters k. Finds cluster assignments "inds" to minimize the
following cost function:
GPS信号存在转发式欺骗干扰时,做出欺骗信号和真实卫星信号的相关峰图,其中伪码生成采用weil码(The presence of repeater jamming GPS signals to make the correlation peak to deceive the true signal and satellite signal, wherein the pseudo-code code generation using weil)
说明: 用matlab编写,已知函数,通过真实训练熟练数据来模仿函数输入输出之间的关系(Written with matlab, known function, through training of skilled real input and output data to imitate the function of the relationship between)