Could you explain the following code to enhance an image? "1./(1+exp(0.03*(-base_layer*255+170)))"
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dhanubala A
el 30 de En. de 2018
Respondida: Walter Roberson
el 30 de En. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 30 de En. de 2018
That appears to be a sigmoid; see https://www.mathworks.com/examples/matlab/community/20079-sigmoid-documentation for some information about sigmoids.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Filtering and Enhancement en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!