i m getting this error : Undefined function 'activecontour' for input arguments of type 'uint8'.

1 view (last 30 days)
Error in toy (line 15)
bw = activecontour(I,mask,300);

Answers (1)

Titus Edelhofer
Titus Edelhofer on 18 Mar 2016
Hi,
activecontour is from Image Processing Toolbox. Do you have it installed? What does
ver('images')
say and
license('test', 'image_toolbox')
?
Titus
  6 Comments
Walter Roberson
Walter Roberson on 20 Mar 2016
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.)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!