Page MenuHomePhabricator

[Py] UC2.1 - Load images and save again
Open, HighPublic

Description

Open an python enviroment of choice (with the mitk python package installed)
Script should be able to load the contant of a file path and simply store it again.

import mitk.ioutil

loaded_images = mitk.ioutil.load(file_name) #return array of loaded images

for image in loaded_images:
   mitk.ioutil.save(image, new_file_name)

Event Timeline

floca triaged this task as High priority.Mar 7 2024, 11:03 AM
floca created this task.