example1.m

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

M
25
字号
function example1%EXAMPLE1 Extrafunction example 1%%	This function illustrates how easy is to personalize ALEX%	with costum made function. When this function is saved in%	the Alex/Extrafunction directory it will appear in the %	ExtraFun menu.%%	I 	is the matrix name of the image values.%		For Height data type the values are in nm.%% define global the image matrix I.global I% At this point you write your own tranformation.% It can be also an external program linked to matlab or a C function% compiled with cmex.% Here we simply invert the image values.NewImage=I*(-1);setimage(NewImage);return

⌨️ 快捷键说明

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