Skip to main content

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

Metadata

Release files for mtcount 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mtcount 0.1.1
File Size Uploaded
mtcount-0.1.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mtcount 0.1.1
File Interpreter ABI Platform
mtcount-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / mtcount-0.1.1.tar.gz

Download URL mtcount-0.1.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9b37c28cb69206af5897c357441062a80a5d0bc1cb9e352019b39030cf394e67
BLAKE2b-256 checksum
How to use checksums
0a57ec3e9db8171d3eb0f23a9771f23dd152d2fb6395f02978492cd8e79d054b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Release files / mtcount-0.1.1-py3-none-any.whl

Download URL mtcount-0.1.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e6224fb57892c44619451100007e4f858dd7530d3024e0aebef6e713141897e
BLAKE2b-256 checksum
How to use checksums
c9b519cd44caff2dd4a6a9fafa316e936e7465dd30772cd916932c30f598fd41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page