Hi,
I am trying to run the provided examples. However, I faced an error when generating the gradient prior to using the example code provided on GitHub. I am wondering what could be the potential issues and how to solve it? The following is the error message from matlab:
#########################
#Compute distance matrix#
#########################
Construct graph ...
Error using matlab.internal.graph.MLGraph
Duplicate edges not supported.Error in matlab.internal.graph.constructFromEdgeList (line 125)
G = underlyingCtor(double(s), double(t), totalNodes);Error in graph (line 293)
matlab.internal.graph.constructFromEdgeList(...Error in CBIG_SPGrad_create_graph (line 27)
G = graph(verts(mask), neighbors(mask), grad_weight);Error in CBIG_SPGrad_generate_gradient_matrix (line 117)
lh_G = CBIG_SPGrad_create_graph(lh_surf, lh_grad_edge);Error in CBIG_ArealMSHBM_generate_gradient (line 180)
CBIG_SPGrad_generate_gradient_matrix(mesh, medial_mask, downsample, out_gradient_dir);
Another question is, I saw the group priors only provided for gMSHBM. I am wondering if I can use this prior to the dMSHBM or cMSHBM? Or is it possible to publish the group priors for the two models?
Thank you,
Ruyi Pan