setcontrast.m

来自「matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译」· M 代码 · 共 26 行

M
26
字号
function setcontrast(n)%SETCONTRAST Set the contrast panel and slider to the specified value.%%		SETCONTRAST(N)%%		N is the value of the contrast.%%		Note: This function do not apply the contrast to the image.%			  you mast call SHOWIMAGE to do so.%%		Claudio 6 Oct. 1995%%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%global ed_contrastset(ed_contrast, 'string', num2str(n));eval(get(ed_contrast, 'callback'));return

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?