Extract label colors from label2rgb
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Veena Chatti
il 5 Ott 2020
Modificato: Veena Chatti
il 6 Ott 2020
Hi!
I'm using label2rgb to label ~200-250 objects with watershed.
Here is my code:
labeledL = label2rgb(L,'turbo', [1 1 1], 'shuffle');
How can I extract the specific colors that were assigned to each object by the watershed? The aim is to get a 250x4 double that contains this information, with one column being the labels, and the three other columns containing the corresponding color values.
I would greatly appreciate your tips! Thanks!
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Modify Image Colors in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!