Trouble with built-in MEX file (in Image Processing toolbox)
2 views (last 30 days)
Show older comments
Michael Hawks
on 21 Oct 2015
Commented: Michael Hawks
on 21 Oct 2015
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 Comments
Accepted Answer
Image Analyst
on 21 Oct 2015
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.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!