Effacer les filtres
Effacer les filtres

Convert label matrix to cell array of linear indices

1 vue (au cours des 30 derniers jours)
Andrea
Andrea le 20 Mar 2019
Hi,
I have a label matrix L, output of a superpixel segmentation algorithm....I need to convert the matrix into a 1xN cell array pixelIndexList where each element of the
output, pixelIndexList{N}, could be a vector that contains all the linear indices in L where L == N.
I know that Matlab2016 introduced "label2idx" function that performs the previous task, but I have Matlab2014 installed, so I need a similar routine...
Thanks in advance.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by