def_ldk: Defines new landmarks on Out and Opn objects
Description
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.
Usage
def_ldk(Coo, nb.ldk)
Arguments
Coo
an Out or Opn object
nb.ldk
the number of landmarks to define on every shape
Value
an Out or an Opn object with some landmarks defined
# 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
# }