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 mtcount

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mtcount-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9b37c28cb69206af5897c357441062a80a5d0bc1cb9e352019b39030cf394e67
MD5 26dcdb75e72955013ae90c815c8564f2
BLAKE2b-256 0a57ec3e9db8171d3eb0f23a9771f23dd152d2fb6395f02978492cd8e79d054b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mtcount-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e6224fb57892c44619451100007e4f858dd7530d3024e0aebef6e713141897e
MD5 b62c1fb78bf5118ca202cc02bc6b0ecc
BLAKE2b-256 c9b519cd44caff2dd4a6a9fafa316e936e7465dd30772cd916932c30f598fd41

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