View source: R/coo-ldk-utilities.R
| def_ldk | R Documentation |
Helps to define landmarks on a Coo object.
The number of landmarks must be specified and rows indices that
correspond to the nearest points clicked on every outlines are
stored in the $ldk slot of the Coo object.
def_ldk(Coo, nb.ldk, close, points)
Coo |
an Out or Opn object |
nb.ldk |
the number of landmarks to define on every shape |
close |
|
points |
|
an Out or an Opn object with some landmarks defined
Other ldk/slidings methods:
add_ldk(),
def_slidings(),
get_ldk(),
get_slidings(),
rearrange_ldk(),
slidings_scheme()
## Not run:
bot <- bot[1:5] # to make it shorter to try
# click on 3 points, 5 times.
# Don't forget to save the object returned by def_ldk...
bot2 <- def_ldk(bot, 3)
stack(bot2)
bot2$ldk
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.