@@ -24,10 +24,10 @@ Now, let us create the two images we will match using BRIEF.
2424``` @example 1
2525using ImageFeatures, TestImages, Images, ImageDraw, CoordinateTransformations
2626
27- img = testimage("lena_gray_512");
28- img1 = Gray.(img);
27+ img = testimage("lighthouse")
28+ img1 = Gray.(img)
2929trans = Translation(-100, -200)
30- img2 = warp(img1, trans, axes(img1));
30+ img2 = warp(img1, trans, axes(img1))
3131nothing # hide
3232```
3333
@@ -49,8 +49,8 @@ nothing # hide
4949Now pass the image with the keypoints and the parameters to the [ ` create_descriptor ` ] ( @ref ) function.
5050
5151``` @example 1
52- desc_1, ret_keypoints_1 = create_descriptor(img1, keypoints_1, brief_params);
53- desc_2, ret_keypoints_2 = create_descriptor(img2, keypoints_2, brief_params);
52+ desc_1, ret_keypoints_1 = create_descriptor(img1, keypoints_1, brief_params)
53+ desc_2, ret_keypoints_2 = create_descriptor(img2, keypoints_2, brief_params)
5454nothing # hide
5555```
5656
@@ -64,7 +64,6 @@ nothing # hide
6464We can use the [ ImageDraw.jl] ( https://github.com/JuliaImages/ImageDraw.jl ) package to view the results.
6565
6666``` @example 1
67-
6867grid = hcat(img1, img2)
6968offset = CartesianIndex(0, size(img1, 2))
7069map(m -> draw!(grid, LineSegment(m[1], m[2] + offset)), matches)
0 commit comments