http://imagej.273.s1.nabble.com/turboReg-in-batch-mode-tp5008351p5008361.html
There is a "StackReg" version of the plugin that should do what you want.
Joel B. Sheffield, Ph.D
> Hi everyone,
>
> I am writing a macro using turboReg to regsiter every frame of a time
> series
> to the average image of that series. Can I call turboReg on the whole batch
> of images from the time series, or do I have to run turboReg on every
> single
> frame?
>
> When I use the turboReg plugin from the GUI, there is a "batch" button
> which
> performs the operation I'm looking for, but I don't know how to code it
> into
> the macro.
>
> Thanks!!
>
> Claire
>
> This is my code so far:
> run("TurboReg ",
> "-align " // Register the two images that we have just prepared.
> + "-window " + sourceName + " "// Source (window reference).
> + "0 0 " + (width - 1) + " " + (height - 1) + " " // No cropping.
> + "-window " + targetName + " "// Target (file reference).
> + "0 0 " + (width - 1) + " " + (height - 1) + " " // No cropping.
> + "-affine "
> + (width / 2) + " " + (height / 2) + " " // Source translation
> landmark.
> + (width / 2) + " " + (height / 2) + " " // Target translation
> landmark.
> + "0 " + (height / 2) + " " // Source first rotation landmark.
> + "0 " + (height / 2) + " " // Target first rotation landmark.
> + (width - 1) + " " + (height / 2) + " " // Source second rotation
> landmark.
> + (width - 1) + " " + (height / 2) + " " // Target second rotation
> landmark.
> + "-showOutput");
>
>
>
> --
> View this message in context:
>
http://imagej.1557.x6.nabble.com/turboReg-in-batch-mode-tp5008351.html> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>