フィルターのクリア

how to reduce the brightness of an image?

3 ビュー (過去 30 日間)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012 年 9 月 11 日
回答済み: DGM 2022 年 4 月 28 日
In MATLAB there are direct commands to enhance the brightness. I need to reduce it. How to achieve it.

回答 (3 件)

Rene
Rene 2012 年 9 月 11 日
image = image./3;
imshow(image,[0 255])
yields a threefold reduction

Image Analyst
Image Analyst 2012 年 9 月 11 日
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
DGM 2022 年 4 月 28 日
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.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by