Source: https://www.kaggle.com/vicensgaitan/image-registration-the-r-way/notebook
descriptor_orientation(im, stencil_ext = NULL, stencil = NULL, theta, v)
| im | image |
|---|---|
| stencil_ext | stencil used to get a patch around the keypoint |
| stencil | stencil used to calculate the descriptor |
| theta | angle to rotate the image |
| v | numeric vector of length 2 giving x and y coordinates of the keypoint |