source code for the paper "A global/local affinity graph for image segmentation"
here is the code to generate the table IV for our paper
you could also extract only part of this code easily to port single
different graph tp generate the table I
W_L0 = compute_region_similarity_Sparse_penalty(feature,3,centroid,Area);
W_GLG=assignGraphValue(W,W_L0,global_nodes);
to combine different feature descriptor,
{'mlab';
'ch';
'lbp';
'siftbow100';
'siftbow150';
'siftbow200';
'siftbow300'};
- then you compute the affinity graph W_GLG_mlab,W_GLG_lbp, etc.,
- finally, you combine them according to the fusion equation in our paper Eq.11-12
Please Note that you may not generate the exact performance listed in our paper,