@@ -3,9 +3,9 @@ Line Features Tutorial {#tutorial_line_descriptor_main}
33
44In this tutorial it will be shown how to:
55
6- - use the * BinaryDescriptor* interface to extract lines and store them in * KeyLine* objects
7- - use the same interface to compute descriptors for every extracted line
8- - use the * BynaryDescriptorMatcher* to determine matches among descriptors obtained from different
6+ - Use the * BinaryDescriptor* interface to extract the lines and store them in * KeyLine* objects
7+ - Use the same interface to compute descriptors for every extracted line
8+ - Use the * BynaryDescriptorMatcher* to determine matches among descriptors obtained from different
99 images
1010
1111Lines extraction and descriptors computation
@@ -18,7 +18,7 @@ displayed using random colors for octave 0.
1818
1919@includelineno line_descriptor/samples/lsd_lines_extraction.cpp
2020
21- This is the result obtained for famous cameraman image:
21+ This is the result obtained from the famous cameraman image:
2222
2323![ alternate text] ( pics/lines_cameraman_edl.png )
2424
@@ -54,7 +54,7 @@ choosing the one at closest distance:
5454@includelineno line_descriptor/samples/matching.cpp
5555
5656Sometimes, we could be interested in searching for the closest * k* descriptors, given an input one.
57- This requires to modify slightly previous code:
57+ This requires modifying previous code slightly :
5858
5959@code {.cpp}
6060// prepare a structure to host matches
@@ -66,7 +66,7 @@ bdm->knnMatch( descr1, descr2, matches, 6 );
6666
6767In the above example, the closest 6 descriptors are returned for every query. In some cases, we
6868could have a search radius and look for all descriptors distant at the most * r* from input query.
69- Previous code must me modified:
69+ Previous code must be modified like :
7070
7171@code {.cpp}
7272// prepare a structure to host matches
@@ -76,23 +76,23 @@ std::vector<std::vector<DMatch> > matches;
7676bdm->radiusMatch( queries, matches, 30 );
7777@endcode
7878
79- Here's an example om matching among descriptors extratced from original cameraman image and its
79+ Here's an example of matching among descriptors extracted from original cameraman image and its
8080downsampled (and blurred) version:
8181
8282![ alternate text] ( pics/matching2.png )
8383
8484Querying internal database
8585--------------------------
8686
87- The * BynaryDescriptorMatcher* class, owns an internal database that can be populated with
88- descriptors extracted from different images and queried using one of the modalities described in
87+ The * BynaryDescriptorMatcher* class owns an internal database that can be populated with
88+ descriptors extracted from different images and queried using one of the modalities described in the
8989previous section. Population of internal dataset can be done using the * add* function; such function
90- doesn't directly add new data to database, but it just stores it them locally. The real update
91- happens when function * train* is invoked or when any querying function is executed, since each of
90+ doesn't directly add new data to the database, but it just stores it them locally. The real update
91+ happens when the function * train* is invoked or when any querying function is executed, since each of
9292them invokes * train* before querying. When queried, internal database not only returns required
93- descriptors, but, for every returned match, it is able to tell which image matched descriptor was
93+ descriptors, but for every returned match, it is able to tell which image matched descriptor was
9494extracted from. An example of internal dataset usage is described in the following code; after
9595adding locally new descriptors, a radius search is invoked. This provokes local data to be
96- transferred to dataset, which, in turn, is then queried.
96+ transferred to dataset which in turn, is then queried.
9797
9898@includelineno line_descriptor/samples/radius_matching.cpp
0 commit comments