Image - calculating gradient
3 views (last 30 days)
Show older comments
Hi all, I have a grayscale image. I need to calculate the gradient from where it's saturated to where it's fading out. Does matlab has a function for that? If not, do you have any ideas on how to do so?
thanks.
0 Comments
Answers (1)
Image Analyst
on 12 Jul 2011
Did you look? If you had, you would have seen gradient(). You can also use conv2() or edge() or others. Post your image if you want more help.
2 Comments
Image Analyst
on 12 Jul 2011
And how do you want to select an area (before calculating the gradient)? Automatically based on intensity or something? Manually by having user trace some area?
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!