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);

回答(1 个)

Titus Edelhofer
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
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.)

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by