Example Report | Tutorials | Documentation | Viewer | PyPI
Image datasets are rarely as clean or consistent as they appear. PixelPatrol scans your images and builds a shareable, browser-based interactive report - file and image metadata, pixel statistics, quality metrics, and per-dimension slice statistics - so you can compare conditions, catch outliers, and verify batch consistency before you use the data.
Overview mode - every widget as a tile; click one to expand it in place.
No terminal? Use the one-click app instead: install guide. It runs PixelPatrol in your browser, with no terminal commands or Python API.
Terminal: requires Python 3.12+. We recommend uv:
uv venv --python 3.12 .venv
source .venv/bin/activate # Windows: .venv\Scripts\Activate.ps1
uv pip install pixel-patrolFor a modular install (core only + selected add-ons):
uv pip install pixel-patrol-base # includes image quality metrics
uv pip install pixel-patrol-loader-bio # BioIO, Zarr, Tifffile, H5 loaders
uv pip install pixel-patrol-loader-medical # NIfTI, DICOM loaders
uv pip install pixel-patrol-geospatial # GeoTIFF, NetCDF loader1. Process your dataset:
pixel-patrol process path/to/images/ -o results.parquet --loader bioioFor datasets with experimental conditions:
pixel-patrol process path/to/images/ -o results.parquet --loader bioio \
-p condition_a -p condition_b2. Explore in the viewer:
pixel-patrol view results.parquetOr combine both steps with --view:
pixel-patrol process path/to/images/ -o results.parquet --loader bioio --viewTo use viewer parameters, run the two commands sequentially:
pixel-patrol process path/to/images/ -o results.parquet --loader bioio && pixel-patrol view results.parquetOr use the report manager for a visual interface - list, add, import, and open reports:
pixel-patrol launchfrom pixel_patrol_base import api
if __name__ == "__main__":
project = api.create_project("my-project", base_dir="path/to/images/", loader="bioio", output_path="results.parquet")
api.add_paths(project, ["condition_a", "condition_b"]) # optional
api.process_files(project)
api.view(project)Spot inconsistent crops or resolutions.
See per-image spread and outliers, e.g. mean intensity, across groups.
Compare brightness and contrast across conditions.
Send the .parquet file and open it in the hosted viewer - no installation needed. Or build a self-contained static viewer:
pixel-patrol build-viewer-html -o viewer.html # light (~7 MB), loads DuckDB WASM from a CDN
pixel-patrol build-viewer-html -o viewer.html --offline # fully self-contained, works with no networkNote: The static viewer may not load parquet files larger than a few GB. Use
pixel-patrol viewfor large reports.
PixelPatrol is designed to be extended with custom loaders, processors, and viewer widgets as standalone Python packages. See pixel-patrol-example-extension for a working template, and the Extensions documentation.
If you use PixelPatrol, please cite it:
@software{pixelpatrol,
author = {Bahry, Ella and Rossberg, Thomas and Otto, Maximilian and Schmidt, Deborah},
title = {PixelPatrol},
year = {2026},
doi = {10.5281/zenodo.23479548},
url = {https://github.com/ida-mdc/pixel-patrol}
}