Utilize imglib2 and ImageJ for averaging images