Could you explain the following code to enhance an image? "1./(1+exp(0.03*(-base_layer*255+170)))"
1 次查看(过去 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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!