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.3.tar.gz (2.7 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.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmax-0.1.3.tar.gz
  • Upload date:
  • Size: 2.7 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.3.tar.gz
Algorithm Hash digest
SHA256 014abe56e147c5ff5c11fed906951a949fea3a1a1463ecb4d26219f47919c2d7
MD5 58a38daa43d705512d79564abfcc3d52
BLAKE2b-256 ff942fb14a60306747dccda9e688a6f7d425f68c7b073920cc3c4ce695ca50f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmax-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ba84ce4b1b4c6011efc13280f481b7bab78ffd7ca3f37c4720655dfec932e1e3
MD5 17e53c1d2845d5278ecdb4986734e2d8
BLAKE2b-256 2b175ca535243aad7acd549a90b38d27d32a10da95215f3c3a0e6cd98dcf0390

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