extraction.local_data_loaders

Functions to load and reshape examples for extraction development

The basic format for data will be pair data/masks pairs. Data will be assumed to be a single slide, given that this reduction is expected to happen beforehand.

The most basic functions were copied from Swain Lab’s baby module, specifically baby/io.py

Functions

load([path])

Loads annotated pngs into memory.

load_1z([fun, path])

---

load_paired_images(filenames[, typeA, typeB])

load_tiled_image(filename)