Login  Register

Odd bUnwarpJ behavior -- help!

Posted by billo on Apr 15, 2017; 12:56am
URL: http://imagej.273.s1.nabble.com/Odd-bUnwarpJ-behavior-help-tp5018552.html

I am trying to use bUnwarpJ from a macro in ImageJ (not Fiji) on a linux box running Fedora 25.  

My commands inthe macro are:

run("bUnwarpJ", "source_image=blueimage target_image=greenimage registration=Mono image_subsample_factor=0 initial_deformation=[Very Coarse] final_deformation=Coarse divergence_weight=0 curl_weight=0 landmark_weight=0 image_weight=1 consistency_weight=10 stop_threshold=0.01 save_transformations");
selectImage("Registered Source Image");
close();

call("bunwarpj.bUnwarpJ_.elasticTransformImageMacro", "/tmp/green.jpg", "/tmp/blue.jpg", "blueimage_direct_transf.txt", "/tmp/bluegreen.tif");

I get the error that "blueimage_direct_trans.txt" does not exist.

When I look for it, I note that the data is there, but it's in a file named "get_image=greenimage"!

Any help would be appreciated.

thanks,

billo