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.2.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.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmax-0.1.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3d49cc95164d3a8aa6b6b405b8266048dbac5c36a21be58b5e2dfc6a50c4f274
MD5 370086d627ee63b82f53c208492502fb
BLAKE2b-256 3a7b6b553e84449cc027260bb4ade58710dba97d43496a9ad011dc0fc12e64f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmax-0.1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40930ea104bccb2c6cc85ad3938c2bb28babd8e327f83aca10120f78edd21f55
MD5 db1a6d97b97f26e9b803fe8148b8f248
BLAKE2b-256 e2bb1b6e360c756d01c87364c0e3dac909b3bf679d91e3c7a9b7fdcb4d117160

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