- kehuguanlixitong Delphi数据库开发系统例子
- source 搜索引擎的源码
- planet3d 一个3D编码的地球
- bootstrapshoppingmenu bootstrap框架下实现的购物导航栏效果(The effect of the shopping navigation bar implemented under the bootstrap framework)
- 591232 OpenRisc FCL component digital tester
- ET199加密狗etfs底层虚拟文件制作教程 (ET199 dongle ETFs bottom layer virtual file making tutorial)
文件名称:adjgamma
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:537byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
图像预处理-图像去噪方面-滤波器-matlab的实现程序,非常清晰- ADJGAMMA- Adjusts image gamma.
function g = adjgamma(im, g)
Arguments:
im - image to be processed.
g - image gamma value.
Values in the range 0-1 enhance contrast of bright
regions, values > 1 enhance contrast in dark
regions.
Peter Kovesi
School of Computer Science & Software Engineering
The University of Western Australia
pk @ csse uwa edu au
http://www.cs.uwa.edu.au/~pk
July 2001
function newim = adjgamma(im, g)
if g <= 0
error( Gamma value must be > 0 )
end
if isa(im, uint8 )
newim = double(im)
else
newim = im
end
rescale range 0-1
newim = newim-min(min(newim))
newim = newim./max(max(newim))
newim = newim.^(1/g) Apply gamma function
function g = adjgamma(im, g)
Arguments:
im - image to be processed.
g - image gamma value.
Values in the range 0-1 enhance contrast of bright
regions, values > 1 enhance contrast in dark
regions.
Peter Kovesi
School of Computer Science & Software Engineering
The University of Western Australia
pk @ csse uwa edu au
http://www.cs.uwa.edu.au/~pk
July 2001
function newim = adjgamma(im, g)
if g <= 0
error( Gamma value must be > 0 )
end
if isa(im, uint8 )
newim = double(im)
else
newim = im
end
rescale range 0-1
newim = newim-min(min(newim))
newim = newim./max(max(newim))
newim = newim.^(1/g) Apply gamma function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
adjgamma.m
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。