Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BioOCT

BioOCT is a napari plugin for quantitative analysis of 3D optical coherence tomography (OCT) images, built around the Thorlabs .oct file format. It is suited for biofilm and some scaling variants.

It bundles a domain-specific set of processing functions, interactive widgets, and a reproducible batch-processing pipeline into a toolbox — designed for OCT/biofilm researchers without requiring programming expertise.

The main use cases are:

  • segmenting biofilm or scaling from surrounding fixtures (substratum, optical window, feed spacer, bulk medium) in OCT image stacks with a (near-)planar substratum geometry
  • recording an image processing pipeline once on a representative image, then reproducibly replaying it on a single image or across a full folder/timeseries of .oct files
  • exporting raw and segmented data with preserved voxel geometry and physical spacing, suitable as training data for volumetric ML segmentation models

Features

  • Dedicated reader for Thorlabs .oct files
  • Filtering (Median, Gaussian, Sobel) and contrast enhancement (gamma, percentile clipping, CLAHE)
  • Substratum/window detection with gap interpolation, ROI selection, and reflection/area-masking tools
  • Thresholding via multiple standard algorithms (Otsu, Yen, Li, Mean, Isodata, Triangle, or manual value) with live preview
  • Post-processing (small-object removal) and quantitative evaluation: height maps, biovolume maps, and growth/roughness/porosity metrics export
  • Export to TIFF and NIfTI with voxel spacing and affine metadata preserved
  • Pipeline Manager: records processing steps as human-readable YAML, with single-layer and batch-folder replay for reproducible analysis

Getting Started

Sample Data & Example Pipelines

Three example datasets covering structurally distinct image classes are available via

File > Open Sample > BioOCT

directly in napari, or on Zenodo (DOI: doi.org/10.5281/zenodo.20758173):

  • Membrane with Spacer: membrane substratum with embedded feed spacer fixtures
  • Rough Electrode: electrode substratum with rough surface topology
  • Smooth Electrode with Shadowing: planar electrode substratum with signal shadowing caused by thick biofilm growth

Matching pipeline YAML files for each image class are also available in the above Zenodo dataset, or via the repository in docs/examples/, demonstrating a complete processing workflow from raw .oct to segmentation and metrics export. Load them via the Pipeline Manager widget (Load → Replay Single).


License

MIT License - see LICENSE for details.

Metadata

Release files for bio_oct 0.4.2rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bio_oct 0.4.2rc1
File Size Uploaded
bio_oct-0.4.2rc1.tar.gz 360.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bio_oct 0.4.2rc1
File Interpreter ABI Platform
bio_oct-0.4.2rc1-py3-none-any.whl Python 3 none any Details

Total release size: 394.2 kB

Release files / bio_oct-0.4.2rc1.tar.gz

Download URL bio_oct-0.4.2rc1.tar.gz
Size 360.6 kB
Tags Source
SHA-256 checksum
How to use checksums
07145a0b90aaac9aac74717e8903de0ed883ec4ae5aaeb7251680bc465381468
BLAKE2b-256 checksum
How to use checksums
075b08f80b56b195b499bf0d91fd98ad2d36663b58657d0c828fd65ed8b5d538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bio_oct-0.4.2rc1-py3-none-any.whl

Download URL bio_oct-0.4.2rc1-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad8ef238df2d58751dfa396178907ff70d086a0a8640d640392d0ca2a959592a
BLAKE2b-256 checksum
How to use checksums
c91ca03516f8528a9b76b9d532ef177ec4d0d822e224ade2fd5b168d82b92038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.4.2

2 release files

This release

0.4.2rc1 This release

2 release files

0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page