Expand description
Optical-density threshold for positive cell fraction (Ki-67 style index).
Brightfield gray → approximate optical density (Beer–Lambert), then count labeled nuclei whose mean OD exceeds a threshold. Returns a fixed-point positive fraction for the index.
Structs§
- OdPositive
Index - Result of a positive-OD index computation.
Constants§
- MAX_
OD_ LABELS - Maximum distinct nucleus labels for OD aggregation.
Functions§
- intensity_
to_ od_ u8 - Map brightfield intensity to an 8-bit optical-density-like value.
- positive_
od_ threshold - Compute Ki-67-style positive index from a gray channel and nucleus label map.