⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getzoom.m

📁 matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译
💻 M
字号:
function [z, pos]=getzoom(h)%GETZOOM Get the actual zoom.%%	[Z, CPOS]=GETZOOM(AX)%%	AX is the axes handle.%	Z is the number of zooming%	CPOS is the x,y coordinate of the center.%%	See also IMZOOM%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%global Hif nargin > 1  error('Too many input arguments.');endif nargin == 0  h=gca;endaxes(h);ax=axis;ss=scansize(H);z=log(ss/(ax(2)-ax(1)))/log(2);pos=[ax(1)+(ax(2)-ax(1))/2  ax(3)+(ax(4)-ax(3))/2];

⌨️ 快捷键说明

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