// // ******************************************* // * * // * Timepoint Extractor Script * // * made by Nicholas Condon * // * contact n.condon@uq.edu.au * // * * // ******************************************* // //AboutME: //This script is written in the ImageJ Macro Language //This script takes movie files (multi-dimensional) and saves out individual files for each timepoint. // //The script can manage multi-channel images, preserving the channel information and LUTs // //The script prompts the user select a folder containing 1 or more files to be processed. // //The choice of file extension allows the user to input any extension such as .tif/.czi/.nd2. If no files of this type are found the script ends // //Note: Each file in the parent directory to be processed will save output files into a new sub-directory with the filename + "_Extracted". // //IMB Splash screen (Do not remove this acknowledgement) showMessage("Institue for Molecular Biosciences ImageJ Script", "" +"

ACRF: Cancer Biology Imaging Facility

+"

The University of Queensland

+"

ImageJ Script Macro: Multi-timepoint De-Stacker

" +"

Created by Nicholas Condon 2018

" +"

This script takes time-lapse images and divides them into individual frame files within a new sub-directory named after the filename.

" +" " +" contact n.condon@uq.edu.au" +" " +""); //Source directory location path = getDirectory("Choose Source Directory "); list = getFileList(path); //file extension selector ext = ".tif"; Dialog.create("Select filetype"); Dialog.addString("File Extension:", ext); Dialog.addMessage("(For example .czi .lsm .nd2 .lif .ims)"); Dialog.show(); ext = Dialog.getString(); print("chosen file extension: "+ext); setBatchMode(true); start = getTime(); //File loop for multiple images in a folder for (z=0; z