Skip to main content

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


Download files

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

Source Distribution

tmax-0.1.4.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

tmax-0.1.4.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file tmax-0.1.4.1.tar.gz.

File metadata

  • Download URL: tmax-0.1.4.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for tmax-0.1.4.1.tar.gz
Algorithm Hash digest
SHA256 38ff215bf260a5818a9483dd7850b664977727c96a7fc89e9d7cdc1993a3e3ab
MD5 281435f8c98654d4ea19d29fda5e63bb
BLAKE2b-256 801db3780a50d2918299a6567e1d05f88e32d120bc76044249b146e5efdd56c9

See more details on using hashes here.

File details

Details for the file tmax-0.1.4.1-py3-none-any.whl.

File metadata

  • Download URL: tmax-0.1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for tmax-0.1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5abe4b73402f3388d43de0f364ffe9b39253b62058f4566092ce8a27d1d928da
MD5 fc698166c895d73e66607bde93e336a6
BLAKE2b-256 154a2300ef933af43de32b73b66033f07e77dd5da6121fc5eb18107fd6e96cc6

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