Hi @bogovicj I have been experiencing some issues running a Big Warp image alignment between two MR images. Holding all procedures constant, a warped image is successfully produced ~25% of the time, and then in all of the other trials, I get a null-pointer exception:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at bigwarp.BigWarpExporter.<init>(BigWarpExporter.java:95) at bigwarp.BigWarpRealExporter.<init>(BigWarpRealExporter.java:61) at bigwarp.BigWarpRealExporter.<init>(BigWarpRealExporter.java:80) at bigwarp.BigWarpExporter.getExporter(BigWarpExporter.java:599) at bigwarp.BigWarp.exportAsImagePlus(BigWarp.java:899) at bigwarp.BigWarp.exportAsImagePlus(BigWarp.java:789) at bigwarp.BigWarpActions$ExportImagePlusAction.actionPerformed(BigWarpActions.java:997)
(the error message continues…)
When I receive a null pointer exception, I can sometimes successfully get a warped image through the same exact image alignment if I close Fiji completely and restart. My current procedure:
- open both the moving and target images as separate windows in Fiji (file --> import --> bigdataviewer --> select xml file)
- open big warp (plugins --> bigdataviewer --> bigwarp --> select xml files and run plug-in)
- place landmarks and create warped image (on landmark console: file --> export as image plus (for testing purposes, I am just leaving all the parameters as they are originally specified (resolution and field of view = target image) --> check virtual image plus --> click ok --> 25% of the time I successfully get a warped image, other 75% of the time I receive the above error message in my console
Any ideas/suggestions as to why this is occurring? Also, let me know if you would like anymore specifics of the data sets I am using.