Skip to main content

DeepSea

This work presents a versatile and trainable deep-learning-based software, termed DeepSea, that allows for both segmentation and tracking of single cells in sequences of phase-contrast live microscopy images.

Datasets

To download our datasets go to https://deepseas.org/datasets/ or:

Usage

  • Example of single cell image segmentation

from deepsea.test_single_image_segmentation import apply_img_segmentation
import cv2
import os

output_dir='test_results/'
img = cv2.imread("segmentation_dataset/test/images/A11_z016_c001.png",0)
label_img,binary_mask,overlay_img,img=apply_img_segmentation(img)
cv2.imwrite(os.path.join(output_dir, 'label_img.png'), label_img)
cv2.imwrite(os.path.join(output_dir, 'binary_mask.png'), binary_mask)
cv2.imwrite(os.path.join(output_dir, 'overlay_img.png'), overlay_img)
cv2.imwrite(os.path.join(output_dir, 'original_img_resized.png'), img)

  • Example of tracking the single set of cell image sequences

from deepsea.test_single_set_tracking import apply_cell_tracking
import cv2
import os

single_image_set_dir="tracking_dataset/test/set_13_MESC/images/"
output_dir='test_results/'
img_list=[]
for img_name in sorted(os.listdir(single_image_set_dir)):
    img_list.append(cv2.imread(os.path.join(single_image_set_dir,img_name),0))

cell_labels,cell_centroids,tracked_imgs=apply_cell_tracking(img_list)
if tracked_imgs:
    for id, img in enumerate(tracked_imgs):
        cv2.imwrite(os.path.join(output_dir, 'img_{:04d}.png'.format(id)), img)

DeepSea GUI Software

Our DeepSea software is available on https://deepseas.org/software/ with examples and instructions. DeepSea software is a user-friendly and automated software designed to enable researchers to 1) load and explore their phase-contrast cell images in a high-contrast display, 2) detect and localize cell bodies using the pre-trained DeepSea segmentation model, 3) track and label cell lineages across the frame sequences using the pre-trained DeepSea tracking model, 4) manually correct the DeepSea models' outputs using user-friendly editing options, 5) train a new model with a new cell type dataset if needed, 6) save the results and cell label and feature reports on the local system. It employs our latest trained DeepSea models in the segmentation and tracking processes. It employs our last trained DeepSea models in the segmentation and tracking processes.

Useful Information

If you have any questions, contact us at abzargar@ucsc.edu.

Release files for deepsea 0.0.3

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

Source distribution (sdist)

Source distribution for deepsea 0.0.3
File Size Uploaded
deepsea-0.0.3.tar.gz 15.4 MB Details

Built distribution (wheel)

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

Total release size: 30.9 MB

Release files / deepsea-0.0.3.tar.gz

Download URL deepsea-0.0.3.tar.gz
Size 15.4 MB
Tags Source
SHA-256 checksum
How to use checksums
83cbd4533f29cda63a0e821941e77fe6f0256a2e7301d4f68532729e0d3e6db9
BLAKE2b-256 checksum
How to use checksums
cbc038467dd03cb5154b65c79818dd381c5444dd260a1d26b0a7b3a83403f9cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / deepsea-0.0.3-py3-none-any.whl

Download URL deepsea-0.0.3-py3-none-any.whl
Size 15.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0bfc957d5ded44d4c628833f684ab09e00e7a83e3e51c671b4202d673be8204a
BLAKE2b-256 checksum
How to use checksums
ff57d65dafb142f296b6888ed7bb14b03ce5066bc1bcc2ec17a5b4c41365556f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

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