Image processing: finding transfer function of histogram equalization
显示 更早的评论
Hello, lets say I have an image then I adjusted the contrast by using histogram equalization (histeq) Is there a way to plot or get an image of the transfer function that this command uses ?
采纳的回答
更多回答(1 个)
Anand
2013-11-18
Or use the two argument syntax for histeq.
[histIm,T] = histeq(grayImage);
plot(T,'b-')
2 个评论
Image Analyst
2013-11-18
I didn't know it had that output - I guess I should have looked. Of course like I warn people histogram equalization gives a nonlinear stretch which usually looks pretty crummy and unnatural. imadjust() almost always gives a better looking image.
John Snow
2013-11-18
类别
在 帮助中心 和 File Exchange 中查找有关 Contrast Adjustment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!