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(imagePath, output_path=None, save_image=False) Parameters
- imagePath (str): Local path to the input image to be segmented (supports standard formats and TIFF).
- output_path (str, optional): Destination path for saving the mask. Required only if save_image is True. Default: None.
- save_image (bool, optional): If True, exports the generated mask as an image to the location specified by output_path. Default: False.
Return
- predMask (numpy.ndarray): A NumPy array of type uint8 representing the binary mask (values 0 or 255). The size of the array exactly matches the dimensions of the original image.
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.4.4.tar.gz.
File metadata
- Download URL: tmax-0.1.4.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e465c03ed42d192a20d53b84613a0da4d9efa1c039010efdfff7f320244d58a
|
|
| MD5 |
2386d0cad46b299d3ca43ef2b0424966
|
|
| BLAKE2b-256 |
921dbc456134543cf96e1c206d316d10f8aef7d191c9e71184a04979301911fd
|
File details
Details for the file tmax-0.1.4.4-py3-none-any.whl.
File metadata
- Download URL: tmax-0.1.4.4-py3-none-any.whl
- Upload date:
- Size: 4.0 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 |
333c566b7b2b70cb2a4974b4039aa4cc6fecb93c5491e894fd285d787c4844d8
|
|
| MD5 |
1e28763ad0839700ccba82fb24f87257
|
|
| BLAKE2b-256 |
90ac10440e83d0b5e1686fefcfbf6c223e3e28bb178152b4a8fda0578398501b
|