Watershed

13 ビュー (過去 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 Center および File ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by