labeller(landmarkable, group, label_func)[source]¶
Re-label an existing landmark group on a
Landmarkableobject with a new label set.
Landmarkablethat will have it’s
LandmarkManageraugmented with a new
group (str) – The group label of the existing pointcloud that should be re-labelled. A copy of this group will be attached to it’s landmark manager with new labels. The group label of this new group and the labels it will have is determined by
label_func (func -> (str, LabelledPointUndirectedGraph)) – A labelling function taken from this module. Takes as input a
LabelledPointUndirectedGraphor subclass and returns a tuple of (new group label, new LabelledPointUndirectedGraph with semantic labels applied).
Landmarkable) – Augmented
landmarkable(this is just for convenience, the object will actually be modified in place)