Ncut_9 image segmentation. I downloaded the code from link exchange for image segmentation. while i am running the demoNcutImage the follwing errors I am getting. Please help me
2 次查看(过去 30 天)
显示 更早的评论
I downloaded the code from link exchange for image segmentation. while i am running the demoNcutImage the follwing errors I am getting. Please help me
Undefined function 'cimgnbmap' for input arguments of type 'double'.
Error in computeW (line 6) [w_i,w_j] = cimgnbmap([p,q],dataW.sampleRadius,dataW.sample_rate);
Error in ICgraph (line 37) W = computeW(I,dataW,edgemap.emag,edgemap.ephase);
Error in NcutImage (line 16) [W,imageEdges] = ICgraph(I);
Error in demoNcutImage (line 23) [SegLabel,NcutDiscrete,NcutEigenvectors,NcutEigenvalues,W,imageEdges]= NcutImage(I,nbSegments);
1 个评论
Sushil Bharati
2016-7-8
type compileDir_simple in matlab command window before you run demoNcutImage. :)
采纳的回答
Image Analyst
2014-4-16
You're missing the function cimgnbmap(). Contact the author. We don't have it.
2 个评论
Arleen Kaur
2016-2-26
I tried the code and it gives me the same error. The cimgnbmap() is missing. :(
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!