NERSCPowering Scientific Discovery Since 1974

Fiji examples

  Open one image:

inputdir = "/global/scratch2/sd/youname/";
open(inputdir + "myExperiment001.tif");

Reading a collection of 2D images:

numberfiles=38;
filename = "myExperiment";
startfile=1;
run("Image Sequence...", "open=["+inputdir+"] number="+numberfiles+" starting="+startfile+" increment=1 scale=100 file="+filename+" or=[] convert sort");

Visualizing/snapshotting content:

run("Make Montage...", "columns=9 rows=7 scale=0.25 first=1 last=57 increment=1 border=0 font=12 label use");
saveAs("PNG", "/global/scratch2/sd/ushizima/MontageFlyBrain.png");

Other examples:

 

 

How_to_apply_a_common_operation_to_a_complete_directory