Skip to main content

Community contributions for HisToX

Project description

histox-contrib

Community-contributed GPL-3 extensions for HistoX.

This package provides additional deep learning tools for HistoX that are licensed under the GNU General Public License v3 (GPL-3). It is distributed separately from the main HistoX package to keep the core library free from GPL restrictions.

Based on slideflow-gpl by James Dolezal, adapted for HistoX.


Installation

pip install histox-contrib

Or install from source:

git clone https://github.com/你的用户名/histox-contrib.git
cd histox-contrib
pip install -e .

Note: histox must be installed first.

pip install histox

Features

Module Description
RetCCL Pretrained feature extractor (RetCCL)
CTransPath Pretrained feature extractor (CTransPath)
CLAM Clustering-constrained Attention Multiple Instance Learning

Usage

Once installed, histox-contrib automatically registers its components into HistoX via the plugin system. No manual import is required.

import histox as hx

# RetCCL and CTransPath are available after histox-contrib is installed
extractor = hx.build_feature_extractor('retccl')

License

This project is licensed under the GNU General Public License v3.0. See LICENSE for details.

This package is based on slideflow-gpl (Copyright 2024 James Dolezal), modified and adapted for HistoX.


Citation

If you use this package in your research, please cite the original works:

RetCCL:

@article{wang2023retccl,
  title={RetCCL: Clustering-guided contrastive learning for whole-slide image retrieval},
  author={Wang, Xiyue and others},
  journal={Medical Image Analysis},
  year={2023}
}

CTransPath:

@article{wang2022ctranspath,
  title={Transformer-based unsupervised contrastive learning for histopathological image classification},
  author={Wang, Xiyue and others},
  journal={Medical Image Analysis},
  year={2022}
}

CLAM:

@article{lu2021clam,
  title={Data-efficient and weakly supervised computational pathology on whole-slide images},
  author={Lu, Ming Y and others},
  journal={Nature Biomedical Engineering},
  year={2021}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

histox_contrib-0.1.2.tar.gz (46.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

histox_contrib-0.1.2-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

Details for the file histox_contrib-0.1.2.tar.gz.

File metadata

  • Download URL: histox_contrib-0.1.2.tar.gz
  • Upload date:
  • Size: 46.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for histox_contrib-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f0c8c216d4bbcf005be7ef54ab9383b743b1d2bf728c1eaf786c6f0dd7aa97d0
MD5 63759e9b0fa21df5641f2e75f838abc2
BLAKE2b-256 1c1c12c159669e5f9ed4d02f0163cd2372d89577e1ef248ffe7c59f86044f2be

See more details on using hashes here.

File details

Details for the file histox_contrib-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: histox_contrib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 62.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for histox_contrib-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eccfde0cac2778a8a5782c5c4676e77d02889a09cad808bdf310eb4d159168d4
MD5 cadb3d68ae3c3c8fe3f942e510ba3129
BLAKE2b-256 a7d496170ee88e657b552913f02029e9107ff8464d28e7e62178b96cd06e9505

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page