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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmax-0.1.4.3.tar.gz
  • Upload date:
  • Size: 3.5 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.3.tar.gz
Algorithm Hash digest
SHA256 4df2c8c54892bc632d6b54bc265942dd2f704bf2d65167abb272163a89eeab51
MD5 3186f843dc9fe46b0ddc58677c32cd53
BLAKE2b-256 53976243d4d42908dbecc3c42f4c51b5cb1e74214d3c2eab3e4d6bb6f32585c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmax-0.1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 3.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.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d591a79f65d9040138870c79cf9abc44d787e20e0590d37f261d481160675702
MD5 f78fe794998f27d35af634271dc47a7b
BLAKE2b-256 845fac4084ba27ac47a0c99a78f2d99eb71d23360dee889102aed71eaad081f1

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