调整图像强度值 [英] Adjusting image intensity values
本文介绍了调整图像强度值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我来到了MATLAB
中的 imadjust 函数.似乎此功能增强了图像的对比度.但是,此功能的理论基础是什么?换句话说,如果我说文档中提到的此功能可调整图像强度值,这到底是什么意思?对强度值有什么作用?
I came to the imadjust function in MATLAB
. It seems that this function enhances the contrast of the image. But, what is the theoretical basis for this function? In other words, if I say that this function as mentioned in the documentation adjusts the image intensity values, what does this exactly mean? What is it doing to the intensity values?
谢谢.
推荐答案
每个像素的公式可能是
J = ((((I - low_in) / (high_in - low_in)) ^ gamma) * (high_out - low_out)) + low_out
如果不使用所有参数,则会自动选择low_in
和high_in
,以便输出包含其像素的最高值和最低值的1%.
If you leave off all the parameters, low_in
and high_in
are automatically selected so that the output contains 1% of its pixels at the highest and lowest values.
这篇关于调整图像强度值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文