Skip to main content

image PyPI version Documentation Status License: MIT

CABANA (CollAgen FiBre ANAlyzer) is a comprehensive toolkit for analyzing collagen fibre architecture in immunohistochemistry (IHC) and fluorescence microscopy images. It provides:

  • Automated detection and quantification of collagen fibres
  • Analysis of fibre orientation, length, and thickness
  • Gap analysis for inter-fibre and intra-fibre spaces
  • Interactive parameter optimization interface
  • Batch processing for large datasets
  • Tissue micro-array (TMA) preprocessing: native Olympus VSI reading, core fitting, per-core images and masks named by patient (cabana-tma)
  • Optional ROI masks that confine every measurement to a region of interest

CABANA combines advanced computer vision algorithms with an intuitive user interface, making it accessible to researchers without extensive programming experience while providing detailed quantitative data for comprehensive analysis of collagen architecture.

System Requirements

  • Processor (CPU): Intel Core i7, AMD Ryzen 7, or higher recommended
  • Memory (RAM): Minimum 16 GB, 32 GB recommended
  • GPU: NVIDIA GeForce GTX/RTX series with at least 10 GB VRAM recommended
  • Python: 3.12
  • Apple silicon: the segmentation network runs on the Apple GPU (MPS) automatically

Quick Installation

Install CABANA using pip:

pip install -U cabana

or install the latest version on GitHub:

pip install git+https://github.com/lxfhfut/Cabana.git

After installation, you can launch the CABANA GUI by running:

python -m cabana        # or: cabana-gui

Tissue micro-array slides can also be cut into per-core images from the command line:

cabana-tma "APGI TMA 1 PicRed.vsi" out/TMA1 --array 1

Alternatively, you can import CABANA in your Python code for customized analysis (see the Python API page):

from cabana import Cabana, BatchProcessor, TMAPreprocessor

Documentation

Comprehensive documentation is available at: https://cabana.readthedocs.io/en/latest/

Tutorials

We provide an interactive Jupyter notebook tutorial to help you get started: CABANA Tutorial

Citation

If you use CABANA in your research, please cite:

License

CABANA is released under the MIT License.

Contact

For questions and support, please contact:

Metadata

Release files for cabana 0.3.3

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

Source distribution (sdist)

Source distribution for cabana 0.3.3
File Size Uploaded
cabana-0.3.3.tar.gz 354.0 kB Details

Built distribution (wheel)

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

Total release size: 669.6 kB

Release files / cabana-0.3.3.tar.gz

Download URL cabana-0.3.3.tar.gz
Size 354.0 kB
Tags Source
SHA-256 checksum
How to use checksums
97a9f14d351f4012f5144bea85e6c25c4cb39cab8716ffef92d2c909c3f01314
BLAKE2b-256 checksum
How to use checksums
cc8ca52c34db68ff9b41d40330d829556b9e4518cd41641df5f1f6d53a19dfba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / cabana-0.3.3-py3-none-any.whl

Download URL cabana-0.3.3-py3-none-any.whl
Size 315.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3c8d955a69c6b98b53448ac85459dfebecc3c0c9ef8b0ad669a0481ed136351
BLAKE2b-256 checksum
How to use checksums
6064f577731121bff3a245da9a2b6f10c8a93c07c4559889ce23646bb8d85522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.1

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