knn_points: Get KNN for feature point matches

Description Usage Arguments

Description

Source: https://www.kaggle.com/vicensgaitan/image-registration-the-r-way/notebook

Usage

1
2
3
4
5
6
7
8
9
knn_points(
  kpf_a,
  kpf_b,
  centers_a,
  centers_b,
  n = 2,
  ratio = 0.8,
  show_plot = F
)

Arguments

kpf_a

matrix of features for image a

kpf_b

matrix of features for image b

centers_a

matrix of points for image a

centers_b

matrix of points for image b

n

number of neighbors to keep

ratio

ratio of first neighbor to second neighbor distance. Values smaller than this will be kept

show_plot

show a plot of matches kept?


srvanderplas/ShoeAlignR documentation built on Jan. 23, 2021, 4:03 a.m.