Module for segmenting pathological images of tissue microarrays
Project description
TMAx
This project proposes an image segmentation model for histopathological images, specifically designed for Tissue MicroArrays (TMA) used in pathological anatomy.
The goal is to automatically segment structures of interest in digital slides, particularly in the context of lymphomas.
Documentation
def predict_mask(model, imagePath, outputPath, repo_id="Vaaaal/TMAs", filename="tmas_segmenter.pth"):
- model (torch.nn.Module)
- Segmentation model (UNet architecture or equivalent) : Weights will be automatically loaded from Hugging Face.
- imagePath (str) : Path to the input image to be segmented.
- outputPath (str) : Path where the generated segmentation mask will be saved.
- repo_id (str, optional) : ID of the Hugging Face repository containing the model weights.
- filename (str, optional) : Name of the weight file in the repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tmax-0.1.2.tar.gz.
File metadata
- Download URL: tmax-0.1.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
769c925d22c51cca67f639a2a86a58e511712bcc466247614a4c2b08b2e8eba1
|
|
| MD5 |
c5fb1d0c2bb428f7ef7dd96331029175
|
|
| BLAKE2b-256 |
28eb6b20c259870c82980d485fca3927803759e841399a4de838ca3514524ee4
|
File details
Details for the file tmax-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tmax-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3a04361c30ba9d134b59ba912df784c75dd11a23eb1c1cbf8ec57a85a670b4a
|
|
| MD5 |
fd357edc893d68482219dc6206564174
|
|
| BLAKE2b-256 |
3f9f2c747de108da49a829a06051dd9277f6e32005c393b5d4a17e23d7109521
|