Skip to main content

A lightweight tool for counting metastatic cells in cancerous tissue samples

Project description

MTC

Overview

A light weight python tool for detecting and counting metastatic cells in cancerous tissue image samples utilising a unique combination of image transformation techniques. Can be integrated with ML/DL algorithms for predicting cancer by simplifying learning data complexity.

Local Installation

git clone https://github.com/abd-ur/MTC_Count.git
cd MTC_Count
pip install .

PyPi Module Installation

pip install mcount

Install Dependencies

pip install -r requirements.txt

Usage

import mcount
detected_cells = mcount.circle("input_image","output_image", alpha, beta)

Note

Output path if not provided, results will be saved at the default path.
Alpha and Beta by default is set to 190 and 550, but can be changed by argument 'alpha' and 'beta' while function call.
Gradient intensity below Alpha is ignored as not an edge, higher Alpha removes more weak edges.
Gradient intensity above Beta is considered strong edge, lower Beta makes it more sensitive to edges.
Function returns coordinates of detected cells along with radius.

Contributing

Improvements, bug fixes, and new features are welcomed. Feel free to contribute.

Fork the Repository – Click the "Fork" button on GitHub.
Clone Your Fork – Download the code to your local machine:

Contact

For any issues, questions, or feature requests, feel free to reach out:

Email: theabdur10@gmail.com
Portfolio: https://abd-ur.github.io

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

mtcount-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

mtcount-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mtcount-0.1.0.tar.gz.

File metadata

  • Download URL: mtcount-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for mtcount-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b5425a2030e8690f90fe6264d746599833e7cf82fcae53e85bd651a836cf99f2
MD5 9284aef568093380f1f2c76ed15d8119
BLAKE2b-256 50e55a58c1ad88083ddeca347417f0381b41b65a4ced27b6ee9eed6415dba020

See more details on using hashes here.

File details

Details for the file mtcount-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mtcount-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for mtcount-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec463d97de62f82d9085d2f9384bf0b156ec001d636449e18af99d14087c707
MD5 9ff75f4ce1d3a1844d6eeed3339af2f6
BLAKE2b-256 d6bf39db9960b72d7d26cbf8b86bdb0cb7e4e7aa478dbfade99c4518a5a0ffce

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