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

📄 nm2ind.m

📁 matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译
💻 M
字号:
function [ind1,ind2]=nm2ind(nm1,nm2)%NM2IND - Converts the matrix indexes into coordinates (nm).%%	[IND1,IND2]=NM2IND(NM1,NM2)%%	NMs are the vectors of the x-y indexes espressed in nm;%	INDs are the vector of the x-y matrixes indexes.%%	See also IND2NM%%	Claudio Apr 15, 1995%%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%global I Hss=scansize(H);xoff = xoffset(H);yoff = yoffset(H);px=size(I,1);ind1=ceil((nm1-xoff)*px/ss);ind2=ceil((nm2-yoff)*px/ss);return

⌨️ 快捷键说明

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