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
最速下降法求解非线性方程组,此程序求解了【6x-sin(y)-50=0 cos(x)-4y-70=0】这一方程的解,大家可以把方程组改换,应用于自己的题目,例子。(Steepest descent method for solving nonlinear equations, this procedure solved 【6x-sin (y)-50 = 0 cos (x)-4y-70 = 0】 solution of this equation, we can change the equations, applications in their own subject, example.)
用于计算复杂网络的各种特性参数,例如最短路径,全局效率,介数,中心度,模块化属性等(Used to calculate the various properties of the complex network parameters, such as the shortest path, global efficiency, betweenness centrality, modular attributes)