deepdisc.data_format.annotation_functions.annotate_hsc
Attributes
Functions
|
Generates annotation metadata for hsc data |
|
This can needs to be customized to your training data format |
Module Contents
- annotate_hsc(images, mask, idx, filters)[source]
Generates annotation metadata for hsc data
- Parameters:
images (list) – A list of paths to image files, expected to have one file per filter.
mask (str) – A path to a mask file for the images.
idx (int) – An integer to uniquely identify the resulting record.
filters (list) – A list of all filter labels, should map to the list of images.
- Returns:
record – A dictionary of metadata and derived annotations.
- Return type:
dictionary