MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
points 对象的返回大小
sz = size(points)
sz = size(points,1)
sz = size(points,dimension)
[M,N] = size(points)
sz = size(points) 返回 points 对象的大小。sz 被定义为向量 [length(points),1]。
sz
points
length
1
示例
sz = size(points,1) 返回 points 的长度。
sz = size(points,dimension) 返回指定维度中数据点的长度。
dimension
[M,N] = size(points) 对于 M 返回 length(points),对于 N 返回 1
全部折叠
读取一个图像。
I = imread('cameraman.tif');
检测角点特征。
featurePoints = detectHarrisFeatures(I);
求特征点对象的大小。
sz = size(featurePoints)
sz = 1×2 184 1
用检测到的特征绘制特征图像。
imshow(I); hold on; plot(featurePoints);
点对象,应为Point Feature Types中描述的点要素对象之一。该对象包含关于在输入图像中检测到的特征点的信息。要获取点,请使用与点特征类型配对的适当检测函数。
维度,返回值为整数。当 dim >= 2 时,该对象返回 1。
dim
在 R2012a 中推出
detectKAZEFeatures
detectBRISKFeatures
detectFASTFeatures
detectMinEigenFeatures
detectHarrisFeatures
detectORBFeatures
detectSIFTFeatures
extractFeatures
matchFeatures
detectSURFFeatures
MSERRegions
SURFPoints
BRISKPoints
KAZEPoints
cornerPoints
ORBPoints
SIFTPoints
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处