How to use a function which is not existing in matlab?

1 visualización (últimos 30 días)
SNEHA P S
SNEHA P S el 15 de Mzo. de 2017
Respondida: Walter Roberson el 15 de Mzo. de 2017
Hey, while doing some code for image segmentation i got stuck at an error saying "Undefined function or variable 'superpixels'". And i checked whether the function name exists on matlab search path and i found that superpixels doesnot exist. Now what should i do to use the function superpixels in matlab version R2015a.
  1 comentario
KSSV
KSSV el 15 de Mzo. de 2017
This function is introduced in 2016a. Either use the version which has this function or write your code for the functionality.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 15 de Mzo. de 2017
superpixels() was introduced in R2016a, so you can upgrade, or you can write your own version of the code. Or perhaps it happens that https://www.mathworks.com/matlabcentral/fileexchange/50184-slic-superpixels-for-e%EF%AC%83cient-graph-based-dimensionality-reduction-of-hyperspectral-imagery would be useful for you.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by