@@ -20,10 +20,10 @@ scale invariant.
20
20
21
21
![ image] ( images/sift_scale_invariant.jpg )
22
22
23
- So, in 2004, ** D.Lowe** , University of British Columbia, came up with a new algorithm, Scale
23
+ In 2004, ** D.Lowe** , University of British Columbia, came up with a new algorithm, Scale
24
24
Invariant Feature Transform (SIFT) in his paper, ** Distinctive Image Features from Scale-Invariant
25
25
Keypoints** , which extract keypoints and compute its descriptors. * (This paper is easy to understand
26
- and considered to be best material available on SIFT. So this explanation is just a short summary of
26
+ and considered to be best material available on SIFT. This explanation is just a short summary of
27
27
this paper)* .
28
28
29
29
There are mainly four steps involved in SIFT algorithm. We will see them one-by-one.
@@ -102,16 +102,17 @@ reasons. In that case, ratio of closest-distance to second-closest distance is t
102
102
greater than 0.8, they are rejected. It eliminates around 90% of false matches while discards only
103
103
5% correct matches, as per the paper.
104
104
105
- So this is a summary of SIFT algorithm. For more details and understanding, reading the original
106
- paper is highly recommended. Remember one thing, this algorithm is patented. So this algorithm is
107
- included in [ the opencv contrib repo] ( https://github.com/opencv/opencv_contrib )
105
+ This is a summary of SIFT algorithm. For more details and understanding, reading the original
106
+ paper is highly recommended.
108
107
109
108
SIFT in OpenCV
110
109
--------------
111
110
112
- So now let's see SIFT functionalities available in OpenCV. Let's start with keypoint detection and
113
- draw them. First we have to construct a SIFT object. We can pass different parameters to it which
114
- are optional and they are well explained in docs.
111
+ Now let's see SIFT functionalities available in OpenCV. Note that these were previously only
112
+ available in [ the opencv contrib repo] ( https://github.com/opencv/opencv_contrib ) , but the patent
113
+ expired in the year 2020. So they are now included in the main repo. Let's start with keypoint
114
+ detection and draw them. First we have to construct a SIFT object. We can pass different
115
+ parameters to it which are optional and they are well explained in docs.
115
116
@code {.py}
116
117
import numpy as np
117
118
import cv2 as cv
0 commit comments