Skip to content

A FIJI script to turn a multi-color z-series file into a 2D montage (with a scale bar!).

License

Notifications You must be signed in to change notification settings

sjrothfuss/stack-to-montage

Repository files navigation

FIJI Stack to Montage

Spencer J Rothfuss, Vanderbilt University

This script takes a multi-color z-series file as input and turns it into a 2D montage with each color in a row and each z position in a column. Also, it adds a scale bar!

Before Running

Use FIJI (or another tool) to crop image to desired size (Image > Crop) and save with LUTs applied (Image > Adjust > Brightness/Contrast). The script expects a xycz .tif or .nd2. In other words, a z-series with multiple color channels.

Import and Run Script

NOTE: This script is designed to be run inside FIJI not in a standard Python IDE.

  1. Download and install FIJI.
  2. Drag stack_to_montage.py into the FIJI Main Window and the script will open in the FIJI script editor.
  3. Click Run!
  4. Dialog boxes will open to ask you to select input file and output directory and select which slices to include in the montage.

file and directory dialog montage options dialog

Example

Cells in example montage

About

A FIJI script to turn a multi-color z-series file into a 2D montage (with a scale bar!).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages