Watershed

조회 수: 1 (최근 30일)
Usama Javed
Usama Javed 2012년 1월 25일
댓글: sheno39 2013년 10월 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);

채택된 답변

Chandra Kurniawan
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
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 CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by