how can i implement given formula in image processing?
显示 更早的评论
i have to aplly this foumula for contrast streching plz give me matlab program of this formula
s=(a-rmin)*(L/(rmax-rmin)); where L=256 rmin=0 rimax=255
采纳的回答
更多回答(1 个)
Image Analyst
2014-2-16
0 个投票
Simply use mat2gray().
Or, if you want to scale to something other than min-to-0 and max-to-255 you can use imadjust.
类别
在 帮助中心 和 File Exchange 中查找有关 Contrast Adjustment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!