主要内容

plot

绘制点

说明

plot(points) 在当前轴上绘制点。

示例

plot(points,ax) 在指定的轴上绘制点。

示例

全部折叠

读取一个图像。

I = imread("cameraman.tif");

检测角点特征。

featurePoints = detectHarrisFeatures(I);

用检测到的特征绘制特征图像。

imshow(I);
hold on;
plot(featurePoints);

Figure contains an axes object. The hidden axes object contains 2 objects of type image, line. One or more of the lines displays its values using only markers

输入参数

全部折叠

点对象,指定为由 M 个 [x y] 坐标组成的 M×2 矩阵,或指定为Point Feature Types中所述的点特征对象之一。该对象包含关于在输入图像中检测到的特征点的信息。要获取点,请使用与点特征类型配对的适当检测函数。

用于显示的句柄。您可以使用 gca 设置句柄。

版本历史记录

在 R2011b 中推出

另请参阅

函数