Could you explain the following code to enhance an image? "1./(1+exp(0.03*(-base_layer*255+170)))"
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dhanubala A
il 30 Gen 2018
Risposto: Walter Roberson
il 30 Gen 2018
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?
0 Commenti
Risposta accettata
Walter Roberson
il 30 Gen 2018
That appears to be a sigmoid; see https://www.mathworks.com/examples/matlab/community/20079-sigmoid-documentation for some information about sigmoids.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Filtering and Enhancement in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!