Skip to content

livia-b/AmiraScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmiraScripts

Utility functions for Amira (version 6.0.0)

Manual use

To load the script go to the Amira console and type:

source C:/path/to/file/mhdIO.tcl

Then for load and save mhd files,type in the console :

 readmhdfile  E:/file1.mhd
 writemhdfile imagename E:/file2.mhd

Display console for seeing debug messages (Ctrl + Alt +A). For further info, see ch 9.2.3 (User-defined start-up script) and 9.3.5 (Amira Script Files) in Amira user guide.

Automatic installation

It's possible to associate the mhd image format to the readmhdfile function and have a custom "export" menu by loading the mhdIO.rc settings file. To load these settings at every startup, modify the amira.init file in Amira installation folder, or create a startup file .Amira in the home folder (like the one provided).

##Know issues:

  • Not all fields are parsed
  • Does not issue a warning if the image is in a not recognized format (e.g compressed, 2D...)
  • Does not check image orientation
  • Automatic loading fails when filepath contains a space but typing in the console the filename between quotes works readmhdfile "path to/file.mhd"
  • In other versions of Amira, only readmhdfile works

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published