vampire.coloring.label_img# vampire.coloring.label_img(img, img_df)[source]# Label objects in the image according to clusters. Parameters: imgndarrayImage to be labeled. img_dfDataFrameProperties of objects from img. Contains labels and cluster_ids. Returns: labeled_imgndarrayImage with objects labeled according to clusters.