MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB图像处理] 用数组表示图像的坐标 (https://www.labfans.com/bbs/showthread.php?t=10034)

zhangyefeng 2009-10-30 12:12

用数组表示图像的坐标
 
在图像上找到了一些离散的图像点,并且知道了这些点的坐标,现在想用一个数组表示这些离散点的坐标,不知道有什么好的方法??
下面是涉及到的程序:
for j=1:q
M=B(:,(j-1)*k2+2:j*k2+1);
maximun=max(max(M)) % 最大灰度值
r=row%图像点的横坐标
v=(j-1)*k2+column+1图像点的纵坐标
end
[posr, posc]=????
现在想用[posr, posc]这个数组来表示离散的r和v,该用什么方法??


所有时间均为北京时间。现在的时间是 11:10

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.