# tongue_ibug_19_to_tongue_ibug_19¶

menpo.landmark.tongue_ibug_19_to_tongue_ibug_19(x, return_mapping=False)[source]

Apply the IBUG 19-point tongue semantic labels.

The semantic labels applied are as follows:

• outline
• bisector
Parameters: x (LabelledPointUndirectedGraph or PointCloud or ndarray) – The input labelled point graph, pointcloud, subclass of those or array to label. If a pointcloud is passed, then only the connectivity information is propagated to the pointcloud (a subclass of PointCloud may be returned). return_mapping (bool, optional) – Only applicable if a PointCloud or ndarray is passed. Returns the mapping dictionary which maps labels to indices into the resulting PointCloud (which is then used to for building a LabelledPointUndirectedGraph. This parameter is only provided for internal use so that other labellers can piggyback off one another. x_labelled (LabelledPointUndirectedGraph or PointCloud) – If a LabelledPointUndirectedGraph was passed, a LabelledPointUndirectedGraph is returned. This labelled pointgraph will contain specific labels and these labels may refer to sub-pointclouds with specific connectivity information. If a PointCloud was passed, a PointCloud is returned. Only the connectivity information is propagated to the pointcloud (a subclass of PointCloud may be returned). mapping_dict (ordereddict {str -> int ndarray}, optional) – Only returned if return_mapping==True. Used for building LabelledPointUndirectedGraph. : :map:LabellingError – If the given labelled point graph/pointcloud contains less than the expected number of points.