How to find the contrast value of an image?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have to extract features of a retinal image out of which contrast of the image is one feature. Is there any inbuilt function to find the contrast value of a grayscale image? I dont find any inbuilt function or corresponding code.
0 commentaires
Réponses (1)
KSSV
le 9 Fév 2018
3 commentaires
Image Analyst
le 23 Juin 2019
This is the source code given in the answer:
image_contrast = max(grayImage(:)) - min(grayImage(:));
Did you overlook it? grayImage should be replaced with the name of your image variable of course.
Voir également
Catégories
En savoir plus sur Retinal Imaging dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!