Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ispobock/harris-corner-detection
C++ implementation for the Harris Corner Detection algorithm
https://github.com/ispobock/harris-corner-detection
harris-corner-detection
Last synced: 22 days ago
JSON representation
C++ implementation for the Harris Corner Detection algorithm
- Host: GitHub
- URL: https://github.com/ispobock/harris-corner-detection
- Owner: ispobock
- License: apache-2.0
- Created: 2020-06-22T04:02:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T04:38:06.000Z (over 4 years ago)
- Last Synced: 2024-11-30T12:21:49.584Z (about 2 months ago)
- Topics: harris-corner-detection
- Language: C++
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Harris Corner Detection: Easy Implementation
C++ implementation for Harris Corner Detection algorithm## Requirements
* OpenCV 2.4## Implementation
* 根据用户输入路径读入图像,并将图像转换为灰度图像
* 对得到的图像进行Harris角点检测。根据用户输入设定窗口大小,滑动窗口,得到最大特征值矩阵、最小特征值矩阵和R值矩阵
* 将得到的最大特征值矩阵和最小特征值矩阵映射到可视范围内,并对其进行可视化
* 对得到的R值矩阵,将其映射为彩色图像,作为热力图显示
* 设定 Threshold(在此设为R矩阵中最大值的 0.01倍),将R值矩阵中小于Threshold的值全部置为0,并将结果矩阵可视化
* 对Threshold过后得到矩阵进行非最大值抑制,获得局部最大值矩阵
* 将局部最大值矩阵上的局部最大值点标注到原始图像上## Results
![test_Image_with_Corners.png](test_imgs/test_Image_with_Corners.png)![test2_Image_with_Corners.png](test_imgs/test2_Image_with_Corners.png)