Posted by
ctrueden on
May 09, 2016; 9:17pm
URL: http://imagej.273.s1.nabble.com/Apply-bUnwarpJ-in-macro-tp5016374p5016375.html
Hi Neil,
> Does anybody know how to apply the transformation created using
> bUnwarpJ. I saved the transform txt files, both forward and backward,
> but I'm a little lost on how to apply this to other images in a macro.
According to the documentation at
http://imagej.net/BUnwarpJ#Macro_call if we want to apply an elastic deformation stored in the file
A_direct_transf.txt to the source image A.jpg with target image
B.jpg and save the result in output.tif, we call:
call( "bunwarpj.bUnwarpJ_.elasticTransformImageMacro",
"My_path/A.jpg",
"My_path/B.jpg", "My_path/A_direct_transf.txt",
"My_path/output.tif" );
Regards,
Curtis
--
Curtis Rueden
LOCI software architect -
http://loci.wisc.edu/softwareImageJ2 lead, Fiji maintainer -
http://imagej.net/User:RuedenDid you know ImageJ has a forum?
http://forum.imagej.net/On Mon, May 9, 2016 at 3:10 PM, nellypledge <
[hidden email]> wrote:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html