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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by