Page MenuHomePhabricator

[Py] UC5 - Load and save images out of a pthon script
Open, HighPublic

Description

open an python enviroment of choice (with the mitk python package installed)

lang=python

import mitk.ioutil

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

# do something
1. just do nothing -> just save
2. clone it
3.a manipulating a property 
3.b adding additional functions in the wrapping to e.g. get it as sitk image or numpy array... 

mitk.ioutil.save(new_image, file_name)

Related Objects

Event Timeline

floca renamed this task from UC5 - Load and save images out of a pthon script to [Py] UC5 - Load and save images out of a pthon script.Thu, Nov 16, 4:29 PM
floca triaged this task as High priority.