Skip to main content

A microscopical image and video platform applied to the analysis of levitating droplet clusters

Project description

DropClust

dropclust

DropClust is an analytical tool that combines computer vision and machine learning algorithms to assess the morphology, geometry, and dynamics of frame videos of droplet clusters (or similar objects).
Feature extraction capabilities were also added for further visual representation of the results.

Developed by the InfoChemistry scientific center, part of ITMO University.

Installation

We suggest throught conda and pip (with python>=3.9).

  1. Install Anaconda.
  2. Open an anaconda prompt / command prompt which has conda for python 3 in the path.
  3. For a new environment for CPU only, run:
    conda create -n dropclust 'python==3.9'
  4. To activate the new environment, run conda activate dropclust
  5. For NVIDIA GPUs, run:
    pip install torch torchvision
    We suggest to install CUDA 12.6
  6. To install the latest PyPi release of Dropclust and its dependencies (see setup.py), run:
    pip install dropclust.

System requirements

Linux, Windows and Mac OS are supported for running the code. For running the graphical interface you will need a Mac OS later than Yosemite. At least 8GB of RAM is required to run the software. 16GB-32GB may be required for larger images. The software has been tested on Windows 10, Windows 11, Ubuntu 24.04, Manjaro and limitedly tested on Mac OS.

Features

We calculate the following metrics / algorithms:

  • Subject counting (amount of subjects).
  • Area of subject (𝜇𝑚²).
  • Roundness (0.0 - 1.0), having 1.0 for a perfect circle.
  • Relative center coordinates.
  • Voronoi diagram based on the centers.
  • Voronoi entropy, a measure of order/chaos in the cells' positions.
  • Convex hull.
  • Continuous symmetry measure (CSM).
  • Subjects segmentation and clustering.
  • Color classification.
  • Subject detection + tracking.

General workflow

In order to obtain metrics from segmented cells, the initial stained images are merged into a single image and organized into sub folders to be processed. A cell segmentation procedure is performed using Cellpose, then we extract the metrics and finally we store the results in the form of images and CSV files.

How to use

Work in progress

Citation

Work in progress

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

dropclust-0.0.5.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

dropclust-0.0.5-py3-none-any.whl (118.5 kB view details)

Uploaded Python 3

File details

Details for the file dropclust-0.0.5.tar.gz.

File metadata

  • Download URL: dropclust-0.0.5.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dropclust-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6b62c1a69d42432c5c79fce073d407fad74f2c5b19231f50a2fa1b8ee06223d7
MD5 642729cbe535ec10627f91ccb6d0cfc7
BLAKE2b-256 24725370d0476dddcdd4cd2aefc34f19e3958210b954ac5afad61cde4bb8e3b9

See more details on using hashes here.

File details

Details for the file dropclust-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: dropclust-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 118.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for dropclust-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 69609dc6cb3ad0d704362168608a9a0238444e9e615516801dcba1ca43088995
MD5 605eabd2f19b6cd4539332bf2c48acde
BLAKE2b-256 a883a4b662b5f00cad877017c0ebee28bce9f420b1ee2d92359ce5c721f1900c

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