how to reduce the brightness of an image?
Mostra commenti meno recenti
In MATLAB there are direct commands to enhance the brightness. I need to reduce it. How to achieve it.
Risposte (3)
Rene
il 11 Set 2012
image = image./3;
imshow(image,[0 255])
yields a threefold reduction
Image Analyst
il 11 Set 2012
1 voto
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.
DGM
il 28 Apr 2022
0 voti
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.
Categorie
Scopri di più su Image Filtering and Enhancement in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!