updated the code for the imglib2 release version