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

📄 ind2nm.m

📁 matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译
💻 M
字号:
function [nm1,nm2]=ind2nm(ind1,ind2)%IND2NM Converts the matrix indexes into coordinates (nm).%%	NM=IND2NM(IND)%%	INDs are the vector of the matrixes x-y indexes.%	NMs  are the vector of the indexes espressed in nm;%%	See also NM2IND%%	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);nm1=ind1*ss/px+xoff - (ss/px)/2;nm2=ind2*ss/px+yoff - (ss/px)/2;return;

⌨️ 快捷键说明

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