powered by
f.write.array.to.img.float(mat,file)
f.write.analyze
f.write.array.to.img.2bytes
f.write.array.to.img.8bit