Expand description
Per-label nucleus geometry: area, circularity, axis ratio (PCA of region points).
Caller supplies a label map (u16, 0 = background) and a fixed NucleusFeature
output array. Returns the number of distinct non-zero labels written (capped
by out.len() and MAX_NUCLEUS_LABELS).
Structs§
- Nucleus
Feature - Fixed-layout region feature (no heap).
Constants§
- MAX_
NUCLEUS_ LABELS - Maximum distinct labels tracked in one pass (stack/table bound).
Functions§
- nucleus_
features - Extract geometric features for each labeled nucleus region.