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