|
>> How about a simple macro which loops over all frames and uses Reduce
>> Dimensionality (with the "keep" checkbox checked), then saves the stack?
dir = getDirectory("Output location");
name = getTitle();
Stack.getDimensions(width, height, channels, slices, frames);
setBatchMode(true);
for (f = 1; f <= frames; f++){
Stack.setFrame(f);
run("Reduce Dimensionality...", "slices keep");
saveAs("Raw Data", dir+name+"_t"+IJ.pad(f,3)+".raw");
close();
}
|