Trouble with built-in MEX file (in Image Processing toolbox)
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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 Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!