is_light_blue = imbinarize(rescale(L_blue));
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
in color based segmentation i have written above line but error occurred after execution is Undefined function 'rescale' for input arguments of type 'double'.
2 commentaires
Réponses (1)
Walter Roberson
le 28 Avr 2018
mat2gray() can be used to rescale. The name would tend to suggest that it takes RGB and makes it into grayscale but really it does not do that: it maps input into the range [0 1].
0 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!