Could you explain the following code to enhance an image? "1./(1+exp​(0.03*(-ba​se_layer*2​55+170)))"

2 ビュー (過去 30 日間)
I found this
(1./(1+exp(0.03*(-base_layer*255+170))))
code in order to enhance an image. But, I could not understand how this works. I couldn't understand the term '170' and '0.03'used here.can you please explain this?

採用された回答

Walter Roberson
Walter Roberson 2018 年 1 月 30 日
That appears to be a sigmoid; see https://www.mathworks.com/examples/matlab/community/20079-sigmoid-documentation for some information about sigmoids.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Filtering and Enhancement についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by