Skip to content

Daniel-Waiger/automated-spheroid-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Automated Spheroid Detection in Fiji/ImageJ

Overview

This macro automates the process of detecting spheroids and analyzing live/dead ratios in merged .tif images. It iterates through images in a specified directory, processes each one, and saves the results. The merged images were created with Dual-Channel-Fluorescence-Image-Merger-with-Filename-Truncation.

Example - From Left to Right: Raw → 8-bit Gray (after conversion from composite to RGB) → Cellpose Label Image.

raw-spheroid-image gray-spheroid-image cellpose-spheroid-image

Pre-requisites

Plugins and how to install them:

Usage Instructions

1. Start the Macro

  1. Open Fiji (ImageJ).
  2. Open the script editor (Plugins > New > Macro).
  3. Copy and paste the provided macro code into the editor.

Fiji Toolbar

  1. Run the macro (Run button in the script editor).

script-editor-gui

  1. When prompted, Choose the directory containing your merged .tif image files.
  2. Monitor the console for progress logs.
  3. Results: After completion, the measurements will be saved in CSV files within the selected directory, and ROIs will be saved as .zip files.

Notes

  • Adjust Calibration: Modify pixelWidth and pixelHeight values to match your microscope's calibration.
  • Cellpose Parameters: Customize the parameters in the Cellpose Advanced function to suit your specific sample type and detection requirements.
  • Output: Ensure the directory has write permissions to save results correctly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published