The Align Image by line ROI plugin works well for my registration needs. I would like to use the values of the parameters used by the plugin (scale, rotation, translation) and apply them to the corresponding ROI files. It would be ideal if the plugin printed them to the log, or anywhere else.
My original strategy was to find the source code of the already installed plugin, and google my way to a couple of extra lines of java code (this approach has worked for my macros so far). However, I guess this will be more complicated.
I have located Align_Image.class in VIB_-3.0.2. When I open it with any of my editors, e.g. Notepad++ set to java language mode, I get:
So I gave up this route.
I expect the code to be mostly identical to https://github.com/fiji/VIB/blob/master/src/main/java/Align_Image.java. I can run this from the Fiji editor, saving it in
Running it will give me the error
[DEBUG]: Couldn’t find ClassFile for: Interpolator
No javac.jar found (looked in C:\Users\thaider\DOWNLO~1\FIJI-W~1\Fiji.app\jars)!
I guess it has to do with the plugin not working in isolation (I had hoped it would find the files from the already installed plugin).
Find different plugin that does the job and easily hands me the values.
Could somebody please point me in the right direction?