i m getting this error : Undefined function 'activecontour' for input arguments of type 'uint8'.
1 次查看(过去 30 天)
显示 更早的评论
Error in toy (line 15)
bw = activecontour(I,mask,300);
0 个评论
回答(1 个)
Titus Edelhofer
2016-3-18
Hi,
activecontour is from Image Processing Toolbox. Do you have it installed? What does
ver('images')
say and
license('test', 'image_toolbox')
?
Titus
6 个评论
Walter Roberson
2016-3-20
Your way of getting a copy of the Mathworks activecontour routine is to upgrade your MATLAB to at least R2013a. If that is not an option for you, then look at the link I provided, which will take you to the File Exchange, where people have contributed a surprising number of different active contour routines. Look at the contributions there and pick out one that indicates it should work for your version. (If it indicates a later version then you still might be able to use it, but it might involve fixing some of the code.)
另请参阅
类别
在 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!