Getting Miji to use Translation drop down for StackReg function

10 views (last 30 days)
Hello,
I am trying to use the Miji function in matlab to analyze some .tif files and want to use the StackReg function, which defaults to Rigid Body preference in the dropdown menu. Currently the code I am using is :
MIJ.run('StackReg', path);
This will succesfully run the StackReg function; however I wish to use the Translation method instead. How do I go about specifying this in my code?
Thanks!
  1 Comment
Eivind Hennestad
Eivind Hennestad on 4 Sep 2016
Edited: Eivind Hennestad on 4 Sep 2016
MIJ.run('StackReg', path, 'transformation=translation');
A helpful tool is the macro recorder in Fiji, found under Macros --> Plugin --> Record... This recorder will show the Fiji commands for everything you do within a Fiji session.

Sign in to comment.

Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!