Saving image file in .mha format

A post was split to a new topic: Save ultrasound images in mha format