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. :(
Image Analyst
2016년 2월 26일
And so my answer would also be the same. You need to obtain that function.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!