Skip to content

Instantly share code, notes, and snippets.

@miura
miura / TurboRegMacro.ijm
Created September 17, 2012 11:45 — forked from schiklen/TurboRegMacro.ijm
Using TurboReg from ImageJ macro, to output shifts.
var npos = 0; // this variable is better be global.
var directapply = 0; // "boolean" user input direct application of driftcorrect
var crop = 0; // "boolean" user input crop to ROI
var splitch = 0; // "boolean" user input splitting of channels
var targetstack = 1 // ImageID of the stack that is to be processed
var dir;
var cropxmax = 0;
var cropymax = 0;
var minout = 0;
var maxout = 0;