baby.preprocessing

Functions

flattener_norm_func(flattener)

logical_norm(img, info)

raw_norm(img, info)

Keep raw values but scale non-float images to [0, 1]

robust_norm(img, info[, q_outliers])

Robust normalisation of intensity to [-1,1]

seg_norm(img, info)

segoutline_flattening(fill_stack, info)

Returns a stack of images in order: edge: edges for all cells flattened into a single layer filled: filled area for all cells flattened into a single layer interiors: filled area excluding the edges overlap: regions occupied by more than one cell budring: edges located between mother and bud centres bud: buds that are are smaller than a fractional threshold of the mother

standard_norm(img, info)

Normalise intensity to [0, 1]

Classes

CellGroup([lower, upper, budonly, focus])

Defines a cell group for creation of SegmentationFlattening targets

PredTarget(name, group, prop[, nerode, ...])

Defines a target for SegmentationFlattening objects

SegmentationFlattening([filename])

Methods

Exceptions

UnrecognisedProp