~paparazzi-uav/paparazzi/v5.0-manual

« back to all changes in this revision

Viewing changes to sw/ext/opencv_bebop/opencv/doc/tutorials/features2d/trackingmotion/generic_corner_detector/generic_corner_detector.markdown

  • Committer: Paparazzi buildbot
  • Date: 2016-05-18 15:00:29 UTC
  • Revision ID: felix.ruess+docbot@gmail.com-20160518150029-e8lgzi5kvb4p7un9
Manual import commit 4b8bbb730080dac23cf816b98908dacfabe2a8ec from v5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Creating yor own corner detector {#tutorial_generic_corner_detector}
 
2
================================
 
3
 
 
4
Goal
 
5
----
 
6
 
 
7
In this tutorial you will learn how to:
 
8
 
 
9
-   Use the OpenCV function @ref cv::cornerEigenValsAndVecs to find the eigenvalues and eigenvectors
 
10
    to determine if a pixel is a corner.
 
11
-   Use the OpenCV function @ref cv::cornerMinEigenVal to find the minimum eigenvalues for corner
 
12
    detection.
 
13
-   To implement our own version of the Harris detector as well as the Shi-Tomasi detector, by using
 
14
    the two functions above.
 
15
 
 
16
Theory
 
17
------
 
18
 
 
19
Code
 
20
----
 
21
 
 
22
This tutorial code's is shown lines below. You can also download it from
 
23
[here](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp)
 
24
 
 
25
@include cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp
 
26
 
 
27
Explanation
 
28
-----------
 
29
 
 
30
Result
 
31
------
 
32
 
 
33
![](images/My_Harris_corner_detector_Result.jpg)
 
34
 
 
35
![](images/My_Shi_Tomasi_corner_detector_Result.jpg)