文件名称:adjcontrast
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- kak****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
图像预处理中的图像去噪声,滤波器的程序,能把带噪声的图像还原,敬请关注- ADJCONTRAST- Adjusts image contrast using sigmoid function.
function g = adjcontrast(im, gain, cutoff)
Arguments:
im - image to be processed.
gain - controls the actual contrast
A value of about 5 is neutral (little change).
A value of 1 reduces contrast to about 20 of original
A value of 10 increases contrast about 2.5x.
a reasonable range of values to experiment with.
cutoff- represents the (normalised) grey value about which
contrast is increased or decreased. An initial
value you might use is 0.5 (the midpoint of the
greyscale) but different images may require
different points of the greyscale to be enhanced.
Peter Kovesi
School of Computer Science & Software Engineering
The University of Western Australia
pk @ csse uwa edu
function g = adjcontrast(im, gain, cutoff)
Arguments:
im - image to be processed.
gain - controls the actual contrast
A value of about 5 is neutral (little change).
A value of 1 reduces contrast to about 20 of original
A value of 10 increases contrast about 2.5x.
a reasonable range of values to experiment with.
cutoff- represents the (normalised) grey value about which
contrast is increased or decreased. An initial
value you might use is 0.5 (the midpoint of the
greyscale) but different images may require
different points of the greyscale to be enhanced.
Peter Kovesi
School of Computer Science & Software Engineering
The University of Western Australia
pk @ csse uwa edu
(系统自动生成,下载前可以参看下载内容)
下载文件列表
adjcontrast.m