how to reduce the brightness of an image?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
In MATLAB there are direct commands to enhance the brightness. I need to reduce it. How to achieve it.
0 commentaires
Réponses (3)
Rene
le 11 Sep 2012
image = image./3;
imshow(image,[0 255])
yields a threefold reduction
0 commentaires
Image Analyst
le 11 Sep 2012
There are several ways, such as you can divide the image by a factor, you can subtract a number from it, or you can convert from RGB color space to HSV colorspace, reduce the intensity of the v channel (for example by subtracting or dividing) and then convert back to RGB color space.
0 commentaires
DGM
le 28 Avr 2022
There are many different ways, using both simplistic direct methods and purpose-built tools. The answers in this related question cover several of the ways and should apply directly to this question as well.
0 commentaires
Voir également
Catégories
En savoir plus sur Image Processing Toolbox 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!