bioimageflow-measurement-tools

bioimageflow-measurement-tools provides lightweight feature extraction, object counting, table summarization, and label benchmark metrics. It should grow toward a CellProfiler-like measurement layer: shape, intensity, object QC, and benchmark features that are useful across segmentation, spot, and tracking workflows.

Core libraries are imageio, NumPy, pandas, and BioImageFlow’s DataFrameTool and ProcessingTool APIs. The current tools are intentionally deterministic and small enough to test with generated arrays.

Tools

Demo Workflow

Tests and Demo Data

Run package tests with:

uv run pytest packages/bioimageflow-measurement-tools/tests

The current tests generate two labeled objects, an intensity image, and small tables with exact expected values. Future public-data tests should be marked public_data and should assert broad metric ranges rather than storing large datasets.

Detailed Pages