vampire.extraction.get_properties_from_image¶
- vampire.extraction.get_properties_from_image(img, filename, image_index, object_labels)[source]¶
Returns properties of the objects in the images.
- Parameters
- imgndarray
2D grayscale labeled image of objects.
- filenamestr
Filename of the image where the objects come from.
- image_indexint
ID of the image.
- object_labelsndarray
Labels of the objects.
- Returns
- properties_dfDataFrame
Properties of each object in the image with labels.