9

in my project i want to implement a modul which add or remove contrast to a given picture automatically. My problem is, to find out how much contrast i can add or remove. I know about photoshops auto-contrast/auto-color function. Can someone explain me how it works or a theory/paper/idea how to implement this?

I know, there is a histogram-equalization feature. But that's not the feature i'm seeking for.

For example i want to choose one of this three gradiant-curves,which match with the image.

Image Hosted by ImageShack.us Image Hosted by ImageShack.us Image Hosted by ImageShack.us

greetings

4

2 に答える 2

11

「自動コントラスト」を実行する単純な線形方法は、画像強度を線形に引き伸ばしてオフセットすることです。アイデアは、ストレッチ (コントラスト) およびオフセット (強度) 補正パラメータを見つけて、修正されたイメージで 5 パーセンタイルが 0 にマッピングされ、95 パーセンタイルが 255 にマッピングされるようにすることです。

詳細については、こちらの回答をご覧ください。

于 2012-07-30T18:36:16.887 に答える
2

Adi Shavit の回答に代わるものとして、論文http://www.asp.eurasipjournals.com/content/pdf/1687-6180-2014-70.pdfで説明されている画像コントラスト強調のための非線形アルゴリズムもあります。誰かがそれに興味を持っているかもしれません。

于 2015-10-12T12:20:53.787 に答える