how can i implement given formula in image processing?
Show older comments
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
Accepted Answer
More Answers (1)
Image Analyst
on 16 Feb 2014
0 votes
Simply use mat2gray().
Or, if you want to scale to something other than min-to-0 and max-to-255 you can use imadjust.
Categories
Find more on ROI-Based Processing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!