Watershed
조회 수: 1 (최근 30일)
이전 댓글 표시
I am having an error in watershed code.. i-e
L = watershed(gradmag);
error:- ??? Attempt to execute SCRIPT watershed as a function: C:\Users\Asad\Documents\MATLAB\watershed.m
Error in ==> watershed at 12 L = watershed(gradmag);
댓글 수: 0
채택된 답변
Chandra Kurniawan
2012년 1월 25일
Hi, Just simple mistake.
You save your script with name watershed
however, watershed is built-in function in Matlab.
Try to rename your script and it will works.
댓글 수: 1
sheno39
2013년 10월 30일
i have an error:
Error using watershed (line 33) WATERSHED needs at least 2 arguments
Error in oversegmentatn (line 16) L = watershed(gradmag);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!