20140730 嘗試改成多區域分割

[LABELS ENERGY ENERGYAFTER] = GCMEX(CLASS, UNARY, PAIRWISE, LABELCOST,EXPANSION)node

Parameters:spa

  • CLASS: A 1xN vector which specifies the initial labels of each of the N nodes in the graphci

  • UNARY: A CxN matrix specifying the potentials (data term) for each of the C possible classes at each of the N nodes.it

  • PAIRWISE: An NxN sparse matrix specifying the graph structure and cost for each link between nodes in the graph.io

  • LABELCOST: A CxC matrix specifying the fixed label cost for the labels of each adjacent node in the graph.class

  • EXPANSION: A 0-1 flag which determines if the swap or expansion method is used to solve the minimization. 0 == swap, 1 == expansion. If ommitted, defaults to swap.sed

superpixel 分割中:im

[labels, ~, ~] = GCMex(zeros(sp_amount,1), single(Dc), Ss, single([0, 1; 1, 0]), 0);sse

  • sp_mount = 85;co

  • Dc = (2,85);

  • Ss = (85, 85);

相關文章
相關標籤/搜索