MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看英文原文。
判断 points 对象是否为空
isempty(points)
如果 points 对象为空,则 isempty(points) 会返回一个 true 值。
points
true
示例
全部折叠
读取一个图像。
I = imread('cameraman.tif');
从图像中检测 KAZE 点。
points = detectKAZEFeatures(I);
检查是否存在点。
if isempty(points) return; end
从检测到的点中提取 KAZE 特征。
[features,validPoints] = extractFeatures(I,points);
绘制十个最强的有效提取点,并显示其方向。
imshow(I) hold on strongestPoints = selectStrongest(validPoints,10); plot(strongestPoints,'showOrientation',true) hold off
点对象,应为Point Feature Types中描述的点要素对象之一。该对象包含关于在输入图像中检测到的特征点的信息。要获取点,请使用与点特征类型配对的适当检测函数。
在 R2017b 中推出
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处