필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
SNEHA P S
SNEHA P S 2017년 3월 15일
답변: Walter Roberson 2017년 3월 15일
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
KSSV
KSSV 2017년 3월 15일
This function is introduced in 2016a. Either use the version which has this function or write your code for the functionality.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2017년 3월 15일
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.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by