deepdisc.data_format.annotation_functions.annotate_decam

Functions

annotate_decam(images, mask, idx)

Generates annotation metadata for decam data

Module Contents

annotate_decam(images, mask, idx)[source]

Generates annotation metadata for decam 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.

Returns:

record – A dictionary of metadata and derived annotations.

Return type:

dictionary