Trouble with built-in MEX file (in Image Processing toolbox)

2 ビュー (過去 30 日間)
Michael Hawks
Michael Hawks 2015 年 10 月 21 日
コメント済み: Michael Hawks 2015 年 10 月 21 日
When I use BWMORPH (in the Image Processing toolbox) I get the error "undefined function `applylutc` for input arguments of type `logical` ". The BWMORPH command only supports logical, so this looks like a bad command name. The file applylutc.mexw64 still exists in its default folder (C:\Program Files\MATLAB\R2015aSP1\toolbox\images\images\private). Why the error?
I first got the error while using Matlab 2014a, but downloaded 2015aSP1 and still get the same error even after the new install.

採用された回答

Image Analyst
Image Analyst 2015 年 10 月 21 日
bwmorph() works fine for me. What are you passing it? In general, functions that are preceded with "im" work for grayscale and/or color images, while those starting with "bw" for for only logical images - only pure black and pure white, hence the prefix bw. So I'm not sure why you think it's an inappropriate name. For example imerode() is appropriate since it not only works with binary, logical images, it also works with grayscale images (to produce a local minimum image).
If you can't even get it to run the examples from the help, then you should try "restoredefaultpath" and if that doesn't work, reinstall. If it still doesn't work, call tech support and ask for Installation. It will be free I believe, since it didn't install right.
  1 件のコメント
Michael Hawks
Michael Hawks 2015 年 10 月 21 日
RESTOREDEFAULTPATH was the magic word I needed. Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by