- 操作系统:ubuntu22.04
- OpenCV版本:OpenCV4.9
- IDE:Visual Studio Code
- 编程语言:C++11
算法描述
绘制关键点。
cv::drawKeypoints 是 OpenCV 库中用于在图像上绘制特征点(keypoints)的函数。这个函数允许用户将检测到的关键点可视化,以便于分析和调试。
函数原型
void cv::drawKeypoints
(
InputArray image,
const std::vector< KeyPoint > & keypoints,
InputOutputArray outImage,
const Scalar & color = Scalar::all(-1),
DrawMatchesFlags flags = DrawMatchesFlags