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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tmax-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 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.tar.gz
Algorithm Hash digest
SHA256 d67bcd74dca8f383c54b4d117ef511880593d08d4ce5cea0bb800d3cad8e1bcf
MD5 58b5c102ea81e32bd9fe7085d6b56d6c
BLAKE2b-256 67da543e820152c57ac556faffd545bf61c71a4b874dcaff44a9bf107def79f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tmax-0.1.4-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-py3-none-any.whl
Algorithm Hash digest
SHA256 225260f331126f97c0a46e755039b5fb71cfebb637b80ef2eb08ee782c16780c
MD5 29fdeff4fc424a14e4ce748e679b7809
BLAKE2b-256 31eb7582b95936be8efebbefea56d51c59986588f8caedb48a32d15b796b09d7

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