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

1 visualización (últimos 30 días)
Error in toy (line 15)
bw = activecontour(I,mask,300);

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 18 de Mzo. de 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 comentarios
Walter Roberson
Walter Roberson el 20 de Mzo. de 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.)

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by